OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [gprof/] [configure] - Blame information for rev 306

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 khays
#! /bin/sh
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.64.
4
#
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7
# Foundation, Inc.
8
#
9
# This configure script is free software; the Free Software Foundation
10
# gives unlimited permission to copy, distribute and modify it.
11
## -------------------- ##
12
## M4sh Initialization. ##
13
## -------------------- ##
14
 
15
# Be more Bourne compatible
16
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
  emulate sh
19
  NULLCMD=:
20
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
  # is contrary to our usage.  Disable this feature.
22
  alias -g '${1+"$@"}'='"$@"'
23
  setopt NO_GLOB_SUBST
24
else
25
  case `(set -o) 2>/dev/null` in #(
26
  *posix*) :
27
    set -o posix ;; #(
28
  *) :
29
     ;;
30
esac
31
fi
32
 
33
 
34
as_nl='
35
'
36
export as_nl
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
42
# but without wasting forks for bash or zsh.
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
44
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45
  as_echo='print -r --'
46
  as_echo_n='print -rn --'
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48
  as_echo='printf %s\n'
49
  as_echo_n='printf %s'
50
else
51
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
    as_echo_n='/usr/ucb/echo -n'
54
  else
55
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56
    as_echo_n_body='eval
57
      arg=$1;
58
      case $arg in #(
59
      *"$as_nl"*)
60
        expr "X$arg" : "X\\(.*\\)$as_nl";
61
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62
      esac;
63
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64
    '
65
    export as_echo_n_body
66
    as_echo_n='sh -c $as_echo_n_body as_echo'
67
  fi
68
  export as_echo_body
69
  as_echo='sh -c $as_echo_body as_echo'
70
fi
71
 
72
# The user is always right.
73
if test "${PATH_SEPARATOR+set}" != set; then
74
  PATH_SEPARATOR=:
75
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77
      PATH_SEPARATOR=';'
78
  }
79
fi
80
 
81
 
82
# IFS
83
# We need space, tab and new line, in precisely that order.  Quoting is
84
# there to prevent editors from complaining about space-tab.
85
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86
# splitting by setting IFS to empty value.)
87
IFS=" ""        $as_nl"
88
 
89
# Find who we are.  Look in the path if we contain no directory separator.
90
case $0 in #((
91
  *[\\/]* ) as_myself=$0 ;;
92
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93
for as_dir in $PATH
94
do
95
  IFS=$as_save_IFS
96
  test -z "$as_dir" && as_dir=.
97
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98
  done
99
IFS=$as_save_IFS
100
 
101
     ;;
102
esac
103
# We did not find ourselves, most probably we were run as `sh COMMAND'
104
# in which case we are not to be found in the path.
105
if test "x$as_myself" = x; then
106
  as_myself=$0
107
fi
108
if test ! -f "$as_myself"; then
109
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110
  exit 1
111
fi
112
 
113
# Unset variables that we do not need and which cause bugs (e.g. in
114
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
115
# suppresses any "Segmentation fault" message there.  '((' could
116
# trigger a bug in pdksh 5.2.14.
117
for as_var in BASH_ENV ENV MAIL MAILPATH
118
do eval test x\${$as_var+set} = xset \
119
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120
done
121
PS1='$ '
122
PS2='> '
123
PS4='+ '
124
 
125
# NLS nuisances.
126
LC_ALL=C
127
export LC_ALL
128
LANGUAGE=C
129
export LANGUAGE
130
 
131
# CDPATH.
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
 
134
if test "x$CONFIG_SHELL" = x; then
135
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136
  emulate sh
137
  NULLCMD=:
138
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139
  # is contrary to our usage.  Disable this feature.
140
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
141
  setopt NO_GLOB_SUBST
142
else
143
  case \`(set -o) 2>/dev/null\` in #(
144
  *posix*) :
145
    set -o posix ;; #(
146
  *) :
147
     ;;
148
esac
149
fi
150
"
151
  as_required="as_fn_return () { (exit \$1); }
152
as_fn_success () { as_fn_return 0; }
153
as_fn_failure () { as_fn_return 1; }
154
as_fn_ret_success () { return 0; }
155
as_fn_ret_failure () { return 1; }
156
 
157
exitcode=0
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
 
164
else
165
  exitcode=1; echo positional parameters were not saved.
166
fi
167
test x\$exitcode = x0 || exit 1"
168
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
test \$(( 1 + 1 )) = 2 || exit 1
173
 
174
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178
    PATH=/empty FPATH=/empty; export PATH FPATH
179
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181
  if (eval "$as_required") 2>/dev/null; then :
182
  as_have_required=yes
183
else
184
  as_have_required=no
185
fi
186
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
 
188
else
189
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190
as_found=false
191
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192
do
193
  IFS=$as_save_IFS
194
  test -z "$as_dir" && as_dir=.
195
  as_found=:
196
  case $as_dir in #(
197
         /*)
198
           for as_base in sh bash ksh sh5; do
199
             # Try only shells that exist, to save several forks.
200
             as_shell=$as_dir/$as_base
201
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203
  CONFIG_SHELL=$as_shell as_have_required=yes
204
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205
  break 2
206
fi
207
fi
208
           done;;
209
       esac
210
  as_found=false
211
done
212
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214
  CONFIG_SHELL=$SHELL as_have_required=yes
215
fi; }
216
IFS=$as_save_IFS
217
 
218
 
219
      if test "x$CONFIG_SHELL" != x; then :
220
  # We cannot yet assume a decent shell, so we have to provide a
221
        # neutralization value for shells without unset; and this also
222
        # works around shells that cannot unset nonexistent variables.
223
        BASH_ENV=/dev/null
224
        ENV=/dev/null
225
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226
        export CONFIG_SHELL
227
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228
fi
229
 
230
    if test x$as_have_required = xno; then :
231
  $as_echo "$0: This script requires a shell more modern than all"
232
  $as_echo "$0: the shells that I found on your system."
233
  if test x${ZSH_VERSION+set} = xset ; then
234
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236
  else
237
    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238
$0: including any error possibly output before this
239
$0: message. Then install a modern shell, or manually run
240
$0: the script under such a shell if you do have one."
241
  fi
242
  exit 1
243
fi
244
fi
245
fi
246
SHELL=${CONFIG_SHELL-/bin/sh}
247
export SHELL
248
# Unset more variables known to interfere with behavior of common tools.
249
CLICOLOR_FORCE= GREP_OPTIONS=
250
unset CLICOLOR_FORCE GREP_OPTIONS
251
 
252
## --------------------- ##
253
## M4sh Shell Functions. ##
254
## --------------------- ##
255
# as_fn_unset VAR
256
# ---------------
257
# Portably unset VAR.
258
as_fn_unset ()
259
{
260
  { eval $1=; unset $1;}
261
}
262
as_unset=as_fn_unset
263
 
264
# as_fn_set_status STATUS
265
# -----------------------
266
# Set $? to STATUS, without forking.
267
as_fn_set_status ()
268
{
269
  return $1
270
} # as_fn_set_status
271
 
272
# as_fn_exit STATUS
273
# -----------------
274
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275
as_fn_exit ()
276
{
277
  set +e
278
  as_fn_set_status $1
279
  exit $1
280
} # as_fn_exit
281
 
282
# as_fn_mkdir_p
283
# -------------
284
# Create "$as_dir" as a directory, including parents if necessary.
285
as_fn_mkdir_p ()
286
{
287
 
288
  case $as_dir in #(
289
  -*) as_dir=./$as_dir;;
290
  esac
291
  test -d "$as_dir" || eval $as_mkdir_p || {
292
    as_dirs=
293
    while :; do
294
      case $as_dir in #(
295
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296
      *) as_qdir=$as_dir;;
297
      esac
298
      as_dirs="'$as_qdir' $as_dirs"
299
      as_dir=`$as_dirname -- "$as_dir" ||
300
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301
         X"$as_dir" : 'X\(//\)[^/]' \| \
302
         X"$as_dir" : 'X\(//\)$' \| \
303
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304
$as_echo X"$as_dir" |
305
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306
            s//\1/
307
            q
308
          }
309
          /^X\(\/\/\)[^/].*/{
310
            s//\1/
311
            q
312
          }
313
          /^X\(\/\/\)$/{
314
            s//\1/
315
            q
316
          }
317
          /^X\(\/\).*/{
318
            s//\1/
319
            q
320
          }
321
          s/.*/./; q'`
322
      test -d "$as_dir" && break
323
    done
324
    test -z "$as_dirs" || eval "mkdir $as_dirs"
325
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
 
327
 
328
} # as_fn_mkdir_p
329
# as_fn_append VAR VALUE
330
# ----------------------
331
# Append the text in VALUE to the end of the definition contained in VAR. Take
332
# advantage of any shell optimizations that allow amortized linear growth over
333
# repeated appends, instead of the typical quadratic growth present in naive
334
# implementations.
335
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336
  eval 'as_fn_append ()
337
  {
338
    eval $1+=\$2
339
  }'
340
else
341
  as_fn_append ()
342
  {
343
    eval $1=\$$1\$2
344
  }
345
fi # as_fn_append
346
 
347
# as_fn_arith ARG...
348
# ------------------
349
# Perform arithmetic evaluation on the ARGs, and store the result in the
350
# global $as_val. Take advantage of shells that can avoid forks. The arguments
351
# must be portable across $(()) and expr.
352
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353
  eval 'as_fn_arith ()
354
  {
355
    as_val=$(( $* ))
356
  }'
357
else
358
  as_fn_arith ()
359
  {
360
    as_val=`expr "$@" || test $? -eq 1`
361
  }
362
fi # as_fn_arith
363
 
364
 
365
# as_fn_error ERROR [LINENO LOG_FD]
366
# ---------------------------------
367
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369
# script with status $?, using 1 if that was 0.
370
as_fn_error ()
371
{
372
  as_status=$?; test $as_status -eq 0 && as_status=1
373
  if test "$3"; then
374
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376
  fi
377
  $as_echo "$as_me: error: $1" >&2
378
  as_fn_exit $as_status
379
} # as_fn_error
380
 
381
if expr a : '\(a\)' >/dev/null 2>&1 &&
382
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
383
  as_expr=expr
384
else
385
  as_expr=false
386
fi
387
 
388
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389
  as_basename=basename
390
else
391
  as_basename=false
392
fi
393
 
394
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395
  as_dirname=dirname
396
else
397
  as_dirname=false
398
fi
399
 
400
as_me=`$as_basename -- "$0" ||
401
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402
         X"$0" : 'X\(//\)$' \| \
403
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404
$as_echo X/"$0" |
405
    sed '/^.*\/\([^/][^/]*\)\/*$/{
406
            s//\1/
407
            q
408
          }
409
          /^X\/\(\/\/\)$/{
410
            s//\1/
411
            q
412
          }
413
          /^X\/\(\/\).*/{
414
            s//\1/
415
            q
416
          }
417
          s/.*/./; q'`
418
 
419
# Avoid depending upon Character Ranges.
420
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423
as_cr_digits='0123456789'
424
as_cr_alnum=$as_cr_Letters$as_cr_digits
425
 
426
 
427
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
428
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
429
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
432
  sed -n '
433
    p
434
    /[$]LINENO/=
435
  ' <$as_myself |
436
    sed '
437
      s/[$]LINENO.*/&-/
438
      t lineno
439
      b
440
      :lineno
441
      N
442
      :loop
443
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444
      t loop
445
      s/-\n.*//
446
    ' >$as_me.lineno &&
447
  chmod +x "$as_me.lineno" ||
448
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
 
450
  # Don't try to exec as it changes $[0], causing all sort of problems
451
  # (the dirname of $[0] is not the place where we might find the
452
  # original and so on.  Autoconf is especially sensitive to this).
453
  . "./$as_me.lineno"
454
  # Exit status is that of the last command.
455
  exit
456
}
457
 
458
ECHO_C= ECHO_N= ECHO_T=
459
case `echo -n x` in #(((((
460
-n*)
461
  case `echo 'xy\c'` in
462
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
463
  xy)  ECHO_C='\c';;
464
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
465
       ECHO_T=' ';;
466
  esac;;
467
*)
468
  ECHO_N='-n';;
469
esac
470
 
471
rm -f conf$$ conf$$.exe conf$$.file
472
if test -d conf$$.dir; then
473
  rm -f conf$$.dir/conf$$.file
474
else
475
  rm -f conf$$.dir
476
  mkdir conf$$.dir 2>/dev/null
477
fi
478
if (echo >conf$$.file) 2>/dev/null; then
479
  if ln -s conf$$.file conf$$ 2>/dev/null; then
480
    as_ln_s='ln -s'
481
    # ... but there are two gotchas:
482
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484
    # In both cases, we have to default to `cp -p'.
485
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486
      as_ln_s='cp -p'
487
  elif ln conf$$.file conf$$ 2>/dev/null; then
488
    as_ln_s=ln
489
  else
490
    as_ln_s='cp -p'
491
  fi
492
else
493
  as_ln_s='cp -p'
494
fi
495
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496
rmdir conf$$.dir 2>/dev/null
497
 
498
if mkdir -p . 2>/dev/null; then
499
  as_mkdir_p='mkdir -p "$as_dir"'
500
else
501
  test -d ./-p && rmdir ./-p
502
  as_mkdir_p=false
503
fi
504
 
505
if test -x / >/dev/null 2>&1; then
506
  as_test_x='test -x'
507
else
508
  if ls -dL / >/dev/null 2>&1; then
509
    as_ls_L_option=L
510
  else
511
    as_ls_L_option=
512
  fi
513
  as_test_x='
514
    eval sh -c '\''
515
      if test -d "$1"; then
516
        test -d "$1/.";
517
      else
518
        case $1 in #(
519
        -*)set "./$1";;
520
        esac;
521
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522
        ???[sx]*):;;*)false;;esac;fi
523
    '\'' sh
524
  '
525
fi
526
as_executable_p=$as_test_x
527
 
528
# Sed expression to map a string onto a valid CPP name.
529
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
 
531
# Sed expression to map a string onto a valid variable name.
532
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
 
534
SHELL=${CONFIG_SHELL-/bin/sh}
535
 
536
 
537
exec 7<&0 &1
538
 
539
# Name of the host.
540
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541
# so uname gets run too.
542
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
 
544
#
545
# Initializations.
546
#
547
ac_default_prefix=/usr/local
548
ac_clean_files=
549
ac_config_libobj_dir=.
550
LIBOBJS=
551
cross_compiling=no
552
subdirs=
553
MFLAGS=
554
MAKEFLAGS=
555
 
556
# Identity of this package.
557
PACKAGE_NAME=
558
PACKAGE_TARNAME=
559
PACKAGE_VERSION=
560
PACKAGE_STRING=
561
PACKAGE_BUGREPORT=
562
PACKAGE_URL=
563
 
564
ac_unique_file="gprof.c"
565
# Factoring default headers for most tests.
566
ac_includes_default="\
567
#include 
568
#ifdef HAVE_SYS_TYPES_H
569
# include 
570
#endif
571
#ifdef HAVE_SYS_STAT_H
572
# include 
573
#endif
574
#ifdef STDC_HEADERS
575
# include 
576
# include 
577
#else
578
# ifdef HAVE_STDLIB_H
579
#  include 
580
# endif
581
#endif
582
#ifdef HAVE_STRING_H
583
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584
#  include 
585
# endif
586
# include 
587
#endif
588
#ifdef HAVE_STRINGS_H
589
# include 
590
#endif
591
#ifdef HAVE_INTTYPES_H
592
# include 
593
#endif
594
#ifdef HAVE_STDINT_H
595
# include 
596
#endif
597
#ifdef HAVE_UNISTD_H
598
# include 
599
#endif"
600
 
601
ac_subst_vars='am__EXEEXT_FALSE
602
am__EXEEXT_TRUE
603
LTLIBOBJS
604
LIBOBJS
605
NO_WERROR
606
WARN_CFLAGS
607
GENINSRC_NEVER_FALSE
608
GENINSRC_NEVER_TRUE
609
MAINT
610
MAINTAINER_MODE_FALSE
611
MAINTAINER_MODE_TRUE
612
MSGMERGE
613
MSGFMT
614
MKINSTALLDIRS
615
CATOBJEXT
616
GENCAT
617
INSTOBJEXT
618
DATADIRNAME
619
CATALOGS
620
POSUB
621
GMSGFMT
622
XGETTEXT
623
INCINTL
624
LIBINTL_DEP
625
LIBINTL
626
USE_NLS
627
OTOOL64
628
OTOOL
629
LIPO
630
NMEDIT
631
DSYMUTIL
632
RANLIB
633
AR
634
OBJDUMP
635
LN_S
636
NM
637
ac_ct_DUMPBIN
638
DUMPBIN
639
LD
640
FGREP
641
SED
642
LIBTOOL
643
EGREP
644
GREP
645
CPP
646
am__fastdepCC_FALSE
647
am__fastdepCC_TRUE
648
CCDEPMODE
649
AMDEPBACKSLASH
650
AMDEP_FALSE
651
AMDEP_TRUE
652
am__quote
653
am__include
654
DEPDIR
655
am__untar
656
am__tar
657
AMTAR
658
am__leading_dot
659
SET_MAKE
660
AWK
661
mkdir_p
662
MKDIR_P
663
INSTALL_STRIP_PROGRAM
664
STRIP
665
install_sh
666
MAKEINFO
667
AUTOHEADER
668
AUTOMAKE
669
AUTOCONF
670
ACLOCAL
671
VERSION
672
PACKAGE
673
CYGPATH_W
674
am__isrc
675
INSTALL_DATA
676
INSTALL_SCRIPT
677
INSTALL_PROGRAM
678
OBJEXT
679
EXEEXT
680
ac_ct_CC
681
CPPFLAGS
682
LDFLAGS
683
CFLAGS
684
CC
685
target_os
686
target_vendor
687
target_cpu
688
target
689
host_os
690
host_vendor
691
host_cpu
692
host
693
build_os
694
build_vendor
695
build_cpu
696
build
697
target_alias
698
host_alias
699
build_alias
700
LIBS
701
ECHO_T
702
ECHO_N
703
ECHO_C
704
DEFS
705
mandir
706
localedir
707
libdir
708
psdir
709
pdfdir
710
dvidir
711
htmldir
712
infodir
713
docdir
714
oldincludedir
715
includedir
716
localstatedir
717
sharedstatedir
718
sysconfdir
719
datadir
720
datarootdir
721
libexecdir
722
sbindir
723
bindir
724
program_transform_name
725
prefix
726
exec_prefix
727
PACKAGE_URL
728
PACKAGE_BUGREPORT
729
PACKAGE_STRING
730
PACKAGE_VERSION
731
PACKAGE_TARNAME
732
PACKAGE_NAME
733
PATH_SEPARATOR
734
SHELL'
735
ac_subst_files=''
736
ac_user_opts='
737
enable_option_checking
738
enable_dependency_tracking
739
enable_plugins
740
enable_largefile
741
enable_shared
742
enable_static
743
with_pic
744
enable_fast_install
745
with_gnu_ld
746
enable_libtool_lock
747
enable_nls
748
enable_maintainer_mode
749
enable_werror
750
enable_build_warnings
751
'
752
      ac_precious_vars='build_alias
753
host_alias
754
target_alias
755
CC
756
CFLAGS
757
LDFLAGS
758
LIBS
759
CPPFLAGS
760
CPP'
761
 
762
 
763
# Initialize some variables set by options.
764
ac_init_help=
765
ac_init_version=false
766
ac_unrecognized_opts=
767
ac_unrecognized_sep=
768
# The variables have the same names as the options, with
769
# dashes changed to underlines.
770
cache_file=/dev/null
771
exec_prefix=NONE
772
no_create=
773
no_recursion=
774
prefix=NONE
775
program_prefix=NONE
776
program_suffix=NONE
777
program_transform_name=s,x,x,
778
silent=
779
site=
780
srcdir=
781
verbose=
782
x_includes=NONE
783
x_libraries=NONE
784
 
785
# Installation directory options.
786
# These are left unexpanded so users can "make install exec_prefix=/foo"
787
# and all the variables that are supposed to be based on exec_prefix
788
# by default will actually change.
789
# Use braces instead of parens because sh, perl, etc. also accept them.
790
# (The list follows the same order as the GNU Coding Standards.)
791
bindir='${exec_prefix}/bin'
792
sbindir='${exec_prefix}/sbin'
793
libexecdir='${exec_prefix}/libexec'
794
datarootdir='${prefix}/share'
795
datadir='${datarootdir}'
796
sysconfdir='${prefix}/etc'
797
sharedstatedir='${prefix}/com'
798
localstatedir='${prefix}/var'
799
includedir='${prefix}/include'
800
oldincludedir='/usr/include'
801
docdir='${datarootdir}/doc/${PACKAGE}'
802
infodir='${datarootdir}/info'
803
htmldir='${docdir}'
804
dvidir='${docdir}'
805
pdfdir='${docdir}'
806
psdir='${docdir}'
807
libdir='${exec_prefix}/lib'
808
localedir='${datarootdir}/locale'
809
mandir='${datarootdir}/man'
810
 
811
ac_prev=
812
ac_dashdash=
813
for ac_option
814
do
815
  # If the previous option needs an argument, assign it.
816
  if test -n "$ac_prev"; then
817
    eval $ac_prev=\$ac_option
818
    ac_prev=
819
    continue
820
  fi
821
 
822
  case $ac_option in
823
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
824
  *)    ac_optarg=yes ;;
825
  esac
826
 
827
  # Accept the important Cygnus configure options, so we can diagnose typos.
828
 
829
  case $ac_dashdash$ac_option in
830
  --)
831
    ac_dashdash=yes ;;
832
 
833
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
834
    ac_prev=bindir ;;
835
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
836
    bindir=$ac_optarg ;;
837
 
838
  -build | --build | --buil | --bui | --bu)
839
    ac_prev=build_alias ;;
840
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
841
    build_alias=$ac_optarg ;;
842
 
843
  -cache-file | --cache-file | --cache-fil | --cache-fi \
844
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
845
    ac_prev=cache_file ;;
846
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
847
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
848
    cache_file=$ac_optarg ;;
849
 
850
  --config-cache | -C)
851
    cache_file=config.cache ;;
852
 
853
  -datadir | --datadir | --datadi | --datad)
854
    ac_prev=datadir ;;
855
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
856
    datadir=$ac_optarg ;;
857
 
858
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
859
  | --dataroo | --dataro | --datar)
860
    ac_prev=datarootdir ;;
861
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
862
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
863
    datarootdir=$ac_optarg ;;
864
 
865
  -disable-* | --disable-*)
866
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
867
    # Reject names that are not valid shell variable names.
868
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
869
      as_fn_error "invalid feature name: $ac_useropt"
870
    ac_useropt_orig=$ac_useropt
871
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
872
    case $ac_user_opts in
873
      *"
874
"enable_$ac_useropt"
875
"*) ;;
876
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
877
         ac_unrecognized_sep=', ';;
878
    esac
879
    eval enable_$ac_useropt=no ;;
880
 
881
  -docdir | --docdir | --docdi | --doc | --do)
882
    ac_prev=docdir ;;
883
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
884
    docdir=$ac_optarg ;;
885
 
886
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
887
    ac_prev=dvidir ;;
888
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
889
    dvidir=$ac_optarg ;;
890
 
891
  -enable-* | --enable-*)
892
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
893
    # Reject names that are not valid shell variable names.
894
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
895
      as_fn_error "invalid feature name: $ac_useropt"
896
    ac_useropt_orig=$ac_useropt
897
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
898
    case $ac_user_opts in
899
      *"
900
"enable_$ac_useropt"
901
"*) ;;
902
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
903
         ac_unrecognized_sep=', ';;
904
    esac
905
    eval enable_$ac_useropt=\$ac_optarg ;;
906
 
907
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
908
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
909
  | --exec | --exe | --ex)
910
    ac_prev=exec_prefix ;;
911
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
912
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
913
  | --exec=* | --exe=* | --ex=*)
914
    exec_prefix=$ac_optarg ;;
915
 
916
  -gas | --gas | --ga | --g)
917
    # Obsolete; use --with-gas.
918
    with_gas=yes ;;
919
 
920
  -help | --help | --hel | --he | -h)
921
    ac_init_help=long ;;
922
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
923
    ac_init_help=recursive ;;
924
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
925
    ac_init_help=short ;;
926
 
927
  -host | --host | --hos | --ho)
928
    ac_prev=host_alias ;;
929
  -host=* | --host=* | --hos=* | --ho=*)
930
    host_alias=$ac_optarg ;;
931
 
932
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
933
    ac_prev=htmldir ;;
934
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
935
  | --ht=*)
936
    htmldir=$ac_optarg ;;
937
 
938
  -includedir | --includedir | --includedi | --included | --include \
939
  | --includ | --inclu | --incl | --inc)
940
    ac_prev=includedir ;;
941
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
942
  | --includ=* | --inclu=* | --incl=* | --inc=*)
943
    includedir=$ac_optarg ;;
944
 
945
  -infodir | --infodir | --infodi | --infod | --info | --inf)
946
    ac_prev=infodir ;;
947
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
948
    infodir=$ac_optarg ;;
949
 
950
  -libdir | --libdir | --libdi | --libd)
951
    ac_prev=libdir ;;
952
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
953
    libdir=$ac_optarg ;;
954
 
955
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
956
  | --libexe | --libex | --libe)
957
    ac_prev=libexecdir ;;
958
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
959
  | --libexe=* | --libex=* | --libe=*)
960
    libexecdir=$ac_optarg ;;
961
 
962
  -localedir | --localedir | --localedi | --localed | --locale)
963
    ac_prev=localedir ;;
964
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
965
    localedir=$ac_optarg ;;
966
 
967
  -localstatedir | --localstatedir | --localstatedi | --localstated \
968
  | --localstate | --localstat | --localsta | --localst | --locals)
969
    ac_prev=localstatedir ;;
970
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
971
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
972
    localstatedir=$ac_optarg ;;
973
 
974
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
975
    ac_prev=mandir ;;
976
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
977
    mandir=$ac_optarg ;;
978
 
979
  -nfp | --nfp | --nf)
980
    # Obsolete; use --without-fp.
981
    with_fp=no ;;
982
 
983
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
984
  | --no-cr | --no-c | -n)
985
    no_create=yes ;;
986
 
987
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
988
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
989
    no_recursion=yes ;;
990
 
991
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
992
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
993
  | --oldin | --oldi | --old | --ol | --o)
994
    ac_prev=oldincludedir ;;
995
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
996
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
997
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
998
    oldincludedir=$ac_optarg ;;
999
 
1000
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1001
    ac_prev=prefix ;;
1002
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1003
    prefix=$ac_optarg ;;
1004
 
1005
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1006
  | --program-pre | --program-pr | --program-p)
1007
    ac_prev=program_prefix ;;
1008
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1009
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1010
    program_prefix=$ac_optarg ;;
1011
 
1012
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1013
  | --program-suf | --program-su | --program-s)
1014
    ac_prev=program_suffix ;;
1015
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1016
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1017
    program_suffix=$ac_optarg ;;
1018
 
1019
  -program-transform-name | --program-transform-name \
1020
  | --program-transform-nam | --program-transform-na \
1021
  | --program-transform-n | --program-transform- \
1022
  | --program-transform | --program-transfor \
1023
  | --program-transfo | --program-transf \
1024
  | --program-trans | --program-tran \
1025
  | --progr-tra | --program-tr | --program-t)
1026
    ac_prev=program_transform_name ;;
1027
  -program-transform-name=* | --program-transform-name=* \
1028
  | --program-transform-nam=* | --program-transform-na=* \
1029
  | --program-transform-n=* | --program-transform-=* \
1030
  | --program-transform=* | --program-transfor=* \
1031
  | --program-transfo=* | --program-transf=* \
1032
  | --program-trans=* | --program-tran=* \
1033
  | --progr-tra=* | --program-tr=* | --program-t=*)
1034
    program_transform_name=$ac_optarg ;;
1035
 
1036
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1037
    ac_prev=pdfdir ;;
1038
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1039
    pdfdir=$ac_optarg ;;
1040
 
1041
  -psdir | --psdir | --psdi | --psd | --ps)
1042
    ac_prev=psdir ;;
1043
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1044
    psdir=$ac_optarg ;;
1045
 
1046
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047
  | -silent | --silent | --silen | --sile | --sil)
1048
    silent=yes ;;
1049
 
1050
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1051
    ac_prev=sbindir ;;
1052
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1053
  | --sbi=* | --sb=*)
1054
    sbindir=$ac_optarg ;;
1055
 
1056
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1057
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1058
  | --sharedst | --shareds | --shared | --share | --shar \
1059
  | --sha | --sh)
1060
    ac_prev=sharedstatedir ;;
1061
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1062
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1063
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1064
  | --sha=* | --sh=*)
1065
    sharedstatedir=$ac_optarg ;;
1066
 
1067
  -site | --site | --sit)
1068
    ac_prev=site ;;
1069
  -site=* | --site=* | --sit=*)
1070
    site=$ac_optarg ;;
1071
 
1072
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1073
    ac_prev=srcdir ;;
1074
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1075
    srcdir=$ac_optarg ;;
1076
 
1077
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1078
  | --syscon | --sysco | --sysc | --sys | --sy)
1079
    ac_prev=sysconfdir ;;
1080
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1081
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1082
    sysconfdir=$ac_optarg ;;
1083
 
1084
  -target | --target | --targe | --targ | --tar | --ta | --t)
1085
    ac_prev=target_alias ;;
1086
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1087
    target_alias=$ac_optarg ;;
1088
 
1089
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1090
    verbose=yes ;;
1091
 
1092
  -version | --version | --versio | --versi | --vers | -V)
1093
    ac_init_version=: ;;
1094
 
1095
  -with-* | --with-*)
1096
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1097
    # Reject names that are not valid shell variable names.
1098
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1099
      as_fn_error "invalid package name: $ac_useropt"
1100
    ac_useropt_orig=$ac_useropt
1101
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102
    case $ac_user_opts in
1103
      *"
1104
"with_$ac_useropt"
1105
"*) ;;
1106
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1107
         ac_unrecognized_sep=', ';;
1108
    esac
1109
    eval with_$ac_useropt=\$ac_optarg ;;
1110
 
1111
  -without-* | --without-*)
1112
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1113
    # Reject names that are not valid shell variable names.
1114
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1115
      as_fn_error "invalid package name: $ac_useropt"
1116
    ac_useropt_orig=$ac_useropt
1117
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1118
    case $ac_user_opts in
1119
      *"
1120
"with_$ac_useropt"
1121
"*) ;;
1122
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1123
         ac_unrecognized_sep=', ';;
1124
    esac
1125
    eval with_$ac_useropt=no ;;
1126
 
1127
  --x)
1128
    # Obsolete; use --with-x.
1129
    with_x=yes ;;
1130
 
1131
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1132
  | --x-incl | --x-inc | --x-in | --x-i)
1133
    ac_prev=x_includes ;;
1134
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1135
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1136
    x_includes=$ac_optarg ;;
1137
 
1138
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1139
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1140
    ac_prev=x_libraries ;;
1141
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1142
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1143
    x_libraries=$ac_optarg ;;
1144
 
1145
  -*) as_fn_error "unrecognized option: \`$ac_option'
1146
Try \`$0 --help' for more information."
1147
    ;;
1148
 
1149
  *=*)
1150
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151
    # Reject names that are not valid shell variable names.
1152
    case $ac_envvar in #(
1153
      '' | [0-9]* | *[!_$as_cr_alnum]* )
1154
      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1155
    esac
1156
    eval $ac_envvar=\$ac_optarg
1157
    export $ac_envvar ;;
1158
 
1159
  *)
1160
    # FIXME: should be removed in autoconf 3.0.
1161
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1162
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1164
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165
    ;;
1166
 
1167
  esac
1168
done
1169
 
1170
if test -n "$ac_prev"; then
1171
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1172
  as_fn_error "missing argument to $ac_option"
1173
fi
1174
 
1175
if test -n "$ac_unrecognized_opts"; then
1176
  case $enable_option_checking in
1177
    no) ;;
1178
    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1179
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1180
  esac
1181
fi
1182
 
1183
# Check all directory arguments for consistency.
1184
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1185
                datadir sysconfdir sharedstatedir localstatedir includedir \
1186
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1187
                libdir localedir mandir
1188
do
1189
  eval ac_val=\$$ac_var
1190
  # Remove trailing slashes.
1191
  case $ac_val in
1192
    */ )
1193
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1194
      eval $ac_var=\$ac_val;;
1195
  esac
1196
  # Be sure to have absolute directory names.
1197
  case $ac_val in
1198
    [\\/$]* | ?:[\\/]* )  continue;;
1199
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1200
  esac
1201
  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1202
done
1203
 
1204
# There might be people who depend on the old broken behavior: `$host'
1205
# used to hold the argument of --host etc.
1206
# FIXME: To remove some day.
1207
build=$build_alias
1208
host=$host_alias
1209
target=$target_alias
1210
 
1211
# FIXME: To remove some day.
1212
if test "x$host_alias" != x; then
1213
  if test "x$build_alias" = x; then
1214
    cross_compiling=maybe
1215
    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1216
    If a cross compiler is detected then cross compile mode will be used." >&2
1217
  elif test "x$build_alias" != "x$host_alias"; then
1218
    cross_compiling=yes
1219
  fi
1220
fi
1221
 
1222
ac_tool_prefix=
1223
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1224
 
1225
test "$silent" = yes && exec 6>/dev/null
1226
 
1227
 
1228
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1229
ac_ls_di=`ls -di .` &&
1230
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1231
  as_fn_error "working directory cannot be determined"
1232
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1233
  as_fn_error "pwd does not report name of working directory"
1234
 
1235
 
1236
# Find the source files, if location was not specified.
1237
if test -z "$srcdir"; then
1238
  ac_srcdir_defaulted=yes
1239
  # Try the directory containing this script, then the parent directory.
1240
  ac_confdir=`$as_dirname -- "$as_myself" ||
1241
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1242
         X"$as_myself" : 'X\(//\)[^/]' \| \
1243
         X"$as_myself" : 'X\(//\)$' \| \
1244
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1245
$as_echo X"$as_myself" |
1246
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247
            s//\1/
1248
            q
1249
          }
1250
          /^X\(\/\/\)[^/].*/{
1251
            s//\1/
1252
            q
1253
          }
1254
          /^X\(\/\/\)$/{
1255
            s//\1/
1256
            q
1257
          }
1258
          /^X\(\/\).*/{
1259
            s//\1/
1260
            q
1261
          }
1262
          s/.*/./; q'`
1263
  srcdir=$ac_confdir
1264
  if test ! -r "$srcdir/$ac_unique_file"; then
1265
    srcdir=..
1266
  fi
1267
else
1268
  ac_srcdir_defaulted=no
1269
fi
1270
if test ! -r "$srcdir/$ac_unique_file"; then
1271
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1272
  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1273
fi
1274
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1275
ac_abs_confdir=`(
1276
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1277
        pwd)`
1278
# When building in place, set srcdir=.
1279
if test "$ac_abs_confdir" = "$ac_pwd"; then
1280
  srcdir=.
1281
fi
1282
# Remove unnecessary trailing slashes from srcdir.
1283
# Double slashes in file names in object file debugging info
1284
# mess up M-x gdb in Emacs.
1285
case $srcdir in
1286
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287
esac
1288
for ac_var in $ac_precious_vars; do
1289
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1290
  eval ac_env_${ac_var}_value=\$${ac_var}
1291
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1292
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1293
done
1294
 
1295
#
1296
# Report the --help message.
1297
#
1298
if test "$ac_init_help" = "long"; then
1299
  # Omit some internal or obsolete options to make the list less imposing.
1300
  # This message is too long to be a string in the A/UX 3.1 sh.
1301
  cat <<_ACEOF
1302
\`configure' configures this package to adapt to many kinds of systems.
1303
 
1304
Usage: $0 [OPTION]... [VAR=VALUE]...
1305
 
1306
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1307
VAR=VALUE.  See below for descriptions of some of the useful variables.
1308
 
1309
Defaults for the options are specified in brackets.
1310
 
1311
Configuration:
1312
  -h, --help              display this help and exit
1313
      --help=short        display options specific to this package
1314
      --help=recursive    display the short help of all the included packages
1315
  -V, --version           display version information and exit
1316
  -q, --quiet, --silent   do not print \`checking...' messages
1317
      --cache-file=FILE   cache test results in FILE [disabled]
1318
  -C, --config-cache      alias for \`--cache-file=config.cache'
1319
  -n, --no-create         do not create output files
1320
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1321
 
1322
Installation directories:
1323
  --prefix=PREFIX         install architecture-independent files in PREFIX
1324
                          [$ac_default_prefix]
1325
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1326
                          [PREFIX]
1327
 
1328
By default, \`make install' will install all the files in
1329
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1330
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1331
for instance \`--prefix=\$HOME'.
1332
 
1333
For better control, use the options below.
1334
 
1335
Fine tuning of the installation directories:
1336
  --bindir=DIR            user executables [EPREFIX/bin]
1337
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1338
  --libexecdir=DIR        program executables [EPREFIX/libexec]
1339
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1340
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1341
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1342
  --libdir=DIR            object code libraries [EPREFIX/lib]
1343
  --includedir=DIR        C header files [PREFIX/include]
1344
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1345
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1346
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1347
  --infodir=DIR           info documentation [DATAROOTDIR/info]
1348
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1349
  --mandir=DIR            man documentation [DATAROOTDIR/man]
1350
  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1351
  --htmldir=DIR           html documentation [DOCDIR]
1352
  --dvidir=DIR            dvi documentation [DOCDIR]
1353
  --pdfdir=DIR            pdf documentation [DOCDIR]
1354
  --psdir=DIR             ps documentation [DOCDIR]
1355
_ACEOF
1356
 
1357
  cat <<\_ACEOF
1358
 
1359
Program names:
1360
  --program-prefix=PREFIX            prepend PREFIX to installed program names
1361
  --program-suffix=SUFFIX            append SUFFIX to installed program names
1362
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1363
 
1364
System types:
1365
  --build=BUILD     configure for building on BUILD [guessed]
1366
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1367
  --target=TARGET   configure for building compilers for TARGET [HOST]
1368
_ACEOF
1369
fi
1370
 
1371
if test -n "$ac_init_help"; then
1372
 
1373
  cat <<\_ACEOF
1374
 
1375
Optional Features:
1376
  --disable-option-checking  ignore unrecognized --enable/--with options
1377
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1378
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1379
  --disable-dependency-tracking  speeds up one-time build
1380
  --enable-dependency-tracking   do not reject slow dependency extractors
1381
  --enable-plugins        Enable support for plugins (defaults no)
1382
  --disable-largefile     omit support for large files
1383
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1384
  --enable-static[=PKGS]  build static libraries [default=yes]
1385
  --enable-fast-install[=PKGS]
1386
                          optimize for fast installation [default=yes]
1387
  --disable-libtool-lock  avoid locking (might break parallel builds)
1388
  --disable-nls           do not use Native Language Support
1389
  --enable-maintainer-mode  enable make rules and dependencies not useful
1390
                          (and sometimes confusing) to the casual installer
1391
  --enable-werror         treat compile warnings as errors
1392
  --enable-build-warnings enable build-time compiler warnings
1393
 
1394
Optional Packages:
1395
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1396
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1397
  --with-pic              try to use only PIC/non-PIC objects [default=use
1398
                          both]
1399
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1400
 
1401
Some influential environment variables:
1402
  CC          C compiler command
1403
  CFLAGS      C compiler flags
1404
  LDFLAGS     linker flags, e.g. -L if you have libraries in a
1405
              nonstandard directory 
1406
  LIBS        libraries to pass to the linker, e.g. -l
1407
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I if
1408
              you have headers in a nonstandard directory 
1409
  CPP         C preprocessor
1410
 
1411
Use these variables to override the choices made by `configure' or to help
1412
it to find libraries and programs with nonstandard names/locations.
1413
 
1414
Report bugs to the package provider.
1415
_ACEOF
1416
ac_status=$?
1417
fi
1418
 
1419
if test "$ac_init_help" = "recursive"; then
1420
  # If there are subdirs, report their specific --help.
1421
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1422
    test -d "$ac_dir" ||
1423
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1424
      continue
1425
    ac_builddir=.
1426
 
1427
case "$ac_dir" in
1428
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1429
*)
1430
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1431
  # A ".." for each directory in $ac_dir_suffix.
1432
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1433
  case $ac_top_builddir_sub in
1434
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1435
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1436
  esac ;;
1437
esac
1438
ac_abs_top_builddir=$ac_pwd
1439
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1440
# for backward compatibility:
1441
ac_top_builddir=$ac_top_build_prefix
1442
 
1443
case $srcdir in
1444
  .)  # We are building in place.
1445
    ac_srcdir=.
1446
    ac_top_srcdir=$ac_top_builddir_sub
1447
    ac_abs_top_srcdir=$ac_pwd ;;
1448
  [\\/]* | ?:[\\/]* )  # Absolute name.
1449
    ac_srcdir=$srcdir$ac_dir_suffix;
1450
    ac_top_srcdir=$srcdir
1451
    ac_abs_top_srcdir=$srcdir ;;
1452
  *) # Relative name.
1453
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1454
    ac_top_srcdir=$ac_top_build_prefix$srcdir
1455
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1456
esac
1457
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1458
 
1459
    cd "$ac_dir" || { ac_status=$?; continue; }
1460
    # Check for guested configure.
1461
    if test -f "$ac_srcdir/configure.gnu"; then
1462
      echo &&
1463
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1464
    elif test -f "$ac_srcdir/configure"; then
1465
      echo &&
1466
      $SHELL "$ac_srcdir/configure" --help=recursive
1467
    else
1468
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1469
    fi || ac_status=$?
1470
    cd "$ac_pwd" || { ac_status=$?; break; }
1471
  done
1472
fi
1473
 
1474
test -n "$ac_init_help" && exit $ac_status
1475
if $ac_init_version; then
1476
  cat <<\_ACEOF
1477
configure
1478
generated by GNU Autoconf 2.64
1479
 
1480
Copyright (C) 2009 Free Software Foundation, Inc.
1481
This configure script is free software; the Free Software Foundation
1482
gives unlimited permission to copy, distribute and modify it.
1483
_ACEOF
1484
  exit
1485
fi
1486
 
1487
## ------------------------ ##
1488
## Autoconf initialization. ##
1489
## ------------------------ ##
1490
 
1491
# ac_fn_c_try_compile LINENO
1492
# --------------------------
1493
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1494
ac_fn_c_try_compile ()
1495
{
1496
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1497
  rm -f conftest.$ac_objext
1498
  if { { ac_try="$ac_compile"
1499
case "(($ac_try" in
1500
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1501
  *) ac_try_echo=$ac_try;;
1502
esac
1503
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1504
$as_echo "$ac_try_echo"; } >&5
1505
  (eval "$ac_compile") 2>conftest.err
1506
  ac_status=$?
1507
  if test -s conftest.err; then
1508
    grep -v '^ *+' conftest.err >conftest.er1
1509
    cat conftest.er1 >&5
1510
    mv -f conftest.er1 conftest.err
1511
  fi
1512
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1513
  test $ac_status = 0; } && {
1514
         test -z "$ac_c_werror_flag" ||
1515
         test ! -s conftest.err
1516
       } && test -s conftest.$ac_objext; then :
1517
  ac_retval=0
1518
else
1519
  $as_echo "$as_me: failed program was:" >&5
1520
sed 's/^/| /' conftest.$ac_ext >&5
1521
 
1522
        ac_retval=1
1523
fi
1524
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1525
  return $ac_retval
1526
 
1527
} # ac_fn_c_try_compile
1528
 
1529
# ac_fn_c_try_link LINENO
1530
# -----------------------
1531
# Try to link conftest.$ac_ext, and return whether this succeeded.
1532
ac_fn_c_try_link ()
1533
{
1534
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535
  rm -f conftest.$ac_objext conftest$ac_exeext
1536
  if { { ac_try="$ac_link"
1537
case "(($ac_try" in
1538
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539
  *) ac_try_echo=$ac_try;;
1540
esac
1541
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542
$as_echo "$ac_try_echo"; } >&5
1543
  (eval "$ac_link") 2>conftest.err
1544
  ac_status=$?
1545
  if test -s conftest.err; then
1546
    grep -v '^ *+' conftest.err >conftest.er1
1547
    cat conftest.er1 >&5
1548
    mv -f conftest.er1 conftest.err
1549
  fi
1550
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551
  test $ac_status = 0; } && {
1552
         test -z "$ac_c_werror_flag" ||
1553
         test ! -s conftest.err
1554
       } && test -s conftest$ac_exeext && {
1555
         test "$cross_compiling" = yes ||
1556
         $as_test_x conftest$ac_exeext
1557
       }; then :
1558
  ac_retval=0
1559
else
1560
  $as_echo "$as_me: failed program was:" >&5
1561
sed 's/^/| /' conftest.$ac_ext >&5
1562
 
1563
        ac_retval=1
1564
fi
1565
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1566
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1567
  # interfere with the next link command; also delete a directory that is
1568
  # left behind by Apple's compiler.  We do this before executing the actions.
1569
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1570
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1571
  return $ac_retval
1572
 
1573
} # ac_fn_c_try_link
1574
 
1575
# ac_fn_c_try_cpp LINENO
1576
# ----------------------
1577
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1578
ac_fn_c_try_cpp ()
1579
{
1580
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581
  if { { ac_try="$ac_cpp conftest.$ac_ext"
1582
case "(($ac_try" in
1583
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1584
  *) ac_try_echo=$ac_try;;
1585
esac
1586
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1587
$as_echo "$ac_try_echo"; } >&5
1588
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1589
  ac_status=$?
1590
  if test -s conftest.err; then
1591
    grep -v '^ *+' conftest.err >conftest.er1
1592
    cat conftest.er1 >&5
1593
    mv -f conftest.er1 conftest.err
1594
  fi
1595
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1596
  test $ac_status = 0; } >/dev/null && {
1597
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1598
         test ! -s conftest.err
1599
       }; then :
1600
  ac_retval=0
1601
else
1602
  $as_echo "$as_me: failed program was:" >&5
1603
sed 's/^/| /' conftest.$ac_ext >&5
1604
 
1605
    ac_retval=1
1606
fi
1607
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1608
  return $ac_retval
1609
 
1610
} # ac_fn_c_try_cpp
1611
 
1612
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1613
# -------------------------------------------------------
1614
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1615
# the include files in INCLUDES and setting the cache variable VAR
1616
# accordingly.
1617
ac_fn_c_check_header_mongrel ()
1618
{
1619
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620
  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1621
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1622
$as_echo_n "checking for $2... " >&6; }
1623
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1624
  $as_echo_n "(cached) " >&6
1625
fi
1626
eval ac_res=\$$3
1627
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1628
$as_echo "$ac_res" >&6; }
1629
else
1630
  # Is the header compilable?
1631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1632
$as_echo_n "checking $2 usability... " >&6; }
1633
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1634
/* end confdefs.h.  */
1635
$4
1636
#include <$2>
1637
_ACEOF
1638
if ac_fn_c_try_compile "$LINENO"; then :
1639
  ac_header_compiler=yes
1640
else
1641
  ac_header_compiler=no
1642
fi
1643
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1645
$as_echo "$ac_header_compiler" >&6; }
1646
 
1647
# Is the header present?
1648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1649
$as_echo_n "checking $2 presence... " >&6; }
1650
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1651
/* end confdefs.h.  */
1652
#include <$2>
1653
_ACEOF
1654
if ac_fn_c_try_cpp "$LINENO"; then :
1655
  ac_header_preproc=yes
1656
else
1657
  ac_header_preproc=no
1658
fi
1659
rm -f conftest.err conftest.$ac_ext
1660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1661
$as_echo "$ac_header_preproc" >&6; }
1662
 
1663
# So?  What about this header?
1664
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1665
  yes:no: )
1666
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1667
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1668
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1669
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1670
    ;;
1671
  no:yes:* )
1672
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1673
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1674
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1675
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1676
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1677
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1678
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1679
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1680
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1681
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1682
    ;;
1683
esac
1684
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1685
$as_echo_n "checking for $2... " >&6; }
1686
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1687
  $as_echo_n "(cached) " >&6
1688
else
1689
  eval "$3=\$ac_header_compiler"
1690
fi
1691
eval ac_res=\$$3
1692
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1693
$as_echo "$ac_res" >&6; }
1694
fi
1695
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1696
 
1697
} # ac_fn_c_check_header_mongrel
1698
 
1699
# ac_fn_c_try_run LINENO
1700
# ----------------------
1701
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1702
# that executables *can* be run.
1703
ac_fn_c_try_run ()
1704
{
1705
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706
  if { { ac_try="$ac_link"
1707
case "(($ac_try" in
1708
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1709
  *) ac_try_echo=$ac_try;;
1710
esac
1711
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712
$as_echo "$ac_try_echo"; } >&5
1713
  (eval "$ac_link") 2>&5
1714
  ac_status=$?
1715
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1716
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1717
  { { case "(($ac_try" in
1718
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1719
  *) ac_try_echo=$ac_try;;
1720
esac
1721
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722
$as_echo "$ac_try_echo"; } >&5
1723
  (eval "$ac_try") 2>&5
1724
  ac_status=$?
1725
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1726
  test $ac_status = 0; }; }; then :
1727
  ac_retval=0
1728
else
1729
  $as_echo "$as_me: program exited with status $ac_status" >&5
1730
       $as_echo "$as_me: failed program was:" >&5
1731
sed 's/^/| /' conftest.$ac_ext >&5
1732
 
1733
       ac_retval=$ac_status
1734
fi
1735
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1736
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1737
  return $ac_retval
1738
 
1739
} # ac_fn_c_try_run
1740
 
1741
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1742
# -------------------------------------------------------
1743
# Tests whether HEADER exists and can be compiled using the include files in
1744
# INCLUDES, setting the cache variable VAR accordingly.
1745
ac_fn_c_check_header_compile ()
1746
{
1747
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1748
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1749
$as_echo_n "checking for $2... " >&6; }
1750
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1751
  $as_echo_n "(cached) " >&6
1752
else
1753
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1754
/* end confdefs.h.  */
1755
$4
1756
#include <$2>
1757
_ACEOF
1758
if ac_fn_c_try_compile "$LINENO"; then :
1759
  eval "$3=yes"
1760
else
1761
  eval "$3=no"
1762
fi
1763
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1764
fi
1765
eval ac_res=\$$3
1766
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1767
$as_echo "$ac_res" >&6; }
1768
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1769
 
1770
} # ac_fn_c_check_header_compile
1771
 
1772
# ac_fn_c_check_func LINENO FUNC VAR
1773
# ----------------------------------
1774
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1775
ac_fn_c_check_func ()
1776
{
1777
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1778
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779
$as_echo_n "checking for $2... " >&6; }
1780
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1781
  $as_echo_n "(cached) " >&6
1782
else
1783
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784
/* end confdefs.h.  */
1785
/* Define $2 to an innocuous variant, in case  declares $2.
1786
   For example, HP-UX 11i  declares gettimeofday.  */
1787
#define $2 innocuous_$2
1788
 
1789
/* System header to define __stub macros and hopefully few prototypes,
1790
    which can conflict with char $2 (); below.
1791
    Prefer  to  if __STDC__ is defined, since
1792
     exists even on freestanding compilers.  */
1793
 
1794
#ifdef __STDC__
1795
# include 
1796
#else
1797
# include 
1798
#endif
1799
 
1800
#undef $2
1801
 
1802
/* Override any GCC internal prototype to avoid an error.
1803
   Use char because int might match the return type of a GCC
1804
   builtin and then its argument prototype would still apply.  */
1805
#ifdef __cplusplus
1806
extern "C"
1807
#endif
1808
char $2 ();
1809
/* The GNU C library defines this for functions which it implements
1810
    to always fail with ENOSYS.  Some functions are actually named
1811
    something starting with __ and the normal name is an alias.  */
1812
#if defined __stub_$2 || defined __stub___$2
1813
choke me
1814
#endif
1815
 
1816
int
1817
main ()
1818
{
1819
return $2 ();
1820
  ;
1821
  return 0;
1822
}
1823
_ACEOF
1824
if ac_fn_c_try_link "$LINENO"; then :
1825
  eval "$3=yes"
1826
else
1827
  eval "$3=no"
1828
fi
1829
rm -f core conftest.err conftest.$ac_objext \
1830
    conftest$ac_exeext conftest.$ac_ext
1831
fi
1832
eval ac_res=\$$3
1833
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1834
$as_echo "$ac_res" >&6; }
1835
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1836
 
1837
} # ac_fn_c_check_func
1838
cat >config.log <<_ACEOF
1839
This file contains any messages produced by compilers while
1840
running configure, to aid debugging if configure makes a mistake.
1841
 
1842
It was created by $as_me, which was
1843
generated by GNU Autoconf 2.64.  Invocation command line was
1844
 
1845
  $ $0 $@
1846
 
1847
_ACEOF
1848
exec 5>>config.log
1849
{
1850
cat <<_ASUNAME
1851
## --------- ##
1852
## Platform. ##
1853
## --------- ##
1854
 
1855
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1856
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1857
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1858
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1859
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1860
 
1861
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1862
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1863
 
1864
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1865
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1866
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1867
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1868
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1869
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1870
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1871
 
1872
_ASUNAME
1873
 
1874
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875
for as_dir in $PATH
1876
do
1877
  IFS=$as_save_IFS
1878
  test -z "$as_dir" && as_dir=.
1879
    $as_echo "PATH: $as_dir"
1880
  done
1881
IFS=$as_save_IFS
1882
 
1883
} >&5
1884
 
1885
cat >&5 <<_ACEOF
1886
 
1887
 
1888
## ----------- ##
1889
## Core tests. ##
1890
## ----------- ##
1891
 
1892
_ACEOF
1893
 
1894
 
1895
# Keep a trace of the command line.
1896
# Strip out --no-create and --no-recursion so they do not pile up.
1897
# Strip out --silent because we don't want to record it for future runs.
1898
# Also quote any args containing shell meta-characters.
1899
# Make two passes to allow for proper duplicate-argument suppression.
1900
ac_configure_args=
1901
ac_configure_args0=
1902
ac_configure_args1=
1903
ac_must_keep_next=false
1904
for ac_pass in 1 2
1905
do
1906
  for ac_arg
1907
  do
1908
    case $ac_arg in
1909
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1910
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1911
    | -silent | --silent | --silen | --sile | --sil)
1912
      continue ;;
1913
    *\'*)
1914
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1915
    esac
1916
    case $ac_pass in
1917
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1918
    2)
1919
      as_fn_append ac_configure_args1 " '$ac_arg'"
1920
      if test $ac_must_keep_next = true; then
1921
        ac_must_keep_next=false # Got value, back to normal.
1922
      else
1923
        case $ac_arg in
1924
          *=* | --config-cache | -C | -disable-* | --disable-* \
1925
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1926
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1927
          | -with-* | --with-* | -without-* | --without-* | --x)
1928
            case "$ac_configure_args0 " in
1929
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1930
            esac
1931
            ;;
1932
          -* ) ac_must_keep_next=true ;;
1933
        esac
1934
      fi
1935
      as_fn_append ac_configure_args " '$ac_arg'"
1936
      ;;
1937
    esac
1938
  done
1939
done
1940
{ ac_configure_args0=; unset ac_configure_args0;}
1941
{ ac_configure_args1=; unset ac_configure_args1;}
1942
 
1943
# When interrupted or exit'd, cleanup temporary files, and complete
1944
# config.log.  We remove comments because anyway the quotes in there
1945
# would cause problems or look ugly.
1946
# WARNING: Use '\'' to represent an apostrophe within the trap.
1947
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1948
trap 'exit_status=$?
1949
  # Save into config.log some information that might help in debugging.
1950
  {
1951
    echo
1952
 
1953
    cat <<\_ASBOX
1954
## ---------------- ##
1955
## Cache variables. ##
1956
## ---------------- ##
1957
_ASBOX
1958
    echo
1959
    # The following way of writing the cache mishandles newlines in values,
1960
(
1961
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1962
    eval ac_val=\$$ac_var
1963
    case $ac_val in #(
1964
    *${as_nl}*)
1965
      case $ac_var in #(
1966
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1967
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1968
      esac
1969
      case $ac_var in #(
1970
      _ | IFS | as_nl) ;; #(
1971
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1972
      *) { eval $ac_var=; unset $ac_var;} ;;
1973
      esac ;;
1974
    esac
1975
  done
1976
  (set) 2>&1 |
1977
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1978
    *${as_nl}ac_space=\ *)
1979
      sed -n \
1980
        "s/'\''/'\''\\\\'\'''\''/g;
1981
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1982
      ;; #(
1983
    *)
1984
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1985
      ;;
1986
    esac |
1987
    sort
1988
)
1989
    echo
1990
 
1991
    cat <<\_ASBOX
1992
## ----------------- ##
1993
## Output variables. ##
1994
## ----------------- ##
1995
_ASBOX
1996
    echo
1997
    for ac_var in $ac_subst_vars
1998
    do
1999
      eval ac_val=\$$ac_var
2000
      case $ac_val in
2001
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2002
      esac
2003
      $as_echo "$ac_var='\''$ac_val'\''"
2004
    done | sort
2005
    echo
2006
 
2007
    if test -n "$ac_subst_files"; then
2008
      cat <<\_ASBOX
2009
## ------------------- ##
2010
## File substitutions. ##
2011
## ------------------- ##
2012
_ASBOX
2013
      echo
2014
      for ac_var in $ac_subst_files
2015
      do
2016
        eval ac_val=\$$ac_var
2017
        case $ac_val in
2018
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2019
        esac
2020
        $as_echo "$ac_var='\''$ac_val'\''"
2021
      done | sort
2022
      echo
2023
    fi
2024
 
2025
    if test -s confdefs.h; then
2026
      cat <<\_ASBOX
2027
## ----------- ##
2028
## confdefs.h. ##
2029
## ----------- ##
2030
_ASBOX
2031
      echo
2032
      cat confdefs.h
2033
      echo
2034
    fi
2035
    test "$ac_signal" != 0 &&
2036
      $as_echo "$as_me: caught signal $ac_signal"
2037
    $as_echo "$as_me: exit $exit_status"
2038
  } >&5
2039
  rm -f core *.core core.conftest.* &&
2040
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2041
    exit $exit_status
2042
' 0
2043
for ac_signal in 1 2 13 15; do
2044
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2045
done
2046
ac_signal=0
2047
 
2048
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2049
rm -f -r conftest* confdefs.h
2050
 
2051
$as_echo "/* confdefs.h */" > confdefs.h
2052
 
2053
# Predefined preprocessor variables.
2054
 
2055
cat >>confdefs.h <<_ACEOF
2056
#define PACKAGE_NAME "$PACKAGE_NAME"
2057
_ACEOF
2058
 
2059
cat >>confdefs.h <<_ACEOF
2060
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2061
_ACEOF
2062
 
2063
cat >>confdefs.h <<_ACEOF
2064
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2065
_ACEOF
2066
 
2067
cat >>confdefs.h <<_ACEOF
2068
#define PACKAGE_STRING "$PACKAGE_STRING"
2069
_ACEOF
2070
 
2071
cat >>confdefs.h <<_ACEOF
2072
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2073
_ACEOF
2074
 
2075
cat >>confdefs.h <<_ACEOF
2076
#define PACKAGE_URL "$PACKAGE_URL"
2077
_ACEOF
2078
 
2079
 
2080
# Let the site file select an alternate cache file if it wants to.
2081
# Prefer an explicitly selected file to automatically selected ones.
2082
ac_site_file1=NONE
2083
ac_site_file2=NONE
2084
if test -n "$CONFIG_SITE"; then
2085
  ac_site_file1=$CONFIG_SITE
2086
elif test "x$prefix" != xNONE; then
2087
  ac_site_file1=$prefix/share/config.site
2088
  ac_site_file2=$prefix/etc/config.site
2089
else
2090
  ac_site_file1=$ac_default_prefix/share/config.site
2091
  ac_site_file2=$ac_default_prefix/etc/config.site
2092
fi
2093
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2094
do
2095
  test "x$ac_site_file" = xNONE && continue
2096
  if test -r "$ac_site_file"; then
2097
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2098
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2099
    sed 's/^/| /' "$ac_site_file" >&5
2100
    . "$ac_site_file"
2101
  fi
2102
done
2103
 
2104
if test -r "$cache_file"; then
2105
  # Some versions of bash will fail to source /dev/null (special
2106
  # files actually), so we avoid doing that.
2107
  if test -f "$cache_file"; then
2108
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2109
$as_echo "$as_me: loading cache $cache_file" >&6;}
2110
    case $cache_file in
2111
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2112
      *)                      . "./$cache_file";;
2113
    esac
2114
  fi
2115
else
2116
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2117
$as_echo "$as_me: creating cache $cache_file" >&6;}
2118
  >$cache_file
2119
fi
2120
 
2121
# Check that the precious variables saved in the cache have kept the same
2122
# value.
2123
ac_cache_corrupted=false
2124
for ac_var in $ac_precious_vars; do
2125
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2126
  eval ac_new_set=\$ac_env_${ac_var}_set
2127
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2128
  eval ac_new_val=\$ac_env_${ac_var}_value
2129
  case $ac_old_set,$ac_new_set in
2130
    set,)
2131
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2132
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2133
      ac_cache_corrupted=: ;;
2134
    ,set)
2135
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2136
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2137
      ac_cache_corrupted=: ;;
2138
    ,);;
2139
    *)
2140
      if test "x$ac_old_val" != "x$ac_new_val"; then
2141
        # differences in whitespace do not lead to failure.
2142
        ac_old_val_w=`echo x $ac_old_val`
2143
        ac_new_val_w=`echo x $ac_new_val`
2144
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
2145
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2146
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2147
          ac_cache_corrupted=:
2148
        else
2149
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2150
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2151
          eval $ac_var=\$ac_old_val
2152
        fi
2153
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2154
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2155
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2156
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2157
      fi;;
2158
  esac
2159
  # Pass precious variables to config.status.
2160
  if test "$ac_new_set" = set; then
2161
    case $ac_new_val in
2162
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2163
    *) ac_arg=$ac_var=$ac_new_val ;;
2164
    esac
2165
    case " $ac_configure_args " in
2166
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2167
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2168
    esac
2169
  fi
2170
done
2171
if $ac_cache_corrupted; then
2172
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2173
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2174
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2175
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2176
  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2177
fi
2178
## -------------------- ##
2179
## Main body of script. ##
2180
## -------------------- ##
2181
 
2182
ac_ext=c
2183
ac_cpp='$CPP $CPPFLAGS'
2184
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2185
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2186
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2187
 
2188
 
2189
 
2190
 
2191
 
2192
 
2193
 
2194
ac_aux_dir=
2195
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2196
  for ac_t in install-sh install.sh shtool; do
2197
    if test -f "$ac_dir/$ac_t"; then
2198
      ac_aux_dir=$ac_dir
2199
      ac_install_sh="$ac_aux_dir/$ac_t -c"
2200
      break 2
2201
    fi
2202
  done
2203
done
2204
if test -z "$ac_aux_dir"; then
2205
  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2206
fi
2207
 
2208
# These three variables are undocumented and unsupported,
2209
# and are intended to be withdrawn in a future Autoconf release.
2210
# They can cause serious problems if a builder's source tree is in a directory
2211
# whose full name contains unusual characters.
2212
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2213
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2214
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2215
 
2216
 
2217
# Make sure we can run config.sub.
2218
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2219
  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2220
 
2221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2222
$as_echo_n "checking build system type... " >&6; }
2223
if test "${ac_cv_build+set}" = set; then :
2224
  $as_echo_n "(cached) " >&6
2225
else
2226
  ac_build_alias=$build_alias
2227
test "x$ac_build_alias" = x &&
2228
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2229
test "x$ac_build_alias" = x &&
2230
  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2231
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2232
  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2233
 
2234
fi
2235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2236
$as_echo "$ac_cv_build" >&6; }
2237
case $ac_cv_build in
2238
*-*-*) ;;
2239
*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2240
esac
2241
build=$ac_cv_build
2242
ac_save_IFS=$IFS; IFS='-'
2243
set x $ac_cv_build
2244
shift
2245
build_cpu=$1
2246
build_vendor=$2
2247
shift; shift
2248
# Remember, the first character of IFS is used to create $*,
2249
# except with old shells:
2250
build_os=$*
2251
IFS=$ac_save_IFS
2252
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2253
 
2254
 
2255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2256
$as_echo_n "checking host system type... " >&6; }
2257
if test "${ac_cv_host+set}" = set; then :
2258
  $as_echo_n "(cached) " >&6
2259
else
2260
  if test "x$host_alias" = x; then
2261
  ac_cv_host=$ac_cv_build
2262
else
2263
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2264
    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2265
fi
2266
 
2267
fi
2268
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2269
$as_echo "$ac_cv_host" >&6; }
2270
case $ac_cv_host in
2271
*-*-*) ;;
2272
*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2273
esac
2274
host=$ac_cv_host
2275
ac_save_IFS=$IFS; IFS='-'
2276
set x $ac_cv_host
2277
shift
2278
host_cpu=$1
2279
host_vendor=$2
2280
shift; shift
2281
# Remember, the first character of IFS is used to create $*,
2282
# except with old shells:
2283
host_os=$*
2284
IFS=$ac_save_IFS
2285
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2286
 
2287
 
2288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2289
$as_echo_n "checking target system type... " >&6; }
2290
if test "${ac_cv_target+set}" = set; then :
2291
  $as_echo_n "(cached) " >&6
2292
else
2293
  if test "x$target_alias" = x; then
2294
  ac_cv_target=$ac_cv_host
2295
else
2296
  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2297
    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2298
fi
2299
 
2300
fi
2301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2302
$as_echo "$ac_cv_target" >&6; }
2303
case $ac_cv_target in
2304
*-*-*) ;;
2305
*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2306
esac
2307
target=$ac_cv_target
2308
ac_save_IFS=$IFS; IFS='-'
2309
set x $ac_cv_target
2310
shift
2311
target_cpu=$1
2312
target_vendor=$2
2313
shift; shift
2314
# Remember, the first character of IFS is used to create $*,
2315
# except with old shells:
2316
target_os=$*
2317
IFS=$ac_save_IFS
2318
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2319
 
2320
 
2321
# The aliases save the names the user supplied, while $host etc.
2322
# will get canonicalized.
2323
test -n "$target_alias" &&
2324
  test "$program_prefix$program_suffix$program_transform_name" = \
2325
    NONENONEs,x,x, &&
2326
  program_prefix=${target_alias}-
2327
ac_ext=c
2328
ac_cpp='$CPP $CPPFLAGS'
2329
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2330
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2331
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2332
if test -n "$ac_tool_prefix"; then
2333
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2334
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2336
$as_echo_n "checking for $ac_word... " >&6; }
2337
if test "${ac_cv_prog_CC+set}" = set; then :
2338
  $as_echo_n "(cached) " >&6
2339
else
2340
  if test -n "$CC"; then
2341
  ac_cv_prog_CC="$CC" # Let the user override the test.
2342
else
2343
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2344
for as_dir in $PATH
2345
do
2346
  IFS=$as_save_IFS
2347
  test -z "$as_dir" && as_dir=.
2348
    for ac_exec_ext in '' $ac_executable_extensions; do
2349
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2350
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2351
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2352
    break 2
2353
  fi
2354
done
2355
  done
2356
IFS=$as_save_IFS
2357
 
2358
fi
2359
fi
2360
CC=$ac_cv_prog_CC
2361
if test -n "$CC"; then
2362
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2363
$as_echo "$CC" >&6; }
2364
else
2365
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2366
$as_echo "no" >&6; }
2367
fi
2368
 
2369
 
2370
fi
2371
if test -z "$ac_cv_prog_CC"; then
2372
  ac_ct_CC=$CC
2373
  # Extract the first word of "gcc", so it can be a program name with args.
2374
set dummy gcc; ac_word=$2
2375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2376
$as_echo_n "checking for $ac_word... " >&6; }
2377
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2378
  $as_echo_n "(cached) " >&6
2379
else
2380
  if test -n "$ac_ct_CC"; then
2381
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2382
else
2383
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384
for as_dir in $PATH
2385
do
2386
  IFS=$as_save_IFS
2387
  test -z "$as_dir" && as_dir=.
2388
    for ac_exec_ext in '' $ac_executable_extensions; do
2389
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2390
    ac_cv_prog_ac_ct_CC="gcc"
2391
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2392
    break 2
2393
  fi
2394
done
2395
  done
2396
IFS=$as_save_IFS
2397
 
2398
fi
2399
fi
2400
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2401
if test -n "$ac_ct_CC"; then
2402
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2403
$as_echo "$ac_ct_CC" >&6; }
2404
else
2405
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2406
$as_echo "no" >&6; }
2407
fi
2408
 
2409
  if test "x$ac_ct_CC" = x; then
2410
    CC=""
2411
  else
2412
    case $cross_compiling:$ac_tool_warned in
2413
yes:)
2414
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2415
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2416
ac_tool_warned=yes ;;
2417
esac
2418
    CC=$ac_ct_CC
2419
  fi
2420
else
2421
  CC="$ac_cv_prog_CC"
2422
fi
2423
 
2424
if test -z "$CC"; then
2425
          if test -n "$ac_tool_prefix"; then
2426
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2427
set dummy ${ac_tool_prefix}cc; ac_word=$2
2428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2429
$as_echo_n "checking for $ac_word... " >&6; }
2430
if test "${ac_cv_prog_CC+set}" = set; then :
2431
  $as_echo_n "(cached) " >&6
2432
else
2433
  if test -n "$CC"; then
2434
  ac_cv_prog_CC="$CC" # Let the user override the test.
2435
else
2436
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437
for as_dir in $PATH
2438
do
2439
  IFS=$as_save_IFS
2440
  test -z "$as_dir" && as_dir=.
2441
    for ac_exec_ext in '' $ac_executable_extensions; do
2442
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2443
    ac_cv_prog_CC="${ac_tool_prefix}cc"
2444
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2445
    break 2
2446
  fi
2447
done
2448
  done
2449
IFS=$as_save_IFS
2450
 
2451
fi
2452
fi
2453
CC=$ac_cv_prog_CC
2454
if test -n "$CC"; then
2455
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2456
$as_echo "$CC" >&6; }
2457
else
2458
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2459
$as_echo "no" >&6; }
2460
fi
2461
 
2462
 
2463
  fi
2464
fi
2465
if test -z "$CC"; then
2466
  # Extract the first word of "cc", so it can be a program name with args.
2467
set dummy cc; ac_word=$2
2468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2469
$as_echo_n "checking for $ac_word... " >&6; }
2470
if test "${ac_cv_prog_CC+set}" = set; then :
2471
  $as_echo_n "(cached) " >&6
2472
else
2473
  if test -n "$CC"; then
2474
  ac_cv_prog_CC="$CC" # Let the user override the test.
2475
else
2476
  ac_prog_rejected=no
2477
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478
for as_dir in $PATH
2479
do
2480
  IFS=$as_save_IFS
2481
  test -z "$as_dir" && as_dir=.
2482
    for ac_exec_ext in '' $ac_executable_extensions; do
2483
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2484
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2485
       ac_prog_rejected=yes
2486
       continue
2487
     fi
2488
    ac_cv_prog_CC="cc"
2489
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2490
    break 2
2491
  fi
2492
done
2493
  done
2494
IFS=$as_save_IFS
2495
 
2496
if test $ac_prog_rejected = yes; then
2497
  # We found a bogon in the path, so make sure we never use it.
2498
  set dummy $ac_cv_prog_CC
2499
  shift
2500
  if test $# != 0; then
2501
    # We chose a different compiler from the bogus one.
2502
    # However, it has the same basename, so the bogon will be chosen
2503
    # first if we set CC to just the basename; use the full file name.
2504
    shift
2505
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2506
  fi
2507
fi
2508
fi
2509
fi
2510
CC=$ac_cv_prog_CC
2511
if test -n "$CC"; then
2512
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2513
$as_echo "$CC" >&6; }
2514
else
2515
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516
$as_echo "no" >&6; }
2517
fi
2518
 
2519
 
2520
fi
2521
if test -z "$CC"; then
2522
  if test -n "$ac_tool_prefix"; then
2523
  for ac_prog in cl.exe
2524
  do
2525
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2526
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2528
$as_echo_n "checking for $ac_word... " >&6; }
2529
if test "${ac_cv_prog_CC+set}" = set; then :
2530
  $as_echo_n "(cached) " >&6
2531
else
2532
  if test -n "$CC"; then
2533
  ac_cv_prog_CC="$CC" # Let the user override the test.
2534
else
2535
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536
for as_dir in $PATH
2537
do
2538
  IFS=$as_save_IFS
2539
  test -z "$as_dir" && as_dir=.
2540
    for ac_exec_ext in '' $ac_executable_extensions; do
2541
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2543
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2544
    break 2
2545
  fi
2546
done
2547
  done
2548
IFS=$as_save_IFS
2549
 
2550
fi
2551
fi
2552
CC=$ac_cv_prog_CC
2553
if test -n "$CC"; then
2554
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2555
$as_echo "$CC" >&6; }
2556
else
2557
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558
$as_echo "no" >&6; }
2559
fi
2560
 
2561
 
2562
    test -n "$CC" && break
2563
  done
2564
fi
2565
if test -z "$CC"; then
2566
  ac_ct_CC=$CC
2567
  for ac_prog in cl.exe
2568
do
2569
  # Extract the first word of "$ac_prog", so it can be a program name with args.
2570
set dummy $ac_prog; ac_word=$2
2571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2572
$as_echo_n "checking for $ac_word... " >&6; }
2573
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2574
  $as_echo_n "(cached) " >&6
2575
else
2576
  if test -n "$ac_ct_CC"; then
2577
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2578
else
2579
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580
for as_dir in $PATH
2581
do
2582
  IFS=$as_save_IFS
2583
  test -z "$as_dir" && as_dir=.
2584
    for ac_exec_ext in '' $ac_executable_extensions; do
2585
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2586
    ac_cv_prog_ac_ct_CC="$ac_prog"
2587
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2588
    break 2
2589
  fi
2590
done
2591
  done
2592
IFS=$as_save_IFS
2593
 
2594
fi
2595
fi
2596
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2597
if test -n "$ac_ct_CC"; then
2598
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2599
$as_echo "$ac_ct_CC" >&6; }
2600
else
2601
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2602
$as_echo "no" >&6; }
2603
fi
2604
 
2605
 
2606
  test -n "$ac_ct_CC" && break
2607
done
2608
 
2609
  if test "x$ac_ct_CC" = x; then
2610
    CC=""
2611
  else
2612
    case $cross_compiling:$ac_tool_warned in
2613
yes:)
2614
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2615
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2616
ac_tool_warned=yes ;;
2617
esac
2618
    CC=$ac_ct_CC
2619
  fi
2620
fi
2621
 
2622
fi
2623
 
2624
 
2625
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2626
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2627
as_fn_error "no acceptable C compiler found in \$PATH
2628
See \`config.log' for more details." "$LINENO" 5; }
2629
 
2630
# Provide some information about the compiler.
2631
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2632
set X $ac_compile
2633
ac_compiler=$2
2634
for ac_option in --version -v -V -qversion; do
2635
  { { ac_try="$ac_compiler $ac_option >&5"
2636
case "(($ac_try" in
2637
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2638
  *) ac_try_echo=$ac_try;;
2639
esac
2640
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2641
$as_echo "$ac_try_echo"; } >&5
2642
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2643
  ac_status=$?
2644
  if test -s conftest.err; then
2645
    sed '10a\
2646
... rest of stderr output deleted ...
2647
         10q' conftest.err >conftest.er1
2648
    cat conftest.er1 >&5
2649
    rm -f conftest.er1 conftest.err
2650
  fi
2651
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2652
  test $ac_status = 0; }
2653
done
2654
 
2655
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2656
/* end confdefs.h.  */
2657
 
2658
int
2659
main ()
2660
{
2661
 
2662
  ;
2663
  return 0;
2664
}
2665
_ACEOF
2666
ac_clean_files_save=$ac_clean_files
2667
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2668
# Try to create an executable without -o first, disregard a.out.
2669
# It will help us diagnose broken compilers, and finding out an intuition
2670
# of exeext.
2671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2672
$as_echo_n "checking for C compiler default output file name... " >&6; }
2673
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2674
 
2675
# The possible output files:
2676
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2677
 
2678
ac_rmfiles=
2679
for ac_file in $ac_files
2680
do
2681
  case $ac_file in
2682
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2683
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2684
  esac
2685
done
2686
rm -f $ac_rmfiles
2687
 
2688
if { { ac_try="$ac_link_default"
2689
case "(($ac_try" in
2690
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2691
  *) ac_try_echo=$ac_try;;
2692
esac
2693
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2694
$as_echo "$ac_try_echo"; } >&5
2695
  (eval "$ac_link_default") 2>&5
2696
  ac_status=$?
2697
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698
  test $ac_status = 0; }; then :
2699
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2700
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2701
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2702
# so that the user can short-circuit this test for compilers unknown to
2703
# Autoconf.
2704
for ac_file in $ac_files ''
2705
do
2706
  test -f "$ac_file" || continue
2707
  case $ac_file in
2708
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2709
        ;;
2710
    [ab].out )
2711
        # We found the default executable, but exeext='' is most
2712
        # certainly right.
2713
        break;;
2714
    *.* )
2715
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2716
        then :; else
2717
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2718
        fi
2719
        # We set ac_cv_exeext here because the later test for it is not
2720
        # safe: cross compilers may not add the suffix if given an `-o'
2721
        # argument, so we may need to know it at that point already.
2722
        # Even if this section looks crufty: it has the advantage of
2723
        # actually working.
2724
        break;;
2725
    * )
2726
        break;;
2727
  esac
2728
done
2729
test "$ac_cv_exeext" = no && ac_cv_exeext=
2730
 
2731
else
2732
  ac_file=''
2733
fi
2734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2735
$as_echo "$ac_file" >&6; }
2736
if test -z "$ac_file"; then :
2737
  $as_echo "$as_me: failed program was:" >&5
2738
sed 's/^/| /' conftest.$ac_ext >&5
2739
 
2740
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2741
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2742
{ as_fn_set_status 77
2743
as_fn_error "C compiler cannot create executables
2744
See \`config.log' for more details." "$LINENO" 5; }; }
2745
fi
2746
ac_exeext=$ac_cv_exeext
2747
 
2748
# Check that the compiler produces executables we can run.  If not, either
2749
# the compiler is broken, or we cross compile.
2750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2751
$as_echo_n "checking whether the C compiler works... " >&6; }
2752
# If not cross compiling, check that we can run a simple program.
2753
if test "$cross_compiling" != yes; then
2754
  if { ac_try='./$ac_file'
2755
  { { case "(($ac_try" in
2756
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757
  *) ac_try_echo=$ac_try;;
2758
esac
2759
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2760
$as_echo "$ac_try_echo"; } >&5
2761
  (eval "$ac_try") 2>&5
2762
  ac_status=$?
2763
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2764
  test $ac_status = 0; }; }; then
2765
    cross_compiling=no
2766
  else
2767
    if test "$cross_compiling" = maybe; then
2768
        cross_compiling=yes
2769
    else
2770
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2771
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2772
as_fn_error "cannot run C compiled programs.
2773
If you meant to cross compile, use \`--host'.
2774
See \`config.log' for more details." "$LINENO" 5; }
2775
    fi
2776
  fi
2777
fi
2778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2779
$as_echo "yes" >&6; }
2780
 
2781
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2782
ac_clean_files=$ac_clean_files_save
2783
# Check that the compiler produces executables we can run.  If not, either
2784
# the compiler is broken, or we cross compile.
2785
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2786
$as_echo_n "checking whether we are cross compiling... " >&6; }
2787
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2788
$as_echo "$cross_compiling" >&6; }
2789
 
2790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2791
$as_echo_n "checking for suffix of executables... " >&6; }
2792
if { { ac_try="$ac_link"
2793
case "(($ac_try" in
2794
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795
  *) ac_try_echo=$ac_try;;
2796
esac
2797
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2798
$as_echo "$ac_try_echo"; } >&5
2799
  (eval "$ac_link") 2>&5
2800
  ac_status=$?
2801
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2802
  test $ac_status = 0; }; then :
2803
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2804
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2805
# work properly (i.e., refer to `conftest.exe'), while it won't with
2806
# `rm'.
2807
for ac_file in conftest.exe conftest conftest.*; do
2808
  test -f "$ac_file" || continue
2809
  case $ac_file in
2810
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2811
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2812
          break;;
2813
    * ) break;;
2814
  esac
2815
done
2816
else
2817
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2818
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2819
as_fn_error "cannot compute suffix of executables: cannot compile and link
2820
See \`config.log' for more details." "$LINENO" 5; }
2821
fi
2822
rm -f conftest$ac_cv_exeext
2823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2824
$as_echo "$ac_cv_exeext" >&6; }
2825
 
2826
rm -f conftest.$ac_ext
2827
EXEEXT=$ac_cv_exeext
2828
ac_exeext=$EXEEXT
2829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2830
$as_echo_n "checking for suffix of object files... " >&6; }
2831
if test "${ac_cv_objext+set}" = set; then :
2832
  $as_echo_n "(cached) " >&6
2833
else
2834
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835
/* end confdefs.h.  */
2836
 
2837
int
2838
main ()
2839
{
2840
 
2841
  ;
2842
  return 0;
2843
}
2844
_ACEOF
2845
rm -f conftest.o conftest.obj
2846
if { { ac_try="$ac_compile"
2847
case "(($ac_try" in
2848
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2849
  *) ac_try_echo=$ac_try;;
2850
esac
2851
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2852
$as_echo "$ac_try_echo"; } >&5
2853
  (eval "$ac_compile") 2>&5
2854
  ac_status=$?
2855
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856
  test $ac_status = 0; }; then :
2857
  for ac_file in conftest.o conftest.obj conftest.*; do
2858
  test -f "$ac_file" || continue;
2859
  case $ac_file in
2860
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2861
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2862
       break;;
2863
  esac
2864
done
2865
else
2866
  $as_echo "$as_me: failed program was:" >&5
2867
sed 's/^/| /' conftest.$ac_ext >&5
2868
 
2869
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2870
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2871
as_fn_error "cannot compute suffix of object files: cannot compile
2872
See \`config.log' for more details." "$LINENO" 5; }
2873
fi
2874
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2875
fi
2876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2877
$as_echo "$ac_cv_objext" >&6; }
2878
OBJEXT=$ac_cv_objext
2879
ac_objext=$OBJEXT
2880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2881
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2882
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2883
  $as_echo_n "(cached) " >&6
2884
else
2885
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886
/* end confdefs.h.  */
2887
 
2888
int
2889
main ()
2890
{
2891
#ifndef __GNUC__
2892
       choke me
2893
#endif
2894
 
2895
  ;
2896
  return 0;
2897
}
2898
_ACEOF
2899
if ac_fn_c_try_compile "$LINENO"; then :
2900
  ac_compiler_gnu=yes
2901
else
2902
  ac_compiler_gnu=no
2903
fi
2904
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2905
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2906
 
2907
fi
2908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2909
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2910
if test $ac_compiler_gnu = yes; then
2911
  GCC=yes
2912
else
2913
  GCC=
2914
fi
2915
ac_test_CFLAGS=${CFLAGS+set}
2916
ac_save_CFLAGS=$CFLAGS
2917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2918
$as_echo_n "checking whether $CC accepts -g... " >&6; }
2919
if test "${ac_cv_prog_cc_g+set}" = set; then :
2920
  $as_echo_n "(cached) " >&6
2921
else
2922
  ac_save_c_werror_flag=$ac_c_werror_flag
2923
   ac_c_werror_flag=yes
2924
   ac_cv_prog_cc_g=no
2925
   CFLAGS="-g"
2926
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2927
/* end confdefs.h.  */
2928
 
2929
int
2930
main ()
2931
{
2932
 
2933
  ;
2934
  return 0;
2935
}
2936
_ACEOF
2937
if ac_fn_c_try_compile "$LINENO"; then :
2938
  ac_cv_prog_cc_g=yes
2939
else
2940
  CFLAGS=""
2941
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942
/* end confdefs.h.  */
2943
 
2944
int
2945
main ()
2946
{
2947
 
2948
  ;
2949
  return 0;
2950
}
2951
_ACEOF
2952
if ac_fn_c_try_compile "$LINENO"; then :
2953
 
2954
else
2955
  ac_c_werror_flag=$ac_save_c_werror_flag
2956
         CFLAGS="-g"
2957
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958
/* end confdefs.h.  */
2959
 
2960
int
2961
main ()
2962
{
2963
 
2964
  ;
2965
  return 0;
2966
}
2967
_ACEOF
2968
if ac_fn_c_try_compile "$LINENO"; then :
2969
  ac_cv_prog_cc_g=yes
2970
fi
2971
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972
fi
2973
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974
fi
2975
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976
   ac_c_werror_flag=$ac_save_c_werror_flag
2977
fi
2978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2979
$as_echo "$ac_cv_prog_cc_g" >&6; }
2980
if test "$ac_test_CFLAGS" = set; then
2981
  CFLAGS=$ac_save_CFLAGS
2982
elif test $ac_cv_prog_cc_g = yes; then
2983
  if test "$GCC" = yes; then
2984
    CFLAGS="-g -O2"
2985
  else
2986
    CFLAGS="-g"
2987
  fi
2988
else
2989
  if test "$GCC" = yes; then
2990
    CFLAGS="-O2"
2991
  else
2992
    CFLAGS=
2993
  fi
2994
fi
2995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2996
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2997
if test "${ac_cv_prog_cc_c89+set}" = set; then :
2998
  $as_echo_n "(cached) " >&6
2999
else
3000
  ac_cv_prog_cc_c89=no
3001
ac_save_CC=$CC
3002
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3003
/* end confdefs.h.  */
3004
#include 
3005
#include 
3006
#include 
3007
#include 
3008
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3009
struct buf { int x; };
3010
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3011
static char *e (p, i)
3012
     char **p;
3013
     int i;
3014
{
3015
  return p[i];
3016
}
3017
static char *f (char * (*g) (char **, int), char **p, ...)
3018
{
3019
  char *s;
3020
  va_list v;
3021
  va_start (v,p);
3022
  s = g (p, va_arg (v,int));
3023
  va_end (v);
3024
  return s;
3025
}
3026
 
3027
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3028
   function prototypes and stuff, but not '\xHH' hex character constants.
3029
   These don't provoke an error unfortunately, instead are silently treated
3030
   as 'x'.  The following induces an error, until -std is added to get
3031
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3032
   array size at least.  It's necessary to write '\x00'==0 to get something
3033
   that's true only with -std.  */
3034
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3035
 
3036
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3037
   inside strings and character constants.  */
3038
#define FOO(x) 'x'
3039
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3040
 
3041
int test (int i, double x);
3042
struct s1 {int (*f) (int a);};
3043
struct s2 {int (*f) (double a);};
3044
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3045
int argc;
3046
char **argv;
3047
int
3048
main ()
3049
{
3050
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3051
  ;
3052
  return 0;
3053
}
3054
_ACEOF
3055
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3056
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3057
do
3058
  CC="$ac_save_CC $ac_arg"
3059
  if ac_fn_c_try_compile "$LINENO"; then :
3060
  ac_cv_prog_cc_c89=$ac_arg
3061
fi
3062
rm -f core conftest.err conftest.$ac_objext
3063
  test "x$ac_cv_prog_cc_c89" != "xno" && break
3064
done
3065
rm -f conftest.$ac_ext
3066
CC=$ac_save_CC
3067
 
3068
fi
3069
# AC_CACHE_VAL
3070
case "x$ac_cv_prog_cc_c89" in
3071
  x)
3072
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3073
$as_echo "none needed" >&6; } ;;
3074
  xno)
3075
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3076
$as_echo "unsupported" >&6; } ;;
3077
  *)
3078
    CC="$CC $ac_cv_prog_cc_c89"
3079
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3080
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3081
esac
3082
if test "x$ac_cv_prog_cc_c89" != xno; then :
3083
 
3084
fi
3085
 
3086
ac_ext=c
3087
ac_cpp='$CPP $CPPFLAGS'
3088
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3091
 
3092
 
3093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3094
$as_echo_n "checking for library containing strerror... " >&6; }
3095
if test "${ac_cv_search_strerror+set}" = set; then :
3096
  $as_echo_n "(cached) " >&6
3097
else
3098
  ac_func_search_save_LIBS=$LIBS
3099
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100
/* end confdefs.h.  */
3101
 
3102
/* Override any GCC internal prototype to avoid an error.
3103
   Use char because int might match the return type of a GCC
3104
   builtin and then its argument prototype would still apply.  */
3105
#ifdef __cplusplus
3106
extern "C"
3107
#endif
3108
char strerror ();
3109
int
3110
main ()
3111
{
3112
return strerror ();
3113
  ;
3114
  return 0;
3115
}
3116
_ACEOF
3117
for ac_lib in '' cposix; do
3118
  if test -z "$ac_lib"; then
3119
    ac_res="none required"
3120
  else
3121
    ac_res=-l$ac_lib
3122
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3123
  fi
3124
  if ac_fn_c_try_link "$LINENO"; then :
3125
  ac_cv_search_strerror=$ac_res
3126
fi
3127
rm -f core conftest.err conftest.$ac_objext \
3128
    conftest$ac_exeext
3129
  if test "${ac_cv_search_strerror+set}" = set; then :
3130
  break
3131
fi
3132
done
3133
if test "${ac_cv_search_strerror+set}" = set; then :
3134
 
3135
else
3136
  ac_cv_search_strerror=no
3137
fi
3138
rm conftest.$ac_ext
3139
LIBS=$ac_func_search_save_LIBS
3140
fi
3141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3142
$as_echo "$ac_cv_search_strerror" >&6; }
3143
ac_res=$ac_cv_search_strerror
3144
if test "$ac_res" != no; then :
3145
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3146
 
3147
fi
3148
 
3149
 
3150
BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[         ]*\([^  ]*\)[   ]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
3151
am__api_version='1.11'
3152
 
3153
# Find a good install program.  We prefer a C program (faster),
3154
# so one script is as good as another.  But avoid the broken or
3155
# incompatible versions:
3156
# SysV /etc/install, /usr/sbin/install
3157
# SunOS /usr/etc/install
3158
# IRIX /sbin/install
3159
# AIX /bin/install
3160
# AmigaOS /C/install, which installs bootblocks on floppy discs
3161
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3162
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3163
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3164
# OS/2's system install, which has a completely different semantic
3165
# ./install, which can be erroneously created by make from ./install.sh.
3166
# Reject install programs that cannot install multiple files.
3167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3168
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3169
if test -z "$INSTALL"; then
3170
if test "${ac_cv_path_install+set}" = set; then :
3171
  $as_echo_n "(cached) " >&6
3172
else
3173
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174
for as_dir in $PATH
3175
do
3176
  IFS=$as_save_IFS
3177
  test -z "$as_dir" && as_dir=.
3178
    # Account for people who put trailing slashes in PATH elements.
3179
case $as_dir/ in #((
3180
  ./ | .// | /[cC]/* | \
3181
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3182
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3183
  /usr/ucb/* ) ;;
3184
  *)
3185
    # OSF1 and SCO ODT 3.0 have their own names for install.
3186
    # Don't use installbsd from OSF since it installs stuff as root
3187
    # by default.
3188
    for ac_prog in ginstall scoinst install; do
3189
      for ac_exec_ext in '' $ac_executable_extensions; do
3190
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3191
          if test $ac_prog = install &&
3192
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3193
            # AIX install.  It has an incompatible calling convention.
3194
            :
3195
          elif test $ac_prog = install &&
3196
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3197
            # program-specific install script used by HP pwplus--don't use.
3198
            :
3199
          else
3200
            rm -rf conftest.one conftest.two conftest.dir
3201
            echo one > conftest.one
3202
            echo two > conftest.two
3203
            mkdir conftest.dir
3204
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3205
              test -s conftest.one && test -s conftest.two &&
3206
              test -s conftest.dir/conftest.one &&
3207
              test -s conftest.dir/conftest.two
3208
            then
3209
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3210
              break 3
3211
            fi
3212
          fi
3213
        fi
3214
      done
3215
    done
3216
    ;;
3217
esac
3218
 
3219
  done
3220
IFS=$as_save_IFS
3221
 
3222
rm -rf conftest.one conftest.two conftest.dir
3223
 
3224
fi
3225
  if test "${ac_cv_path_install+set}" = set; then
3226
    INSTALL=$ac_cv_path_install
3227
  else
3228
    # As a last resort, use the slow shell script.  Don't cache a
3229
    # value for INSTALL within a source directory, because that will
3230
    # break other packages using the cache if that directory is
3231
    # removed, or if the value is a relative name.
3232
    INSTALL=$ac_install_sh
3233
  fi
3234
fi
3235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3236
$as_echo "$INSTALL" >&6; }
3237
 
3238
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3239
# It thinks the first close brace ends the variable substitution.
3240
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3241
 
3242
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3243
 
3244
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3245
 
3246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3247
$as_echo_n "checking whether build environment is sane... " >&6; }
3248
# Just in case
3249
sleep 1
3250
echo timestamp > conftest.file
3251
# Reject unsafe characters in $srcdir or the absolute working directory
3252
# name.  Accept space and tab only in the latter.
3253
am_lf='
3254
'
3255
case `pwd` in
3256
  *[\\\"\#\$\&\'\`$am_lf]*)
3257
    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3258
esac
3259
case $srcdir in
3260
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3261
    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3262
esac
3263
 
3264
# Do `set' in a subshell so we don't clobber the current shell's
3265
# arguments.  Must try -L first in case configure is actually a
3266
# symlink; some systems play weird games with the mod time of symlinks
3267
# (eg FreeBSD returns the mod time of the symlink's containing
3268
# directory).
3269
if (
3270
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3271
   if test "$*" = "X"; then
3272
      # -L didn't work.
3273
      set X `ls -t "$srcdir/configure" conftest.file`
3274
   fi
3275
   rm -f conftest.file
3276
   if test "$*" != "X $srcdir/configure conftest.file" \
3277
      && test "$*" != "X conftest.file $srcdir/configure"; then
3278
 
3279
      # If neither matched, then we have a broken ls.  This can happen
3280
      # if, for instance, CONFIG_SHELL is bash and it inherits a
3281
      # broken ls alias from the environment.  This has actually
3282
      # happened.  Such a system could not be considered "sane".
3283
      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
3284
alias in your environment" "$LINENO" 5
3285
   fi
3286
 
3287
   test "$2" = conftest.file
3288
   )
3289
then
3290
   # Ok.
3291
   :
3292
else
3293
   as_fn_error "newly created file is older than distributed files!
3294
Check your system clock" "$LINENO" 5
3295
fi
3296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297
$as_echo "yes" >&6; }
3298
test "$program_prefix" != NONE &&
3299
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
3300
# Use a double $ so make ignores it.
3301
test "$program_suffix" != NONE &&
3302
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3303
# Double any \ or $.
3304
# By default was `s,x,x', remove it if useless.
3305
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3306
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3307
 
3308
# expand $ac_aux_dir to an absolute path
3309
am_aux_dir=`cd $ac_aux_dir && pwd`
3310
 
3311
if test x"${MISSING+set}" != xset; then
3312
  case $am_aux_dir in
3313
  *\ * | *\     *)
3314
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3315
  *)
3316
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
3317
  esac
3318
fi
3319
# Use eval to expand $SHELL
3320
if eval "$MISSING --run true"; then
3321
  am_missing_run="$MISSING --run "
3322
else
3323
  am_missing_run=
3324
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3325
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3326
fi
3327
 
3328
if test x"${install_sh}" != xset; then
3329
  case $am_aux_dir in
3330
  *\ * | *\     *)
3331
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3332
  *)
3333
    install_sh="\${SHELL} $am_aux_dir/install-sh"
3334
  esac
3335
fi
3336
 
3337
# Installed binaries are usually stripped using `strip' when the user
3338
# run `make install-strip'.  However `strip' might not be the right
3339
# tool to use in cross-compilation environments, therefore Automake
3340
# will honor the `STRIP' environment variable to overrule this program.
3341
if test "$cross_compiling" != no; then
3342
  if test -n "$ac_tool_prefix"; then
3343
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3344
set dummy ${ac_tool_prefix}strip; ac_word=$2
3345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346
$as_echo_n "checking for $ac_word... " >&6; }
3347
if test "${ac_cv_prog_STRIP+set}" = set; then :
3348
  $as_echo_n "(cached) " >&6
3349
else
3350
  if test -n "$STRIP"; then
3351
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3352
else
3353
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354
for as_dir in $PATH
3355
do
3356
  IFS=$as_save_IFS
3357
  test -z "$as_dir" && as_dir=.
3358
    for ac_exec_ext in '' $ac_executable_extensions; do
3359
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3361
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362
    break 2
3363
  fi
3364
done
3365
  done
3366
IFS=$as_save_IFS
3367
 
3368
fi
3369
fi
3370
STRIP=$ac_cv_prog_STRIP
3371
if test -n "$STRIP"; then
3372
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3373
$as_echo "$STRIP" >&6; }
3374
else
3375
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376
$as_echo "no" >&6; }
3377
fi
3378
 
3379
 
3380
fi
3381
if test -z "$ac_cv_prog_STRIP"; then
3382
  ac_ct_STRIP=$STRIP
3383
  # Extract the first word of "strip", so it can be a program name with args.
3384
set dummy strip; ac_word=$2
3385
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386
$as_echo_n "checking for $ac_word... " >&6; }
3387
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3388
  $as_echo_n "(cached) " >&6
3389
else
3390
  if test -n "$ac_ct_STRIP"; then
3391
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3392
else
3393
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394
for as_dir in $PATH
3395
do
3396
  IFS=$as_save_IFS
3397
  test -z "$as_dir" && as_dir=.
3398
    for ac_exec_ext in '' $ac_executable_extensions; do
3399
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400
    ac_cv_prog_ac_ct_STRIP="strip"
3401
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402
    break 2
3403
  fi
3404
done
3405
  done
3406
IFS=$as_save_IFS
3407
 
3408
fi
3409
fi
3410
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3411
if test -n "$ac_ct_STRIP"; then
3412
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3413
$as_echo "$ac_ct_STRIP" >&6; }
3414
else
3415
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416
$as_echo "no" >&6; }
3417
fi
3418
 
3419
  if test "x$ac_ct_STRIP" = x; then
3420
    STRIP=":"
3421
  else
3422
    case $cross_compiling:$ac_tool_warned in
3423
yes:)
3424
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3425
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3426
ac_tool_warned=yes ;;
3427
esac
3428
    STRIP=$ac_ct_STRIP
3429
  fi
3430
else
3431
  STRIP="$ac_cv_prog_STRIP"
3432
fi
3433
 
3434
fi
3435
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3436
 
3437
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3438
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3439
if test -z "$MKDIR_P"; then
3440
  if test "${ac_cv_path_mkdir+set}" = set; then :
3441
  $as_echo_n "(cached) " >&6
3442
else
3443
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3445
do
3446
  IFS=$as_save_IFS
3447
  test -z "$as_dir" && as_dir=.
3448
    for ac_prog in mkdir gmkdir; do
3449
         for ac_exec_ext in '' $ac_executable_extensions; do
3450
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3451
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3452
             'mkdir (GNU coreutils) '* | \
3453
             'mkdir (coreutils) '* | \
3454
             'mkdir (fileutils) '4.1*)
3455
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3456
               break 3;;
3457
           esac
3458
         done
3459
       done
3460
  done
3461
IFS=$as_save_IFS
3462
 
3463
fi
3464
 
3465
  if test "${ac_cv_path_mkdir+set}" = set; then
3466
    MKDIR_P="$ac_cv_path_mkdir -p"
3467
  else
3468
    # As a last resort, use the slow shell script.  Don't cache a
3469
    # value for MKDIR_P within a source directory, because that will
3470
    # break other packages using the cache if that directory is
3471
    # removed, or if the value is a relative name.
3472
    test -d ./--version && rmdir ./--version
3473
    MKDIR_P="$ac_install_sh -d"
3474
  fi
3475
fi
3476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3477
$as_echo "$MKDIR_P" >&6; }
3478
 
3479
mkdir_p="$MKDIR_P"
3480
case $mkdir_p in
3481
  [\\/$]* | ?:[\\/]*) ;;
3482
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3483
esac
3484
 
3485
for ac_prog in gawk mawk nawk awk
3486
do
3487
  # Extract the first word of "$ac_prog", so it can be a program name with args.
3488
set dummy $ac_prog; ac_word=$2
3489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490
$as_echo_n "checking for $ac_word... " >&6; }
3491
if test "${ac_cv_prog_AWK+set}" = set; then :
3492
  $as_echo_n "(cached) " >&6
3493
else
3494
  if test -n "$AWK"; then
3495
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
3496
else
3497
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498
for as_dir in $PATH
3499
do
3500
  IFS=$as_save_IFS
3501
  test -z "$as_dir" && as_dir=.
3502
    for ac_exec_ext in '' $ac_executable_extensions; do
3503
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3504
    ac_cv_prog_AWK="$ac_prog"
3505
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506
    break 2
3507
  fi
3508
done
3509
  done
3510
IFS=$as_save_IFS
3511
 
3512
fi
3513
fi
3514
AWK=$ac_cv_prog_AWK
3515
if test -n "$AWK"; then
3516
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3517
$as_echo "$AWK" >&6; }
3518
else
3519
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520
$as_echo "no" >&6; }
3521
fi
3522
 
3523
 
3524
  test -n "$AWK" && break
3525
done
3526
 
3527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3528
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3529
set x ${MAKE-make}
3530
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3531
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3532
  $as_echo_n "(cached) " >&6
3533
else
3534
  cat >conftest.make <<\_ACEOF
3535
SHELL = /bin/sh
3536
all:
3537
        @echo '@@@%%%=$(MAKE)=@@@%%%'
3538
_ACEOF
3539
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3540
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3541
  *@@@%%%=?*=@@@%%%*)
3542
    eval ac_cv_prog_make_${ac_make}_set=yes;;
3543
  *)
3544
    eval ac_cv_prog_make_${ac_make}_set=no;;
3545
esac
3546
rm -f conftest.make
3547
fi
3548
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3549
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3550
$as_echo "yes" >&6; }
3551
  SET_MAKE=
3552
else
3553
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554
$as_echo "no" >&6; }
3555
  SET_MAKE="MAKE=${MAKE-make}"
3556
fi
3557
 
3558
rm -rf .tst 2>/dev/null
3559
mkdir .tst 2>/dev/null
3560
if test -d .tst; then
3561
  am__leading_dot=.
3562
else
3563
  am__leading_dot=_
3564
fi
3565
rmdir .tst 2>/dev/null
3566
 
3567
DEPDIR="${am__leading_dot}deps"
3568
 
3569
ac_config_commands="$ac_config_commands depfiles"
3570
 
3571
 
3572
am_make=${MAKE-make}
3573
cat > confinc << 'END'
3574
am__doit:
3575
        @echo this is the am__doit target
3576
.PHONY: am__doit
3577
END
3578
# If we don't find an include directive, just comment out the code.
3579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3580
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3581
am__include="#"
3582
am__quote=
3583
_am_result=none
3584
# First try GNU make style include.
3585
echo "include confinc" > confmf
3586
# Ignore all kinds of additional output from `make'.
3587
case `$am_make -s -f confmf 2> /dev/null` in #(
3588
*the\ am__doit\ target*)
3589
  am__include=include
3590
  am__quote=
3591
  _am_result=GNU
3592
  ;;
3593
esac
3594
# Now try BSD make style include.
3595
if test "$am__include" = "#"; then
3596
   echo '.include "confinc"' > confmf
3597
   case `$am_make -s -f confmf 2> /dev/null` in #(
3598
   *the\ am__doit\ target*)
3599
     am__include=.include
3600
     am__quote="\""
3601
     _am_result=BSD
3602
     ;;
3603
   esac
3604
fi
3605
 
3606
 
3607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3608
$as_echo "$_am_result" >&6; }
3609
rm -f confinc confmf
3610
 
3611
# Check whether --enable-dependency-tracking was given.
3612
if test "${enable_dependency_tracking+set}" = set; then :
3613
  enableval=$enable_dependency_tracking;
3614
fi
3615
 
3616
if test "x$enable_dependency_tracking" != xno; then
3617
  am_depcomp="$ac_aux_dir/depcomp"
3618
  AMDEPBACKSLASH='\'
3619
fi
3620
 if test "x$enable_dependency_tracking" != xno; then
3621
  AMDEP_TRUE=
3622
  AMDEP_FALSE='#'
3623
else
3624
  AMDEP_TRUE='#'
3625
  AMDEP_FALSE=
3626
fi
3627
 
3628
 
3629
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3630
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3631
  # is not polluted with repeated "-I."
3632
  am__isrc=' -I$(srcdir)'
3633
  # test to see if srcdir already configured
3634
  if test -f $srcdir/config.status; then
3635
    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3636
  fi
3637
fi
3638
 
3639
# test whether we have cygpath
3640
if test -z "$CYGPATH_W"; then
3641
  if (cygpath --version) >/dev/null 2>/dev/null; then
3642
    CYGPATH_W='cygpath -w'
3643
  else
3644
    CYGPATH_W=echo
3645
  fi
3646
fi
3647
 
3648
 
3649
# Define the identity of the package.
3650
 PACKAGE=gprof
3651
 VERSION=${BFD_VERSION}
3652
 
3653
 
3654
cat >>confdefs.h <<_ACEOF
3655
#define PACKAGE "$PACKAGE"
3656
_ACEOF
3657
 
3658
 
3659
cat >>confdefs.h <<_ACEOF
3660
#define VERSION "$VERSION"
3661
_ACEOF
3662
 
3663
# Some tools Automake needs.
3664
 
3665
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3666
 
3667
 
3668
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3669
 
3670
 
3671
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3672
 
3673
 
3674
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3675
 
3676
 
3677
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3678
 
3679
# We need awk for the "check" target.  The system "awk" is bad on
3680
# some platforms.
3681
# Always define AMTAR for backward compatibility.
3682
 
3683
AMTAR=${AMTAR-"${am_missing_run}tar"}
3684
 
3685
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3686
 
3687
 
3688
 
3689
 
3690
depcc="$CC"   am_compiler_list=
3691
 
3692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3693
$as_echo_n "checking dependency style of $depcc... " >&6; }
3694
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3695
  $as_echo_n "(cached) " >&6
3696
else
3697
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3698
  # We make a subdir and do the tests there.  Otherwise we can end up
3699
  # making bogus files that we don't know about and never remove.  For
3700
  # instance it was reported that on HP-UX the gcc test will end up
3701
  # making a dummy file named `D' -- because `-MD' means `put the output
3702
  # in D'.
3703
  mkdir conftest.dir
3704
  # Copy depcomp to subdir because otherwise we won't find it if we're
3705
  # using a relative directory.
3706
  cp "$am_depcomp" conftest.dir
3707
  cd conftest.dir
3708
  # We will build objects and dependencies in a subdirectory because
3709
  # it helps to detect inapplicable dependency modes.  For instance
3710
  # both Tru64's cc and ICC support -MD to output dependencies as a
3711
  # side effect of compilation, but ICC will put the dependencies in
3712
  # the current directory while Tru64 will put them in the object
3713
  # directory.
3714
  mkdir sub
3715
 
3716
  am_cv_CC_dependencies_compiler_type=none
3717
  if test "$am_compiler_list" = ""; then
3718
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3719
  fi
3720
  am__universal=false
3721
  case " $depcc " in #(
3722
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3723
     esac
3724
 
3725
  for depmode in $am_compiler_list; do
3726
    # Setup a source with many dependencies, because some compilers
3727
    # like to wrap large dependency lists on column 80 (with \), and
3728
    # we should not choose a depcomp mode which is confused by this.
3729
    #
3730
    # We need to recreate these files for each test, as the compiler may
3731
    # overwrite some of them when testing with obscure command lines.
3732
    # This happens at least with the AIX C compiler.
3733
    : > sub/conftest.c
3734
    for i in 1 2 3 4 5 6; do
3735
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3736
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3737
      # Solaris 8's {/usr,}/bin/sh.
3738
      touch sub/conftst$i.h
3739
    done
3740
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3741
 
3742
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3743
    # mode.  It turns out that the SunPro C++ compiler does not properly
3744
    # handle `-M -o', and we need to detect this.  Also, some Intel
3745
    # versions had trouble with output in subdirs
3746
    am__obj=sub/conftest.${OBJEXT-o}
3747
    am__minus_obj="-o $am__obj"
3748
    case $depmode in
3749
    gcc)
3750
      # This depmode causes a compiler race in universal mode.
3751
      test "$am__universal" = false || continue
3752
      ;;
3753
    nosideeffect)
3754
      # after this tag, mechanisms are not by side-effect, so they'll
3755
      # only be used when explicitly requested
3756
      if test "x$enable_dependency_tracking" = xyes; then
3757
        continue
3758
      else
3759
        break
3760
      fi
3761
      ;;
3762
    msvisualcpp | msvcmsys)
3763
      # This compiler won't grok `-c -o', but also, the minuso test has
3764
      # not run yet.  These depmodes are late enough in the game, and
3765
      # so weak that their functioning should not be impacted.
3766
      am__obj=conftest.${OBJEXT-o}
3767
      am__minus_obj=
3768
      ;;
3769
    none) break ;;
3770
    esac
3771
    if depmode=$depmode \
3772
       source=sub/conftest.c object=$am__obj \
3773
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3774
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3775
         >/dev/null 2>conftest.err &&
3776
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3777
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3778
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3779
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3780
      # icc doesn't choke on unknown options, it will just issue warnings
3781
      # or remarks (even with -Werror).  So we grep stderr for any message
3782
      # that says an option was ignored or not supported.
3783
      # When given -MP, icc 7.0 and 7.1 complain thusly:
3784
      #   icc: Command line warning: ignoring option '-M'; no argument required
3785
      # The diagnosis changed in icc 8.0:
3786
      #   icc: Command line remark: option '-MP' not supported
3787
      if (grep 'ignoring option' conftest.err ||
3788
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3789
        am_cv_CC_dependencies_compiler_type=$depmode
3790
        break
3791
      fi
3792
    fi
3793
  done
3794
 
3795
  cd ..
3796
  rm -rf conftest.dir
3797
else
3798
  am_cv_CC_dependencies_compiler_type=none
3799
fi
3800
 
3801
fi
3802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3803
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3804
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3805
 
3806
 if
3807
  test "x$enable_dependency_tracking" != xno \
3808
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3809
  am__fastdepCC_TRUE=
3810
  am__fastdepCC_FALSE='#'
3811
else
3812
  am__fastdepCC_TRUE='#'
3813
  am__fastdepCC_FALSE=
3814
fi
3815
 
3816
 
3817
 
3818
 
3819
ac_config_headers="$ac_config_headers gconfig.h:gconfig.in"
3820
 
3821
 
3822
ac_ext=c
3823
ac_cpp='$CPP $CPPFLAGS'
3824
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3825
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3826
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3827
if test -n "$ac_tool_prefix"; then
3828
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3829
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3831
$as_echo_n "checking for $ac_word... " >&6; }
3832
if test "${ac_cv_prog_CC+set}" = set; then :
3833
  $as_echo_n "(cached) " >&6
3834
else
3835
  if test -n "$CC"; then
3836
  ac_cv_prog_CC="$CC" # Let the user override the test.
3837
else
3838
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839
for as_dir in $PATH
3840
do
3841
  IFS=$as_save_IFS
3842
  test -z "$as_dir" && as_dir=.
3843
    for ac_exec_ext in '' $ac_executable_extensions; do
3844
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3845
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3846
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3847
    break 2
3848
  fi
3849
done
3850
  done
3851
IFS=$as_save_IFS
3852
 
3853
fi
3854
fi
3855
CC=$ac_cv_prog_CC
3856
if test -n "$CC"; then
3857
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3858
$as_echo "$CC" >&6; }
3859
else
3860
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3861
$as_echo "no" >&6; }
3862
fi
3863
 
3864
 
3865
fi
3866
if test -z "$ac_cv_prog_CC"; then
3867
  ac_ct_CC=$CC
3868
  # Extract the first word of "gcc", so it can be a program name with args.
3869
set dummy gcc; ac_word=$2
3870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871
$as_echo_n "checking for $ac_word... " >&6; }
3872
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3873
  $as_echo_n "(cached) " >&6
3874
else
3875
  if test -n "$ac_ct_CC"; then
3876
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3877
else
3878
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879
for as_dir in $PATH
3880
do
3881
  IFS=$as_save_IFS
3882
  test -z "$as_dir" && as_dir=.
3883
    for ac_exec_ext in '' $ac_executable_extensions; do
3884
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885
    ac_cv_prog_ac_ct_CC="gcc"
3886
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887
    break 2
3888
  fi
3889
done
3890
  done
3891
IFS=$as_save_IFS
3892
 
3893
fi
3894
fi
3895
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3896
if test -n "$ac_ct_CC"; then
3897
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3898
$as_echo "$ac_ct_CC" >&6; }
3899
else
3900
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901
$as_echo "no" >&6; }
3902
fi
3903
 
3904
  if test "x$ac_ct_CC" = x; then
3905
    CC=""
3906
  else
3907
    case $cross_compiling:$ac_tool_warned in
3908
yes:)
3909
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3910
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3911
ac_tool_warned=yes ;;
3912
esac
3913
    CC=$ac_ct_CC
3914
  fi
3915
else
3916
  CC="$ac_cv_prog_CC"
3917
fi
3918
 
3919
if test -z "$CC"; then
3920
          if test -n "$ac_tool_prefix"; then
3921
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3922
set dummy ${ac_tool_prefix}cc; ac_word=$2
3923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924
$as_echo_n "checking for $ac_word... " >&6; }
3925
if test "${ac_cv_prog_CC+set}" = set; then :
3926
  $as_echo_n "(cached) " >&6
3927
else
3928
  if test -n "$CC"; then
3929
  ac_cv_prog_CC="$CC" # Let the user override the test.
3930
else
3931
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3932
for as_dir in $PATH
3933
do
3934
  IFS=$as_save_IFS
3935
  test -z "$as_dir" && as_dir=.
3936
    for ac_exec_ext in '' $ac_executable_extensions; do
3937
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3938
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3939
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3940
    break 2
3941
  fi
3942
done
3943
  done
3944
IFS=$as_save_IFS
3945
 
3946
fi
3947
fi
3948
CC=$ac_cv_prog_CC
3949
if test -n "$CC"; then
3950
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3951
$as_echo "$CC" >&6; }
3952
else
3953
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954
$as_echo "no" >&6; }
3955
fi
3956
 
3957
 
3958
  fi
3959
fi
3960
if test -z "$CC"; then
3961
  # Extract the first word of "cc", so it can be a program name with args.
3962
set dummy cc; ac_word=$2
3963
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964
$as_echo_n "checking for $ac_word... " >&6; }
3965
if test "${ac_cv_prog_CC+set}" = set; then :
3966
  $as_echo_n "(cached) " >&6
3967
else
3968
  if test -n "$CC"; then
3969
  ac_cv_prog_CC="$CC" # Let the user override the test.
3970
else
3971
  ac_prog_rejected=no
3972
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3973
for as_dir in $PATH
3974
do
3975
  IFS=$as_save_IFS
3976
  test -z "$as_dir" && as_dir=.
3977
    for ac_exec_ext in '' $ac_executable_extensions; do
3978
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3979
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3980
       ac_prog_rejected=yes
3981
       continue
3982
     fi
3983
    ac_cv_prog_CC="cc"
3984
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985
    break 2
3986
  fi
3987
done
3988
  done
3989
IFS=$as_save_IFS
3990
 
3991
if test $ac_prog_rejected = yes; then
3992
  # We found a bogon in the path, so make sure we never use it.
3993
  set dummy $ac_cv_prog_CC
3994
  shift
3995
  if test $# != 0; then
3996
    # We chose a different compiler from the bogus one.
3997
    # However, it has the same basename, so the bogon will be chosen
3998
    # first if we set CC to just the basename; use the full file name.
3999
    shift
4000
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4001
  fi
4002
fi
4003
fi
4004
fi
4005
CC=$ac_cv_prog_CC
4006
if test -n "$CC"; then
4007
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4008
$as_echo "$CC" >&6; }
4009
else
4010
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011
$as_echo "no" >&6; }
4012
fi
4013
 
4014
 
4015
fi
4016
if test -z "$CC"; then
4017
  if test -n "$ac_tool_prefix"; then
4018
  for ac_prog in cl.exe
4019
  do
4020
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4021
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4022
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4023
$as_echo_n "checking for $ac_word... " >&6; }
4024
if test "${ac_cv_prog_CC+set}" = set; then :
4025
  $as_echo_n "(cached) " >&6
4026
else
4027
  if test -n "$CC"; then
4028
  ac_cv_prog_CC="$CC" # Let the user override the test.
4029
else
4030
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031
for as_dir in $PATH
4032
do
4033
  IFS=$as_save_IFS
4034
  test -z "$as_dir" && as_dir=.
4035
    for ac_exec_ext in '' $ac_executable_extensions; do
4036
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4037
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4038
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4039
    break 2
4040
  fi
4041
done
4042
  done
4043
IFS=$as_save_IFS
4044
 
4045
fi
4046
fi
4047
CC=$ac_cv_prog_CC
4048
if test -n "$CC"; then
4049
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4050
$as_echo "$CC" >&6; }
4051
else
4052
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053
$as_echo "no" >&6; }
4054
fi
4055
 
4056
 
4057
    test -n "$CC" && break
4058
  done
4059
fi
4060
if test -z "$CC"; then
4061
  ac_ct_CC=$CC
4062
  for ac_prog in cl.exe
4063
do
4064
  # Extract the first word of "$ac_prog", so it can be a program name with args.
4065
set dummy $ac_prog; ac_word=$2
4066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4067
$as_echo_n "checking for $ac_word... " >&6; }
4068
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
4069
  $as_echo_n "(cached) " >&6
4070
else
4071
  if test -n "$ac_ct_CC"; then
4072
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4073
else
4074
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4075
for as_dir in $PATH
4076
do
4077
  IFS=$as_save_IFS
4078
  test -z "$as_dir" && as_dir=.
4079
    for ac_exec_ext in '' $ac_executable_extensions; do
4080
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4081
    ac_cv_prog_ac_ct_CC="$ac_prog"
4082
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4083
    break 2
4084
  fi
4085
done
4086
  done
4087
IFS=$as_save_IFS
4088
 
4089
fi
4090
fi
4091
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4092
if test -n "$ac_ct_CC"; then
4093
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4094
$as_echo "$ac_ct_CC" >&6; }
4095
else
4096
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4097
$as_echo "no" >&6; }
4098
fi
4099
 
4100
 
4101
  test -n "$ac_ct_CC" && break
4102
done
4103
 
4104
  if test "x$ac_ct_CC" = x; then
4105
    CC=""
4106
  else
4107
    case $cross_compiling:$ac_tool_warned in
4108
yes:)
4109
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4110
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4111
ac_tool_warned=yes ;;
4112
esac
4113
    CC=$ac_ct_CC
4114
  fi
4115
fi
4116
 
4117
fi
4118
 
4119
 
4120
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4121
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4122
as_fn_error "no acceptable C compiler found in \$PATH
4123
See \`config.log' for more details." "$LINENO" 5; }
4124
 
4125
# Provide some information about the compiler.
4126
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4127
set X $ac_compile
4128
ac_compiler=$2
4129
for ac_option in --version -v -V -qversion; do
4130
  { { ac_try="$ac_compiler $ac_option >&5"
4131
case "(($ac_try" in
4132
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4133
  *) ac_try_echo=$ac_try;;
4134
esac
4135
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4136
$as_echo "$ac_try_echo"; } >&5
4137
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4138
  ac_status=$?
4139
  if test -s conftest.err; then
4140
    sed '10a\
4141
... rest of stderr output deleted ...
4142
         10q' conftest.err >conftest.er1
4143
    cat conftest.er1 >&5
4144
    rm -f conftest.er1 conftest.err
4145
  fi
4146
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4147
  test $ac_status = 0; }
4148
done
4149
 
4150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4151
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4152
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4153
  $as_echo_n "(cached) " >&6
4154
else
4155
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4156
/* end confdefs.h.  */
4157
 
4158
int
4159
main ()
4160
{
4161
#ifndef __GNUC__
4162
       choke me
4163
#endif
4164
 
4165
  ;
4166
  return 0;
4167
}
4168
_ACEOF
4169
if ac_fn_c_try_compile "$LINENO"; then :
4170
  ac_compiler_gnu=yes
4171
else
4172
  ac_compiler_gnu=no
4173
fi
4174
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4175
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4176
 
4177
fi
4178
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4179
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4180
if test $ac_compiler_gnu = yes; then
4181
  GCC=yes
4182
else
4183
  GCC=
4184
fi
4185
ac_test_CFLAGS=${CFLAGS+set}
4186
ac_save_CFLAGS=$CFLAGS
4187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4188
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4189
if test "${ac_cv_prog_cc_g+set}" = set; then :
4190
  $as_echo_n "(cached) " >&6
4191
else
4192
  ac_save_c_werror_flag=$ac_c_werror_flag
4193
   ac_c_werror_flag=yes
4194
   ac_cv_prog_cc_g=no
4195
   CFLAGS="-g"
4196
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4197
/* end confdefs.h.  */
4198
 
4199
int
4200
main ()
4201
{
4202
 
4203
  ;
4204
  return 0;
4205
}
4206
_ACEOF
4207
if ac_fn_c_try_compile "$LINENO"; then :
4208
  ac_cv_prog_cc_g=yes
4209
else
4210
  CFLAGS=""
4211
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212
/* end confdefs.h.  */
4213
 
4214
int
4215
main ()
4216
{
4217
 
4218
  ;
4219
  return 0;
4220
}
4221
_ACEOF
4222
if ac_fn_c_try_compile "$LINENO"; then :
4223
 
4224
else
4225
  ac_c_werror_flag=$ac_save_c_werror_flag
4226
         CFLAGS="-g"
4227
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4228
/* end confdefs.h.  */
4229
 
4230
int
4231
main ()
4232
{
4233
 
4234
  ;
4235
  return 0;
4236
}
4237
_ACEOF
4238
if ac_fn_c_try_compile "$LINENO"; then :
4239
  ac_cv_prog_cc_g=yes
4240
fi
4241
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4242
fi
4243
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4244
fi
4245
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4246
   ac_c_werror_flag=$ac_save_c_werror_flag
4247
fi
4248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4249
$as_echo "$ac_cv_prog_cc_g" >&6; }
4250
if test "$ac_test_CFLAGS" = set; then
4251
  CFLAGS=$ac_save_CFLAGS
4252
elif test $ac_cv_prog_cc_g = yes; then
4253
  if test "$GCC" = yes; then
4254
    CFLAGS="-g -O2"
4255
  else
4256
    CFLAGS="-g"
4257
  fi
4258
else
4259
  if test "$GCC" = yes; then
4260
    CFLAGS="-O2"
4261
  else
4262
    CFLAGS=
4263
  fi
4264
fi
4265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4266
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4267
if test "${ac_cv_prog_cc_c89+set}" = set; then :
4268
  $as_echo_n "(cached) " >&6
4269
else
4270
  ac_cv_prog_cc_c89=no
4271
ac_save_CC=$CC
4272
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273
/* end confdefs.h.  */
4274
#include 
4275
#include 
4276
#include 
4277
#include 
4278
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4279
struct buf { int x; };
4280
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4281
static char *e (p, i)
4282
     char **p;
4283
     int i;
4284
{
4285
  return p[i];
4286
}
4287
static char *f (char * (*g) (char **, int), char **p, ...)
4288
{
4289
  char *s;
4290
  va_list v;
4291
  va_start (v,p);
4292
  s = g (p, va_arg (v,int));
4293
  va_end (v);
4294
  return s;
4295
}
4296
 
4297
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4298
   function prototypes and stuff, but not '\xHH' hex character constants.
4299
   These don't provoke an error unfortunately, instead are silently treated
4300
   as 'x'.  The following induces an error, until -std is added to get
4301
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4302
   array size at least.  It's necessary to write '\x00'==0 to get something
4303
   that's true only with -std.  */
4304
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4305
 
4306
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4307
   inside strings and character constants.  */
4308
#define FOO(x) 'x'
4309
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4310
 
4311
int test (int i, double x);
4312
struct s1 {int (*f) (int a);};
4313
struct s2 {int (*f) (double a);};
4314
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4315
int argc;
4316
char **argv;
4317
int
4318
main ()
4319
{
4320
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4321
  ;
4322
  return 0;
4323
}
4324
_ACEOF
4325
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4326
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4327
do
4328
  CC="$ac_save_CC $ac_arg"
4329
  if ac_fn_c_try_compile "$LINENO"; then :
4330
  ac_cv_prog_cc_c89=$ac_arg
4331
fi
4332
rm -f core conftest.err conftest.$ac_objext
4333
  test "x$ac_cv_prog_cc_c89" != "xno" && break
4334
done
4335
rm -f conftest.$ac_ext
4336
CC=$ac_save_CC
4337
 
4338
fi
4339
# AC_CACHE_VAL
4340
case "x$ac_cv_prog_cc_c89" in
4341
  x)
4342
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4343
$as_echo "none needed" >&6; } ;;
4344
  xno)
4345
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4346
$as_echo "unsupported" >&6; } ;;
4347
  *)
4348
    CC="$CC $ac_cv_prog_cc_c89"
4349
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4350
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4351
esac
4352
if test "x$ac_cv_prog_cc_c89" != xno; then :
4353
 
4354
fi
4355
 
4356
ac_ext=c
4357
ac_cpp='$CPP $CPPFLAGS'
4358
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4359
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4360
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4361
 
4362
ac_ext=c
4363
ac_cpp='$CPP $CPPFLAGS'
4364
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4365
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4366
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4368
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4369
# On Suns, sometimes $CPP names a directory.
4370
if test -n "$CPP" && test -d "$CPP"; then
4371
  CPP=
4372
fi
4373
if test -z "$CPP"; then
4374
  if test "${ac_cv_prog_CPP+set}" = set; then :
4375
  $as_echo_n "(cached) " >&6
4376
else
4377
      # Double quotes because CPP needs to be expanded
4378
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4379
    do
4380
      ac_preproc_ok=false
4381
for ac_c_preproc_warn_flag in '' yes
4382
do
4383
  # Use a header file that comes with gcc, so configuring glibc
4384
  # with a fresh cross-compiler works.
4385
  # Prefer  to  if __STDC__ is defined, since
4386
  #  exists even on freestanding compilers.
4387
  # On the NeXT, cc -E runs the code through the compiler's parser,
4388
  # not just through cpp. "Syntax error" is here to catch this case.
4389
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4390
/* end confdefs.h.  */
4391
#ifdef __STDC__
4392
# include 
4393
#else
4394
# include 
4395
#endif
4396
                     Syntax error
4397
_ACEOF
4398
if ac_fn_c_try_cpp "$LINENO"; then :
4399
 
4400
else
4401
  # Broken: fails on valid input.
4402
continue
4403
fi
4404
rm -f conftest.err conftest.$ac_ext
4405
 
4406
  # OK, works on sane cases.  Now check whether nonexistent headers
4407
  # can be detected and how.
4408
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4409
/* end confdefs.h.  */
4410
#include 
4411
_ACEOF
4412
if ac_fn_c_try_cpp "$LINENO"; then :
4413
  # Broken: success on invalid input.
4414
continue
4415
else
4416
  # Passes both tests.
4417
ac_preproc_ok=:
4418
break
4419
fi
4420
rm -f conftest.err conftest.$ac_ext
4421
 
4422
done
4423
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4424
rm -f conftest.err conftest.$ac_ext
4425
if $ac_preproc_ok; then :
4426
  break
4427
fi
4428
 
4429
    done
4430
    ac_cv_prog_CPP=$CPP
4431
 
4432
fi
4433
  CPP=$ac_cv_prog_CPP
4434
else
4435
  ac_cv_prog_CPP=$CPP
4436
fi
4437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4438
$as_echo "$CPP" >&6; }
4439
ac_preproc_ok=false
4440
for ac_c_preproc_warn_flag in '' yes
4441
do
4442
  # Use a header file that comes with gcc, so configuring glibc
4443
  # with a fresh cross-compiler works.
4444
  # Prefer  to  if __STDC__ is defined, since
4445
  #  exists even on freestanding compilers.
4446
  # On the NeXT, cc -E runs the code through the compiler's parser,
4447
  # not just through cpp. "Syntax error" is here to catch this case.
4448
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449
/* end confdefs.h.  */
4450
#ifdef __STDC__
4451
# include 
4452
#else
4453
# include 
4454
#endif
4455
                     Syntax error
4456
_ACEOF
4457
if ac_fn_c_try_cpp "$LINENO"; then :
4458
 
4459
else
4460
  # Broken: fails on valid input.
4461
continue
4462
fi
4463
rm -f conftest.err conftest.$ac_ext
4464
 
4465
  # OK, works on sane cases.  Now check whether nonexistent headers
4466
  # can be detected and how.
4467
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4468
/* end confdefs.h.  */
4469
#include 
4470
_ACEOF
4471
if ac_fn_c_try_cpp "$LINENO"; then :
4472
  # Broken: success on invalid input.
4473
continue
4474
else
4475
  # Passes both tests.
4476
ac_preproc_ok=:
4477
break
4478
fi
4479
rm -f conftest.err conftest.$ac_ext
4480
 
4481
done
4482
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4483
rm -f conftest.err conftest.$ac_ext
4484
if $ac_preproc_ok; then :
4485
 
4486
else
4487
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4488
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4489
as_fn_error "C preprocessor \"$CPP\" fails sanity check
4490
See \`config.log' for more details." "$LINENO" 5; }
4491
fi
4492
 
4493
ac_ext=c
4494
ac_cpp='$CPP $CPPFLAGS'
4495
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4496
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4497
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4498
 
4499
 
4500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4501
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4502
if test "${ac_cv_path_GREP+set}" = set; then :
4503
  $as_echo_n "(cached) " >&6
4504
else
4505
  if test -z "$GREP"; then
4506
  ac_path_GREP_found=false
4507
  # Loop through the user's path and test for each of PROGNAME-LIST
4508
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4510
do
4511
  IFS=$as_save_IFS
4512
  test -z "$as_dir" && as_dir=.
4513
    for ac_prog in grep ggrep; do
4514
    for ac_exec_ext in '' $ac_executable_extensions; do
4515
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4516
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4517
# Check for GNU ac_path_GREP and select it if it is found.
4518
  # Check for GNU $ac_path_GREP
4519
case `"$ac_path_GREP" --version 2>&1` in
4520
*GNU*)
4521
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4522
*)
4523
  ac_count=0
4524
  $as_echo_n 0123456789 >"conftest.in"
4525
  while :
4526
  do
4527
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4528
    mv "conftest.tmp" "conftest.in"
4529
    cp "conftest.in" "conftest.nl"
4530
    $as_echo 'GREP' >> "conftest.nl"
4531
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4532
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4533
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4534
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4535
      # Best one so far, save it but keep looking for a better one
4536
      ac_cv_path_GREP="$ac_path_GREP"
4537
      ac_path_GREP_max=$ac_count
4538
    fi
4539
    # 10*(2^10) chars as input seems more than enough
4540
    test $ac_count -gt 10 && break
4541
  done
4542
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4543
esac
4544
 
4545
      $ac_path_GREP_found && break 3
4546
    done
4547
  done
4548
  done
4549
IFS=$as_save_IFS
4550
  if test -z "$ac_cv_path_GREP"; then
4551
    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4552
  fi
4553
else
4554
  ac_cv_path_GREP=$GREP
4555
fi
4556
 
4557
fi
4558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4559
$as_echo "$ac_cv_path_GREP" >&6; }
4560
 GREP="$ac_cv_path_GREP"
4561
 
4562
 
4563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4564
$as_echo_n "checking for egrep... " >&6; }
4565
if test "${ac_cv_path_EGREP+set}" = set; then :
4566
  $as_echo_n "(cached) " >&6
4567
else
4568
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4569
   then ac_cv_path_EGREP="$GREP -E"
4570
   else
4571
     if test -z "$EGREP"; then
4572
  ac_path_EGREP_found=false
4573
  # Loop through the user's path and test for each of PROGNAME-LIST
4574
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4576
do
4577
  IFS=$as_save_IFS
4578
  test -z "$as_dir" && as_dir=.
4579
    for ac_prog in egrep; do
4580
    for ac_exec_ext in '' $ac_executable_extensions; do
4581
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4582
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4583
# Check for GNU ac_path_EGREP and select it if it is found.
4584
  # Check for GNU $ac_path_EGREP
4585
case `"$ac_path_EGREP" --version 2>&1` in
4586
*GNU*)
4587
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4588
*)
4589
  ac_count=0
4590
  $as_echo_n 0123456789 >"conftest.in"
4591
  while :
4592
  do
4593
    cat "conftest.in" "conftest.in" >"conftest.tmp"
4594
    mv "conftest.tmp" "conftest.in"
4595
    cp "conftest.in" "conftest.nl"
4596
    $as_echo 'EGREP' >> "conftest.nl"
4597
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4598
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4599
    as_fn_arith $ac_count + 1 && ac_count=$as_val
4600
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4601
      # Best one so far, save it but keep looking for a better one
4602
      ac_cv_path_EGREP="$ac_path_EGREP"
4603
      ac_path_EGREP_max=$ac_count
4604
    fi
4605
    # 10*(2^10) chars as input seems more than enough
4606
    test $ac_count -gt 10 && break
4607
  done
4608
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4609
esac
4610
 
4611
      $ac_path_EGREP_found && break 3
4612
    done
4613
  done
4614
  done
4615
IFS=$as_save_IFS
4616
  if test -z "$ac_cv_path_EGREP"; then
4617
    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4618
  fi
4619
else
4620
  ac_cv_path_EGREP=$EGREP
4621
fi
4622
 
4623
   fi
4624
fi
4625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4626
$as_echo "$ac_cv_path_EGREP" >&6; }
4627
 EGREP="$ac_cv_path_EGREP"
4628
 
4629
 
4630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4631
$as_echo_n "checking for ANSI C header files... " >&6; }
4632
if test "${ac_cv_header_stdc+set}" = set; then :
4633
  $as_echo_n "(cached) " >&6
4634
else
4635
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636
/* end confdefs.h.  */
4637
#include 
4638
#include 
4639
#include 
4640
#include 
4641
 
4642
int
4643
main ()
4644
{
4645
 
4646
  ;
4647
  return 0;
4648
}
4649
_ACEOF
4650
if ac_fn_c_try_compile "$LINENO"; then :
4651
  ac_cv_header_stdc=yes
4652
else
4653
  ac_cv_header_stdc=no
4654
fi
4655
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4656
 
4657
if test $ac_cv_header_stdc = yes; then
4658
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4659
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660
/* end confdefs.h.  */
4661
#include 
4662
 
4663
_ACEOF
4664
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4665
  $EGREP "memchr" >/dev/null 2>&1; then :
4666
 
4667
else
4668
  ac_cv_header_stdc=no
4669
fi
4670
rm -f conftest*
4671
 
4672
fi
4673
 
4674
if test $ac_cv_header_stdc = yes; then
4675
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4676
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4677
/* end confdefs.h.  */
4678
#include 
4679
 
4680
_ACEOF
4681
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4682
  $EGREP "free" >/dev/null 2>&1; then :
4683
 
4684
else
4685
  ac_cv_header_stdc=no
4686
fi
4687
rm -f conftest*
4688
 
4689
fi
4690
 
4691
if test $ac_cv_header_stdc = yes; then
4692
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4693
  if test "$cross_compiling" = yes; then :
4694
  :
4695
else
4696
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4697
/* end confdefs.h.  */
4698
#include 
4699
#include 
4700
#if ((' ' & 0x0FF) == 0x020)
4701
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4702
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4703
#else
4704
# define ISLOWER(c) \
4705
                   (('a' <= (c) && (c) <= 'i') \
4706
                     || ('j' <= (c) && (c) <= 'r') \
4707
                     || ('s' <= (c) && (c) <= 'z'))
4708
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4709
#endif
4710
 
4711
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4712
int
4713
main ()
4714
{
4715
  int i;
4716
  for (i = 0; i < 256; i++)
4717
    if (XOR (islower (i), ISLOWER (i))
4718
        || toupper (i) != TOUPPER (i))
4719
      return 2;
4720
  return 0;
4721
}
4722
_ACEOF
4723
if ac_fn_c_try_run "$LINENO"; then :
4724
 
4725
else
4726
  ac_cv_header_stdc=no
4727
fi
4728
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4729
  conftest.$ac_objext conftest.beam conftest.$ac_ext
4730
fi
4731
 
4732
fi
4733
fi
4734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4735
$as_echo "$ac_cv_header_stdc" >&6; }
4736
if test $ac_cv_header_stdc = yes; then
4737
 
4738
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4739
 
4740
fi
4741
 
4742
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4743
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4744
                  inttypes.h stdint.h unistd.h
4745
do :
4746
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4747
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4748
"
4749
eval as_val=\$$as_ac_Header
4750
   if test "x$as_val" = x""yes; then :
4751
  cat >>confdefs.h <<_ACEOF
4752
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4753
_ACEOF
4754
 
4755
fi
4756
 
4757
done
4758
 
4759
 
4760
 
4761
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4762
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4763
  MINIX=yes
4764
else
4765
  MINIX=
4766
fi
4767
 
4768
 
4769
  if test "$MINIX" = yes; then
4770
 
4771
$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4772
 
4773
 
4774
$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4775
 
4776
 
4777
$as_echo "#define _MINIX 1" >>confdefs.h
4778
 
4779
  fi
4780
 
4781
 
4782
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4783
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4784
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
4785
  $as_echo_n "(cached) " >&6
4786
else
4787
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788
/* end confdefs.h.  */
4789
 
4790
#         define __EXTENSIONS__ 1
4791
          $ac_includes_default
4792
int
4793
main ()
4794
{
4795
 
4796
  ;
4797
  return 0;
4798
}
4799
_ACEOF
4800
if ac_fn_c_try_compile "$LINENO"; then :
4801
  ac_cv_safe_to_define___extensions__=yes
4802
else
4803
  ac_cv_safe_to_define___extensions__=no
4804
fi
4805
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4806
fi
4807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4808
$as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4809
  test $ac_cv_safe_to_define___extensions__ = yes &&
4810
    $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4811
 
4812
  $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4813
 
4814
  $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4815
 
4816
  $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4817
 
4818
  $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4819
 
4820
 
4821
 
4822
 
4823
 
4824
# The tests for host and target for $enable_largefile require
4825
# canonical names.
4826
 
4827
 
4828
 
4829
# As the $enable_largefile decision depends on --enable-plugins we must set it
4830
# even in directories otherwise not depending on the $plugins option.
4831
 
4832
 
4833
# Check whether --enable-plugins was given.
4834
if test "${enable_plugins+set}" = set; then :
4835
  enableval=$enable_plugins; case "${enableval}" in
4836
  yes | "") plugins=yes ;;
4837
  no) plugins=no ;;
4838
  *) plugins=yes ;;
4839
 esac
4840
else
4841
  plugins=no
4842
fi
4843
 
4844
 
4845
 
4846
case "${host}" in
4847
  sparc-*-solaris*|i[3-7]86-*-solaris*)
4848
    # On native 32bit sparc and ia32 solaris, large-file and procfs support
4849
    # are mutually exclusive; and without procfs support, the bfd/ elf module
4850
    # cannot provide certain routines such as elfcore_write_prpsinfo
4851
    # or elfcore_write_prstatus.  So unless the user explicitly requested
4852
    # large-file support through the --enable-largefile switch, disable
4853
    # large-file support in favor of procfs support.
4854
    test "${target}" = "${host}" -a "x$plugins" = xno \
4855
      && : ${enable_largefile="no"}
4856
    ;;
4857
esac
4858
 
4859
# Check whether --enable-largefile was given.
4860
if test "${enable_largefile+set}" = set; then :
4861
  enableval=$enable_largefile;
4862
fi
4863
 
4864
if test "$enable_largefile" != no; then
4865
 
4866
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4867
$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4868
if test "${ac_cv_sys_largefile_CC+set}" = set; then :
4869
  $as_echo_n "(cached) " >&6
4870
else
4871
  ac_cv_sys_largefile_CC=no
4872
     if test "$GCC" != yes; then
4873
       ac_save_CC=$CC
4874
       while :; do
4875
         # IRIX 6.2 and later do not support large files by default,
4876
         # so use the C compiler's -n32 option if that helps.
4877
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4878
/* end confdefs.h.  */
4879
#include 
4880
 /* Check that off_t can represent 2**63 - 1 correctly.
4881
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4882
    since some C++ compilers masquerading as C compilers
4883
    incorrectly reject 9223372036854775807.  */
4884
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4885
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4886
                       && LARGE_OFF_T % 2147483647 == 1)
4887
                      ? 1 : -1];
4888
int
4889
main ()
4890
{
4891
 
4892
  ;
4893
  return 0;
4894
}
4895
_ACEOF
4896
         if ac_fn_c_try_compile "$LINENO"; then :
4897
  break
4898
fi
4899
rm -f core conftest.err conftest.$ac_objext
4900
         CC="$CC -n32"
4901
         if ac_fn_c_try_compile "$LINENO"; then :
4902
  ac_cv_sys_largefile_CC=' -n32'; break
4903
fi
4904
rm -f core conftest.err conftest.$ac_objext
4905
         break
4906
       done
4907
       CC=$ac_save_CC
4908
       rm -f conftest.$ac_ext
4909
    fi
4910
fi
4911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4912
$as_echo "$ac_cv_sys_largefile_CC" >&6; }
4913
  if test "$ac_cv_sys_largefile_CC" != no; then
4914
    CC=$CC$ac_cv_sys_largefile_CC
4915
  fi
4916
 
4917
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4918
$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4919
if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
4920
  $as_echo_n "(cached) " >&6
4921
else
4922
  while :; do
4923
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4924
/* end confdefs.h.  */
4925
#include 
4926
 /* Check that off_t can represent 2**63 - 1 correctly.
4927
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4928
    since some C++ compilers masquerading as C compilers
4929
    incorrectly reject 9223372036854775807.  */
4930
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4931
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4932
                       && LARGE_OFF_T % 2147483647 == 1)
4933
                      ? 1 : -1];
4934
int
4935
main ()
4936
{
4937
 
4938
  ;
4939
  return 0;
4940
}
4941
_ACEOF
4942
if ac_fn_c_try_compile "$LINENO"; then :
4943
  ac_cv_sys_file_offset_bits=no; break
4944
fi
4945
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947
/* end confdefs.h.  */
4948
#define _FILE_OFFSET_BITS 64
4949
#include 
4950
 /* Check that off_t can represent 2**63 - 1 correctly.
4951
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4952
    since some C++ compilers masquerading as C compilers
4953
    incorrectly reject 9223372036854775807.  */
4954
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4955
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4956
                       && LARGE_OFF_T % 2147483647 == 1)
4957
                      ? 1 : -1];
4958
int
4959
main ()
4960
{
4961
 
4962
  ;
4963
  return 0;
4964
}
4965
_ACEOF
4966
if ac_fn_c_try_compile "$LINENO"; then :
4967
  ac_cv_sys_file_offset_bits=64; break
4968
fi
4969
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4970
  ac_cv_sys_file_offset_bits=unknown
4971
  break
4972
done
4973
fi
4974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4975
$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4976
case $ac_cv_sys_file_offset_bits in #(
4977
  no | unknown) ;;
4978
  *)
4979
cat >>confdefs.h <<_ACEOF
4980
#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4981
_ACEOF
4982
;;
4983
esac
4984
rm -rf conftest*
4985
  if test $ac_cv_sys_file_offset_bits = unknown; then
4986
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4987
$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4988
if test "${ac_cv_sys_large_files+set}" = set; then :
4989
  $as_echo_n "(cached) " >&6
4990
else
4991
  while :; do
4992
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993
/* end confdefs.h.  */
4994
#include 
4995
 /* Check that off_t can represent 2**63 - 1 correctly.
4996
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4997
    since some C++ compilers masquerading as C compilers
4998
    incorrectly reject 9223372036854775807.  */
4999
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5000
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5001
                       && LARGE_OFF_T % 2147483647 == 1)
5002
                      ? 1 : -1];
5003
int
5004
main ()
5005
{
5006
 
5007
  ;
5008
  return 0;
5009
}
5010
_ACEOF
5011
if ac_fn_c_try_compile "$LINENO"; then :
5012
  ac_cv_sys_large_files=no; break
5013
fi
5014
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016
/* end confdefs.h.  */
5017
#define _LARGE_FILES 1
5018
#include 
5019
 /* Check that off_t can represent 2**63 - 1 correctly.
5020
    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5021
    since some C++ compilers masquerading as C compilers
5022
    incorrectly reject 9223372036854775807.  */
5023
#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5024
  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5025
                       && LARGE_OFF_T % 2147483647 == 1)
5026
                      ? 1 : -1];
5027
int
5028
main ()
5029
{
5030
 
5031
  ;
5032
  return 0;
5033
}
5034
_ACEOF
5035
if ac_fn_c_try_compile "$LINENO"; then :
5036
  ac_cv_sys_large_files=1; break
5037
fi
5038
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5039
  ac_cv_sys_large_files=unknown
5040
  break
5041
done
5042
fi
5043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5044
$as_echo "$ac_cv_sys_large_files" >&6; }
5045
case $ac_cv_sys_large_files in #(
5046
  no | unknown) ;;
5047
  *)
5048
cat >>confdefs.h <<_ACEOF
5049
#define _LARGE_FILES $ac_cv_sys_large_files
5050
_ACEOF
5051
;;
5052
esac
5053
rm -rf conftest*
5054
  fi
5055
fi
5056
 
5057
 
5058
 
5059
 
5060
case `pwd` in
5061
  *\ * | *\     *)
5062
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5063
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5064
esac
5065
 
5066
 
5067
 
5068
macro_version='2.2.7a'
5069
macro_revision='1.3134'
5070
 
5071
 
5072
 
5073
 
5074
 
5075
 
5076
 
5077
 
5078
 
5079
 
5080
 
5081
 
5082
 
5083
ltmain="$ac_aux_dir/ltmain.sh"
5084
 
5085
# Backslashify metacharacters that are still active within
5086
# double-quoted strings.
5087
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5088
 
5089
# Same as above, but do not quote variable references.
5090
double_quote_subst='s/\(["`\\]\)/\\\1/g'
5091
 
5092
# Sed substitution to delay expansion of an escaped shell variable in a
5093
# double_quote_subst'ed string.
5094
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5095
 
5096
# Sed substitution to delay expansion of an escaped single quote.
5097
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5098
 
5099
# Sed substitution to avoid accidental globbing in evaled expressions
5100
no_glob_subst='s/\*/\\\*/g'
5101
 
5102
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5103
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5104
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5105
 
5106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5107
$as_echo_n "checking how to print strings... " >&6; }
5108
# Test print first, because it will be a builtin if present.
5109
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5110
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5111
  ECHO='print -r --'
5112
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5113
  ECHO='printf %s\n'
5114
else
5115
  # Use this function as a fallback that always works.
5116
  func_fallback_echo ()
5117
  {
5118
    eval 'cat <<_LTECHO_EOF
5119
$1
5120
_LTECHO_EOF'
5121
  }
5122
  ECHO='func_fallback_echo'
5123
fi
5124
 
5125
# func_echo_all arg...
5126
# Invoke $ECHO with all args, space-separated.
5127
func_echo_all ()
5128
{
5129
    $ECHO ""
5130
}
5131
 
5132
case "$ECHO" in
5133
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5134
$as_echo "printf" >&6; } ;;
5135
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5136
$as_echo "print -r" >&6; } ;;
5137
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5138
$as_echo "cat" >&6; } ;;
5139
esac
5140
 
5141
 
5142
 
5143
 
5144
 
5145
 
5146
 
5147
 
5148
 
5149
 
5150
 
5151
 
5152
 
5153
 
5154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5155
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5156
if test "${ac_cv_path_SED+set}" = set; then :
5157
  $as_echo_n "(cached) " >&6
5158
else
5159
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5160
     for ac_i in 1 2 3 4 5 6 7; do
5161
       ac_script="$ac_script$as_nl$ac_script"
5162
     done
5163
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5164
     { ac_script=; unset ac_script;}
5165
     if test -z "$SED"; then
5166
  ac_path_SED_found=false
5167
  # Loop through the user's path and test for each of PROGNAME-LIST
5168
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5169
for as_dir in $PATH
5170
do
5171
  IFS=$as_save_IFS
5172
  test -z "$as_dir" && as_dir=.
5173
    for ac_prog in sed gsed; do
5174
    for ac_exec_ext in '' $ac_executable_extensions; do
5175
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5176
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5177
# Check for GNU ac_path_SED and select it if it is found.
5178
  # Check for GNU $ac_path_SED
5179
case `"$ac_path_SED" --version 2>&1` in
5180
*GNU*)
5181
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5182
*)
5183
  ac_count=0
5184
  $as_echo_n 0123456789 >"conftest.in"
5185
  while :
5186
  do
5187
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5188
    mv "conftest.tmp" "conftest.in"
5189
    cp "conftest.in" "conftest.nl"
5190
    $as_echo '' >> "conftest.nl"
5191
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5192
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5193
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5194
    if test $ac_count -gt ${ac_path_SED_max-0}; then
5195
      # Best one so far, save it but keep looking for a better one
5196
      ac_cv_path_SED="$ac_path_SED"
5197
      ac_path_SED_max=$ac_count
5198
    fi
5199
    # 10*(2^10) chars as input seems more than enough
5200
    test $ac_count -gt 10 && break
5201
  done
5202
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5203
esac
5204
 
5205
      $ac_path_SED_found && break 3
5206
    done
5207
  done
5208
  done
5209
IFS=$as_save_IFS
5210
  if test -z "$ac_cv_path_SED"; then
5211
    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5212
  fi
5213
else
5214
  ac_cv_path_SED=$SED
5215
fi
5216
 
5217
fi
5218
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5219
$as_echo "$ac_cv_path_SED" >&6; }
5220
 SED="$ac_cv_path_SED"
5221
  rm -f conftest.sed
5222
 
5223
test -z "$SED" && SED=sed
5224
Xsed="$SED -e 1s/^X//"
5225
 
5226
 
5227
 
5228
 
5229
 
5230
 
5231
 
5232
 
5233
 
5234
 
5235
 
5236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5237
$as_echo_n "checking for fgrep... " >&6; }
5238
if test "${ac_cv_path_FGREP+set}" = set; then :
5239
  $as_echo_n "(cached) " >&6
5240
else
5241
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5242
   then ac_cv_path_FGREP="$GREP -F"
5243
   else
5244
     if test -z "$FGREP"; then
5245
  ac_path_FGREP_found=false
5246
  # Loop through the user's path and test for each of PROGNAME-LIST
5247
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5249
do
5250
  IFS=$as_save_IFS
5251
  test -z "$as_dir" && as_dir=.
5252
    for ac_prog in fgrep; do
5253
    for ac_exec_ext in '' $ac_executable_extensions; do
5254
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5255
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5256
# Check for GNU ac_path_FGREP and select it if it is found.
5257
  # Check for GNU $ac_path_FGREP
5258
case `"$ac_path_FGREP" --version 2>&1` in
5259
*GNU*)
5260
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5261
*)
5262
  ac_count=0
5263
  $as_echo_n 0123456789 >"conftest.in"
5264
  while :
5265
  do
5266
    cat "conftest.in" "conftest.in" >"conftest.tmp"
5267
    mv "conftest.tmp" "conftest.in"
5268
    cp "conftest.in" "conftest.nl"
5269
    $as_echo 'FGREP' >> "conftest.nl"
5270
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5271
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5272
    as_fn_arith $ac_count + 1 && ac_count=$as_val
5273
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5274
      # Best one so far, save it but keep looking for a better one
5275
      ac_cv_path_FGREP="$ac_path_FGREP"
5276
      ac_path_FGREP_max=$ac_count
5277
    fi
5278
    # 10*(2^10) chars as input seems more than enough
5279
    test $ac_count -gt 10 && break
5280
  done
5281
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5282
esac
5283
 
5284
      $ac_path_FGREP_found && break 3
5285
    done
5286
  done
5287
  done
5288
IFS=$as_save_IFS
5289
  if test -z "$ac_cv_path_FGREP"; then
5290
    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5291
  fi
5292
else
5293
  ac_cv_path_FGREP=$FGREP
5294
fi
5295
 
5296
   fi
5297
fi
5298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5299
$as_echo "$ac_cv_path_FGREP" >&6; }
5300
 FGREP="$ac_cv_path_FGREP"
5301
 
5302
 
5303
test -z "$GREP" && GREP=grep
5304
 
5305
 
5306
 
5307
 
5308
 
5309
 
5310
 
5311
 
5312
 
5313
 
5314
 
5315
 
5316
 
5317
 
5318
 
5319
 
5320
 
5321
 
5322
 
5323
# Check whether --with-gnu-ld was given.
5324
if test "${with_gnu_ld+set}" = set; then :
5325
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5326
else
5327
  with_gnu_ld=no
5328
fi
5329
 
5330
ac_prog=ld
5331
if test "$GCC" = yes; then
5332
  # Check if gcc -print-prog-name=ld gives a path.
5333
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5334
$as_echo_n "checking for ld used by $CC... " >&6; }
5335
  case $host in
5336
  *-*-mingw*)
5337
    # gcc leaves a trailing carriage return which upsets mingw
5338
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5339
  *)
5340
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5341
  esac
5342
  case $ac_prog in
5343
    # Accept absolute paths.
5344
    [\\/]* | ?:[\\/]*)
5345
      re_direlt='/[^/][^/]*/\.\./'
5346
      # Canonicalize the pathname of ld
5347
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5348
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5349
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5350
      done
5351
      test -z "$LD" && LD="$ac_prog"
5352
      ;;
5353
  "")
5354
    # If it fails, then pretend we aren't using GCC.
5355
    ac_prog=ld
5356
    ;;
5357
  *)
5358
    # If it is relative, then search for the first ld in PATH.
5359
    with_gnu_ld=unknown
5360
    ;;
5361
  esac
5362
elif test "$with_gnu_ld" = yes; then
5363
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5364
$as_echo_n "checking for GNU ld... " >&6; }
5365
else
5366
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5367
$as_echo_n "checking for non-GNU ld... " >&6; }
5368
fi
5369
if test "${lt_cv_path_LD+set}" = set; then :
5370
  $as_echo_n "(cached) " >&6
5371
else
5372
  if test -z "$LD"; then
5373
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5374
  for ac_dir in $PATH; do
5375
    IFS="$lt_save_ifs"
5376
    test -z "$ac_dir" && ac_dir=.
5377
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5378
      lt_cv_path_LD="$ac_dir/$ac_prog"
5379
      # Check to see if the program is GNU ld.  I'd rather use --version,
5380
      # but apparently some variants of GNU ld only accept -v.
5381
      # Break only if it was the GNU/non-GNU ld that we prefer.
5382
      case `"$lt_cv_path_LD" -v 2>&1 
5383
      *GNU* | *'with BFD'*)
5384
        test "$with_gnu_ld" != no && break
5385
        ;;
5386
      *)
5387
        test "$with_gnu_ld" != yes && break
5388
        ;;
5389
      esac
5390
    fi
5391
  done
5392
  IFS="$lt_save_ifs"
5393
else
5394
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5395
fi
5396
fi
5397
 
5398
LD="$lt_cv_path_LD"
5399
if test -n "$LD"; then
5400
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5401
$as_echo "$LD" >&6; }
5402
else
5403
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404
$as_echo "no" >&6; }
5405
fi
5406
test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5408
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5409
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5410
  $as_echo_n "(cached) " >&6
5411
else
5412
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5413
case `$LD -v 2>&1 
5414
*GNU* | *'with BFD'*)
5415
  lt_cv_prog_gnu_ld=yes
5416
  ;;
5417
*)
5418
  lt_cv_prog_gnu_ld=no
5419
  ;;
5420
esac
5421
fi
5422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5423
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5424
with_gnu_ld=$lt_cv_prog_gnu_ld
5425
 
5426
 
5427
 
5428
 
5429
 
5430
 
5431
 
5432
 
5433
 
5434
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5435
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5436
if test "${lt_cv_path_NM+set}" = set; then :
5437
  $as_echo_n "(cached) " >&6
5438
else
5439
  if test -n "$NM"; then
5440
  # Let the user override the test.
5441
  lt_cv_path_NM="$NM"
5442
else
5443
  lt_nm_to_check="${ac_tool_prefix}nm"
5444
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5445
    lt_nm_to_check="$lt_nm_to_check nm"
5446
  fi
5447
  for lt_tmp_nm in $lt_nm_to_check; do
5448
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5449
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5450
      IFS="$lt_save_ifs"
5451
      test -z "$ac_dir" && ac_dir=.
5452
      tmp_nm="$ac_dir/$lt_tmp_nm"
5453
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5454
        # Check to see if the nm accepts a BSD-compat flag.
5455
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5456
        #   nm: unknown option "B" ignored
5457
        # Tru64's nm complains that /dev/null is an invalid object file
5458
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5459
        */dev/null* | *'Invalid file or object type'*)
5460
          lt_cv_path_NM="$tmp_nm -B"
5461
          break
5462
          ;;
5463
        *)
5464
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5465
          */dev/null*)
5466
            lt_cv_path_NM="$tmp_nm -p"
5467
            break
5468
            ;;
5469
          *)
5470
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5471
            continue # so that we can try to find one that supports BSD flags
5472
            ;;
5473
          esac
5474
          ;;
5475
        esac
5476
      fi
5477
    done
5478
    IFS="$lt_save_ifs"
5479
  done
5480
  : ${lt_cv_path_NM=no}
5481
fi
5482
fi
5483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5484
$as_echo "$lt_cv_path_NM" >&6; }
5485
if test "$lt_cv_path_NM" != "no"; then
5486
  NM="$lt_cv_path_NM"
5487
else
5488
  # Didn't find any BSD compatible name lister, look for dumpbin.
5489
  if test -n "$DUMPBIN"; then :
5490
    # Let the user override the test.
5491
  else
5492
    if test -n "$ac_tool_prefix"; then
5493
  for ac_prog in dumpbin "link -dump"
5494
  do
5495
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5496
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5498
$as_echo_n "checking for $ac_word... " >&6; }
5499
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5500
  $as_echo_n "(cached) " >&6
5501
else
5502
  if test -n "$DUMPBIN"; then
5503
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5504
else
5505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506
for as_dir in $PATH
5507
do
5508
  IFS=$as_save_IFS
5509
  test -z "$as_dir" && as_dir=.
5510
    for ac_exec_ext in '' $ac_executable_extensions; do
5511
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5512
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5513
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5514
    break 2
5515
  fi
5516
done
5517
  done
5518
IFS=$as_save_IFS
5519
 
5520
fi
5521
fi
5522
DUMPBIN=$ac_cv_prog_DUMPBIN
5523
if test -n "$DUMPBIN"; then
5524
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5525
$as_echo "$DUMPBIN" >&6; }
5526
else
5527
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528
$as_echo "no" >&6; }
5529
fi
5530
 
5531
 
5532
    test -n "$DUMPBIN" && break
5533
  done
5534
fi
5535
if test -z "$DUMPBIN"; then
5536
  ac_ct_DUMPBIN=$DUMPBIN
5537
  for ac_prog in dumpbin "link -dump"
5538
do
5539
  # Extract the first word of "$ac_prog", so it can be a program name with args.
5540
set dummy $ac_prog; ac_word=$2
5541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5542
$as_echo_n "checking for $ac_word... " >&6; }
5543
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5544
  $as_echo_n "(cached) " >&6
5545
else
5546
  if test -n "$ac_ct_DUMPBIN"; then
5547
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5548
else
5549
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5550
for as_dir in $PATH
5551
do
5552
  IFS=$as_save_IFS
5553
  test -z "$as_dir" && as_dir=.
5554
    for ac_exec_ext in '' $ac_executable_extensions; do
5555
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5556
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5557
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5558
    break 2
5559
  fi
5560
done
5561
  done
5562
IFS=$as_save_IFS
5563
 
5564
fi
5565
fi
5566
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5567
if test -n "$ac_ct_DUMPBIN"; then
5568
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5569
$as_echo "$ac_ct_DUMPBIN" >&6; }
5570
else
5571
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5572
$as_echo "no" >&6; }
5573
fi
5574
 
5575
 
5576
  test -n "$ac_ct_DUMPBIN" && break
5577
done
5578
 
5579
  if test "x$ac_ct_DUMPBIN" = x; then
5580
    DUMPBIN=":"
5581
  else
5582
    case $cross_compiling:$ac_tool_warned in
5583
yes:)
5584
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5585
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5586
ac_tool_warned=yes ;;
5587
esac
5588
    DUMPBIN=$ac_ct_DUMPBIN
5589
  fi
5590
fi
5591
 
5592
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5593
    *COFF*)
5594
      DUMPBIN="$DUMPBIN -symbols"
5595
      ;;
5596
    *)
5597
      DUMPBIN=:
5598
      ;;
5599
    esac
5600
  fi
5601
 
5602
  if test "$DUMPBIN" != ":"; then
5603
    NM="$DUMPBIN"
5604
  fi
5605
fi
5606
test -z "$NM" && NM=nm
5607
 
5608
 
5609
 
5610
 
5611
 
5612
 
5613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5614
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5615
if test "${lt_cv_nm_interface+set}" = set; then :
5616
  $as_echo_n "(cached) " >&6
5617
else
5618
  lt_cv_nm_interface="BSD nm"
5619
  echo "int some_variable = 0;" > conftest.$ac_ext
5620
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5621
  (eval "$ac_compile" 2>conftest.err)
5622
  cat conftest.err >&5
5623
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5624
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5625
  cat conftest.err >&5
5626
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5627
  cat conftest.out >&5
5628
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5629
    lt_cv_nm_interface="MS dumpbin"
5630
  fi
5631
  rm -f conftest*
5632
fi
5633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5634
$as_echo "$lt_cv_nm_interface" >&6; }
5635
 
5636
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5637
$as_echo_n "checking whether ln -s works... " >&6; }
5638
LN_S=$as_ln_s
5639
if test "$LN_S" = "ln -s"; then
5640
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5641
$as_echo "yes" >&6; }
5642
else
5643
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5644
$as_echo "no, using $LN_S" >&6; }
5645
fi
5646
 
5647
# find the maximum length of command line arguments
5648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5649
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5650
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5651
  $as_echo_n "(cached) " >&6
5652
else
5653
    i=0
5654
  teststring="ABCD"
5655
 
5656
  case $build_os in
5657
  msdosdjgpp*)
5658
    # On DJGPP, this test can blow up pretty badly due to problems in libc
5659
    # (any single argument exceeding 2000 bytes causes a buffer overrun
5660
    # during glob expansion).  Even if it were fixed, the result of this
5661
    # check would be larger than it should be.
5662
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5663
    ;;
5664
 
5665
  gnu*)
5666
    # Under GNU Hurd, this test is not required because there is
5667
    # no limit to the length of command line arguments.
5668
    # Libtool will interpret -1 as no limit whatsoever
5669
    lt_cv_sys_max_cmd_len=-1;
5670
    ;;
5671
 
5672
  cygwin* | mingw* | cegcc*)
5673
    # On Win9x/ME, this test blows up -- it succeeds, but takes
5674
    # about 5 minutes as the teststring grows exponentially.
5675
    # Worse, since 9x/ME are not pre-emptively multitasking,
5676
    # you end up with a "frozen" computer, even though with patience
5677
    # the test eventually succeeds (with a max line length of 256k).
5678
    # Instead, let's just punt: use the minimum linelength reported by
5679
    # all of the supported platforms: 8192 (on NT/2K/XP).
5680
    lt_cv_sys_max_cmd_len=8192;
5681
    ;;
5682
 
5683
  mint*)
5684
    # On MiNT this can take a long time and run out of memory.
5685
    lt_cv_sys_max_cmd_len=8192;
5686
    ;;
5687
 
5688
  amigaos*)
5689
    # On AmigaOS with pdksh, this test takes hours, literally.
5690
    # So we just punt and use a minimum line length of 8192.
5691
    lt_cv_sys_max_cmd_len=8192;
5692
    ;;
5693
 
5694
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5695
    # This has been around since 386BSD, at least.  Likely further.
5696
    if test -x /sbin/sysctl; then
5697
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5698
    elif test -x /usr/sbin/sysctl; then
5699
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5700
    else
5701
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
5702
    fi
5703
    # And add a safety zone
5704
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5705
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5706
    ;;
5707
 
5708
  interix*)
5709
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5710
    lt_cv_sys_max_cmd_len=196608
5711
    ;;
5712
 
5713
  osf*)
5714
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5715
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5716
    # nice to cause kernel panics so lets avoid the loop below.
5717
    # First set a reasonable default.
5718
    lt_cv_sys_max_cmd_len=16384
5719
    #
5720
    if test -x /sbin/sysconfig; then
5721
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5722
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5723
      esac
5724
    fi
5725
    ;;
5726
  sco3.2v5*)
5727
    lt_cv_sys_max_cmd_len=102400
5728
    ;;
5729
  sysv5* | sco5v6* | sysv4.2uw2*)
5730
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5731
    if test -n "$kargmax"; then
5732
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
5733
    else
5734
      lt_cv_sys_max_cmd_len=32768
5735
    fi
5736
    ;;
5737
  *)
5738
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5739
    if test -n "$lt_cv_sys_max_cmd_len"; then
5740
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5741
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5742
    else
5743
      # Make teststring a little bigger before we do anything with it.
5744
      # a 1K string should be a reasonable start.
5745
      for i in 1 2 3 4 5 6 7 8 ; do
5746
        teststring=$teststring$teststring
5747
      done
5748
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5749
      # If test is not a shell built-in, we'll probably end up computing a
5750
      # maximum length that is only half of the actual maximum length, but
5751
      # we can't tell.
5752
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5753
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5754
              test $i != 17 # 1/2 MB should be enough
5755
      do
5756
        i=`expr $i + 1`
5757
        teststring=$teststring$teststring
5758
      done
5759
      # Only check the string length outside the loop.
5760
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5761
      teststring=
5762
      # Add a significant safety factor because C++ compilers can tack on
5763
      # massive amounts of additional arguments before passing them to the
5764
      # linker.  It appears as though 1/2 is a usable value.
5765
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5766
    fi
5767
    ;;
5768
  esac
5769
 
5770
fi
5771
 
5772
if test -n $lt_cv_sys_max_cmd_len ; then
5773
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5774
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5775
else
5776
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5777
$as_echo "none" >&6; }
5778
fi
5779
max_cmd_len=$lt_cv_sys_max_cmd_len
5780
 
5781
 
5782
 
5783
 
5784
 
5785
 
5786
: ${CP="cp -f"}
5787
: ${MV="mv -f"}
5788
: ${RM="rm -f"}
5789
 
5790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5791
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5792
# Try some XSI features
5793
xsi_shell=no
5794
( _lt_dummy="a/b/c"
5795
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5796
      = c,a/b,, \
5797
    && eval 'test $(( 1 + 1 )) -eq 2 \
5798
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5799
  && xsi_shell=yes
5800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5801
$as_echo "$xsi_shell" >&6; }
5802
 
5803
 
5804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5805
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5806
lt_shell_append=no
5807
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5808
    >/dev/null 2>&1 \
5809
  && lt_shell_append=yes
5810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5811
$as_echo "$lt_shell_append" >&6; }
5812
 
5813
 
5814
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5815
  lt_unset=unset
5816
else
5817
  lt_unset=false
5818
fi
5819
 
5820
 
5821
 
5822
 
5823
 
5824
# test EBCDIC or ASCII
5825
case `echo X|tr X '\101'` in
5826
 A) # ASCII based system
5827
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5828
  lt_SP2NL='tr \040 \012'
5829
  lt_NL2SP='tr \015\012 \040\040'
5830
  ;;
5831
 *) # EBCDIC based system
5832
  lt_SP2NL='tr \100 \n'
5833
  lt_NL2SP='tr \r\n \100\100'
5834
  ;;
5835
esac
5836
 
5837
 
5838
 
5839
 
5840
 
5841
 
5842
 
5843
 
5844
 
5845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5846
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5847
if test "${lt_cv_ld_reload_flag+set}" = set; then :
5848
  $as_echo_n "(cached) " >&6
5849
else
5850
  lt_cv_ld_reload_flag='-r'
5851
fi
5852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5853
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5854
reload_flag=$lt_cv_ld_reload_flag
5855
case $reload_flag in
5856
"" | " "*) ;;
5857
*) reload_flag=" $reload_flag" ;;
5858
esac
5859
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5860
case $host_os in
5861
  darwin*)
5862
    if test "$GCC" = yes; then
5863
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5864
    else
5865
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5866
    fi
5867
    ;;
5868
esac
5869
 
5870
 
5871
 
5872
 
5873
 
5874
 
5875
 
5876
 
5877
 
5878
if test -n "$ac_tool_prefix"; then
5879
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5880
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5882
$as_echo_n "checking for $ac_word... " >&6; }
5883
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
5884
  $as_echo_n "(cached) " >&6
5885
else
5886
  if test -n "$OBJDUMP"; then
5887
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5888
else
5889
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5890
for as_dir in $PATH
5891
do
5892
  IFS=$as_save_IFS
5893
  test -z "$as_dir" && as_dir=.
5894
    for ac_exec_ext in '' $ac_executable_extensions; do
5895
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5896
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5897
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5898
    break 2
5899
  fi
5900
done
5901
  done
5902
IFS=$as_save_IFS
5903
 
5904
fi
5905
fi
5906
OBJDUMP=$ac_cv_prog_OBJDUMP
5907
if test -n "$OBJDUMP"; then
5908
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5909
$as_echo "$OBJDUMP" >&6; }
5910
else
5911
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5912
$as_echo "no" >&6; }
5913
fi
5914
 
5915
 
5916
fi
5917
if test -z "$ac_cv_prog_OBJDUMP"; then
5918
  ac_ct_OBJDUMP=$OBJDUMP
5919
  # Extract the first word of "objdump", so it can be a program name with args.
5920
set dummy objdump; ac_word=$2
5921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5922
$as_echo_n "checking for $ac_word... " >&6; }
5923
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
5924
  $as_echo_n "(cached) " >&6
5925
else
5926
  if test -n "$ac_ct_OBJDUMP"; then
5927
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5928
else
5929
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930
for as_dir in $PATH
5931
do
5932
  IFS=$as_save_IFS
5933
  test -z "$as_dir" && as_dir=.
5934
    for ac_exec_ext in '' $ac_executable_extensions; do
5935
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5936
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5937
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5938
    break 2
5939
  fi
5940
done
5941
  done
5942
IFS=$as_save_IFS
5943
 
5944
fi
5945
fi
5946
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5947
if test -n "$ac_ct_OBJDUMP"; then
5948
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5949
$as_echo "$ac_ct_OBJDUMP" >&6; }
5950
else
5951
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5952
$as_echo "no" >&6; }
5953
fi
5954
 
5955
  if test "x$ac_ct_OBJDUMP" = x; then
5956
    OBJDUMP="false"
5957
  else
5958
    case $cross_compiling:$ac_tool_warned in
5959
yes:)
5960
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5961
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5962
ac_tool_warned=yes ;;
5963
esac
5964
    OBJDUMP=$ac_ct_OBJDUMP
5965
  fi
5966
else
5967
  OBJDUMP="$ac_cv_prog_OBJDUMP"
5968
fi
5969
 
5970
test -z "$OBJDUMP" && OBJDUMP=objdump
5971
 
5972
 
5973
 
5974
 
5975
 
5976
 
5977
 
5978
 
5979
 
5980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5981
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5982
if test "${lt_cv_deplibs_check_method+set}" = set; then :
5983
  $as_echo_n "(cached) " >&6
5984
else
5985
  lt_cv_file_magic_cmd='$MAGIC_CMD'
5986
lt_cv_file_magic_test_file=
5987
lt_cv_deplibs_check_method='unknown'
5988
# Need to set the preceding variable on all platforms that support
5989
# interlibrary dependencies.
5990
# 'none' -- dependencies not supported.
5991
# `unknown' -- same as none, but documents that we really don't know.
5992
# 'pass_all' -- all dependencies passed with no checks.
5993
# 'test_compile' -- check by making test program.
5994
# 'file_magic [[regex]]' -- check by looking for files in library path
5995
# which responds to the $file_magic_cmd with a given extended regex.
5996
# If you have `file' or equivalent on your system and you're not sure
5997
# whether `pass_all' will *always* work, you probably want this one.
5998
 
5999
case $host_os in
6000
aix[4-9]*)
6001
  lt_cv_deplibs_check_method=pass_all
6002
  ;;
6003
 
6004
beos*)
6005
  lt_cv_deplibs_check_method=pass_all
6006
  ;;
6007
 
6008
bsdi[45]*)
6009
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6010
  lt_cv_file_magic_cmd='/usr/bin/file -L'
6011
  lt_cv_file_magic_test_file=/shlib/libc.so
6012
  ;;
6013
 
6014
cygwin*)
6015
  # func_win32_libid is a shell function defined in ltmain.sh
6016
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6017
  lt_cv_file_magic_cmd='func_win32_libid'
6018
  ;;
6019
 
6020
mingw* | pw32*)
6021
  # Base MSYS/MinGW do not provide the 'file' command needed by
6022
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6023
  # unless we find 'file', for example because we are cross-compiling.
6024
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6025
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6026
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6027
    lt_cv_file_magic_cmd='func_win32_libid'
6028
  else
6029
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6030
    lt_cv_file_magic_cmd='$OBJDUMP -f'
6031
  fi
6032
  ;;
6033
 
6034
cegcc*)
6035
  # use the weaker test based on 'objdump'. See mingw*.
6036
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6037
  lt_cv_file_magic_cmd='$OBJDUMP -f'
6038
  ;;
6039
 
6040
darwin* | rhapsody*)
6041
  lt_cv_deplibs_check_method=pass_all
6042
  ;;
6043
 
6044
freebsd* | dragonfly*)
6045
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6046
    case $host_cpu in
6047
    i*86 )
6048
      # Not sure whether the presence of OpenBSD here was a mistake.
6049
      # Let's accept both of them until this is cleared up.
6050
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6051
      lt_cv_file_magic_cmd=/usr/bin/file
6052
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6053
      ;;
6054
    esac
6055
  else
6056
    lt_cv_deplibs_check_method=pass_all
6057
  fi
6058
  ;;
6059
 
6060
gnu*)
6061
  lt_cv_deplibs_check_method=pass_all
6062
  ;;
6063
 
6064
haiku*)
6065
  lt_cv_deplibs_check_method=pass_all
6066
  ;;
6067
 
6068
hpux10.20* | hpux11*)
6069
  lt_cv_file_magic_cmd=/usr/bin/file
6070
  case $host_cpu in
6071
  ia64*)
6072
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6073
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6074
    ;;
6075
  hppa*64*)
6076
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6077
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6078
    ;;
6079
  *)
6080
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6081
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6082
    ;;
6083
  esac
6084
  ;;
6085
 
6086
interix[3-9]*)
6087
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6088
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6089
  ;;
6090
 
6091
irix5* | irix6* | nonstopux*)
6092
  case $LD in
6093
  *-32|*"-32 ") libmagic=32-bit;;
6094
  *-n32|*"-n32 ") libmagic=N32;;
6095
  *-64|*"-64 ") libmagic=64-bit;;
6096
  *) libmagic=never-match;;
6097
  esac
6098
  lt_cv_deplibs_check_method=pass_all
6099
  ;;
6100
 
6101
# This must be Linux ELF.
6102
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6103
  lt_cv_deplibs_check_method=pass_all
6104
  ;;
6105
 
6106
netbsd*)
6107
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6108
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6109
  else
6110
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6111
  fi
6112
  ;;
6113
 
6114
newos6*)
6115
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6116
  lt_cv_file_magic_cmd=/usr/bin/file
6117
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6118
  ;;
6119
 
6120
*nto* | *qnx*)
6121
  lt_cv_deplibs_check_method=pass_all
6122
  ;;
6123
 
6124
openbsd*)
6125
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6126
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6127
  else
6128
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6129
  fi
6130
  ;;
6131
 
6132
osf3* | osf4* | osf5*)
6133
  lt_cv_deplibs_check_method=pass_all
6134
  ;;
6135
 
6136
rdos*)
6137
  lt_cv_deplibs_check_method=pass_all
6138
  ;;
6139
 
6140
solaris*)
6141
  lt_cv_deplibs_check_method=pass_all
6142
  ;;
6143
 
6144
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6145
  lt_cv_deplibs_check_method=pass_all
6146
  ;;
6147
 
6148
sysv4 | sysv4.3*)
6149
  case $host_vendor in
6150
  motorola)
6151
    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]'
6152
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6153
    ;;
6154
  ncr)
6155
    lt_cv_deplibs_check_method=pass_all
6156
    ;;
6157
  sequent)
6158
    lt_cv_file_magic_cmd='/bin/file'
6159
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6160
    ;;
6161
  sni)
6162
    lt_cv_file_magic_cmd='/bin/file'
6163
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6164
    lt_cv_file_magic_test_file=/lib/libc.so
6165
    ;;
6166
  siemens)
6167
    lt_cv_deplibs_check_method=pass_all
6168
    ;;
6169
  pc)
6170
    lt_cv_deplibs_check_method=pass_all
6171
    ;;
6172
  esac
6173
  ;;
6174
 
6175
tpf*)
6176
  lt_cv_deplibs_check_method=pass_all
6177
  ;;
6178
esac
6179
 
6180
fi
6181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6182
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6183
file_magic_cmd=$lt_cv_file_magic_cmd
6184
deplibs_check_method=$lt_cv_deplibs_check_method
6185
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6186
 
6187
 
6188
 
6189
 
6190
 
6191
 
6192
 
6193
 
6194
 
6195
 
6196
 
6197
 
6198
if test -n "$ac_tool_prefix"; then
6199
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6200
set dummy ${ac_tool_prefix}ar; ac_word=$2
6201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6202
$as_echo_n "checking for $ac_word... " >&6; }
6203
if test "${ac_cv_prog_AR+set}" = set; then :
6204
  $as_echo_n "(cached) " >&6
6205
else
6206
  if test -n "$AR"; then
6207
  ac_cv_prog_AR="$AR" # Let the user override the test.
6208
else
6209
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6210
for as_dir in $PATH
6211
do
6212
  IFS=$as_save_IFS
6213
  test -z "$as_dir" && as_dir=.
6214
    for ac_exec_ext in '' $ac_executable_extensions; do
6215
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6216
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6217
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6218
    break 2
6219
  fi
6220
done
6221
  done
6222
IFS=$as_save_IFS
6223
 
6224
fi
6225
fi
6226
AR=$ac_cv_prog_AR
6227
if test -n "$AR"; then
6228
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6229
$as_echo "$AR" >&6; }
6230
else
6231
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6232
$as_echo "no" >&6; }
6233
fi
6234
 
6235
 
6236
fi
6237
if test -z "$ac_cv_prog_AR"; then
6238
  ac_ct_AR=$AR
6239
  # Extract the first word of "ar", so it can be a program name with args.
6240
set dummy ar; ac_word=$2
6241
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6242
$as_echo_n "checking for $ac_word... " >&6; }
6243
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6244
  $as_echo_n "(cached) " >&6
6245
else
6246
  if test -n "$ac_ct_AR"; then
6247
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6248
else
6249
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250
for as_dir in $PATH
6251
do
6252
  IFS=$as_save_IFS
6253
  test -z "$as_dir" && as_dir=.
6254
    for ac_exec_ext in '' $ac_executable_extensions; do
6255
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6256
    ac_cv_prog_ac_ct_AR="ar"
6257
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6258
    break 2
6259
  fi
6260
done
6261
  done
6262
IFS=$as_save_IFS
6263
 
6264
fi
6265
fi
6266
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6267
if test -n "$ac_ct_AR"; then
6268
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6269
$as_echo "$ac_ct_AR" >&6; }
6270
else
6271
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6272
$as_echo "no" >&6; }
6273
fi
6274
 
6275
  if test "x$ac_ct_AR" = x; then
6276
    AR="false"
6277
  else
6278
    case $cross_compiling:$ac_tool_warned in
6279
yes:)
6280
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6281
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6282
ac_tool_warned=yes ;;
6283
esac
6284
    AR=$ac_ct_AR
6285
  fi
6286
else
6287
  AR="$ac_cv_prog_AR"
6288
fi
6289
 
6290
test -z "$AR" && AR=ar
6291
test -z "$AR_FLAGS" && AR_FLAGS=cru
6292
 
6293
 
6294
 
6295
 
6296
 
6297
 
6298
 
6299
 
6300
 
6301
 
6302
 
6303
if test -n "$ac_tool_prefix"; then
6304
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6305
set dummy ${ac_tool_prefix}strip; ac_word=$2
6306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6307
$as_echo_n "checking for $ac_word... " >&6; }
6308
if test "${ac_cv_prog_STRIP+set}" = set; then :
6309
  $as_echo_n "(cached) " >&6
6310
else
6311
  if test -n "$STRIP"; then
6312
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6313
else
6314
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315
for as_dir in $PATH
6316
do
6317
  IFS=$as_save_IFS
6318
  test -z "$as_dir" && as_dir=.
6319
    for ac_exec_ext in '' $ac_executable_extensions; do
6320
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6321
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6322
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6323
    break 2
6324
  fi
6325
done
6326
  done
6327
IFS=$as_save_IFS
6328
 
6329
fi
6330
fi
6331
STRIP=$ac_cv_prog_STRIP
6332
if test -n "$STRIP"; then
6333
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6334
$as_echo "$STRIP" >&6; }
6335
else
6336
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6337
$as_echo "no" >&6; }
6338
fi
6339
 
6340
 
6341
fi
6342
if test -z "$ac_cv_prog_STRIP"; then
6343
  ac_ct_STRIP=$STRIP
6344
  # Extract the first word of "strip", so it can be a program name with args.
6345
set dummy strip; ac_word=$2
6346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6347
$as_echo_n "checking for $ac_word... " >&6; }
6348
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6349
  $as_echo_n "(cached) " >&6
6350
else
6351
  if test -n "$ac_ct_STRIP"; then
6352
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6353
else
6354
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355
for as_dir in $PATH
6356
do
6357
  IFS=$as_save_IFS
6358
  test -z "$as_dir" && as_dir=.
6359
    for ac_exec_ext in '' $ac_executable_extensions; do
6360
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6361
    ac_cv_prog_ac_ct_STRIP="strip"
6362
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6363
    break 2
6364
  fi
6365
done
6366
  done
6367
IFS=$as_save_IFS
6368
 
6369
fi
6370
fi
6371
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6372
if test -n "$ac_ct_STRIP"; then
6373
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6374
$as_echo "$ac_ct_STRIP" >&6; }
6375
else
6376
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6377
$as_echo "no" >&6; }
6378
fi
6379
 
6380
  if test "x$ac_ct_STRIP" = x; then
6381
    STRIP=":"
6382
  else
6383
    case $cross_compiling:$ac_tool_warned in
6384
yes:)
6385
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6386
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6387
ac_tool_warned=yes ;;
6388
esac
6389
    STRIP=$ac_ct_STRIP
6390
  fi
6391
else
6392
  STRIP="$ac_cv_prog_STRIP"
6393
fi
6394
 
6395
test -z "$STRIP" && STRIP=:
6396
 
6397
 
6398
 
6399
 
6400
 
6401
 
6402
if test -n "$ac_tool_prefix"; then
6403
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6404
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6406
$as_echo_n "checking for $ac_word... " >&6; }
6407
if test "${ac_cv_prog_RANLIB+set}" = set; then :
6408
  $as_echo_n "(cached) " >&6
6409
else
6410
  if test -n "$RANLIB"; then
6411
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6412
else
6413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6414
for as_dir in $PATH
6415
do
6416
  IFS=$as_save_IFS
6417
  test -z "$as_dir" && as_dir=.
6418
    for ac_exec_ext in '' $ac_executable_extensions; do
6419
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6420
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6421
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6422
    break 2
6423
  fi
6424
done
6425
  done
6426
IFS=$as_save_IFS
6427
 
6428
fi
6429
fi
6430
RANLIB=$ac_cv_prog_RANLIB
6431
if test -n "$RANLIB"; then
6432
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6433
$as_echo "$RANLIB" >&6; }
6434
else
6435
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6436
$as_echo "no" >&6; }
6437
fi
6438
 
6439
 
6440
fi
6441
if test -z "$ac_cv_prog_RANLIB"; then
6442
  ac_ct_RANLIB=$RANLIB
6443
  # Extract the first word of "ranlib", so it can be a program name with args.
6444
set dummy ranlib; ac_word=$2
6445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446
$as_echo_n "checking for $ac_word... " >&6; }
6447
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6448
  $as_echo_n "(cached) " >&6
6449
else
6450
  if test -n "$ac_ct_RANLIB"; then
6451
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6452
else
6453
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454
for as_dir in $PATH
6455
do
6456
  IFS=$as_save_IFS
6457
  test -z "$as_dir" && as_dir=.
6458
    for ac_exec_ext in '' $ac_executable_extensions; do
6459
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6460
    ac_cv_prog_ac_ct_RANLIB="ranlib"
6461
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6462
    break 2
6463
  fi
6464
done
6465
  done
6466
IFS=$as_save_IFS
6467
 
6468
fi
6469
fi
6470
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6471
if test -n "$ac_ct_RANLIB"; then
6472
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6473
$as_echo "$ac_ct_RANLIB" >&6; }
6474
else
6475
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476
$as_echo "no" >&6; }
6477
fi
6478
 
6479
  if test "x$ac_ct_RANLIB" = x; then
6480
    RANLIB=":"
6481
  else
6482
    case $cross_compiling:$ac_tool_warned in
6483
yes:)
6484
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6485
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6486
ac_tool_warned=yes ;;
6487
esac
6488
    RANLIB=$ac_ct_RANLIB
6489
  fi
6490
else
6491
  RANLIB="$ac_cv_prog_RANLIB"
6492
fi
6493
 
6494
test -z "$RANLIB" && RANLIB=:
6495
 
6496
 
6497
 
6498
 
6499
 
6500
 
6501
# Determine commands to create old-style static archives.
6502
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6503
old_postinstall_cmds='chmod 644 $oldlib'
6504
old_postuninstall_cmds=
6505
 
6506
if test -n "$RANLIB"; then
6507
  case $host_os in
6508
  openbsd*)
6509
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6510
    ;;
6511
  *)
6512
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6513
    ;;
6514
  esac
6515
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6516
fi
6517
 
6518
case $host_os in
6519
  darwin*)
6520
    lock_old_archive_extraction=yes ;;
6521
  *)
6522
    lock_old_archive_extraction=no ;;
6523
esac
6524
 
6525
 
6526
 
6527
 
6528
 
6529
 
6530
 
6531
 
6532
 
6533
 
6534
 
6535
 
6536
 
6537
 
6538
 
6539
 
6540
 
6541
 
6542
 
6543
 
6544
 
6545
 
6546
 
6547
 
6548
 
6549
 
6550
 
6551
 
6552
 
6553
 
6554
 
6555
 
6556
 
6557
 
6558
 
6559
 
6560
 
6561
 
6562
 
6563
# If no C compiler was specified, use CC.
6564
LTCC=${LTCC-"$CC"}
6565
 
6566
# If no C compiler flags were specified, use CFLAGS.
6567
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6568
 
6569
# Allow CC to be a program name with arguments.
6570
compiler=$CC
6571
 
6572
 
6573
# Check for command to grab the raw symbol name followed by C symbol from nm.
6574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6575
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6576
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6577
  $as_echo_n "(cached) " >&6
6578
else
6579
 
6580
# These are sane defaults that work on at least a few old systems.
6581
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6582
 
6583
# Character class describing NM global symbol codes.
6584
symcode='[BCDEGRST]'
6585
 
6586
# Regexp to match symbols that can be accessed directly from C.
6587
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6588
 
6589
# Define system-specific variables.
6590
case $host_os in
6591
aix*)
6592
  symcode='[BCDT]'
6593
  ;;
6594
cygwin* | mingw* | pw32* | cegcc*)
6595
  symcode='[ABCDGISTW]'
6596
  ;;
6597
hpux*)
6598
  if test "$host_cpu" = ia64; then
6599
    symcode='[ABCDEGRST]'
6600
  fi
6601
  ;;
6602
irix* | nonstopux*)
6603
  symcode='[BCDEGRST]'
6604
  ;;
6605
osf*)
6606
  symcode='[BCDEGQRST]'
6607
  ;;
6608
solaris*)
6609
  symcode='[BDRT]'
6610
  ;;
6611
sco3.2v5*)
6612
  symcode='[DT]'
6613
  ;;
6614
sysv4.2uw2*)
6615
  symcode='[DT]'
6616
  ;;
6617
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6618
  symcode='[ABDT]'
6619
  ;;
6620
sysv4)
6621
  symcode='[DFNSTU]'
6622
  ;;
6623
esac
6624
 
6625
# If we're using GNU nm, then use its standard symbol codes.
6626
case `$NM -V 2>&1` in
6627
*GNU* | *'with BFD'*)
6628
  symcode='[ABCDGIRSTW]' ;;
6629
esac
6630
 
6631
# Transform an extracted symbol line into a proper C declaration.
6632
# Some systems (esp. on ia64) link data and code symbols differently,
6633
# so use this general approach.
6634
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6635
 
6636
# Transform an extracted symbol line into symbol name and symbol address
6637
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6638
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6639
 
6640
# Handle CRLF in mingw tool chain
6641
opt_cr=
6642
case $build_os in
6643
mingw*)
6644
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6645
  ;;
6646
esac
6647
 
6648
# Try without a prefix underscore, then with it.
6649
for ac_symprfx in "" "_"; do
6650
 
6651
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6652
  symxfrm="\\1 $ac_symprfx\\2 \\2"
6653
 
6654
  # Write the raw and C identifiers.
6655
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6656
    # Fake it for dumpbin and say T for any non-static function
6657
    # and D for any global variable.
6658
    # Also find C++ and __fastcall symbols from MSVC++,
6659
    # which start with @ or ?.
6660
    lt_cv_sys_global_symbol_pipe="$AWK '"\
6661
"     {last_section=section; section=\$ 3};"\
6662
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6663
"     \$ 0!~/External *\|/{next};"\
6664
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6665
"     {if(hide[section]) next};"\
6666
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6667
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6668
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6669
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6670
"     ' prfx=^$ac_symprfx"
6671
  else
6672
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6673
  fi
6674
 
6675
  # Check to see that the pipe works correctly.
6676
  pipe_works=no
6677
 
6678
  rm -f conftest*
6679
  cat > conftest.$ac_ext <<_LT_EOF
6680
#ifdef __cplusplus
6681
extern "C" {
6682
#endif
6683
char nm_test_var;
6684
void nm_test_func(void);
6685
void nm_test_func(void){}
6686
#ifdef __cplusplus
6687
}
6688
#endif
6689
int main(){nm_test_var='a';nm_test_func();return(0);}
6690
_LT_EOF
6691
 
6692
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6693
  (eval $ac_compile) 2>&5
6694
  ac_status=$?
6695
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6696
  test $ac_status = 0; }; then
6697
    # Now try to grab the symbols.
6698
    nlist=conftest.nm
6699
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6700
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6701
  ac_status=$?
6702
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6703
  test $ac_status = 0; } && test -s "$nlist"; then
6704
      # Try sorting and uniquifying the output.
6705
      if sort "$nlist" | uniq > "$nlist"T; then
6706
        mv -f "$nlist"T "$nlist"
6707
      else
6708
        rm -f "$nlist"T
6709
      fi
6710
 
6711
      # Make sure that we snagged all the symbols we need.
6712
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6713
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6714
          cat <<_LT_EOF > conftest.$ac_ext
6715
#ifdef __cplusplus
6716
extern "C" {
6717
#endif
6718
 
6719
_LT_EOF
6720
          # Now generate the symbol file.
6721
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6722
 
6723
          cat <<_LT_EOF >> conftest.$ac_ext
6724
 
6725
/* The mapping between symbol names and symbols.  */
6726
const struct {
6727
  const char *name;
6728
  void       *address;
6729
}
6730
lt__PROGRAM__LTX_preloaded_symbols[] =
6731
{
6732
  { "@PROGRAM@", (void *) 0 },
6733
_LT_EOF
6734
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6735
          cat <<\_LT_EOF >> conftest.$ac_ext
6736
  {0, (void *) 0}
6737
};
6738
 
6739
/* This works around a problem in FreeBSD linker */
6740
#ifdef FREEBSD_WORKAROUND
6741
static const void *lt_preloaded_setup() {
6742
  return lt__PROGRAM__LTX_preloaded_symbols;
6743
}
6744
#endif
6745
 
6746
#ifdef __cplusplus
6747
}
6748
#endif
6749
_LT_EOF
6750
          # Now try linking the two files.
6751
          mv conftest.$ac_objext conftstm.$ac_objext
6752
          lt_save_LIBS="$LIBS"
6753
          lt_save_CFLAGS="$CFLAGS"
6754
          LIBS="conftstm.$ac_objext"
6755
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6756
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6757
  (eval $ac_link) 2>&5
6758
  ac_status=$?
6759
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6760
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6761
            pipe_works=yes
6762
          fi
6763
          LIBS="$lt_save_LIBS"
6764
          CFLAGS="$lt_save_CFLAGS"
6765
        else
6766
          echo "cannot find nm_test_func in $nlist" >&5
6767
        fi
6768
      else
6769
        echo "cannot find nm_test_var in $nlist" >&5
6770
      fi
6771
    else
6772
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6773
    fi
6774
  else
6775
    echo "$progname: failed program was:" >&5
6776
    cat conftest.$ac_ext >&5
6777
  fi
6778
  rm -rf conftest* conftst*
6779
 
6780
  # Do not use the global_symbol_pipe unless it works.
6781
  if test "$pipe_works" = yes; then
6782
    break
6783
  else
6784
    lt_cv_sys_global_symbol_pipe=
6785
  fi
6786
done
6787
 
6788
fi
6789
 
6790
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6791
  lt_cv_sys_global_symbol_to_cdecl=
6792
fi
6793
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6794
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6795
$as_echo "failed" >&6; }
6796
else
6797
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6798
$as_echo "ok" >&6; }
6799
fi
6800
 
6801
 
6802
 
6803
 
6804
 
6805
 
6806
 
6807
 
6808
 
6809
 
6810
 
6811
 
6812
 
6813
 
6814
 
6815
 
6816
 
6817
 
6818
 
6819
 
6820
 
6821
 
6822
# Check whether --enable-libtool-lock was given.
6823
if test "${enable_libtool_lock+set}" = set; then :
6824
  enableval=$enable_libtool_lock;
6825
fi
6826
 
6827
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6828
 
6829
# Some flags need to be propagated to the compiler or linker for good
6830
# libtool support.
6831
case $host in
6832
ia64-*-hpux*)
6833
  # Find out which ABI we are using.
6834
  echo 'int i;' > conftest.$ac_ext
6835
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6836
  (eval $ac_compile) 2>&5
6837
  ac_status=$?
6838
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6839
  test $ac_status = 0; }; then
6840
    case `/usr/bin/file conftest.$ac_objext` in
6841
      *ELF-32*)
6842
        HPUX_IA64_MODE="32"
6843
        ;;
6844
      *ELF-64*)
6845
        HPUX_IA64_MODE="64"
6846
        ;;
6847
    esac
6848
  fi
6849
  rm -rf conftest*
6850
  ;;
6851
*-*-irix6*)
6852
  # Find out which ABI we are using.
6853
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6854
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6855
  (eval $ac_compile) 2>&5
6856
  ac_status=$?
6857
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6858
  test $ac_status = 0; }; then
6859
    if test "$lt_cv_prog_gnu_ld" = yes; then
6860
      case `/usr/bin/file conftest.$ac_objext` in
6861
        *32-bit*)
6862
          LD="${LD-ld} -melf32bsmip"
6863
          ;;
6864
        *N32*)
6865
          LD="${LD-ld} -melf32bmipn32"
6866
          ;;
6867
        *64-bit*)
6868
          LD="${LD-ld} -melf64bmip"
6869
        ;;
6870
      esac
6871
    else
6872
      case `/usr/bin/file conftest.$ac_objext` in
6873
        *32-bit*)
6874
          LD="${LD-ld} -32"
6875
          ;;
6876
        *N32*)
6877
          LD="${LD-ld} -n32"
6878
          ;;
6879
        *64-bit*)
6880
          LD="${LD-ld} -64"
6881
          ;;
6882
      esac
6883
    fi
6884
  fi
6885
  rm -rf conftest*
6886
  ;;
6887
 
6888
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6889
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6890
  # Find out which ABI we are using.
6891
  echo 'int i;' > conftest.$ac_ext
6892
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6893
  (eval $ac_compile) 2>&5
6894
  ac_status=$?
6895
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6896
  test $ac_status = 0; }; then
6897
    case `/usr/bin/file conftest.o` in
6898
      *32-bit*)
6899
        case $host in
6900
          x86_64-*kfreebsd*-gnu)
6901
            LD="${LD-ld} -m elf_i386_fbsd"
6902
            ;;
6903
          x86_64-*linux*)
6904
            LD="${LD-ld} -m elf_i386"
6905
            ;;
6906
          ppc64-*linux*|powerpc64-*linux*)
6907
            LD="${LD-ld} -m elf32ppclinux"
6908
            ;;
6909
          s390x-*linux*)
6910
            LD="${LD-ld} -m elf_s390"
6911
            ;;
6912
          sparc64-*linux*)
6913
            LD="${LD-ld} -m elf32_sparc"
6914
            ;;
6915
        esac
6916
        ;;
6917
      *64-bit*)
6918
        case $host in
6919
          x86_64-*kfreebsd*-gnu)
6920
            LD="${LD-ld} -m elf_x86_64_fbsd"
6921
            ;;
6922
          x86_64-*linux*)
6923
            LD="${LD-ld} -m elf_x86_64"
6924
            ;;
6925
          ppc*-*linux*|powerpc*-*linux*)
6926
            LD="${LD-ld} -m elf64ppc"
6927
            ;;
6928
          s390*-*linux*|s390*-*tpf*)
6929
            LD="${LD-ld} -m elf64_s390"
6930
            ;;
6931
          sparc*-*linux*)
6932
            LD="${LD-ld} -m elf64_sparc"
6933
            ;;
6934
        esac
6935
        ;;
6936
    esac
6937
  fi
6938
  rm -rf conftest*
6939
  ;;
6940
 
6941
*-*-sco3.2v5*)
6942
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6943
  SAVE_CFLAGS="$CFLAGS"
6944
  CFLAGS="$CFLAGS -belf"
6945
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6946
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6947
if test "${lt_cv_cc_needs_belf+set}" = set; then :
6948
  $as_echo_n "(cached) " >&6
6949
else
6950
  ac_ext=c
6951
ac_cpp='$CPP $CPPFLAGS'
6952
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6953
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6954
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6955
 
6956
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957
/* end confdefs.h.  */
6958
 
6959
int
6960
main ()
6961
{
6962
 
6963
  ;
6964
  return 0;
6965
}
6966
_ACEOF
6967
if ac_fn_c_try_link "$LINENO"; then :
6968
  lt_cv_cc_needs_belf=yes
6969
else
6970
  lt_cv_cc_needs_belf=no
6971
fi
6972
rm -f core conftest.err conftest.$ac_objext \
6973
    conftest$ac_exeext conftest.$ac_ext
6974
     ac_ext=c
6975
ac_cpp='$CPP $CPPFLAGS'
6976
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6977
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6978
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6979
 
6980
fi
6981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6982
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6983
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6984
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6985
    CFLAGS="$SAVE_CFLAGS"
6986
  fi
6987
  ;;
6988
sparc*-*solaris*)
6989
  # Find out which ABI we are using.
6990
  echo 'int i;' > conftest.$ac_ext
6991
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6992
  (eval $ac_compile) 2>&5
6993
  ac_status=$?
6994
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6995
  test $ac_status = 0; }; then
6996
    case `/usr/bin/file conftest.o` in
6997
    *64-bit*)
6998
      case $lt_cv_prog_gnu_ld in
6999
      yes*) LD="${LD-ld} -m elf64_sparc" ;;
7000
      *)
7001
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7002
          LD="${LD-ld} -64"
7003
        fi
7004
        ;;
7005
      esac
7006
      ;;
7007
    esac
7008
  fi
7009
  rm -rf conftest*
7010
  ;;
7011
esac
7012
 
7013
need_locks="$enable_libtool_lock"
7014
 
7015
 
7016
  case $host_os in
7017
    rhapsody* | darwin*)
7018
    if test -n "$ac_tool_prefix"; then
7019
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7020
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7022
$as_echo_n "checking for $ac_word... " >&6; }
7023
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7024
  $as_echo_n "(cached) " >&6
7025
else
7026
  if test -n "$DSYMUTIL"; then
7027
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7028
else
7029
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7030
for as_dir in $PATH
7031
do
7032
  IFS=$as_save_IFS
7033
  test -z "$as_dir" && as_dir=.
7034
    for ac_exec_ext in '' $ac_executable_extensions; do
7035
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7036
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7037
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7038
    break 2
7039
  fi
7040
done
7041
  done
7042
IFS=$as_save_IFS
7043
 
7044
fi
7045
fi
7046
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7047
if test -n "$DSYMUTIL"; then
7048
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7049
$as_echo "$DSYMUTIL" >&6; }
7050
else
7051
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7052
$as_echo "no" >&6; }
7053
fi
7054
 
7055
 
7056
fi
7057
if test -z "$ac_cv_prog_DSYMUTIL"; then
7058
  ac_ct_DSYMUTIL=$DSYMUTIL
7059
  # Extract the first word of "dsymutil", so it can be a program name with args.
7060
set dummy dsymutil; ac_word=$2
7061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062
$as_echo_n "checking for $ac_word... " >&6; }
7063
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7064
  $as_echo_n "(cached) " >&6
7065
else
7066
  if test -n "$ac_ct_DSYMUTIL"; then
7067
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7068
else
7069
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070
for as_dir in $PATH
7071
do
7072
  IFS=$as_save_IFS
7073
  test -z "$as_dir" && as_dir=.
7074
    for ac_exec_ext in '' $ac_executable_extensions; do
7075
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7076
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7077
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078
    break 2
7079
  fi
7080
done
7081
  done
7082
IFS=$as_save_IFS
7083
 
7084
fi
7085
fi
7086
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7087
if test -n "$ac_ct_DSYMUTIL"; then
7088
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7089
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7090
else
7091
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092
$as_echo "no" >&6; }
7093
fi
7094
 
7095
  if test "x$ac_ct_DSYMUTIL" = x; then
7096
    DSYMUTIL=":"
7097
  else
7098
    case $cross_compiling:$ac_tool_warned in
7099
yes:)
7100
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7101
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7102
ac_tool_warned=yes ;;
7103
esac
7104
    DSYMUTIL=$ac_ct_DSYMUTIL
7105
  fi
7106
else
7107
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7108
fi
7109
 
7110
    if test -n "$ac_tool_prefix"; then
7111
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7112
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7113
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114
$as_echo_n "checking for $ac_word... " >&6; }
7115
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7116
  $as_echo_n "(cached) " >&6
7117
else
7118
  if test -n "$NMEDIT"; then
7119
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7120
else
7121
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7122
for as_dir in $PATH
7123
do
7124
  IFS=$as_save_IFS
7125
  test -z "$as_dir" && as_dir=.
7126
    for ac_exec_ext in '' $ac_executable_extensions; do
7127
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7128
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7129
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7130
    break 2
7131
  fi
7132
done
7133
  done
7134
IFS=$as_save_IFS
7135
 
7136
fi
7137
fi
7138
NMEDIT=$ac_cv_prog_NMEDIT
7139
if test -n "$NMEDIT"; then
7140
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7141
$as_echo "$NMEDIT" >&6; }
7142
else
7143
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7144
$as_echo "no" >&6; }
7145
fi
7146
 
7147
 
7148
fi
7149
if test -z "$ac_cv_prog_NMEDIT"; then
7150
  ac_ct_NMEDIT=$NMEDIT
7151
  # Extract the first word of "nmedit", so it can be a program name with args.
7152
set dummy nmedit; ac_word=$2
7153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154
$as_echo_n "checking for $ac_word... " >&6; }
7155
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7156
  $as_echo_n "(cached) " >&6
7157
else
7158
  if test -n "$ac_ct_NMEDIT"; then
7159
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7160
else
7161
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162
for as_dir in $PATH
7163
do
7164
  IFS=$as_save_IFS
7165
  test -z "$as_dir" && as_dir=.
7166
    for ac_exec_ext in '' $ac_executable_extensions; do
7167
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7168
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7169
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7170
    break 2
7171
  fi
7172
done
7173
  done
7174
IFS=$as_save_IFS
7175
 
7176
fi
7177
fi
7178
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7179
if test -n "$ac_ct_NMEDIT"; then
7180
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7181
$as_echo "$ac_ct_NMEDIT" >&6; }
7182
else
7183
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7184
$as_echo "no" >&6; }
7185
fi
7186
 
7187
  if test "x$ac_ct_NMEDIT" = x; then
7188
    NMEDIT=":"
7189
  else
7190
    case $cross_compiling:$ac_tool_warned in
7191
yes:)
7192
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7193
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7194
ac_tool_warned=yes ;;
7195
esac
7196
    NMEDIT=$ac_ct_NMEDIT
7197
  fi
7198
else
7199
  NMEDIT="$ac_cv_prog_NMEDIT"
7200
fi
7201
 
7202
    if test -n "$ac_tool_prefix"; then
7203
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7204
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7206
$as_echo_n "checking for $ac_word... " >&6; }
7207
if test "${ac_cv_prog_LIPO+set}" = set; then :
7208
  $as_echo_n "(cached) " >&6
7209
else
7210
  if test -n "$LIPO"; then
7211
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7212
else
7213
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7214
for as_dir in $PATH
7215
do
7216
  IFS=$as_save_IFS
7217
  test -z "$as_dir" && as_dir=.
7218
    for ac_exec_ext in '' $ac_executable_extensions; do
7219
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7220
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7221
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7222
    break 2
7223
  fi
7224
done
7225
  done
7226
IFS=$as_save_IFS
7227
 
7228
fi
7229
fi
7230
LIPO=$ac_cv_prog_LIPO
7231
if test -n "$LIPO"; then
7232
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7233
$as_echo "$LIPO" >&6; }
7234
else
7235
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7236
$as_echo "no" >&6; }
7237
fi
7238
 
7239
 
7240
fi
7241
if test -z "$ac_cv_prog_LIPO"; then
7242
  ac_ct_LIPO=$LIPO
7243
  # Extract the first word of "lipo", so it can be a program name with args.
7244
set dummy lipo; ac_word=$2
7245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246
$as_echo_n "checking for $ac_word... " >&6; }
7247
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7248
  $as_echo_n "(cached) " >&6
7249
else
7250
  if test -n "$ac_ct_LIPO"; then
7251
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7252
else
7253
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254
for as_dir in $PATH
7255
do
7256
  IFS=$as_save_IFS
7257
  test -z "$as_dir" && as_dir=.
7258
    for ac_exec_ext in '' $ac_executable_extensions; do
7259
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7260
    ac_cv_prog_ac_ct_LIPO="lipo"
7261
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262
    break 2
7263
  fi
7264
done
7265
  done
7266
IFS=$as_save_IFS
7267
 
7268
fi
7269
fi
7270
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7271
if test -n "$ac_ct_LIPO"; then
7272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7273
$as_echo "$ac_ct_LIPO" >&6; }
7274
else
7275
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276
$as_echo "no" >&6; }
7277
fi
7278
 
7279
  if test "x$ac_ct_LIPO" = x; then
7280
    LIPO=":"
7281
  else
7282
    case $cross_compiling:$ac_tool_warned in
7283
yes:)
7284
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7285
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7286
ac_tool_warned=yes ;;
7287
esac
7288
    LIPO=$ac_ct_LIPO
7289
  fi
7290
else
7291
  LIPO="$ac_cv_prog_LIPO"
7292
fi
7293
 
7294
    if test -n "$ac_tool_prefix"; then
7295
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7296
set dummy ${ac_tool_prefix}otool; ac_word=$2
7297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298
$as_echo_n "checking for $ac_word... " >&6; }
7299
if test "${ac_cv_prog_OTOOL+set}" = set; then :
7300
  $as_echo_n "(cached) " >&6
7301
else
7302
  if test -n "$OTOOL"; then
7303
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7304
else
7305
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306
for as_dir in $PATH
7307
do
7308
  IFS=$as_save_IFS
7309
  test -z "$as_dir" && as_dir=.
7310
    for ac_exec_ext in '' $ac_executable_extensions; do
7311
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7313
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314
    break 2
7315
  fi
7316
done
7317
  done
7318
IFS=$as_save_IFS
7319
 
7320
fi
7321
fi
7322
OTOOL=$ac_cv_prog_OTOOL
7323
if test -n "$OTOOL"; then
7324
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7325
$as_echo "$OTOOL" >&6; }
7326
else
7327
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328
$as_echo "no" >&6; }
7329
fi
7330
 
7331
 
7332
fi
7333
if test -z "$ac_cv_prog_OTOOL"; then
7334
  ac_ct_OTOOL=$OTOOL
7335
  # Extract the first word of "otool", so it can be a program name with args.
7336
set dummy otool; ac_word=$2
7337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7338
$as_echo_n "checking for $ac_word... " >&6; }
7339
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7340
  $as_echo_n "(cached) " >&6
7341
else
7342
  if test -n "$ac_ct_OTOOL"; then
7343
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7344
else
7345
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7346
for as_dir in $PATH
7347
do
7348
  IFS=$as_save_IFS
7349
  test -z "$as_dir" && as_dir=.
7350
    for ac_exec_ext in '' $ac_executable_extensions; do
7351
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7352
    ac_cv_prog_ac_ct_OTOOL="otool"
7353
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7354
    break 2
7355
  fi
7356
done
7357
  done
7358
IFS=$as_save_IFS
7359
 
7360
fi
7361
fi
7362
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7363
if test -n "$ac_ct_OTOOL"; then
7364
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7365
$as_echo "$ac_ct_OTOOL" >&6; }
7366
else
7367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7368
$as_echo "no" >&6; }
7369
fi
7370
 
7371
  if test "x$ac_ct_OTOOL" = x; then
7372
    OTOOL=":"
7373
  else
7374
    case $cross_compiling:$ac_tool_warned in
7375
yes:)
7376
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7377
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7378
ac_tool_warned=yes ;;
7379
esac
7380
    OTOOL=$ac_ct_OTOOL
7381
  fi
7382
else
7383
  OTOOL="$ac_cv_prog_OTOOL"
7384
fi
7385
 
7386
    if test -n "$ac_tool_prefix"; then
7387
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7388
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7389
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390
$as_echo_n "checking for $ac_word... " >&6; }
7391
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7392
  $as_echo_n "(cached) " >&6
7393
else
7394
  if test -n "$OTOOL64"; then
7395
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7396
else
7397
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398
for as_dir in $PATH
7399
do
7400
  IFS=$as_save_IFS
7401
  test -z "$as_dir" && as_dir=.
7402
    for ac_exec_ext in '' $ac_executable_extensions; do
7403
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7405
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406
    break 2
7407
  fi
7408
done
7409
  done
7410
IFS=$as_save_IFS
7411
 
7412
fi
7413
fi
7414
OTOOL64=$ac_cv_prog_OTOOL64
7415
if test -n "$OTOOL64"; then
7416
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7417
$as_echo "$OTOOL64" >&6; }
7418
else
7419
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420
$as_echo "no" >&6; }
7421
fi
7422
 
7423
 
7424
fi
7425
if test -z "$ac_cv_prog_OTOOL64"; then
7426
  ac_ct_OTOOL64=$OTOOL64
7427
  # Extract the first word of "otool64", so it can be a program name with args.
7428
set dummy otool64; ac_word=$2
7429
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7430
$as_echo_n "checking for $ac_word... " >&6; }
7431
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7432
  $as_echo_n "(cached) " >&6
7433
else
7434
  if test -n "$ac_ct_OTOOL64"; then
7435
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7436
else
7437
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7438
for as_dir in $PATH
7439
do
7440
  IFS=$as_save_IFS
7441
  test -z "$as_dir" && as_dir=.
7442
    for ac_exec_ext in '' $ac_executable_extensions; do
7443
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7444
    ac_cv_prog_ac_ct_OTOOL64="otool64"
7445
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7446
    break 2
7447
  fi
7448
done
7449
  done
7450
IFS=$as_save_IFS
7451
 
7452
fi
7453
fi
7454
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7455
if test -n "$ac_ct_OTOOL64"; then
7456
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7457
$as_echo "$ac_ct_OTOOL64" >&6; }
7458
else
7459
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7460
$as_echo "no" >&6; }
7461
fi
7462
 
7463
  if test "x$ac_ct_OTOOL64" = x; then
7464
    OTOOL64=":"
7465
  else
7466
    case $cross_compiling:$ac_tool_warned in
7467
yes:)
7468
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7469
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7470
ac_tool_warned=yes ;;
7471
esac
7472
    OTOOL64=$ac_ct_OTOOL64
7473
  fi
7474
else
7475
  OTOOL64="$ac_cv_prog_OTOOL64"
7476
fi
7477
 
7478
 
7479
 
7480
 
7481
 
7482
 
7483
 
7484
 
7485
 
7486
 
7487
 
7488
 
7489
 
7490
 
7491
 
7492
 
7493
 
7494
 
7495
 
7496
 
7497
 
7498
 
7499
 
7500
 
7501
 
7502
 
7503
 
7504
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7505
$as_echo_n "checking for -single_module linker flag... " >&6; }
7506
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7507
  $as_echo_n "(cached) " >&6
7508
else
7509
  lt_cv_apple_cc_single_mod=no
7510
      if test -z "${LT_MULTI_MODULE}"; then
7511
        # By default we will add the -single_module flag. You can override
7512
        # by either setting the environment variable LT_MULTI_MODULE
7513
        # non-empty at configure time, or by adding -multi_module to the
7514
        # link flags.
7515
        rm -rf libconftest.dylib*
7516
        echo "int foo(void){return 1;}" > conftest.c
7517
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7518
-dynamiclib -Wl,-single_module conftest.c" >&5
7519
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7520
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7521
        _lt_result=$?
7522
        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7523
          lt_cv_apple_cc_single_mod=yes
7524
        else
7525
          cat conftest.err >&5
7526
        fi
7527
        rm -rf libconftest.dylib*
7528
        rm -f conftest.*
7529
      fi
7530
fi
7531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7532
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7533
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7534
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7535
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7536
  $as_echo_n "(cached) " >&6
7537
else
7538
  lt_cv_ld_exported_symbols_list=no
7539
      save_LDFLAGS=$LDFLAGS
7540
      echo "_main" > conftest.sym
7541
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7542
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7543
/* end confdefs.h.  */
7544
 
7545
int
7546
main ()
7547
{
7548
 
7549
  ;
7550
  return 0;
7551
}
7552
_ACEOF
7553
if ac_fn_c_try_link "$LINENO"; then :
7554
  lt_cv_ld_exported_symbols_list=yes
7555
else
7556
  lt_cv_ld_exported_symbols_list=no
7557
fi
7558
rm -f core conftest.err conftest.$ac_objext \
7559
    conftest$ac_exeext conftest.$ac_ext
7560
        LDFLAGS="$save_LDFLAGS"
7561
 
7562
fi
7563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7564
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7565
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7566
$as_echo_n "checking for -force_load linker flag... " >&6; }
7567
if test "${lt_cv_ld_force_load+set}" = set; then :
7568
  $as_echo_n "(cached) " >&6
7569
else
7570
  lt_cv_ld_force_load=no
7571
      cat > conftest.c << _LT_EOF
7572
int forced_loaded() { return 2;}
7573
_LT_EOF
7574
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7575
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7576
      echo "$AR cru libconftest.a conftest.o" >&5
7577
      $AR cru libconftest.a conftest.o 2>&5
7578
      cat > conftest.c << _LT_EOF
7579
int main() { return 0;}
7580
_LT_EOF
7581
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7582
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7583
      _lt_result=$?
7584
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7585
        lt_cv_ld_force_load=yes
7586
      else
7587
        cat conftest.err >&5
7588
      fi
7589
        rm -f conftest.err libconftest.a conftest conftest.c
7590
        rm -rf conftest.dSYM
7591
 
7592
fi
7593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7594
$as_echo "$lt_cv_ld_force_load" >&6; }
7595
    case $host_os in
7596
    rhapsody* | darwin1.[012])
7597
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7598
    darwin1.*)
7599
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7600
    darwin*) # darwin 5.x on
7601
      # if running on 10.5 or later, the deployment target defaults
7602
      # to the OS version, if on x86, and 10.4, the deployment
7603
      # target defaults to 10.4. Don't you love it?
7604
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7605
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7606
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7607
        10.[012]*)
7608
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7609
        10.*)
7610
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7611
      esac
7612
    ;;
7613
  esac
7614
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7615
      _lt_dar_single_mod='$single_module'
7616
    fi
7617
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7618
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7619
    else
7620
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7621
    fi
7622
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7623
      _lt_dsymutil='~$DSYMUTIL $lib || :'
7624
    else
7625
      _lt_dsymutil=
7626
    fi
7627
    ;;
7628
  esac
7629
 
7630
for ac_header in dlfcn.h
7631
do :
7632
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7633
"
7634
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7635
  cat >>confdefs.h <<_ACEOF
7636
#define HAVE_DLFCN_H 1
7637
_ACEOF
7638
 
7639
fi
7640
 
7641
done
7642
 
7643
 
7644
 
7645
 
7646
 
7647
# Set options
7648
 
7649
 
7650
 
7651
        enable_dlopen=no
7652
 
7653
 
7654
  enable_win32_dll=no
7655
 
7656
 
7657
            # Check whether --enable-shared was given.
7658
if test "${enable_shared+set}" = set; then :
7659
  enableval=$enable_shared; p=${PACKAGE-default}
7660
    case $enableval in
7661
    yes) enable_shared=yes ;;
7662
    no) enable_shared=no ;;
7663
    *)
7664
      enable_shared=no
7665
      # Look at the argument we got.  We use all the common list separators.
7666
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7667
      for pkg in $enableval; do
7668
        IFS="$lt_save_ifs"
7669
        if test "X$pkg" = "X$p"; then
7670
          enable_shared=yes
7671
        fi
7672
      done
7673
      IFS="$lt_save_ifs"
7674
      ;;
7675
    esac
7676
else
7677
  enable_shared=yes
7678
fi
7679
 
7680
 
7681
 
7682
 
7683
 
7684
 
7685
 
7686
 
7687
 
7688
  # Check whether --enable-static was given.
7689
if test "${enable_static+set}" = set; then :
7690
  enableval=$enable_static; p=${PACKAGE-default}
7691
    case $enableval in
7692
    yes) enable_static=yes ;;
7693
    no) enable_static=no ;;
7694
    *)
7695
     enable_static=no
7696
      # Look at the argument we got.  We use all the common list separators.
7697
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7698
      for pkg in $enableval; do
7699
        IFS="$lt_save_ifs"
7700
        if test "X$pkg" = "X$p"; then
7701
          enable_static=yes
7702
        fi
7703
      done
7704
      IFS="$lt_save_ifs"
7705
      ;;
7706
    esac
7707
else
7708
  enable_static=yes
7709
fi
7710
 
7711
 
7712
 
7713
 
7714
 
7715
 
7716
 
7717
 
7718
 
7719
 
7720
# Check whether --with-pic was given.
7721
if test "${with_pic+set}" = set; then :
7722
  withval=$with_pic; pic_mode="$withval"
7723
else
7724
  pic_mode=default
7725
fi
7726
 
7727
 
7728
test -z "$pic_mode" && pic_mode=default
7729
 
7730
 
7731
 
7732
 
7733
 
7734
 
7735
 
7736
  # Check whether --enable-fast-install was given.
7737
if test "${enable_fast_install+set}" = set; then :
7738
  enableval=$enable_fast_install; p=${PACKAGE-default}
7739
    case $enableval in
7740
    yes) enable_fast_install=yes ;;
7741
    no) enable_fast_install=no ;;
7742
    *)
7743
      enable_fast_install=no
7744
      # Look at the argument we got.  We use all the common list separators.
7745
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7746
      for pkg in $enableval; do
7747
        IFS="$lt_save_ifs"
7748
        if test "X$pkg" = "X$p"; then
7749
          enable_fast_install=yes
7750
        fi
7751
      done
7752
      IFS="$lt_save_ifs"
7753
      ;;
7754
    esac
7755
else
7756
  enable_fast_install=yes
7757
fi
7758
 
7759
 
7760
 
7761
 
7762
 
7763
 
7764
 
7765
 
7766
 
7767
 
7768
 
7769
# This can be used to rebuild libtool when needed
7770
LIBTOOL_DEPS="$ltmain"
7771
 
7772
# Always use our own libtool.
7773
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7774
 
7775
 
7776
 
7777
 
7778
 
7779
 
7780
 
7781
 
7782
 
7783
 
7784
 
7785
 
7786
 
7787
 
7788
 
7789
 
7790
 
7791
 
7792
 
7793
 
7794
 
7795
 
7796
 
7797
 
7798
 
7799
 
7800
test -z "$LN_S" && LN_S="ln -s"
7801
 
7802
 
7803
 
7804
 
7805
 
7806
 
7807
 
7808
 
7809
 
7810
 
7811
 
7812
 
7813
 
7814
 
7815
if test -n "${ZSH_VERSION+set}" ; then
7816
   setopt NO_GLOB_SUBST
7817
fi
7818
 
7819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7820
$as_echo_n "checking for objdir... " >&6; }
7821
if test "${lt_cv_objdir+set}" = set; then :
7822
  $as_echo_n "(cached) " >&6
7823
else
7824
  rm -f .libs 2>/dev/null
7825
mkdir .libs 2>/dev/null
7826
if test -d .libs; then
7827
  lt_cv_objdir=.libs
7828
else
7829
  # MS-DOS does not allow filenames that begin with a dot.
7830
  lt_cv_objdir=_libs
7831
fi
7832
rmdir .libs 2>/dev/null
7833
fi
7834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7835
$as_echo "$lt_cv_objdir" >&6; }
7836
objdir=$lt_cv_objdir
7837
 
7838
 
7839
 
7840
 
7841
 
7842
cat >>confdefs.h <<_ACEOF
7843
#define LT_OBJDIR "$lt_cv_objdir/"
7844
_ACEOF
7845
 
7846
 
7847
 
7848
 
7849
case $host_os in
7850
aix3*)
7851
  # AIX sometimes has problems with the GCC collect2 program.  For some
7852
  # reason, if we set the COLLECT_NAMES environment variable, the problems
7853
  # vanish in a puff of smoke.
7854
  if test "X${COLLECT_NAMES+set}" != Xset; then
7855
    COLLECT_NAMES=
7856
    export COLLECT_NAMES
7857
  fi
7858
  ;;
7859
esac
7860
 
7861
# Global variables:
7862
ofile=libtool
7863
can_build_shared=yes
7864
 
7865
# All known linkers require a `.a' archive for static linking (except MSVC,
7866
# which needs '.lib').
7867
libext=a
7868
 
7869
with_gnu_ld="$lt_cv_prog_gnu_ld"
7870
 
7871
old_CC="$CC"
7872
old_CFLAGS="$CFLAGS"
7873
 
7874
# Set sane defaults for various variables
7875
test -z "$CC" && CC=cc
7876
test -z "$LTCC" && LTCC=$CC
7877
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7878
test -z "$LD" && LD=ld
7879
test -z "$ac_objext" && ac_objext=o
7880
 
7881
for cc_temp in $compiler""; do
7882
  case $cc_temp in
7883
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7884
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7885
    \-*) ;;
7886
    *) break;;
7887
  esac
7888
done
7889
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7890
 
7891
 
7892
# Only perform the check for file, if the check method requires it
7893
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7894
case $deplibs_check_method in
7895
file_magic*)
7896
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7897
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7898
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7899
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7900
  $as_echo_n "(cached) " >&6
7901
else
7902
  case $MAGIC_CMD in
7903
[\\/*] |  ?:[\\/]*)
7904
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7905
  ;;
7906
*)
7907
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7908
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7909
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7910
  for ac_dir in $ac_dummy; do
7911
    IFS="$lt_save_ifs"
7912
    test -z "$ac_dir" && ac_dir=.
7913
    if test -f $ac_dir/${ac_tool_prefix}file; then
7914
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7915
      if test -n "$file_magic_test_file"; then
7916
        case $deplibs_check_method in
7917
        "file_magic "*)
7918
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7919
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7920
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7921
            $EGREP "$file_magic_regex" > /dev/null; then
7922
            :
7923
          else
7924
            cat <<_LT_EOF 1>&2
7925
 
7926
*** Warning: the command libtool uses to detect shared libraries,
7927
*** $file_magic_cmd, produces output that libtool cannot recognize.
7928
*** The result is that libtool may fail to recognize shared libraries
7929
*** as such.  This will affect the creation of libtool libraries that
7930
*** depend on shared libraries, but programs linked with such libtool
7931
*** libraries will work regardless of this problem.  Nevertheless, you
7932
*** may want to report the problem to your system manager and/or to
7933
*** bug-libtool@gnu.org
7934
 
7935
_LT_EOF
7936
          fi ;;
7937
        esac
7938
      fi
7939
      break
7940
    fi
7941
  done
7942
  IFS="$lt_save_ifs"
7943
  MAGIC_CMD="$lt_save_MAGIC_CMD"
7944
  ;;
7945
esac
7946
fi
7947
 
7948
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7949
if test -n "$MAGIC_CMD"; then
7950
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7951
$as_echo "$MAGIC_CMD" >&6; }
7952
else
7953
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954
$as_echo "no" >&6; }
7955
fi
7956
 
7957
 
7958
 
7959
 
7960
 
7961
if test -z "$lt_cv_path_MAGIC_CMD"; then
7962
  if test -n "$ac_tool_prefix"; then
7963
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7964
$as_echo_n "checking for file... " >&6; }
7965
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
7966
  $as_echo_n "(cached) " >&6
7967
else
7968
  case $MAGIC_CMD in
7969
[\\/*] |  ?:[\\/]*)
7970
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7971
  ;;
7972
*)
7973
  lt_save_MAGIC_CMD="$MAGIC_CMD"
7974
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7975
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7976
  for ac_dir in $ac_dummy; do
7977
    IFS="$lt_save_ifs"
7978
    test -z "$ac_dir" && ac_dir=.
7979
    if test -f $ac_dir/file; then
7980
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7981
      if test -n "$file_magic_test_file"; then
7982
        case $deplibs_check_method in
7983
        "file_magic "*)
7984
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7985
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7986
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7987
            $EGREP "$file_magic_regex" > /dev/null; then
7988
            :
7989
          else
7990
            cat <<_LT_EOF 1>&2
7991
 
7992
*** Warning: the command libtool uses to detect shared libraries,
7993
*** $file_magic_cmd, produces output that libtool cannot recognize.
7994
*** The result is that libtool may fail to recognize shared libraries
7995
*** as such.  This will affect the creation of libtool libraries that
7996
*** depend on shared libraries, but programs linked with such libtool
7997
*** libraries will work regardless of this problem.  Nevertheless, you
7998
*** may want to report the problem to your system manager and/or to
7999
*** bug-libtool@gnu.org
8000
 
8001
_LT_EOF
8002
          fi ;;
8003
        esac
8004
      fi
8005
      break
8006
    fi
8007
  done
8008
  IFS="$lt_save_ifs"
8009
  MAGIC_CMD="$lt_save_MAGIC_CMD"
8010
  ;;
8011
esac
8012
fi
8013
 
8014
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8015
if test -n "$MAGIC_CMD"; then
8016
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8017
$as_echo "$MAGIC_CMD" >&6; }
8018
else
8019
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020
$as_echo "no" >&6; }
8021
fi
8022
 
8023
 
8024
  else
8025
    MAGIC_CMD=:
8026
  fi
8027
fi
8028
 
8029
  fi
8030
  ;;
8031
esac
8032
 
8033
# Use C for the default configuration in the libtool script
8034
 
8035
lt_save_CC="$CC"
8036
ac_ext=c
8037
ac_cpp='$CPP $CPPFLAGS'
8038
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8039
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8040
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8041
 
8042
 
8043
# Source file extension for C test sources.
8044
ac_ext=c
8045
 
8046
# Object file extension for compiled C test sources.
8047
objext=o
8048
objext=$objext
8049
 
8050
# Code to be used in simple compile tests
8051
lt_simple_compile_test_code="int some_variable = 0;"
8052
 
8053
# Code to be used in simple link tests
8054
lt_simple_link_test_code='int main(){return(0);}'
8055
 
8056
 
8057
 
8058
 
8059
 
8060
 
8061
 
8062
# If no C compiler was specified, use CC.
8063
LTCC=${LTCC-"$CC"}
8064
 
8065
# If no C compiler flags were specified, use CFLAGS.
8066
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8067
 
8068
# Allow CC to be a program name with arguments.
8069
compiler=$CC
8070
 
8071
# Save the default compiler, since it gets overwritten when the other
8072
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8073
compiler_DEFAULT=$CC
8074
 
8075
# save warnings/boilerplate of simple test code
8076
ac_outfile=conftest.$ac_objext
8077
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8078
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8079
_lt_compiler_boilerplate=`cat conftest.err`
8080
$RM conftest*
8081
 
8082
ac_outfile=conftest.$ac_objext
8083
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8084
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8085
_lt_linker_boilerplate=`cat conftest.err`
8086
$RM -r conftest*
8087
 
8088
 
8089
## CAVEAT EMPTOR:
8090
## There is no encapsulation within the following macros, do not change
8091
## the running order or otherwise move them around unless you know exactly
8092
## what you are doing...
8093
if test -n "$compiler"; then
8094
 
8095
lt_prog_compiler_no_builtin_flag=
8096
 
8097
if test "$GCC" = yes; then
8098
  case $cc_basename in
8099
  nvcc*)
8100
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8101
  *)
8102
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8103
  esac
8104
 
8105
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8106
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8107
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8108
  $as_echo_n "(cached) " >&6
8109
else
8110
  lt_cv_prog_compiler_rtti_exceptions=no
8111
   ac_outfile=conftest.$ac_objext
8112
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8113
   lt_compiler_flag="-fno-rtti -fno-exceptions"
8114
   # Insert the option either (1) after the last *FLAGS variable, or
8115
   # (2) before a word containing "conftest.", or (3) at the end.
8116
   # Note that $ac_compile itself does not contain backslashes and begins
8117
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8118
   # The option is referenced via a variable to avoid confusing sed.
8119
   lt_compile=`echo "$ac_compile" | $SED \
8120
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8121
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8122
   -e 's:$: $lt_compiler_flag:'`
8123
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8124
   (eval "$lt_compile" 2>conftest.err)
8125
   ac_status=$?
8126
   cat conftest.err >&5
8127
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8128
   if (exit $ac_status) && test -s "$ac_outfile"; then
8129
     # The compiler can only warn and ignore the option if not recognized
8130
     # So say no if there are warnings other than the usual output.
8131
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8132
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8133
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8134
       lt_cv_prog_compiler_rtti_exceptions=yes
8135
     fi
8136
   fi
8137
   $RM conftest*
8138
 
8139
fi
8140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8141
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8142
 
8143
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8144
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8145
else
8146
    :
8147
fi
8148
 
8149
fi
8150
 
8151
 
8152
 
8153
 
8154
 
8155
 
8156
  lt_prog_compiler_wl=
8157
lt_prog_compiler_pic=
8158
lt_prog_compiler_static=
8159
 
8160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8161
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8162
 
8163
  if test "$GCC" = yes; then
8164
    lt_prog_compiler_wl='-Wl,'
8165
    lt_prog_compiler_static='-static'
8166
 
8167
    case $host_os in
8168
      aix*)
8169
      # All AIX code is PIC.
8170
      if test "$host_cpu" = ia64; then
8171
        # AIX 5 now supports IA64 processor
8172
        lt_prog_compiler_static='-Bstatic'
8173
      fi
8174
      ;;
8175
 
8176
    amigaos*)
8177
      case $host_cpu in
8178
      powerpc)
8179
            # see comment about AmigaOS4 .so support
8180
            lt_prog_compiler_pic='-fPIC'
8181
        ;;
8182
      m68k)
8183
            # FIXME: we need at least 68020 code to build shared libraries, but
8184
            # adding the `-m68020' flag to GCC prevents building anything better,
8185
            # like `-m68040'.
8186
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8187
        ;;
8188
      esac
8189
      ;;
8190
 
8191
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8192
      # PIC is the default for these OSes.
8193
      ;;
8194
 
8195
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8196
      # This hack is so that the source file can tell whether it is being
8197
      # built for inclusion in a dll (and should export symbols for example).
8198
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8199
      # (--disable-auto-import) libraries
8200
      lt_prog_compiler_pic='-DDLL_EXPORT'
8201
      ;;
8202
 
8203
    darwin* | rhapsody*)
8204
      # PIC is the default on this platform
8205
      # Common symbols not allowed in MH_DYLIB files
8206
      lt_prog_compiler_pic='-fno-common'
8207
      ;;
8208
 
8209
    haiku*)
8210
      # PIC is the default for Haiku.
8211
      # The "-static" flag exists, but is broken.
8212
      lt_prog_compiler_static=
8213
      ;;
8214
 
8215
    hpux*)
8216
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8217
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8218
      # sets the default TLS model and affects inlining.
8219
      case $host_cpu in
8220
      hppa*64*)
8221
        # +Z the default
8222
        ;;
8223
      *)
8224
        lt_prog_compiler_pic='-fPIC'
8225
        ;;
8226
      esac
8227
      ;;
8228
 
8229
    interix[3-9]*)
8230
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8231
      # Instead, we relocate shared libraries at runtime.
8232
      ;;
8233
 
8234
    msdosdjgpp*)
8235
      # Just because we use GCC doesn't mean we suddenly get shared libraries
8236
      # on systems that don't support them.
8237
      lt_prog_compiler_can_build_shared=no
8238
      enable_shared=no
8239
      ;;
8240
 
8241
    *nto* | *qnx*)
8242
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8243
      # it will coredump.
8244
      lt_prog_compiler_pic='-fPIC -shared'
8245
      ;;
8246
 
8247
    sysv4*MP*)
8248
      if test -d /usr/nec; then
8249
        lt_prog_compiler_pic=-Kconform_pic
8250
      fi
8251
      ;;
8252
 
8253
    *)
8254
      lt_prog_compiler_pic='-fPIC'
8255
      ;;
8256
    esac
8257
 
8258
    case $cc_basename in
8259
    nvcc*) # Cuda Compiler Driver 2.2
8260
      lt_prog_compiler_wl='-Xlinker '
8261
      lt_prog_compiler_pic='-Xcompiler -fPIC'
8262
      ;;
8263
    esac
8264
  else
8265
    # PORTME Check for flag to pass linker flags through the system compiler.
8266
    case $host_os in
8267
    aix*)
8268
      lt_prog_compiler_wl='-Wl,'
8269
      if test "$host_cpu" = ia64; then
8270
        # AIX 5 now supports IA64 processor
8271
        lt_prog_compiler_static='-Bstatic'
8272
      else
8273
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8274
      fi
8275
      ;;
8276
 
8277
    mingw* | cygwin* | pw32* | os2* | cegcc*)
8278
      # This hack is so that the source file can tell whether it is being
8279
      # built for inclusion in a dll (and should export symbols for example).
8280
      lt_prog_compiler_pic='-DDLL_EXPORT'
8281
      ;;
8282
 
8283
    hpux9* | hpux10* | hpux11*)
8284
      lt_prog_compiler_wl='-Wl,'
8285
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8286
      # not for PA HP-UX.
8287
      case $host_cpu in
8288
      hppa*64*|ia64*)
8289
        # +Z the default
8290
        ;;
8291
      *)
8292
        lt_prog_compiler_pic='+Z'
8293
        ;;
8294
      esac
8295
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8296
      lt_prog_compiler_static='${wl}-a ${wl}archive'
8297
      ;;
8298
 
8299
    irix5* | irix6* | nonstopux*)
8300
      lt_prog_compiler_wl='-Wl,'
8301
      # PIC (with -KPIC) is the default.
8302
      lt_prog_compiler_static='-non_shared'
8303
      ;;
8304
 
8305
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8306
      case $cc_basename in
8307
      # old Intel for x86_64 which still supported -KPIC.
8308
      ecc*)
8309
        lt_prog_compiler_wl='-Wl,'
8310
        lt_prog_compiler_pic='-KPIC'
8311
        lt_prog_compiler_static='-static'
8312
        ;;
8313
      # icc used to be incompatible with GCC.
8314
      # ICC 10 doesn't accept -KPIC any more.
8315
      icc* | ifort*)
8316
        lt_prog_compiler_wl='-Wl,'
8317
        lt_prog_compiler_pic='-fPIC'
8318
        lt_prog_compiler_static='-static'
8319
        ;;
8320
      # Lahey Fortran 8.1.
8321
      lf95*)
8322
        lt_prog_compiler_wl='-Wl,'
8323
        lt_prog_compiler_pic='--shared'
8324
        lt_prog_compiler_static='--static'
8325
        ;;
8326
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8327
        # Portland Group compilers (*not* the Pentium gcc compiler,
8328
        # which looks to be a dead project)
8329
        lt_prog_compiler_wl='-Wl,'
8330
        lt_prog_compiler_pic='-fpic'
8331
        lt_prog_compiler_static='-Bstatic'
8332
        ;;
8333
      ccc*)
8334
        lt_prog_compiler_wl='-Wl,'
8335
        # All Alpha code is PIC.
8336
        lt_prog_compiler_static='-non_shared'
8337
        ;;
8338
      xl* | bgxl* | bgf* | mpixl*)
8339
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8340
        lt_prog_compiler_wl='-Wl,'
8341
        lt_prog_compiler_pic='-qpic'
8342
        lt_prog_compiler_static='-qstaticlink'
8343
        ;;
8344
      *)
8345
        case `$CC -V 2>&1 | sed 5q` in
8346
        *Sun\ F* | *Sun*Fortran*)
8347
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
8348
          lt_prog_compiler_pic='-KPIC'
8349
          lt_prog_compiler_static='-Bstatic'
8350
          lt_prog_compiler_wl=''
8351
          ;;
8352
        *Sun\ C*)
8353
          # Sun C 5.9
8354
          lt_prog_compiler_pic='-KPIC'
8355
          lt_prog_compiler_static='-Bstatic'
8356
          lt_prog_compiler_wl='-Wl,'
8357
          ;;
8358
        esac
8359
        ;;
8360
      esac
8361
      ;;
8362
 
8363
    newsos6)
8364
      lt_prog_compiler_pic='-KPIC'
8365
      lt_prog_compiler_static='-Bstatic'
8366
      ;;
8367
 
8368
    *nto* | *qnx*)
8369
      # QNX uses GNU C++, but need to define -shared option too, otherwise
8370
      # it will coredump.
8371
      lt_prog_compiler_pic='-fPIC -shared'
8372
      ;;
8373
 
8374
    osf3* | osf4* | osf5*)
8375
      lt_prog_compiler_wl='-Wl,'
8376
      # All OSF/1 code is PIC.
8377
      lt_prog_compiler_static='-non_shared'
8378
      ;;
8379
 
8380
    rdos*)
8381
      lt_prog_compiler_static='-non_shared'
8382
      ;;
8383
 
8384
    solaris*)
8385
      lt_prog_compiler_pic='-KPIC'
8386
      lt_prog_compiler_static='-Bstatic'
8387
      case $cc_basename in
8388
      f77* | f90* | f95*)
8389
        lt_prog_compiler_wl='-Qoption ld ';;
8390
      *)
8391
        lt_prog_compiler_wl='-Wl,';;
8392
      esac
8393
      ;;
8394
 
8395
    sunos4*)
8396
      lt_prog_compiler_wl='-Qoption ld '
8397
      lt_prog_compiler_pic='-PIC'
8398
      lt_prog_compiler_static='-Bstatic'
8399
      ;;
8400
 
8401
    sysv4 | sysv4.2uw2* | sysv4.3*)
8402
      lt_prog_compiler_wl='-Wl,'
8403
      lt_prog_compiler_pic='-KPIC'
8404
      lt_prog_compiler_static='-Bstatic'
8405
      ;;
8406
 
8407
    sysv4*MP*)
8408
      if test -d /usr/nec ;then
8409
        lt_prog_compiler_pic='-Kconform_pic'
8410
        lt_prog_compiler_static='-Bstatic'
8411
      fi
8412
      ;;
8413
 
8414
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8415
      lt_prog_compiler_wl='-Wl,'
8416
      lt_prog_compiler_pic='-KPIC'
8417
      lt_prog_compiler_static='-Bstatic'
8418
      ;;
8419
 
8420
    unicos*)
8421
      lt_prog_compiler_wl='-Wl,'
8422
      lt_prog_compiler_can_build_shared=no
8423
      ;;
8424
 
8425
    uts4*)
8426
      lt_prog_compiler_pic='-pic'
8427
      lt_prog_compiler_static='-Bstatic'
8428
      ;;
8429
 
8430
    *)
8431
      lt_prog_compiler_can_build_shared=no
8432
      ;;
8433
    esac
8434
  fi
8435
 
8436
case $host_os in
8437
  # For platforms which do not support PIC, -DPIC is meaningless:
8438
  *djgpp*)
8439
    lt_prog_compiler_pic=
8440
    ;;
8441
  *)
8442
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8443
    ;;
8444
esac
8445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8446
$as_echo "$lt_prog_compiler_pic" >&6; }
8447
 
8448
 
8449
 
8450
 
8451
 
8452
 
8453
#
8454
# Check to make sure the PIC flag actually works.
8455
#
8456
if test -n "$lt_prog_compiler_pic"; then
8457
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8458
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8459
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8460
  $as_echo_n "(cached) " >&6
8461
else
8462
  lt_cv_prog_compiler_pic_works=no
8463
   ac_outfile=conftest.$ac_objext
8464
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8465
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8466
   # Insert the option either (1) after the last *FLAGS variable, or
8467
   # (2) before a word containing "conftest.", or (3) at the end.
8468
   # Note that $ac_compile itself does not contain backslashes and begins
8469
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8470
   # The option is referenced via a variable to avoid confusing sed.
8471
   lt_compile=`echo "$ac_compile" | $SED \
8472
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8473
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8474
   -e 's:$: $lt_compiler_flag:'`
8475
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8476
   (eval "$lt_compile" 2>conftest.err)
8477
   ac_status=$?
8478
   cat conftest.err >&5
8479
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480
   if (exit $ac_status) && test -s "$ac_outfile"; then
8481
     # The compiler can only warn and ignore the option if not recognized
8482
     # So say no if there are warnings other than the usual output.
8483
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8484
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8485
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8486
       lt_cv_prog_compiler_pic_works=yes
8487
     fi
8488
   fi
8489
   $RM conftest*
8490
 
8491
fi
8492
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8493
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8494
 
8495
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8496
    case $lt_prog_compiler_pic in
8497
     "" | " "*) ;;
8498
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8499
     esac
8500
else
8501
    lt_prog_compiler_pic=
8502
     lt_prog_compiler_can_build_shared=no
8503
fi
8504
 
8505
fi
8506
 
8507
 
8508
 
8509
 
8510
 
8511
 
8512
#
8513
# Check to make sure the static flag actually works.
8514
#
8515
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8517
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8518
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8519
  $as_echo_n "(cached) " >&6
8520
else
8521
  lt_cv_prog_compiler_static_works=no
8522
   save_LDFLAGS="$LDFLAGS"
8523
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8524
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8525
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8526
     # The linker can only warn and ignore the option if not recognized
8527
     # So say no if there are warnings
8528
     if test -s conftest.err; then
8529
       # Append any errors to the config.log.
8530
       cat conftest.err 1>&5
8531
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8532
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8533
       if diff conftest.exp conftest.er2 >/dev/null; then
8534
         lt_cv_prog_compiler_static_works=yes
8535
       fi
8536
     else
8537
       lt_cv_prog_compiler_static_works=yes
8538
     fi
8539
   fi
8540
   $RM -r conftest*
8541
   LDFLAGS="$save_LDFLAGS"
8542
 
8543
fi
8544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8545
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8546
 
8547
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8548
    :
8549
else
8550
    lt_prog_compiler_static=
8551
fi
8552
 
8553
 
8554
 
8555
 
8556
 
8557
 
8558
 
8559
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8560
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8561
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8562
  $as_echo_n "(cached) " >&6
8563
else
8564
  lt_cv_prog_compiler_c_o=no
8565
   $RM -r conftest 2>/dev/null
8566
   mkdir conftest
8567
   cd conftest
8568
   mkdir out
8569
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8570
 
8571
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8572
   # Insert the option either (1) after the last *FLAGS variable, or
8573
   # (2) before a word containing "conftest.", or (3) at the end.
8574
   # Note that $ac_compile itself does not contain backslashes and begins
8575
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8576
   lt_compile=`echo "$ac_compile" | $SED \
8577
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8578
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8579
   -e 's:$: $lt_compiler_flag:'`
8580
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8581
   (eval "$lt_compile" 2>out/conftest.err)
8582
   ac_status=$?
8583
   cat out/conftest.err >&5
8584
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8585
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8586
   then
8587
     # The compiler can only warn and ignore the option if not recognized
8588
     # So say no if there are warnings
8589
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8590
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8591
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8592
       lt_cv_prog_compiler_c_o=yes
8593
     fi
8594
   fi
8595
   chmod u+w . 2>&5
8596
   $RM conftest*
8597
   # SGI C++ compiler will create directory out/ii_files/ for
8598
   # template instantiation
8599
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8600
   $RM out/* && rmdir out
8601
   cd ..
8602
   $RM -r conftest
8603
   $RM conftest*
8604
 
8605
fi
8606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8607
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8608
 
8609
 
8610
 
8611
 
8612
 
8613
 
8614
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8615
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8616
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8617
  $as_echo_n "(cached) " >&6
8618
else
8619
  lt_cv_prog_compiler_c_o=no
8620
   $RM -r conftest 2>/dev/null
8621
   mkdir conftest
8622
   cd conftest
8623
   mkdir out
8624
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8625
 
8626
   lt_compiler_flag="-o out/conftest2.$ac_objext"
8627
   # Insert the option either (1) after the last *FLAGS variable, or
8628
   # (2) before a word containing "conftest.", or (3) at the end.
8629
   # Note that $ac_compile itself does not contain backslashes and begins
8630
   # with a dollar sign (not a hyphen), so the echo should work correctly.
8631
   lt_compile=`echo "$ac_compile" | $SED \
8632
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8633
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8634
   -e 's:$: $lt_compiler_flag:'`
8635
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8636
   (eval "$lt_compile" 2>out/conftest.err)
8637
   ac_status=$?
8638
   cat out/conftest.err >&5
8639
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8641
   then
8642
     # The compiler can only warn and ignore the option if not recognized
8643
     # So say no if there are warnings
8644
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8645
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8646
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8647
       lt_cv_prog_compiler_c_o=yes
8648
     fi
8649
   fi
8650
   chmod u+w . 2>&5
8651
   $RM conftest*
8652
   # SGI C++ compiler will create directory out/ii_files/ for
8653
   # template instantiation
8654
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8655
   $RM out/* && rmdir out
8656
   cd ..
8657
   $RM -r conftest
8658
   $RM conftest*
8659
 
8660
fi
8661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8662
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8663
 
8664
 
8665
 
8666
 
8667
hard_links="nottested"
8668
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8669
  # do not overwrite the value of need_locks provided by the user
8670
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8671
$as_echo_n "checking if we can lock with hard links... " >&6; }
8672
  hard_links=yes
8673
  $RM conftest*
8674
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8675
  touch conftest.a
8676
  ln conftest.a conftest.b 2>&5 || hard_links=no
8677
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8678
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8679
$as_echo "$hard_links" >&6; }
8680
  if test "$hard_links" = no; then
8681
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8682
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8683
    need_locks=warn
8684
  fi
8685
else
8686
  need_locks=no
8687
fi
8688
 
8689
 
8690
 
8691
 
8692
 
8693
 
8694
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8695
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8696
 
8697
  runpath_var=
8698
  allow_undefined_flag=
8699
  always_export_symbols=no
8700
  archive_cmds=
8701
  archive_expsym_cmds=
8702
  compiler_needs_object=no
8703
  enable_shared_with_static_runtimes=no
8704
  export_dynamic_flag_spec=
8705
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8706
  hardcode_automatic=no
8707
  hardcode_direct=no
8708
  hardcode_direct_absolute=no
8709
  hardcode_libdir_flag_spec=
8710
  hardcode_libdir_flag_spec_ld=
8711
  hardcode_libdir_separator=
8712
  hardcode_minus_L=no
8713
  hardcode_shlibpath_var=unsupported
8714
  inherit_rpath=no
8715
  link_all_deplibs=unknown
8716
  module_cmds=
8717
  module_expsym_cmds=
8718
  old_archive_from_new_cmds=
8719
  old_archive_from_expsyms_cmds=
8720
  thread_safe_flag_spec=
8721
  whole_archive_flag_spec=
8722
  # include_expsyms should be a list of space-separated symbols to be *always*
8723
  # included in the symbol list
8724
  include_expsyms=
8725
  # exclude_expsyms can be an extended regexp of symbols to exclude
8726
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8727
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8728
  # as well as any symbol that contains `d'.
8729
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8730
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8731
  # platforms (ab)use it in PIC code, but their linkers get confused if
8732
  # the symbol is explicitly referenced.  Since portable code cannot
8733
  # rely on this symbol name, it's probably fine to never include it in
8734
  # preloaded symbol tables.
8735
  # Exclude shared library initialization/finalization symbols.
8736
  extract_expsyms_cmds=
8737
 
8738
  case $host_os in
8739
  cygwin* | mingw* | pw32* | cegcc*)
8740
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8741
    # When not using gcc, we currently assume that we are using
8742
    # Microsoft Visual C++.
8743
    if test "$GCC" != yes; then
8744
      with_gnu_ld=no
8745
    fi
8746
    ;;
8747
  interix*)
8748
    # we just hope/assume this is gcc and not c89 (= MSVC++)
8749
    with_gnu_ld=yes
8750
    ;;
8751
  openbsd*)
8752
    with_gnu_ld=no
8753
    ;;
8754
  esac
8755
 
8756
  ld_shlibs=yes
8757
 
8758
  # On some targets, GNU ld is compatible enough with the native linker
8759
  # that we're better off using the native interface for both.
8760
  lt_use_gnu_ld_interface=no
8761
  if test "$with_gnu_ld" = yes; then
8762
    case $host_os in
8763
      aix*)
8764
        # The AIX port of GNU ld has always aspired to compatibility
8765
        # with the native linker.  However, as the warning in the GNU ld
8766
        # block says, versions before 2.19.5* couldn't really create working
8767
        # shared libraries, regardless of the interface used.
8768
        case `$LD -v 2>&1` in
8769
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8770
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8771
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8772
          *)
8773
            lt_use_gnu_ld_interface=yes
8774
            ;;
8775
        esac
8776
        ;;
8777
      *)
8778
        lt_use_gnu_ld_interface=yes
8779
        ;;
8780
    esac
8781
  fi
8782
 
8783
  if test "$lt_use_gnu_ld_interface" = yes; then
8784
    # If archive_cmds runs LD, not CC, wlarc should be empty
8785
    wlarc='${wl}'
8786
 
8787
    # Set some defaults for GNU ld with shared library support. These
8788
    # are reset later if shared libraries are not supported. Putting them
8789
    # here allows them to be overridden if necessary.
8790
    runpath_var=LD_RUN_PATH
8791
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8792
    export_dynamic_flag_spec='${wl}--export-dynamic'
8793
    # ancient GNU ld didn't support --whole-archive et. al.
8794
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8795
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8796
    else
8797
      whole_archive_flag_spec=
8798
    fi
8799
    supports_anon_versioning=no
8800
    case `$LD -v 2>&1` in
8801
      *GNU\ gold*) supports_anon_versioning=yes ;;
8802
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8803
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8804
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8805
      *\ 2.11.*) ;; # other 2.11 versions
8806
      *) supports_anon_versioning=yes ;;
8807
    esac
8808
 
8809
    # See if GNU ld supports shared libraries.
8810
    case $host_os in
8811
    aix[3-9]*)
8812
      # On AIX/PPC, the GNU linker is very broken
8813
      if test "$host_cpu" != ia64; then
8814
        ld_shlibs=no
8815
        cat <<_LT_EOF 1>&2
8816
 
8817
*** Warning: the GNU linker, at least up to release 2.19, is reported
8818
*** to be unable to reliably create shared libraries on AIX.
8819
*** Therefore, libtool is disabling shared libraries support.  If you
8820
*** really care for shared libraries, you may want to install binutils
8821
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8822
*** You will then need to restart the configuration process.
8823
 
8824
_LT_EOF
8825
      fi
8826
      ;;
8827
 
8828
    amigaos*)
8829
      case $host_cpu in
8830
      powerpc)
8831
            # see comment about AmigaOS4 .so support
8832
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8833
            archive_expsym_cmds=''
8834
        ;;
8835
      m68k)
8836
            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)'
8837
            hardcode_libdir_flag_spec='-L$libdir'
8838
            hardcode_minus_L=yes
8839
        ;;
8840
      esac
8841
      ;;
8842
 
8843
    beos*)
8844
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8845
        allow_undefined_flag=unsupported
8846
        # Joseph Beckenbach  says some releases of gcc
8847
        # support --undefined.  This deserves some investigation.  FIXME
8848
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8849
      else
8850
        ld_shlibs=no
8851
      fi
8852
      ;;
8853
 
8854
    cygwin* | mingw* | pw32* | cegcc*)
8855
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8856
      # as there is no search path for DLLs.
8857
      hardcode_libdir_flag_spec='-L$libdir'
8858
      export_dynamic_flag_spec='${wl}--export-all-symbols'
8859
      allow_undefined_flag=unsupported
8860
      always_export_symbols=no
8861
      enable_shared_with_static_runtimes=yes
8862
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8863
 
8864
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8865
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8866
        # If the export-symbols file already is a .def file (1st line
8867
        # is EXPORTS), use it as is; otherwise, prepend...
8868
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8869
          cp $export_symbols $output_objdir/$soname.def;
8870
        else
8871
          echo EXPORTS > $output_objdir/$soname.def;
8872
          cat $export_symbols >> $output_objdir/$soname.def;
8873
        fi~
8874
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8875
      else
8876
        ld_shlibs=no
8877
      fi
8878
      ;;
8879
 
8880
    haiku*)
8881
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8882
      link_all_deplibs=yes
8883
      ;;
8884
 
8885
    interix[3-9]*)
8886
      hardcode_direct=no
8887
      hardcode_shlibpath_var=no
8888
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8889
      export_dynamic_flag_spec='${wl}-E'
8890
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8891
      # Instead, shared libraries are loaded at an image base (0x10000000 by
8892
      # default) and relocated if they conflict, which is a slow very memory
8893
      # consuming and fragmenting process.  To avoid this, we pick a random,
8894
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8895
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8896
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8897
      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'
8898
      ;;
8899
 
8900
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8901
      tmp_diet=no
8902
      if test "$host_os" = linux-dietlibc; then
8903
        case $cc_basename in
8904
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
8905
        esac
8906
      fi
8907
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8908
         && test "$tmp_diet" = no
8909
      then
8910
        tmp_addflag=
8911
        tmp_sharedflag='-shared'
8912
        case $cc_basename,$host_cpu in
8913
        pgcc*)                          # Portland Group C compiler
8914
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8915
          tmp_addflag=' $pic_flag'
8916
          ;;
8917
        pgf77* | pgf90* | pgf95* | pgfortran*)
8918
                                        # Portland Group f77 and f90 compilers
8919
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8920
          tmp_addflag=' $pic_flag -Mnomain' ;;
8921
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
8922
          tmp_addflag=' -i_dynamic' ;;
8923
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
8924
          tmp_addflag=' -i_dynamic -nofor_main' ;;
8925
        ifc* | ifort*)                  # Intel Fortran compiler
8926
          tmp_addflag=' -nofor_main' ;;
8927
        lf95*)                          # Lahey Fortran 8.1
8928
          whole_archive_flag_spec=
8929
          tmp_sharedflag='--shared' ;;
8930
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8931
          tmp_sharedflag='-qmkshrobj'
8932
          tmp_addflag= ;;
8933
        nvcc*)  # Cuda Compiler Driver 2.2
8934
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8935
          compiler_needs_object=yes
8936
          ;;
8937
        esac
8938
        case `$CC -V 2>&1 | sed 5q` in
8939
        *Sun\ C*)                       # Sun C 5.9
8940
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8941
          compiler_needs_object=yes
8942
          tmp_sharedflag='-G' ;;
8943
        *Sun\ F*)                       # Sun Fortran 8.3
8944
          tmp_sharedflag='-G' ;;
8945
        esac
8946
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8947
 
8948
        if test "x$supports_anon_versioning" = xyes; then
8949
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8950
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8951
            echo "local: *; };" >> $output_objdir/$libname.ver~
8952
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8953
        fi
8954
 
8955
        case $cc_basename in
8956
        xlf* | bgf* | bgxlf* | mpixlf*)
8957
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8958
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8959
          hardcode_libdir_flag_spec=
8960
          hardcode_libdir_flag_spec_ld='-rpath $libdir'
8961
          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8962
          if test "x$supports_anon_versioning" = xyes; then
8963
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8964
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8965
              echo "local: *; };" >> $output_objdir/$libname.ver~
8966
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8967
          fi
8968
          ;;
8969
        esac
8970
      else
8971
        ld_shlibs=no
8972
      fi
8973
      ;;
8974
 
8975
    netbsd*)
8976
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8977
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8978
        wlarc=
8979
      else
8980
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8981
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8982
      fi
8983
      ;;
8984
 
8985
    solaris*)
8986
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8987
        ld_shlibs=no
8988
        cat <<_LT_EOF 1>&2
8989
 
8990
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8991
*** create shared libraries on Solaris systems.  Therefore, libtool
8992
*** is disabling shared libraries support.  We urge you to upgrade GNU
8993
*** binutils to release 2.9.1 or newer.  Another option is to modify
8994
*** your PATH or compiler configuration so that the native linker is
8995
*** used, and then restart.
8996
 
8997
_LT_EOF
8998
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8999
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9000
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9001
      else
9002
        ld_shlibs=no
9003
      fi
9004
      ;;
9005
 
9006
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9007
      case `$LD -v 2>&1` in
9008
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9009
        ld_shlibs=no
9010
        cat <<_LT_EOF 1>&2
9011
 
9012
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9013
*** reliably create shared libraries on SCO systems.  Therefore, libtool
9014
*** is disabling shared libraries support.  We urge you to upgrade GNU
9015
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9016
*** your PATH or compiler configuration so that the native linker is
9017
*** used, and then restart.
9018
 
9019
_LT_EOF
9020
        ;;
9021
        *)
9022
          # For security reasons, it is highly recommended that you always
9023
          # use absolute paths for naming shared libraries, and exclude the
9024
          # DT_RUNPATH tag from executables and libraries.  But doing so
9025
          # requires that you compile everything twice, which is a pain.
9026
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9027
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9028
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9029
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9030
          else
9031
            ld_shlibs=no
9032
          fi
9033
        ;;
9034
      esac
9035
      ;;
9036
 
9037
    sunos4*)
9038
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9039
      wlarc=
9040
      hardcode_direct=yes
9041
      hardcode_shlibpath_var=no
9042
      ;;
9043
 
9044
    *)
9045
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9046
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9047
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9048
      else
9049
        ld_shlibs=no
9050
      fi
9051
      ;;
9052
    esac
9053
 
9054
    if test "$ld_shlibs" = no; then
9055
      runpath_var=
9056
      hardcode_libdir_flag_spec=
9057
      export_dynamic_flag_spec=
9058
      whole_archive_flag_spec=
9059
    fi
9060
  else
9061
    # PORTME fill in a description of your system's linker (not GNU ld)
9062
    case $host_os in
9063
    aix3*)
9064
      allow_undefined_flag=unsupported
9065
      always_export_symbols=yes
9066
      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'
9067
      # Note: this linker hardcodes the directories in LIBPATH if there
9068
      # are no directories specified by -L.
9069
      hardcode_minus_L=yes
9070
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9071
        # Neither direct hardcoding nor static linking is supported with a
9072
        # broken collect2.
9073
        hardcode_direct=unsupported
9074
      fi
9075
      ;;
9076
 
9077
    aix[4-9]*)
9078
      if test "$host_cpu" = ia64; then
9079
        # On IA64, the linker does run time linking by default, so we don't
9080
        # have to do anything special.
9081
        aix_use_runtimelinking=no
9082
        exp_sym_flag='-Bexport'
9083
        no_entry_flag=""
9084
      else
9085
        # If we're using GNU nm, then we don't want the "-C" option.
9086
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
9087
        # Also, AIX nm treats weak defined symbols like other global
9088
        # defined symbols, whereas GNU nm marks them as "W".
9089
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9090
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9091
        else
9092
          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'
9093
        fi
9094
        aix_use_runtimelinking=no
9095
 
9096
        # Test if we are trying to use run time linking or normal
9097
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9098
        # need to do runtime linking.
9099
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9100
          for ld_flag in $LDFLAGS; do
9101
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9102
            aix_use_runtimelinking=yes
9103
            break
9104
          fi
9105
          done
9106
          ;;
9107
        esac
9108
 
9109
        exp_sym_flag='-bexport'
9110
        no_entry_flag='-bnoentry'
9111
      fi
9112
 
9113
      # When large executables or shared objects are built, AIX ld can
9114
      # have problems creating the table of contents.  If linking a library
9115
      # or program results in "error TOC overflow" add -mminimal-toc to
9116
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9117
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9118
 
9119
      archive_cmds=''
9120
      hardcode_direct=yes
9121
      hardcode_direct_absolute=yes
9122
      hardcode_libdir_separator=':'
9123
      link_all_deplibs=yes
9124
      file_list_spec='${wl}-f,'
9125
 
9126
      if test "$GCC" = yes; then
9127
        case $host_os in aix4.[012]|aix4.[012].*)
9128
        # We only want to do this on AIX 4.2 and lower, the check
9129
        # below for broken collect2 doesn't work under 4.3+
9130
          collect2name=`${CC} -print-prog-name=collect2`
9131
          if test -f "$collect2name" &&
9132
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9133
          then
9134
          # We have reworked collect2
9135
          :
9136
          else
9137
          # We have old collect2
9138
          hardcode_direct=unsupported
9139
          # It fails to find uninstalled libraries when the uninstalled
9140
          # path is not listed in the libpath.  Setting hardcode_minus_L
9141
          # to unsupported forces relinking
9142
          hardcode_minus_L=yes
9143
          hardcode_libdir_flag_spec='-L$libdir'
9144
          hardcode_libdir_separator=
9145
          fi
9146
          ;;
9147
        esac
9148
        shared_flag='-shared'
9149
        if test "$aix_use_runtimelinking" = yes; then
9150
          shared_flag="$shared_flag "'${wl}-G'
9151
        fi
9152
      else
9153
        # not using gcc
9154
        if test "$host_cpu" = ia64; then
9155
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9156
        # chokes on -Wl,-G. The following line is correct:
9157
          shared_flag='-G'
9158
        else
9159
          if test "$aix_use_runtimelinking" = yes; then
9160
            shared_flag='${wl}-G'
9161
          else
9162
            shared_flag='${wl}-bM:SRE'
9163
          fi
9164
        fi
9165
      fi
9166
 
9167
      export_dynamic_flag_spec='${wl}-bexpall'
9168
      # It seems that -bexpall does not export symbols beginning with
9169
      # underscore (_), so it is better to generate a list of symbols to export.
9170
      always_export_symbols=yes
9171
      if test "$aix_use_runtimelinking" = yes; then
9172
        # Warning - without using the other runtime loading flags (-brtl),
9173
        # -berok will link without error, but may produce a broken library.
9174
        allow_undefined_flag='-berok'
9175
        # Determine the default libpath from the value encoded in an
9176
        # empty executable.
9177
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9178
/* end confdefs.h.  */
9179
 
9180
int
9181
main ()
9182
{
9183
 
9184
  ;
9185
  return 0;
9186
}
9187
_ACEOF
9188
if ac_fn_c_try_link "$LINENO"; then :
9189
 
9190
lt_aix_libpath_sed='
9191
    /Import File Strings/,/^$/ {
9192
        /^0/ {
9193
            s/^0  *\(.*\)$/\1/
9194
            p
9195
        }
9196
    }'
9197
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9198
# Check for a 64-bit object if we didn't find anything.
9199
if test -z "$aix_libpath"; then
9200
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9201
fi
9202
fi
9203
rm -f core conftest.err conftest.$ac_objext \
9204
    conftest$ac_exeext conftest.$ac_ext
9205
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9206
 
9207
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9208
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9209
      else
9210
        if test "$host_cpu" = ia64; then
9211
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9212
          allow_undefined_flag="-z nodefs"
9213
          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"
9214
        else
9215
         # Determine the default libpath from the value encoded in an
9216
         # empty executable.
9217
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9218
/* end confdefs.h.  */
9219
 
9220
int
9221
main ()
9222
{
9223
 
9224
  ;
9225
  return 0;
9226
}
9227
_ACEOF
9228
if ac_fn_c_try_link "$LINENO"; then :
9229
 
9230
lt_aix_libpath_sed='
9231
    /Import File Strings/,/^$/ {
9232
        /^0/ {
9233
            s/^0  *\(.*\)$/\1/
9234
            p
9235
        }
9236
    }'
9237
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9238
# Check for a 64-bit object if we didn't find anything.
9239
if test -z "$aix_libpath"; then
9240
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9241
fi
9242
fi
9243
rm -f core conftest.err conftest.$ac_objext \
9244
    conftest$ac_exeext conftest.$ac_ext
9245
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9246
 
9247
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9248
          # Warning - without using the other run time loading flags,
9249
          # -berok will link without error, but may produce a broken library.
9250
          no_undefined_flag=' ${wl}-bernotok'
9251
          allow_undefined_flag=' ${wl}-berok'
9252
          if test "$with_gnu_ld" = yes; then
9253
            # We only use this code for GNU lds that support --whole-archive.
9254
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9255
          else
9256
            # Exported symbols can be pulled into shared objects from archives
9257
            whole_archive_flag_spec='$convenience'
9258
          fi
9259
          archive_cmds_need_lc=yes
9260
          # This is similar to how AIX traditionally builds its shared libraries.
9261
          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'
9262
        fi
9263
      fi
9264
      ;;
9265
 
9266
    amigaos*)
9267
      case $host_cpu in
9268
      powerpc)
9269
            # see comment about AmigaOS4 .so support
9270
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9271
            archive_expsym_cmds=''
9272
        ;;
9273
      m68k)
9274
            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)'
9275
            hardcode_libdir_flag_spec='-L$libdir'
9276
            hardcode_minus_L=yes
9277
        ;;
9278
      esac
9279
      ;;
9280
 
9281
    bsdi[45]*)
9282
      export_dynamic_flag_spec=-rdynamic
9283
      ;;
9284
 
9285
    cygwin* | mingw* | pw32* | cegcc*)
9286
      # When not using gcc, we currently assume that we are using
9287
      # Microsoft Visual C++.
9288
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9289
      # no search path for DLLs.
9290
      hardcode_libdir_flag_spec=' '
9291
      allow_undefined_flag=unsupported
9292
      # Tell ltmain to make .lib files, not .a files.
9293
      libext=lib
9294
      # Tell ltmain to make .dll files, not .so files.
9295
      shrext_cmds=".dll"
9296
      # FIXME: Setting linknames here is a bad hack.
9297
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9298
      # The linker will automatically build a .lib file if we build a DLL.
9299
      old_archive_from_new_cmds='true'
9300
      # FIXME: Should let the user specify the lib program.
9301
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9302
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9303
      enable_shared_with_static_runtimes=yes
9304
      ;;
9305
 
9306
    darwin* | rhapsody*)
9307
 
9308
 
9309
  archive_cmds_need_lc=no
9310
  hardcode_direct=no
9311
  hardcode_automatic=yes
9312
  hardcode_shlibpath_var=unsupported
9313
  if test "$lt_cv_ld_force_load" = "yes"; then
9314
    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9315
  else
9316
    whole_archive_flag_spec=''
9317
  fi
9318
  link_all_deplibs=yes
9319
  allow_undefined_flag="$_lt_dar_allow_undefined"
9320
  case $cc_basename in
9321
     ifort*) _lt_dar_can_shared=yes ;;
9322
     *) _lt_dar_can_shared=$GCC ;;
9323
  esac
9324
  if test "$_lt_dar_can_shared" = "yes"; then
9325
    output_verbose_link_cmd=func_echo_all
9326
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9327
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9328
    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9329
    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9330
 
9331
  else
9332
  ld_shlibs=no
9333
  fi
9334
 
9335
      ;;
9336
 
9337
    dgux*)
9338
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9339
      hardcode_libdir_flag_spec='-L$libdir'
9340
      hardcode_shlibpath_var=no
9341
      ;;
9342
 
9343
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9344
    # support.  Future versions do this automatically, but an explicit c++rt0.o
9345
    # does not break anything, and helps significantly (at the cost of a little
9346
    # extra space).
9347
    freebsd2.2*)
9348
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9349
      hardcode_libdir_flag_spec='-R$libdir'
9350
      hardcode_direct=yes
9351
      hardcode_shlibpath_var=no
9352
      ;;
9353
 
9354
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9355
    freebsd2*)
9356
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9357
      hardcode_direct=yes
9358
      hardcode_minus_L=yes
9359
      hardcode_shlibpath_var=no
9360
      ;;
9361
 
9362
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9363
    freebsd* | dragonfly*)
9364
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9365
      hardcode_libdir_flag_spec='-R$libdir'
9366
      hardcode_direct=yes
9367
      hardcode_shlibpath_var=no
9368
      ;;
9369
 
9370
    hpux9*)
9371
      if test "$GCC" = yes; then
9372
        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'
9373
      else
9374
        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'
9375
      fi
9376
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9377
      hardcode_libdir_separator=:
9378
      hardcode_direct=yes
9379
 
9380
      # hardcode_minus_L: Not really in the search PATH,
9381
      # but as the default location of the library.
9382
      hardcode_minus_L=yes
9383
      export_dynamic_flag_spec='${wl}-E'
9384
      ;;
9385
 
9386
    hpux10*)
9387
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9388
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9389
      else
9390
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9391
      fi
9392
      if test "$with_gnu_ld" = no; then
9393
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9394
        hardcode_libdir_flag_spec_ld='+b $libdir'
9395
        hardcode_libdir_separator=:
9396
        hardcode_direct=yes
9397
        hardcode_direct_absolute=yes
9398
        export_dynamic_flag_spec='${wl}-E'
9399
        # hardcode_minus_L: Not really in the search PATH,
9400
        # but as the default location of the library.
9401
        hardcode_minus_L=yes
9402
      fi
9403
      ;;
9404
 
9405
    hpux11*)
9406
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9407
        case $host_cpu in
9408
        hppa*64*)
9409
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9410
          ;;
9411
        ia64*)
9412
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9413
          ;;
9414
        *)
9415
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9416
          ;;
9417
        esac
9418
      else
9419
        case $host_cpu in
9420
        hppa*64*)
9421
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9422
          ;;
9423
        ia64*)
9424
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9425
          ;;
9426
        *)
9427
 
9428
          # Older versions of the 11.00 compiler do not understand -b yet
9429
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9430
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9431
$as_echo_n "checking if $CC understands -b... " >&6; }
9432
if test "${lt_cv_prog_compiler__b+set}" = set; then :
9433
  $as_echo_n "(cached) " >&6
9434
else
9435
  lt_cv_prog_compiler__b=no
9436
   save_LDFLAGS="$LDFLAGS"
9437
   LDFLAGS="$LDFLAGS -b"
9438
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9439
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9440
     # The linker can only warn and ignore the option if not recognized
9441
     # So say no if there are warnings
9442
     if test -s conftest.err; then
9443
       # Append any errors to the config.log.
9444
       cat conftest.err 1>&5
9445
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9446
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9447
       if diff conftest.exp conftest.er2 >/dev/null; then
9448
         lt_cv_prog_compiler__b=yes
9449
       fi
9450
     else
9451
       lt_cv_prog_compiler__b=yes
9452
     fi
9453
   fi
9454
   $RM -r conftest*
9455
   LDFLAGS="$save_LDFLAGS"
9456
 
9457
fi
9458
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9459
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9460
 
9461
if test x"$lt_cv_prog_compiler__b" = xyes; then
9462
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9463
else
9464
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9465
fi
9466
 
9467
          ;;
9468
        esac
9469
      fi
9470
      if test "$with_gnu_ld" = no; then
9471
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9472
        hardcode_libdir_separator=:
9473
 
9474
        case $host_cpu in
9475
        hppa*64*|ia64*)
9476
          hardcode_direct=no
9477
          hardcode_shlibpath_var=no
9478
          ;;
9479
        *)
9480
          hardcode_direct=yes
9481
          hardcode_direct_absolute=yes
9482
          export_dynamic_flag_spec='${wl}-E'
9483
 
9484
          # hardcode_minus_L: Not really in the search PATH,
9485
          # but as the default location of the library.
9486
          hardcode_minus_L=yes
9487
          ;;
9488
        esac
9489
      fi
9490
      ;;
9491
 
9492
    irix5* | irix6* | nonstopux*)
9493
      if test "$GCC" = yes; then
9494
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9495
        # Try to use the -exported_symbol ld option, if it does not
9496
        # work, assume that -exports_file does not work either and
9497
        # implicitly export all symbols.
9498
        save_LDFLAGS="$LDFLAGS"
9499
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9500
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9501
/* end confdefs.h.  */
9502
int foo(void) {}
9503
_ACEOF
9504
if ac_fn_c_try_link "$LINENO"; then :
9505
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9506
 
9507
fi
9508
rm -f core conftest.err conftest.$ac_objext \
9509
    conftest$ac_exeext conftest.$ac_ext
9510
        LDFLAGS="$save_LDFLAGS"
9511
      else
9512
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9513
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9514
      fi
9515
      archive_cmds_need_lc='no'
9516
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9517
      hardcode_libdir_separator=:
9518
      inherit_rpath=yes
9519
      link_all_deplibs=yes
9520
      ;;
9521
 
9522
    netbsd*)
9523
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9524
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9525
      else
9526
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9527
      fi
9528
      hardcode_libdir_flag_spec='-R$libdir'
9529
      hardcode_direct=yes
9530
      hardcode_shlibpath_var=no
9531
      ;;
9532
 
9533
    newsos6)
9534
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9535
      hardcode_direct=yes
9536
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9537
      hardcode_libdir_separator=:
9538
      hardcode_shlibpath_var=no
9539
      ;;
9540
 
9541
    *nto* | *qnx*)
9542
      ;;
9543
 
9544
    openbsd*)
9545
      if test -f /usr/libexec/ld.so; then
9546
        hardcode_direct=yes
9547
        hardcode_shlibpath_var=no
9548
        hardcode_direct_absolute=yes
9549
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9550
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9551
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9552
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9553
          export_dynamic_flag_spec='${wl}-E'
9554
        else
9555
          case $host_os in
9556
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9557
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9558
             hardcode_libdir_flag_spec='-R$libdir'
9559
             ;;
9560
           *)
9561
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9562
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9563
             ;;
9564
          esac
9565
        fi
9566
      else
9567
        ld_shlibs=no
9568
      fi
9569
      ;;
9570
 
9571
    os2*)
9572
      hardcode_libdir_flag_spec='-L$libdir'
9573
      hardcode_minus_L=yes
9574
      allow_undefined_flag=unsupported
9575
      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'
9576
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9577
      ;;
9578
 
9579
    osf3*)
9580
      if test "$GCC" = yes; then
9581
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9582
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9583
      else
9584
        allow_undefined_flag=' -expect_unresolved \*'
9585
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9586
      fi
9587
      archive_cmds_need_lc='no'
9588
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9589
      hardcode_libdir_separator=:
9590
      ;;
9591
 
9592
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9593
      if test "$GCC" = yes; then
9594
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9595
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9596
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9597
      else
9598
        allow_undefined_flag=' -expect_unresolved \*'
9599
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9600
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9601
        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9602
 
9603
        # Both c and cxx compiler support -rpath directly
9604
        hardcode_libdir_flag_spec='-rpath $libdir'
9605
      fi
9606
      archive_cmds_need_lc='no'
9607
      hardcode_libdir_separator=:
9608
      ;;
9609
 
9610
    solaris*)
9611
      no_undefined_flag=' -z defs'
9612
      if test "$GCC" = yes; then
9613
        wlarc='${wl}'
9614
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9615
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9616
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9617
      else
9618
        case `$CC -V 2>&1` in
9619
        *"Compilers 5.0"*)
9620
          wlarc=''
9621
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9622
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9623
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9624
          ;;
9625
        *)
9626
          wlarc='${wl}'
9627
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9628
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9629
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9630
          ;;
9631
        esac
9632
      fi
9633
      hardcode_libdir_flag_spec='-R$libdir'
9634
      hardcode_shlibpath_var=no
9635
      case $host_os in
9636
      solaris2.[0-5] | solaris2.[0-5].*) ;;
9637
      *)
9638
        # The compiler driver will combine and reorder linker options,
9639
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
9640
        # but is careful enough not to reorder.
9641
        # Supported since Solaris 2.6 (maybe 2.5.1?)
9642
        if test "$GCC" = yes; then
9643
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9644
        else
9645
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9646
        fi
9647
        ;;
9648
      esac
9649
      link_all_deplibs=yes
9650
      ;;
9651
 
9652
    sunos4*)
9653
      if test "x$host_vendor" = xsequent; then
9654
        # Use $CC to link under sequent, because it throws in some extra .o
9655
        # files that make .init and .fini sections work.
9656
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9657
      else
9658
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9659
      fi
9660
      hardcode_libdir_flag_spec='-L$libdir'
9661
      hardcode_direct=yes
9662
      hardcode_minus_L=yes
9663
      hardcode_shlibpath_var=no
9664
      ;;
9665
 
9666
    sysv4)
9667
      case $host_vendor in
9668
        sni)
9669
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9670
          hardcode_direct=yes # is this really true???
9671
        ;;
9672
        siemens)
9673
          ## LD is ld it makes a PLAMLIB
9674
          ## CC just makes a GrossModule.
9675
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9676
          reload_cmds='$CC -r -o $output$reload_objs'
9677
          hardcode_direct=no
9678
        ;;
9679
        motorola)
9680
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9681
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9682
        ;;
9683
      esac
9684
      runpath_var='LD_RUN_PATH'
9685
      hardcode_shlibpath_var=no
9686
      ;;
9687
 
9688
    sysv4.3*)
9689
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9690
      hardcode_shlibpath_var=no
9691
      export_dynamic_flag_spec='-Bexport'
9692
      ;;
9693
 
9694
    sysv4*MP*)
9695
      if test -d /usr/nec; then
9696
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9697
        hardcode_shlibpath_var=no
9698
        runpath_var=LD_RUN_PATH
9699
        hardcode_runpath_var=yes
9700
        ld_shlibs=yes
9701
      fi
9702
      ;;
9703
 
9704
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9705
      no_undefined_flag='${wl}-z,text'
9706
      archive_cmds_need_lc=no
9707
      hardcode_shlibpath_var=no
9708
      runpath_var='LD_RUN_PATH'
9709
 
9710
      if test "$GCC" = yes; then
9711
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9712
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9713
      else
9714
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9715
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9716
      fi
9717
      ;;
9718
 
9719
    sysv5* | sco3.2v5* | sco5v6*)
9720
      # Note: We can NOT use -z defs as we might desire, because we do not
9721
      # link with -lc, and that would cause any symbols used from libc to
9722
      # always be unresolved, which means just about no library would
9723
      # ever link correctly.  If we're not using GNU ld we use -z text
9724
      # though, which does catch some bad symbols but isn't as heavy-handed
9725
      # as -z defs.
9726
      no_undefined_flag='${wl}-z,text'
9727
      allow_undefined_flag='${wl}-z,nodefs'
9728
      archive_cmds_need_lc=no
9729
      hardcode_shlibpath_var=no
9730
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9731
      hardcode_libdir_separator=':'
9732
      link_all_deplibs=yes
9733
      export_dynamic_flag_spec='${wl}-Bexport'
9734
      runpath_var='LD_RUN_PATH'
9735
 
9736
      if test "$GCC" = yes; then
9737
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9738
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9739
      else
9740
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9741
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9742
      fi
9743
      ;;
9744
 
9745
    uts4*)
9746
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9747
      hardcode_libdir_flag_spec='-L$libdir'
9748
      hardcode_shlibpath_var=no
9749
      ;;
9750
 
9751
    *)
9752
      ld_shlibs=no
9753
      ;;
9754
    esac
9755
 
9756
    if test x$host_vendor = xsni; then
9757
      case $host in
9758
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9759
        export_dynamic_flag_spec='${wl}-Blargedynsym'
9760
        ;;
9761
      esac
9762
    fi
9763
  fi
9764
 
9765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9766
$as_echo "$ld_shlibs" >&6; }
9767
test "$ld_shlibs" = no && can_build_shared=no
9768
 
9769
with_gnu_ld=$with_gnu_ld
9770
 
9771
 
9772
 
9773
 
9774
 
9775
 
9776
 
9777
 
9778
 
9779
 
9780
 
9781
 
9782
 
9783
 
9784
 
9785
#
9786
# Do we need to explicitly link libc?
9787
#
9788
case "x$archive_cmds_need_lc" in
9789
x|xyes)
9790
  # Assume -lc should be added
9791
  archive_cmds_need_lc=yes
9792
 
9793
  if test "$enable_shared" = yes && test "$GCC" = yes; then
9794
    case $archive_cmds in
9795
    *'~'*)
9796
      # FIXME: we may have to deal with multi-command sequences.
9797
      ;;
9798
    '$CC '*)
9799
      # Test whether the compiler implicitly links with -lc since on some
9800
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9801
      # to ld, don't add -lc before -lgcc.
9802
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9803
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9804
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
9805
  $as_echo_n "(cached) " >&6
9806
else
9807
  $RM conftest*
9808
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9809
 
9810
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9811
  (eval $ac_compile) 2>&5
9812
  ac_status=$?
9813
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9814
  test $ac_status = 0; } 2>conftest.err; then
9815
          soname=conftest
9816
          lib=conftest
9817
          libobjs=conftest.$ac_objext
9818
          deplibs=
9819
          wl=$lt_prog_compiler_wl
9820
          pic_flag=$lt_prog_compiler_pic
9821
          compiler_flags=-v
9822
          linker_flags=-v
9823
          verstring=
9824
          output_objdir=.
9825
          libname=conftest
9826
          lt_save_allow_undefined_flag=$allow_undefined_flag
9827
          allow_undefined_flag=
9828
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9829
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9830
  ac_status=$?
9831
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9832
  test $ac_status = 0; }
9833
          then
9834
            lt_cv_archive_cmds_need_lc=no
9835
          else
9836
            lt_cv_archive_cmds_need_lc=yes
9837
          fi
9838
          allow_undefined_flag=$lt_save_allow_undefined_flag
9839
        else
9840
          cat conftest.err 1>&5
9841
        fi
9842
        $RM conftest*
9843
 
9844
fi
9845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9846
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9847
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9848
      ;;
9849
    esac
9850
  fi
9851
  ;;
9852
esac
9853
 
9854
 
9855
 
9856
 
9857
 
9858
 
9859
 
9860
 
9861
 
9862
 
9863
 
9864
 
9865
 
9866
 
9867
 
9868
 
9869
 
9870
 
9871
 
9872
 
9873
 
9874
 
9875
 
9876
 
9877
 
9878
 
9879
 
9880
 
9881
 
9882
 
9883
 
9884
 
9885
 
9886
 
9887
 
9888
 
9889
 
9890
 
9891
 
9892
 
9893
 
9894
 
9895
 
9896
 
9897
 
9898
 
9899
 
9900
 
9901
 
9902
 
9903
 
9904
 
9905
 
9906
 
9907
 
9908
 
9909
 
9910
 
9911
 
9912
 
9913
 
9914
 
9915
 
9916
 
9917
 
9918
 
9919
 
9920
 
9921
 
9922
 
9923
 
9924
 
9925
 
9926
 
9927
 
9928
 
9929
 
9930
 
9931
 
9932
 
9933
 
9934
 
9935
 
9936
 
9937
 
9938
 
9939
 
9940
 
9941
 
9942
 
9943
 
9944
 
9945
 
9946
 
9947
 
9948
 
9949
 
9950
 
9951
 
9952
 
9953
 
9954
 
9955
 
9956
 
9957
 
9958
 
9959
 
9960
 
9961
 
9962
 
9963
 
9964
 
9965
 
9966
 
9967
 
9968
 
9969
 
9970
 
9971
 
9972
 
9973
 
9974
 
9975
 
9976
 
9977
 
9978
 
9979
 
9980
 
9981
 
9982
 
9983
 
9984
 
9985
 
9986
 
9987
 
9988
 
9989
 
9990
 
9991
 
9992
 
9993
 
9994
 
9995
 
9996
 
9997
 
9998
 
9999
 
10000
 
10001
 
10002
 
10003
 
10004
 
10005
 
10006
 
10007
 
10008
 
10009
 
10010
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10011
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10012
 
10013
if test "$GCC" = yes; then
10014
  case $host_os in
10015
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10016
    *) lt_awk_arg="/^libraries:/" ;;
10017
  esac
10018
  case $host_os in
10019
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10020
    *) lt_sed_strip_eq="s,=/,/,g" ;;
10021
  esac
10022
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10023
  case $lt_search_path_spec in
10024
  *\;*)
10025
    # if the path contains ";" then we assume it to be the separator
10026
    # otherwise default to the standard path separator (i.e. ":") - it is
10027
    # assumed that no part of a normal pathname contains ";" but that should
10028
    # okay in the real world where ";" in dirpaths is itself problematic.
10029
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10030
    ;;
10031
  *)
10032
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10033
    ;;
10034
  esac
10035
  # Ok, now we have the path, separated by spaces, we can step through it
10036
  # and add multilib dir if necessary.
10037
  lt_tmp_lt_search_path_spec=
10038
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10039
  for lt_sys_path in $lt_search_path_spec; do
10040
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10041
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10042
    else
10043
      test -d "$lt_sys_path" && \
10044
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10045
    fi
10046
  done
10047
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10048
BEGIN {RS=" "; FS="/|\n";} {
10049
  lt_foo="";
10050
  lt_count=0;
10051
  for (lt_i = NF; lt_i > 0; lt_i--) {
10052
    if ($lt_i != "" && $lt_i != ".") {
10053
      if ($lt_i == "..") {
10054
        lt_count++;
10055
      } else {
10056
        if (lt_count == 0) {
10057
          lt_foo="/" $lt_i lt_foo;
10058
        } else {
10059
          lt_count--;
10060
        }
10061
      }
10062
    }
10063
  }
10064
  if (lt_foo != "") { lt_freq[lt_foo]++; }
10065
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10066
}'`
10067
  # AWK program above erroneously prepends '/' to C:/dos/paths
10068
  # for these hosts.
10069
  case $host_os in
10070
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10071
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10072
  esac
10073
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10074
else
10075
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10076
fi
10077
library_names_spec=
10078
libname_spec='lib$name'
10079
soname_spec=
10080
shrext_cmds=".so"
10081
postinstall_cmds=
10082
postuninstall_cmds=
10083
finish_cmds=
10084
finish_eval=
10085
shlibpath_var=
10086
shlibpath_overrides_runpath=unknown
10087
version_type=none
10088
dynamic_linker="$host_os ld.so"
10089
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10090
need_lib_prefix=unknown
10091
hardcode_into_libs=no
10092
 
10093
# when you set need_version to no, make sure it does not cause -set_version
10094
# flags to be left without arguments
10095
need_version=unknown
10096
 
10097
case $host_os in
10098
aix3*)
10099
  version_type=linux
10100
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10101
  shlibpath_var=LIBPATH
10102
 
10103
  # AIX 3 has no versioning support, so we append a major version to the name.
10104
  soname_spec='${libname}${release}${shared_ext}$major'
10105
  ;;
10106
 
10107
aix[4-9]*)
10108
  version_type=linux
10109
  need_lib_prefix=no
10110
  need_version=no
10111
  hardcode_into_libs=yes
10112
  if test "$host_cpu" = ia64; then
10113
    # AIX 5 supports IA64
10114
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10115
    shlibpath_var=LD_LIBRARY_PATH
10116
  else
10117
    # With GCC up to 2.95.x, collect2 would create an import file
10118
    # for dependence libraries.  The import file would start with
10119
    # the line `#! .'.  This would cause the generated library to
10120
    # depend on `.', always an invalid library.  This was fixed in
10121
    # development snapshots of GCC prior to 3.0.
10122
    case $host_os in
10123
      aix4 | aix4.[01] | aix4.[01].*)
10124
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10125
           echo ' yes '
10126
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10127
        :
10128
      else
10129
        can_build_shared=no
10130
      fi
10131
      ;;
10132
    esac
10133
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10134
    # soname into executable. Probably we can add versioning support to
10135
    # collect2, so additional links can be useful in future.
10136
    if test "$aix_use_runtimelinking" = yes; then
10137
      # If using run time linking (on AIX 4.2 or later) use lib.so
10138
      # instead of lib.a to let people know that these are not
10139
      # typical AIX shared libraries.
10140
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10141
    else
10142
      # We preserve .a as extension for shared libraries through AIX4.2
10143
      # and later when we are not doing run time linking.
10144
      library_names_spec='${libname}${release}.a $libname.a'
10145
      soname_spec='${libname}${release}${shared_ext}$major'
10146
    fi
10147
    shlibpath_var=LIBPATH
10148
  fi
10149
  ;;
10150
 
10151
amigaos*)
10152
  case $host_cpu in
10153
  powerpc)
10154
    # Since July 2007 AmigaOS4 officially supports .so libraries.
10155
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10156
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10157
    ;;
10158
  m68k)
10159
    library_names_spec='$libname.ixlibrary $libname.a'
10160
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10161
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
10162
    ;;
10163
  esac
10164
  ;;
10165
 
10166
beos*)
10167
  library_names_spec='${libname}${shared_ext}'
10168
  dynamic_linker="$host_os ld.so"
10169
  shlibpath_var=LIBRARY_PATH
10170
  ;;
10171
 
10172
bsdi[45]*)
10173
  version_type=linux
10174
  need_version=no
10175
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10176
  soname_spec='${libname}${release}${shared_ext}$major'
10177
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10178
  shlibpath_var=LD_LIBRARY_PATH
10179
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10180
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10181
  # the default ld.so.conf also contains /usr/contrib/lib and
10182
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10183
  # libtool to hard-code these into programs
10184
  ;;
10185
 
10186
cygwin* | mingw* | pw32* | cegcc*)
10187
  version_type=windows
10188
  shrext_cmds=".dll"
10189
  need_version=no
10190
  need_lib_prefix=no
10191
 
10192
  case $GCC,$host_os in
10193
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10194
    library_names_spec='$libname.dll.a'
10195
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10196
    postinstall_cmds='base_file=`basename \${file}`~
10197
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10198
      dldir=$destdir/`dirname \$dlpath`~
10199
      test -d \$dldir || mkdir -p \$dldir~
10200
      $install_prog $dir/$dlname \$dldir/$dlname~
10201
      chmod a+x \$dldir/$dlname~
10202
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10203
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10204
      fi'
10205
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10206
      dlpath=$dir/\$dldll~
10207
       $RM \$dlpath'
10208
    shlibpath_overrides_runpath=yes
10209
 
10210
    case $host_os in
10211
    cygwin*)
10212
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10213
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10214
 
10215
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10216
      ;;
10217
    mingw* | cegcc*)
10218
      # MinGW DLLs use traditional 'lib' prefix
10219
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10220
      ;;
10221
    pw32*)
10222
      # pw32 DLLs use 'pw' prefix rather than 'lib'
10223
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10224
      ;;
10225
    esac
10226
    ;;
10227
 
10228
  *)
10229
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10230
    ;;
10231
  esac
10232
  dynamic_linker='Win32 ld.exe'
10233
  # FIXME: first we should search . and the directory the executable is in
10234
  shlibpath_var=PATH
10235
  ;;
10236
 
10237
darwin* | rhapsody*)
10238
  dynamic_linker="$host_os dyld"
10239
  version_type=darwin
10240
  need_lib_prefix=no
10241
  need_version=no
10242
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10243
  soname_spec='${libname}${release}${major}$shared_ext'
10244
  shlibpath_overrides_runpath=yes
10245
  shlibpath_var=DYLD_LIBRARY_PATH
10246
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10247
 
10248
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10249
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10250
  ;;
10251
 
10252
dgux*)
10253
  version_type=linux
10254
  need_lib_prefix=no
10255
  need_version=no
10256
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10257
  soname_spec='${libname}${release}${shared_ext}$major'
10258
  shlibpath_var=LD_LIBRARY_PATH
10259
  ;;
10260
 
10261
freebsd* | dragonfly*)
10262
  # DragonFly does not have aout.  When/if they implement a new
10263
  # versioning mechanism, adjust this.
10264
  if test -x /usr/bin/objformat; then
10265
    objformat=`/usr/bin/objformat`
10266
  else
10267
    case $host_os in
10268
    freebsd[123]*) objformat=aout ;;
10269
    *) objformat=elf ;;
10270
    esac
10271
  fi
10272
  version_type=freebsd-$objformat
10273
  case $version_type in
10274
    freebsd-elf*)
10275
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10276
      need_version=no
10277
      need_lib_prefix=no
10278
      ;;
10279
    freebsd-*)
10280
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10281
      need_version=yes
10282
      ;;
10283
  esac
10284
  shlibpath_var=LD_LIBRARY_PATH
10285
  case $host_os in
10286
  freebsd2*)
10287
    shlibpath_overrides_runpath=yes
10288
    ;;
10289
  freebsd3.[01]* | freebsdelf3.[01]*)
10290
    shlibpath_overrides_runpath=yes
10291
    hardcode_into_libs=yes
10292
    ;;
10293
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10294
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10295
    shlibpath_overrides_runpath=no
10296
    hardcode_into_libs=yes
10297
    ;;
10298
  *) # from 4.6 on, and DragonFly
10299
    shlibpath_overrides_runpath=yes
10300
    hardcode_into_libs=yes
10301
    ;;
10302
  esac
10303
  ;;
10304
 
10305
gnu*)
10306
  version_type=linux
10307
  need_lib_prefix=no
10308
  need_version=no
10309
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10310
  soname_spec='${libname}${release}${shared_ext}$major'
10311
  shlibpath_var=LD_LIBRARY_PATH
10312
  hardcode_into_libs=yes
10313
  ;;
10314
 
10315
haiku*)
10316
  version_type=linux
10317
  need_lib_prefix=no
10318
  need_version=no
10319
  dynamic_linker="$host_os runtime_loader"
10320
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10321
  soname_spec='${libname}${release}${shared_ext}$major'
10322
  shlibpath_var=LIBRARY_PATH
10323
  shlibpath_overrides_runpath=yes
10324
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10325
  hardcode_into_libs=yes
10326
  ;;
10327
 
10328
hpux9* | hpux10* | hpux11*)
10329
  # Give a soname corresponding to the major version so that dld.sl refuses to
10330
  # link against other versions.
10331
  version_type=sunos
10332
  need_lib_prefix=no
10333
  need_version=no
10334
  case $host_cpu in
10335
  ia64*)
10336
    shrext_cmds='.so'
10337
    hardcode_into_libs=yes
10338
    dynamic_linker="$host_os dld.so"
10339
    shlibpath_var=LD_LIBRARY_PATH
10340
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10341
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10342
    soname_spec='${libname}${release}${shared_ext}$major'
10343
    if test "X$HPUX_IA64_MODE" = X32; then
10344
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10345
    else
10346
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10347
    fi
10348
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10349
    ;;
10350
  hppa*64*)
10351
    shrext_cmds='.sl'
10352
    hardcode_into_libs=yes
10353
    dynamic_linker="$host_os dld.sl"
10354
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10355
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10356
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10357
    soname_spec='${libname}${release}${shared_ext}$major'
10358
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10359
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10360
    ;;
10361
  *)
10362
    shrext_cmds='.sl'
10363
    dynamic_linker="$host_os dld.sl"
10364
    shlibpath_var=SHLIB_PATH
10365
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10366
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10367
    soname_spec='${libname}${release}${shared_ext}$major'
10368
    ;;
10369
  esac
10370
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10371
  postinstall_cmds='chmod 555 $lib'
10372
  # or fails outright, so override atomically:
10373
  install_override_mode=555
10374
  ;;
10375
 
10376
interix[3-9]*)
10377
  version_type=linux
10378
  need_lib_prefix=no
10379
  need_version=no
10380
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10381
  soname_spec='${libname}${release}${shared_ext}$major'
10382
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10383
  shlibpath_var=LD_LIBRARY_PATH
10384
  shlibpath_overrides_runpath=no
10385
  hardcode_into_libs=yes
10386
  ;;
10387
 
10388
irix5* | irix6* | nonstopux*)
10389
  case $host_os in
10390
    nonstopux*) version_type=nonstopux ;;
10391
    *)
10392
        if test "$lt_cv_prog_gnu_ld" = yes; then
10393
                version_type=linux
10394
        else
10395
                version_type=irix
10396
        fi ;;
10397
  esac
10398
  need_lib_prefix=no
10399
  need_version=no
10400
  soname_spec='${libname}${release}${shared_ext}$major'
10401
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10402
  case $host_os in
10403
  irix5* | nonstopux*)
10404
    libsuff= shlibsuff=
10405
    ;;
10406
  *)
10407
    case $LD in # libtool.m4 will add one of these switches to LD
10408
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10409
      libsuff= shlibsuff= libmagic=32-bit;;
10410
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10411
      libsuff=32 shlibsuff=N32 libmagic=N32;;
10412
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10413
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10414
    *) libsuff= shlibsuff= libmagic=never-match;;
10415
    esac
10416
    ;;
10417
  esac
10418
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10419
  shlibpath_overrides_runpath=no
10420
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10421
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10422
  hardcode_into_libs=yes
10423
  ;;
10424
 
10425
# No shared lib support for Linux oldld, aout, or coff.
10426
linux*oldld* | linux*aout* | linux*coff*)
10427
  dynamic_linker=no
10428
  ;;
10429
 
10430
# This must be Linux ELF.
10431
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10432
  version_type=linux
10433
  need_lib_prefix=no
10434
  need_version=no
10435
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10436
  soname_spec='${libname}${release}${shared_ext}$major'
10437
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10438
  shlibpath_var=LD_LIBRARY_PATH
10439
  shlibpath_overrides_runpath=no
10440
 
10441
  # Some binutils ld are patched to set DT_RUNPATH
10442
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10443
  $as_echo_n "(cached) " >&6
10444
else
10445
  lt_cv_shlibpath_overrides_runpath=no
10446
    save_LDFLAGS=$LDFLAGS
10447
    save_libdir=$libdir
10448
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10449
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10450
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10451
/* end confdefs.h.  */
10452
 
10453
int
10454
main ()
10455
{
10456
 
10457
  ;
10458
  return 0;
10459
}
10460
_ACEOF
10461
if ac_fn_c_try_link "$LINENO"; then :
10462
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10463
  lt_cv_shlibpath_overrides_runpath=yes
10464
fi
10465
fi
10466
rm -f core conftest.err conftest.$ac_objext \
10467
    conftest$ac_exeext conftest.$ac_ext
10468
    LDFLAGS=$save_LDFLAGS
10469
    libdir=$save_libdir
10470
 
10471
fi
10472
 
10473
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10474
 
10475
  # This implies no fast_install, which is unacceptable.
10476
  # Some rework will be needed to allow for fast_install
10477
  # before this can be enabled.
10478
  hardcode_into_libs=yes
10479
 
10480
  # Append ld.so.conf contents to the search path
10481
  if test -f /etc/ld.so.conf; then
10482
    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;s/"//g;/^$/d' | tr '\n' ' '`
10483
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10484
  fi
10485
 
10486
  # We used to test for /lib/ld.so.1 and disable shared libraries on
10487
  # powerpc, because MkLinux only supported shared libraries with the
10488
  # GNU dynamic linker.  Since this was broken with cross compilers,
10489
  # most powerpc-linux boxes support dynamic linking these days and
10490
  # people can always --disable-shared, the test was removed, and we
10491
  # assume the GNU/Linux dynamic linker is in use.
10492
  dynamic_linker='GNU/Linux ld.so'
10493
  ;;
10494
 
10495
netbsd*)
10496
  version_type=sunos
10497
  need_lib_prefix=no
10498
  need_version=no
10499
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10500
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10501
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10502
    dynamic_linker='NetBSD (a.out) ld.so'
10503
  else
10504
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10505
    soname_spec='${libname}${release}${shared_ext}$major'
10506
    dynamic_linker='NetBSD ld.elf_so'
10507
  fi
10508
  shlibpath_var=LD_LIBRARY_PATH
10509
  shlibpath_overrides_runpath=yes
10510
  hardcode_into_libs=yes
10511
  ;;
10512
 
10513
newsos6)
10514
  version_type=linux
10515
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10516
  shlibpath_var=LD_LIBRARY_PATH
10517
  shlibpath_overrides_runpath=yes
10518
  ;;
10519
 
10520
*nto* | *qnx*)
10521
  version_type=qnx
10522
  need_lib_prefix=no
10523
  need_version=no
10524
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10525
  soname_spec='${libname}${release}${shared_ext}$major'
10526
  shlibpath_var=LD_LIBRARY_PATH
10527
  shlibpath_overrides_runpath=no
10528
  hardcode_into_libs=yes
10529
  dynamic_linker='ldqnx.so'
10530
  ;;
10531
 
10532
openbsd*)
10533
  version_type=sunos
10534
  sys_lib_dlsearch_path_spec="/usr/lib"
10535
  need_lib_prefix=no
10536
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10537
  case $host_os in
10538
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
10539
    *)                          need_version=no  ;;
10540
  esac
10541
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10542
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10543
  shlibpath_var=LD_LIBRARY_PATH
10544
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10545
    case $host_os in
10546
      openbsd2.[89] | openbsd2.[89].*)
10547
        shlibpath_overrides_runpath=no
10548
        ;;
10549
      *)
10550
        shlibpath_overrides_runpath=yes
10551
        ;;
10552
      esac
10553
  else
10554
    shlibpath_overrides_runpath=yes
10555
  fi
10556
  ;;
10557
 
10558
os2*)
10559
  libname_spec='$name'
10560
  shrext_cmds=".dll"
10561
  need_lib_prefix=no
10562
  library_names_spec='$libname${shared_ext} $libname.a'
10563
  dynamic_linker='OS/2 ld.exe'
10564
  shlibpath_var=LIBPATH
10565
  ;;
10566
 
10567
osf3* | osf4* | osf5*)
10568
  version_type=osf
10569
  need_lib_prefix=no
10570
  need_version=no
10571
  soname_spec='${libname}${release}${shared_ext}$major'
10572
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10573
  shlibpath_var=LD_LIBRARY_PATH
10574
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10575
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10576
  ;;
10577
 
10578
rdos*)
10579
  dynamic_linker=no
10580
  ;;
10581
 
10582
solaris*)
10583
  version_type=linux
10584
  need_lib_prefix=no
10585
  need_version=no
10586
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10587
  soname_spec='${libname}${release}${shared_ext}$major'
10588
  shlibpath_var=LD_LIBRARY_PATH
10589
  shlibpath_overrides_runpath=yes
10590
  hardcode_into_libs=yes
10591
  # ldd complains unless libraries are executable
10592
  postinstall_cmds='chmod +x $lib'
10593
  ;;
10594
 
10595
sunos4*)
10596
  version_type=sunos
10597
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10598
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10599
  shlibpath_var=LD_LIBRARY_PATH
10600
  shlibpath_overrides_runpath=yes
10601
  if test "$with_gnu_ld" = yes; then
10602
    need_lib_prefix=no
10603
  fi
10604
  need_version=yes
10605
  ;;
10606
 
10607
sysv4 | sysv4.3*)
10608
  version_type=linux
10609
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10610
  soname_spec='${libname}${release}${shared_ext}$major'
10611
  shlibpath_var=LD_LIBRARY_PATH
10612
  case $host_vendor in
10613
    sni)
10614
      shlibpath_overrides_runpath=no
10615
      need_lib_prefix=no
10616
      runpath_var=LD_RUN_PATH
10617
      ;;
10618
    siemens)
10619
      need_lib_prefix=no
10620
      ;;
10621
    motorola)
10622
      need_lib_prefix=no
10623
      need_version=no
10624
      shlibpath_overrides_runpath=no
10625
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10626
      ;;
10627
  esac
10628
  ;;
10629
 
10630
sysv4*MP*)
10631
  if test -d /usr/nec ;then
10632
    version_type=linux
10633
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10634
    soname_spec='$libname${shared_ext}.$major'
10635
    shlibpath_var=LD_LIBRARY_PATH
10636
  fi
10637
  ;;
10638
 
10639
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10640
  version_type=freebsd-elf
10641
  need_lib_prefix=no
10642
  need_version=no
10643
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10644
  soname_spec='${libname}${release}${shared_ext}$major'
10645
  shlibpath_var=LD_LIBRARY_PATH
10646
  shlibpath_overrides_runpath=yes
10647
  hardcode_into_libs=yes
10648
  if test "$with_gnu_ld" = yes; then
10649
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10650
  else
10651
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10652
    case $host_os in
10653
      sco3.2v5*)
10654
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10655
        ;;
10656
    esac
10657
  fi
10658
  sys_lib_dlsearch_path_spec='/usr/lib'
10659
  ;;
10660
 
10661
tpf*)
10662
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10663
  version_type=linux
10664
  need_lib_prefix=no
10665
  need_version=no
10666
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10667
  shlibpath_var=LD_LIBRARY_PATH
10668
  shlibpath_overrides_runpath=no
10669
  hardcode_into_libs=yes
10670
  ;;
10671
 
10672
uts4*)
10673
  version_type=linux
10674
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10675
  soname_spec='${libname}${release}${shared_ext}$major'
10676
  shlibpath_var=LD_LIBRARY_PATH
10677
  ;;
10678
 
10679
*)
10680
  dynamic_linker=no
10681
  ;;
10682
esac
10683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10684
$as_echo "$dynamic_linker" >&6; }
10685
test "$dynamic_linker" = no && can_build_shared=no
10686
 
10687
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10688
if test "$GCC" = yes; then
10689
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10690
fi
10691
 
10692
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10693
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10694
fi
10695
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10696
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10697
fi
10698
 
10699
 
10700
 
10701
 
10702
 
10703
 
10704
 
10705
 
10706
 
10707
 
10708
 
10709
 
10710
 
10711
 
10712
 
10713
 
10714
 
10715
 
10716
 
10717
 
10718
 
10719
 
10720
 
10721
 
10722
 
10723
 
10724
 
10725
 
10726
 
10727
 
10728
 
10729
 
10730
 
10731
 
10732
 
10733
 
10734
 
10735
 
10736
 
10737
 
10738
 
10739
 
10740
 
10741
 
10742
 
10743
 
10744
 
10745
 
10746
 
10747
 
10748
 
10749
 
10750
 
10751
 
10752
 
10753
 
10754
 
10755
 
10756
 
10757
 
10758
 
10759
 
10760
 
10761
 
10762
 
10763
 
10764
 
10765
 
10766
 
10767
 
10768
 
10769
 
10770
 
10771
 
10772
 
10773
 
10774
 
10775
 
10776
 
10777
 
10778
 
10779
 
10780
 
10781
 
10782
 
10783
 
10784
 
10785
 
10786
 
10787
 
10788
 
10789
 
10790
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10791
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10792
hardcode_action=
10793
if test -n "$hardcode_libdir_flag_spec" ||
10794
   test -n "$runpath_var" ||
10795
   test "X$hardcode_automatic" = "Xyes" ; then
10796
 
10797
  # We can hardcode non-existent directories.
10798
  if test "$hardcode_direct" != no &&
10799
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10800
     # have to relink, otherwise we might link with an installed library
10801
     # when we should be linking with a yet-to-be-installed one
10802
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10803
     test "$hardcode_minus_L" != no; then
10804
    # Linking always hardcodes the temporary library directory.
10805
    hardcode_action=relink
10806
  else
10807
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10808
    hardcode_action=immediate
10809
  fi
10810
else
10811
  # We cannot hardcode anything, or else we can only hardcode existing
10812
  # directories.
10813
  hardcode_action=unsupported
10814
fi
10815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10816
$as_echo "$hardcode_action" >&6; }
10817
 
10818
if test "$hardcode_action" = relink ||
10819
   test "$inherit_rpath" = yes; then
10820
  # Fast installation is not supported
10821
  enable_fast_install=no
10822
elif test "$shlibpath_overrides_runpath" = yes ||
10823
     test "$enable_shared" = no; then
10824
  # Fast installation is not necessary
10825
  enable_fast_install=needless
10826
fi
10827
 
10828
 
10829
 
10830
 
10831
 
10832
 
10833
  if test "x$enable_dlopen" != xyes; then
10834
  enable_dlopen=unknown
10835
  enable_dlopen_self=unknown
10836
  enable_dlopen_self_static=unknown
10837
else
10838
  lt_cv_dlopen=no
10839
  lt_cv_dlopen_libs=
10840
 
10841
  case $host_os in
10842
  beos*)
10843
    lt_cv_dlopen="load_add_on"
10844
    lt_cv_dlopen_libs=
10845
    lt_cv_dlopen_self=yes
10846
    ;;
10847
 
10848
  mingw* | pw32* | cegcc*)
10849
    lt_cv_dlopen="LoadLibrary"
10850
    lt_cv_dlopen_libs=
10851
    ;;
10852
 
10853
  cygwin*)
10854
    lt_cv_dlopen="dlopen"
10855
    lt_cv_dlopen_libs=
10856
    ;;
10857
 
10858
  darwin*)
10859
  # if libdl is installed we need to link against it
10860
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10861
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10862
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10863
  $as_echo_n "(cached) " >&6
10864
else
10865
  ac_check_lib_save_LIBS=$LIBS
10866
LIBS="-ldl  $LIBS"
10867
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868
/* end confdefs.h.  */
10869
 
10870
/* Override any GCC internal prototype to avoid an error.
10871
   Use char because int might match the return type of a GCC
10872
   builtin and then its argument prototype would still apply.  */
10873
#ifdef __cplusplus
10874
extern "C"
10875
#endif
10876
char dlopen ();
10877
int
10878
main ()
10879
{
10880
return dlopen ();
10881
  ;
10882
  return 0;
10883
}
10884
_ACEOF
10885
if ac_fn_c_try_link "$LINENO"; then :
10886
  ac_cv_lib_dl_dlopen=yes
10887
else
10888
  ac_cv_lib_dl_dlopen=no
10889
fi
10890
rm -f core conftest.err conftest.$ac_objext \
10891
    conftest$ac_exeext conftest.$ac_ext
10892
LIBS=$ac_check_lib_save_LIBS
10893
fi
10894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10895
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10896
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10897
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10898
else
10899
 
10900
    lt_cv_dlopen="dyld"
10901
    lt_cv_dlopen_libs=
10902
    lt_cv_dlopen_self=yes
10903
 
10904
fi
10905
 
10906
    ;;
10907
 
10908
  *)
10909
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10910
if test "x$ac_cv_func_shl_load" = x""yes; then :
10911
  lt_cv_dlopen="shl_load"
10912
else
10913
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10914
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10915
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
10916
  $as_echo_n "(cached) " >&6
10917
else
10918
  ac_check_lib_save_LIBS=$LIBS
10919
LIBS="-ldld  $LIBS"
10920
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10921
/* end confdefs.h.  */
10922
 
10923
/* Override any GCC internal prototype to avoid an error.
10924
   Use char because int might match the return type of a GCC
10925
   builtin and then its argument prototype would still apply.  */
10926
#ifdef __cplusplus
10927
extern "C"
10928
#endif
10929
char shl_load ();
10930
int
10931
main ()
10932
{
10933
return shl_load ();
10934
  ;
10935
  return 0;
10936
}
10937
_ACEOF
10938
if ac_fn_c_try_link "$LINENO"; then :
10939
  ac_cv_lib_dld_shl_load=yes
10940
else
10941
  ac_cv_lib_dld_shl_load=no
10942
fi
10943
rm -f core conftest.err conftest.$ac_objext \
10944
    conftest$ac_exeext conftest.$ac_ext
10945
LIBS=$ac_check_lib_save_LIBS
10946
fi
10947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10948
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10949
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
10950
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10951
else
10952
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10953
if test "x$ac_cv_func_dlopen" = x""yes; then :
10954
  lt_cv_dlopen="dlopen"
10955
else
10956
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10957
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10958
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10959
  $as_echo_n "(cached) " >&6
10960
else
10961
  ac_check_lib_save_LIBS=$LIBS
10962
LIBS="-ldl  $LIBS"
10963
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964
/* end confdefs.h.  */
10965
 
10966
/* Override any GCC internal prototype to avoid an error.
10967
   Use char because int might match the return type of a GCC
10968
   builtin and then its argument prototype would still apply.  */
10969
#ifdef __cplusplus
10970
extern "C"
10971
#endif
10972
char dlopen ();
10973
int
10974
main ()
10975
{
10976
return dlopen ();
10977
  ;
10978
  return 0;
10979
}
10980
_ACEOF
10981
if ac_fn_c_try_link "$LINENO"; then :
10982
  ac_cv_lib_dl_dlopen=yes
10983
else
10984
  ac_cv_lib_dl_dlopen=no
10985
fi
10986
rm -f core conftest.err conftest.$ac_objext \
10987
    conftest$ac_exeext conftest.$ac_ext
10988
LIBS=$ac_check_lib_save_LIBS
10989
fi
10990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10991
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10992
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
10993
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10994
else
10995
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10996
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10997
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
10998
  $as_echo_n "(cached) " >&6
10999
else
11000
  ac_check_lib_save_LIBS=$LIBS
11001
LIBS="-lsvld  $LIBS"
11002
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11003
/* end confdefs.h.  */
11004
 
11005
/* Override any GCC internal prototype to avoid an error.
11006
   Use char because int might match the return type of a GCC
11007
   builtin and then its argument prototype would still apply.  */
11008
#ifdef __cplusplus
11009
extern "C"
11010
#endif
11011
char dlopen ();
11012
int
11013
main ()
11014
{
11015
return dlopen ();
11016
  ;
11017
  return 0;
11018
}
11019
_ACEOF
11020
if ac_fn_c_try_link "$LINENO"; then :
11021
  ac_cv_lib_svld_dlopen=yes
11022
else
11023
  ac_cv_lib_svld_dlopen=no
11024
fi
11025
rm -f core conftest.err conftest.$ac_objext \
11026
    conftest$ac_exeext conftest.$ac_ext
11027
LIBS=$ac_check_lib_save_LIBS
11028
fi
11029
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11030
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11031
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11032
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11033
else
11034
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11035
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11036
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11037
  $as_echo_n "(cached) " >&6
11038
else
11039
  ac_check_lib_save_LIBS=$LIBS
11040
LIBS="-ldld  $LIBS"
11041
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11042
/* end confdefs.h.  */
11043
 
11044
/* Override any GCC internal prototype to avoid an error.
11045
   Use char because int might match the return type of a GCC
11046
   builtin and then its argument prototype would still apply.  */
11047
#ifdef __cplusplus
11048
extern "C"
11049
#endif
11050
char dld_link ();
11051
int
11052
main ()
11053
{
11054
return dld_link ();
11055
  ;
11056
  return 0;
11057
}
11058
_ACEOF
11059
if ac_fn_c_try_link "$LINENO"; then :
11060
  ac_cv_lib_dld_dld_link=yes
11061
else
11062
  ac_cv_lib_dld_dld_link=no
11063
fi
11064
rm -f core conftest.err conftest.$ac_objext \
11065
    conftest$ac_exeext conftest.$ac_ext
11066
LIBS=$ac_check_lib_save_LIBS
11067
fi
11068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11069
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11070
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11071
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11072
fi
11073
 
11074
 
11075
fi
11076
 
11077
 
11078
fi
11079
 
11080
 
11081
fi
11082
 
11083
 
11084
fi
11085
 
11086
 
11087
fi
11088
 
11089
    ;;
11090
  esac
11091
 
11092
  if test "x$lt_cv_dlopen" != xno; then
11093
    enable_dlopen=yes
11094
  else
11095
    enable_dlopen=no
11096
  fi
11097
 
11098
  case $lt_cv_dlopen in
11099
  dlopen)
11100
    save_CPPFLAGS="$CPPFLAGS"
11101
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11102
 
11103
    save_LDFLAGS="$LDFLAGS"
11104
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11105
 
11106
    save_LIBS="$LIBS"
11107
    LIBS="$lt_cv_dlopen_libs $LIBS"
11108
 
11109
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11110
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11111
if test "${lt_cv_dlopen_self+set}" = set; then :
11112
  $as_echo_n "(cached) " >&6
11113
else
11114
          if test "$cross_compiling" = yes; then :
11115
  lt_cv_dlopen_self=cross
11116
else
11117
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11118
  lt_status=$lt_dlunknown
11119
  cat > conftest.$ac_ext <<_LT_EOF
11120
#line 11120 "configure"
11121
#include "confdefs.h"
11122
 
11123
#if HAVE_DLFCN_H
11124
#include 
11125
#endif
11126
 
11127
#include 
11128
 
11129
#ifdef RTLD_GLOBAL
11130
#  define LT_DLGLOBAL           RTLD_GLOBAL
11131
#else
11132
#  ifdef DL_GLOBAL
11133
#    define LT_DLGLOBAL         DL_GLOBAL
11134
#  else
11135
#    define LT_DLGLOBAL         0
11136
#  endif
11137
#endif
11138
 
11139
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11140
   find out it does not work in some platform. */
11141
#ifndef LT_DLLAZY_OR_NOW
11142
#  ifdef RTLD_LAZY
11143
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11144
#  else
11145
#    ifdef DL_LAZY
11146
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11147
#    else
11148
#      ifdef RTLD_NOW
11149
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11150
#      else
11151
#        ifdef DL_NOW
11152
#          define LT_DLLAZY_OR_NOW      DL_NOW
11153
#        else
11154
#          define LT_DLLAZY_OR_NOW      0
11155
#        endif
11156
#      endif
11157
#    endif
11158
#  endif
11159
#endif
11160
 
11161
/* When -fvisbility=hidden is used, assume the code has been annotated
11162
   correspondingly for the symbols needed.  */
11163
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11164
void fnord () __attribute__((visibility("default")));
11165
#endif
11166
 
11167
void fnord () { int i=42; }
11168
int main ()
11169
{
11170
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11171
  int status = $lt_dlunknown;
11172
 
11173
  if (self)
11174
    {
11175
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11176
      else
11177
        {
11178
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11179
          else puts (dlerror ());
11180
        }
11181
      /* dlclose (self); */
11182
    }
11183
  else
11184
    puts (dlerror ());
11185
 
11186
  return status;
11187
}
11188
_LT_EOF
11189
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11190
  (eval $ac_link) 2>&5
11191
  ac_status=$?
11192
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11193
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11194
    (./conftest; exit; ) >&5 2>/dev/null
11195
    lt_status=$?
11196
    case x$lt_status in
11197
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11198
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11199
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11200
    esac
11201
  else :
11202
    # compilation failed
11203
    lt_cv_dlopen_self=no
11204
  fi
11205
fi
11206
rm -fr conftest*
11207
 
11208
 
11209
fi
11210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11211
$as_echo "$lt_cv_dlopen_self" >&6; }
11212
 
11213
    if test "x$lt_cv_dlopen_self" = xyes; then
11214
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11215
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11216
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11217
if test "${lt_cv_dlopen_self_static+set}" = set; then :
11218
  $as_echo_n "(cached) " >&6
11219
else
11220
          if test "$cross_compiling" = yes; then :
11221
  lt_cv_dlopen_self_static=cross
11222
else
11223
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11224
  lt_status=$lt_dlunknown
11225
  cat > conftest.$ac_ext <<_LT_EOF
11226
#line 11226 "configure"
11227
#include "confdefs.h"
11228
 
11229
#if HAVE_DLFCN_H
11230
#include 
11231
#endif
11232
 
11233
#include 
11234
 
11235
#ifdef RTLD_GLOBAL
11236
#  define LT_DLGLOBAL           RTLD_GLOBAL
11237
#else
11238
#  ifdef DL_GLOBAL
11239
#    define LT_DLGLOBAL         DL_GLOBAL
11240
#  else
11241
#    define LT_DLGLOBAL         0
11242
#  endif
11243
#endif
11244
 
11245
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11246
   find out it does not work in some platform. */
11247
#ifndef LT_DLLAZY_OR_NOW
11248
#  ifdef RTLD_LAZY
11249
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
11250
#  else
11251
#    ifdef DL_LAZY
11252
#      define LT_DLLAZY_OR_NOW          DL_LAZY
11253
#    else
11254
#      ifdef RTLD_NOW
11255
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
11256
#      else
11257
#        ifdef DL_NOW
11258
#          define LT_DLLAZY_OR_NOW      DL_NOW
11259
#        else
11260
#          define LT_DLLAZY_OR_NOW      0
11261
#        endif
11262
#      endif
11263
#    endif
11264
#  endif
11265
#endif
11266
 
11267
/* When -fvisbility=hidden is used, assume the code has been annotated
11268
   correspondingly for the symbols needed.  */
11269
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11270
void fnord () __attribute__((visibility("default")));
11271
#endif
11272
 
11273
void fnord () { int i=42; }
11274
int main ()
11275
{
11276
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11277
  int status = $lt_dlunknown;
11278
 
11279
  if (self)
11280
    {
11281
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11282
      else
11283
        {
11284
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11285
          else puts (dlerror ());
11286
        }
11287
      /* dlclose (self); */
11288
    }
11289
  else
11290
    puts (dlerror ());
11291
 
11292
  return status;
11293
}
11294
_LT_EOF
11295
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11296
  (eval $ac_link) 2>&5
11297
  ac_status=$?
11298
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11299
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11300
    (./conftest; exit; ) >&5 2>/dev/null
11301
    lt_status=$?
11302
    case x$lt_status in
11303
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11304
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11305
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11306
    esac
11307
  else :
11308
    # compilation failed
11309
    lt_cv_dlopen_self_static=no
11310
  fi
11311
fi
11312
rm -fr conftest*
11313
 
11314
 
11315
fi
11316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11317
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11318
    fi
11319
 
11320
    CPPFLAGS="$save_CPPFLAGS"
11321
    LDFLAGS="$save_LDFLAGS"
11322
    LIBS="$save_LIBS"
11323
    ;;
11324
  esac
11325
 
11326
  case $lt_cv_dlopen_self in
11327
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11328
  *) enable_dlopen_self=unknown ;;
11329
  esac
11330
 
11331
  case $lt_cv_dlopen_self_static in
11332
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11333
  *) enable_dlopen_self_static=unknown ;;
11334
  esac
11335
fi
11336
 
11337
 
11338
 
11339
 
11340
 
11341
 
11342
 
11343
 
11344
 
11345
 
11346
 
11347
 
11348
 
11349
 
11350
 
11351
 
11352
 
11353
striplib=
11354
old_striplib=
11355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11356
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11357
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11358
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11359
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11360
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11361
$as_echo "yes" >&6; }
11362
else
11363
# FIXME - insert some real tests, host_os isn't really good enough
11364
  case $host_os in
11365
  darwin*)
11366
    if test -n "$STRIP" ; then
11367
      striplib="$STRIP -x"
11368
      old_striplib="$STRIP -S"
11369
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11370
$as_echo "yes" >&6; }
11371
    else
11372
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11373
$as_echo "no" >&6; }
11374
    fi
11375
    ;;
11376
  *)
11377
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11378
$as_echo "no" >&6; }
11379
    ;;
11380
  esac
11381
fi
11382
 
11383
 
11384
 
11385
 
11386
 
11387
 
11388
 
11389
 
11390
 
11391
 
11392
 
11393
 
11394
  # Report which library types will actually be built
11395
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11396
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11397
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11398
$as_echo "$can_build_shared" >&6; }
11399
 
11400
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11401
$as_echo_n "checking whether to build shared libraries... " >&6; }
11402
  test "$can_build_shared" = "no" && enable_shared=no
11403
 
11404
  # On AIX, shared libraries and static libraries use the same namespace, and
11405
  # are all built from PIC.
11406
  case $host_os in
11407
  aix3*)
11408
    test "$enable_shared" = yes && enable_static=no
11409
    if test -n "$RANLIB"; then
11410
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11411
      postinstall_cmds='$RANLIB $lib'
11412
    fi
11413
    ;;
11414
 
11415
  aix[4-9]*)
11416
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11417
      test "$enable_shared" = yes && enable_static=no
11418
    fi
11419
    ;;
11420
  esac
11421
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11422
$as_echo "$enable_shared" >&6; }
11423
 
11424
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11425
$as_echo_n "checking whether to build static libraries... " >&6; }
11426
  # Make sure either enable_shared or enable_static is yes.
11427
  test "$enable_shared" = yes || enable_static=yes
11428
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11429
$as_echo "$enable_static" >&6; }
11430
 
11431
 
11432
 
11433
 
11434
fi
11435
ac_ext=c
11436
ac_cpp='$CPP $CPPFLAGS'
11437
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11438
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11439
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11440
 
11441
CC="$lt_save_CC"
11442
 
11443
 
11444
 
11445
 
11446
 
11447
 
11448
 
11449
 
11450
 
11451
 
11452
 
11453
 
11454
 
11455
        ac_config_commands="$ac_config_commands libtool"
11456
 
11457
 
11458
 
11459
 
11460
# Only expand once:
11461
 
11462
 
11463
 
11464
for ac_func in setmode
11465
do :
11466
  ac_fn_c_check_func "$LINENO" "setmode" "ac_cv_func_setmode"
11467
if test "x$ac_cv_func_setmode" = x""yes; then :
11468
  cat >>confdefs.h <<_ACEOF
11469
#define HAVE_SETMODE 1
11470
_ACEOF
11471
 
11472
fi
11473
done
11474
 
11475
 
11476 166 khays
ALL_LINGUAS="fr tr sv es id da pt_BR de vi rw ga ms fi nl bg eo ja sr"
11477 25 khays
# If we haven't got the data from the intl directory,
11478
# assume NLS is disabled.
11479
USE_NLS=no
11480
LIBINTL=
11481
LIBINTL_DEP=
11482
INCINTL=
11483
XGETTEXT=
11484
GMSGFMT=
11485
POSUB=
11486
 
11487
if test -f  ../intl/config.intl; then
11488
  .  ../intl/config.intl
11489
fi
11490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11491
$as_echo_n "checking whether NLS is requested... " >&6; }
11492
if test x"$USE_NLS" != xyes; then
11493
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11494
$as_echo "no" >&6; }
11495
else
11496
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11497
$as_echo "yes" >&6; }
11498
 
11499
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
11500
 
11501
 
11502
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
11503
$as_echo_n "checking for catalogs to be installed... " >&6; }
11504
  # Look for .po and .gmo files in the source directory.
11505
  CATALOGS=
11506
  XLINGUAS=
11507
  for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
11508
    # If there aren't any .gmo files the shell will give us the
11509
    # literal string "../path/to/srcdir/po/*.gmo" which has to be
11510
    # weeded out.
11511
    case "$cat" in *\**)
11512
      continue;;
11513
    esac
11514
    # The quadruple backslash is collapsed to a double backslash
11515
    # by the backticks, then collapsed again by the double quotes,
11516
    # leaving us with one backslash in the sed expression (right
11517
    # before the dot that mustn't act as a wildcard).
11518
    cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
11519
    lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
11520
    # The user is allowed to set LINGUAS to a list of languages to
11521
    # install catalogs for.  If it's empty that means "all of them."
11522
    if test "x$LINGUAS" = x; then
11523
      CATALOGS="$CATALOGS $cat"
11524
      XLINGUAS="$XLINGUAS $lang"
11525
    else
11526
      case "$LINGUAS" in *$lang*)
11527
        CATALOGS="$CATALOGS $cat"
11528
        XLINGUAS="$XLINGUAS $lang"
11529
        ;;
11530
      esac
11531
    fi
11532
  done
11533
  LINGUAS="$XLINGUAS"
11534
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
11535
$as_echo "$LINGUAS" >&6; }
11536
 
11537
 
11538
    DATADIRNAME=share
11539
 
11540
  INSTOBJEXT=.mo
11541
 
11542
  GENCAT=gencat
11543
 
11544
  CATOBJEXT=.gmo
11545
 
11546
fi
11547
 
11548
        MKINSTALLDIRS=
11549
  if test -n "$ac_aux_dir"; then
11550
    case "$ac_aux_dir" in
11551
      /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
11552
      *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
11553
    esac
11554
  fi
11555
  if test -z "$MKINSTALLDIRS"; then
11556
    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
11557
  fi
11558
 
11559
 
11560
 
11561
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11562
$as_echo_n "checking whether NLS is requested... " >&6; }
11563
    # Check whether --enable-nls was given.
11564
if test "${enable_nls+set}" = set; then :
11565
  enableval=$enable_nls; USE_NLS=$enableval
11566
else
11567
  USE_NLS=yes
11568
fi
11569
 
11570
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11571
$as_echo "$USE_NLS" >&6; }
11572
 
11573
 
11574
 
11575
 
11576
 
11577
 
11578
# Prepare PATH_SEPARATOR.
11579
# The user is always right.
11580
if test "${PATH_SEPARATOR+set}" != set; then
11581
  echo "#! /bin/sh" >conf$$.sh
11582
  echo  "exit 0"   >>conf$$.sh
11583
  chmod +x conf$$.sh
11584
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11585
    PATH_SEPARATOR=';'
11586
  else
11587
    PATH_SEPARATOR=:
11588
  fi
11589
  rm -f conf$$.sh
11590
fi
11591
 
11592
# Find out how to test for executable files. Don't use a zero-byte file,
11593
# as systems may use methods other than mode bits to determine executability.
11594
cat >conf$$.file <<_ASEOF
11595
#! /bin/sh
11596
exit 0
11597
_ASEOF
11598
chmod +x conf$$.file
11599
if test -x conf$$.file >/dev/null 2>&1; then
11600
  ac_executable_p="test -x"
11601
else
11602
  ac_executable_p="test -f"
11603
fi
11604
rm -f conf$$.file
11605
 
11606
# Extract the first word of "msgfmt", so it can be a program name with args.
11607
set dummy msgfmt; ac_word=$2
11608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11609
$as_echo_n "checking for $ac_word... " >&6; }
11610
if test "${ac_cv_path_MSGFMT+set}" = set; then :
11611
  $as_echo_n "(cached) " >&6
11612
else
11613
  case "$MSGFMT" in
11614
  [\\/]* | ?:[\\/]*)
11615
    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
11616
    ;;
11617
  *)
11618
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11619
    for ac_dir in $PATH; do
11620
      IFS="$ac_save_IFS"
11621
      test -z "$ac_dir" && ac_dir=.
11622
      for ac_exec_ext in '' $ac_executable_extensions; do
11623
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11624
          if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
11625
     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11626
            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
11627
            break 2
11628
          fi
11629
        fi
11630
      done
11631
    done
11632
    IFS="$ac_save_IFS"
11633
  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
11634
    ;;
11635
esac
11636
fi
11637
MSGFMT="$ac_cv_path_MSGFMT"
11638
if test "$MSGFMT" != ":"; then
11639
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
11640
$as_echo "$MSGFMT" >&6; }
11641
else
11642
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11643
$as_echo "no" >&6; }
11644
fi
11645
 
11646
  # Extract the first word of "gmsgfmt", so it can be a program name with args.
11647
set dummy gmsgfmt; ac_word=$2
11648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11649
$as_echo_n "checking for $ac_word... " >&6; }
11650
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
11651
  $as_echo_n "(cached) " >&6
11652
else
11653
  case $GMSGFMT in
11654
  [\\/]* | ?:[\\/]*)
11655
  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
11656
  ;;
11657
  *)
11658
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11659
for as_dir in $PATH
11660
do
11661
  IFS=$as_save_IFS
11662
  test -z "$as_dir" && as_dir=.
11663
    for ac_exec_ext in '' $ac_executable_extensions; do
11664
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11665
    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
11666
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11667
    break 2
11668
  fi
11669
done
11670
  done
11671
IFS=$as_save_IFS
11672
 
11673
  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
11674
  ;;
11675
esac
11676
fi
11677
GMSGFMT=$ac_cv_path_GMSGFMT
11678
if test -n "$GMSGFMT"; then
11679
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
11680
$as_echo "$GMSGFMT" >&6; }
11681
else
11682
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11683
$as_echo "no" >&6; }
11684
fi
11685
 
11686
 
11687
 
11688
 
11689
# Prepare PATH_SEPARATOR.
11690
# The user is always right.
11691
if test "${PATH_SEPARATOR+set}" != set; then
11692
  echo "#! /bin/sh" >conf$$.sh
11693
  echo  "exit 0"   >>conf$$.sh
11694
  chmod +x conf$$.sh
11695
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11696
    PATH_SEPARATOR=';'
11697
  else
11698
    PATH_SEPARATOR=:
11699
  fi
11700
  rm -f conf$$.sh
11701
fi
11702
 
11703
# Find out how to test for executable files. Don't use a zero-byte file,
11704
# as systems may use methods other than mode bits to determine executability.
11705
cat >conf$$.file <<_ASEOF
11706
#! /bin/sh
11707
exit 0
11708
_ASEOF
11709
chmod +x conf$$.file
11710
if test -x conf$$.file >/dev/null 2>&1; then
11711
  ac_executable_p="test -x"
11712
else
11713
  ac_executable_p="test -f"
11714
fi
11715
rm -f conf$$.file
11716
 
11717
# Extract the first word of "xgettext", so it can be a program name with args.
11718
set dummy xgettext; ac_word=$2
11719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11720
$as_echo_n "checking for $ac_word... " >&6; }
11721
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
11722
  $as_echo_n "(cached) " >&6
11723
else
11724
  case "$XGETTEXT" in
11725
  [\\/]* | ?:[\\/]*)
11726
    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
11727
    ;;
11728
  *)
11729
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11730
    for ac_dir in $PATH; do
11731
      IFS="$ac_save_IFS"
11732
      test -z "$ac_dir" && ac_dir=.
11733
      for ac_exec_ext in '' $ac_executable_extensions; do
11734
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11735
          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11736
     (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11737
            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
11738
            break 2
11739
          fi
11740
        fi
11741
      done
11742
    done
11743
    IFS="$ac_save_IFS"
11744
  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
11745
    ;;
11746
esac
11747
fi
11748
XGETTEXT="$ac_cv_path_XGETTEXT"
11749
if test "$XGETTEXT" != ":"; then
11750
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
11751
$as_echo "$XGETTEXT" >&6; }
11752
else
11753
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11754
$as_echo "no" >&6; }
11755
fi
11756
 
11757
    rm -f messages.po
11758
 
11759
 
11760
# Prepare PATH_SEPARATOR.
11761
# The user is always right.
11762
if test "${PATH_SEPARATOR+set}" != set; then
11763
  echo "#! /bin/sh" >conf$$.sh
11764
  echo  "exit 0"   >>conf$$.sh
11765
  chmod +x conf$$.sh
11766
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11767
    PATH_SEPARATOR=';'
11768
  else
11769
    PATH_SEPARATOR=:
11770
  fi
11771
  rm -f conf$$.sh
11772
fi
11773
 
11774
# Find out how to test for executable files. Don't use a zero-byte file,
11775
# as systems may use methods other than mode bits to determine executability.
11776
cat >conf$$.file <<_ASEOF
11777
#! /bin/sh
11778
exit 0
11779
_ASEOF
11780
chmod +x conf$$.file
11781
if test -x conf$$.file >/dev/null 2>&1; then
11782
  ac_executable_p="test -x"
11783
else
11784
  ac_executable_p="test -f"
11785
fi
11786
rm -f conf$$.file
11787
 
11788
# Extract the first word of "msgmerge", so it can be a program name with args.
11789
set dummy msgmerge; ac_word=$2
11790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11791
$as_echo_n "checking for $ac_word... " >&6; }
11792
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
11793
  $as_echo_n "(cached) " >&6
11794
else
11795
  case "$MSGMERGE" in
11796
  [\\/]* | ?:[\\/]*)
11797
    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
11798
    ;;
11799
  *)
11800
    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
11801
    for ac_dir in $PATH; do
11802
      IFS="$ac_save_IFS"
11803
      test -z "$ac_dir" && ac_dir=.
11804
      for ac_exec_ext in '' $ac_executable_extensions; do
11805
        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
11806
          if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
11807
            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
11808
            break 2
11809
          fi
11810
        fi
11811
      done
11812
    done
11813
    IFS="$ac_save_IFS"
11814
  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
11815
    ;;
11816
esac
11817
fi
11818
MSGMERGE="$ac_cv_path_MSGMERGE"
11819
if test "$MSGMERGE" != ":"; then
11820
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
11821
$as_echo "$MSGMERGE" >&6; }
11822
else
11823
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11824
$as_echo "no" >&6; }
11825
fi
11826
 
11827
 
11828
      if test "$GMSGFMT" != ":"; then
11829
            if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
11830
       (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11831
      : ;
11832
    else
11833
      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
11834
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
11835
$as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
11836
      GMSGFMT=":"
11837
    fi
11838
  fi
11839
 
11840
      if test "$XGETTEXT" != ":"; then
11841
            if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
11842
       (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
11843
      : ;
11844
    else
11845
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
11846
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
11847
      XGETTEXT=":"
11848
    fi
11849
        rm -f messages.po
11850
  fi
11851
 
11852
  ac_config_commands="$ac_config_commands default-1"
11853
 
11854
 
11855
 
11856
 
11857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
11858
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
11859
    # Check whether --enable-maintainer-mode was given.
11860
if test "${enable_maintainer_mode+set}" = set; then :
11861
  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
11862
else
11863
  USE_MAINTAINER_MODE=no
11864
fi
11865
 
11866
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
11867
$as_echo "$USE_MAINTAINER_MODE" >&6; }
11868
   if test $USE_MAINTAINER_MODE = yes; then
11869
  MAINTAINER_MODE_TRUE=
11870
  MAINTAINER_MODE_FALSE='#'
11871
else
11872
  MAINTAINER_MODE_TRUE='#'
11873
  MAINTAINER_MODE_FALSE=
11874
fi
11875
 
11876
  MAINT=$MAINTAINER_MODE_TRUE
11877
 
11878
 
11879
 if false; then
11880
  GENINSRC_NEVER_TRUE=
11881
  GENINSRC_NEVER_FALSE='#'
11882
else
11883
  GENINSRC_NEVER_TRUE='#'
11884
  GENINSRC_NEVER_FALSE=
11885
fi
11886
 
11887
 
11888
 
11889
for ac_header in sys/gmon_out.h
11890
do :
11891
  ac_fn_c_check_header_mongrel "$LINENO" "sys/gmon_out.h" "ac_cv_header_sys_gmon_out_h" "$ac_includes_default"
11892
if test "x$ac_cv_header_sys_gmon_out_h" = x""yes; then :
11893
  cat >>confdefs.h <<_ACEOF
11894
#define HAVE_SYS_GMON_OUT_H 1
11895
_ACEOF
11896
 
11897
fi
11898
 
11899
done
11900
 
11901
 
11902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
11903
$as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
11904
if test "${gprof_cv_decl_getopt_unistd_h+set}" = set; then :
11905
  $as_echo_n "(cached) " >&6
11906
else
11907
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908
/* end confdefs.h.  */
11909
#include 
11910
int
11911
main ()
11912
{
11913
extern int getopt (int, char *const*, const char *);
11914
  ;
11915
  return 0;
11916
}
11917
_ACEOF
11918
if ac_fn_c_try_compile "$LINENO"; then :
11919
  gprof_cv_decl_getopt_unistd_h=yes
11920
else
11921
  gprof_cv_decl_getopt_unistd_h=no
11922
fi
11923
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11924
fi
11925
 
11926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gprof_cv_decl_getopt_unistd_h" >&5
11927
$as_echo "$gprof_cv_decl_getopt_unistd_h" >&6; }
11928
if test $gprof_cv_decl_getopt_unistd_h = yes; then
11929
 
11930
$as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
11931
 
11932
fi
11933
 
11934
# Some systems have fabs only in -lm, not in -lc.
11935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing fabs" >&5
11936
$as_echo_n "checking for library containing fabs... " >&6; }
11937
if test "${ac_cv_search_fabs+set}" = set; then :
11938
  $as_echo_n "(cached) " >&6
11939
else
11940
  ac_func_search_save_LIBS=$LIBS
11941
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942
/* end confdefs.h.  */
11943
 
11944
/* Override any GCC internal prototype to avoid an error.
11945
   Use char because int might match the return type of a GCC
11946
   builtin and then its argument prototype would still apply.  */
11947
#ifdef __cplusplus
11948
extern "C"
11949
#endif
11950
char fabs ();
11951
int
11952
main ()
11953
{
11954
return fabs ();
11955
  ;
11956
  return 0;
11957
}
11958
_ACEOF
11959
for ac_lib in '' m; do
11960
  if test -z "$ac_lib"; then
11961
    ac_res="none required"
11962
  else
11963
    ac_res=-l$ac_lib
11964
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
11965
  fi
11966
  if ac_fn_c_try_link "$LINENO"; then :
11967
  ac_cv_search_fabs=$ac_res
11968
fi
11969
rm -f core conftest.err conftest.$ac_objext \
11970
    conftest$ac_exeext
11971
  if test "${ac_cv_search_fabs+set}" = set; then :
11972
  break
11973
fi
11974
done
11975
if test "${ac_cv_search_fabs+set}" = set; then :
11976
 
11977
else
11978
  ac_cv_search_fabs=no
11979
fi
11980
rm conftest.$ac_ext
11981
LIBS=$ac_func_search_save_LIBS
11982
fi
11983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_fabs" >&5
11984
$as_echo "$ac_cv_search_fabs" >&6; }
11985
ac_res=$ac_cv_search_fabs
11986
if test "$ac_res" != no; then :
11987
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11988
 
11989
fi
11990
 
11991
 
11992
 
11993
GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
11994
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11995
/* end confdefs.h.  */
11996
__GNUC__
11997
_ACEOF
11998
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11999
  $EGREP "^[0-3]$" >/dev/null 2>&1; then :
12000
 
12001
else
12002
  GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
12003
fi
12004
rm -f conftest*
12005
 
12006
 
12007
# Check whether --enable-werror was given.
12008
if test "${enable_werror+set}" = set; then :
12009
  enableval=$enable_werror; case "${enableval}" in
12010
     yes | y) ERROR_ON_WARNING="yes" ;;
12011
     no | n)  ERROR_ON_WARNING="no" ;;
12012
     *) as_fn_error "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
12013
   esac
12014
fi
12015
 
12016
 
12017
# Disable -Wformat by default when using gcc on mingw
12018
case "${host}" in
12019
  *-*-mingw32*)
12020
    if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12021
      GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
12022
    fi
12023
    ;;
12024
  *) ;;
12025
esac
12026
 
12027
# Enable -Werror by default when using gcc
12028
if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
12029
    ERROR_ON_WARNING=yes
12030
fi
12031
 
12032
NO_WERROR=
12033
if test "${ERROR_ON_WARNING}" = yes ; then
12034
    GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
12035
    NO_WERROR="-Wno-error"
12036
fi
12037
 
12038
if test "${GCC}" = yes ; then
12039
  WARN_CFLAGS="${GCC_WARN_CFLAGS}"
12040
fi
12041
 
12042
# Check whether --enable-build-warnings was given.
12043
if test "${enable_build_warnings+set}" = set; then :
12044
  enableval=$enable_build_warnings; case "${enableval}" in
12045
  yes)  WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
12046
  no)   if test "${GCC}" = yes ; then
12047
          WARN_CFLAGS="-w"
12048
        fi;;
12049
  ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
12050
        WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
12051
  *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
12052
        WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
12053
  *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
12054
esac
12055
fi
12056
 
12057
 
12058
if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
12059
  echo "Setting warning flags = $WARN_CFLAGS" 6>&1
12060
fi
12061
 
12062
 
12063
 
12064
 
12065
 
12066
 
12067
 
12068
 
12069
 
12070
 
12071
ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
12072
 
12073
cat >confcache <<\_ACEOF
12074
# This file is a shell script that caches the results of configure
12075
# tests run on this system so they can be shared between configure
12076
# scripts and configure runs, see configure's option --config-cache.
12077
# It is not useful on other systems.  If it contains results you don't
12078
# want to keep, you may remove or edit it.
12079
#
12080
# config.status only pays attention to the cache file if you give it
12081
# the --recheck option to rerun configure.
12082
#
12083
# `ac_cv_env_foo' variables (set or unset) will be overridden when
12084
# loading this file, other *unset* `ac_cv_foo' will be assigned the
12085
# following values.
12086
 
12087
_ACEOF
12088
 
12089
# The following way of writing the cache mishandles newlines in values,
12090
# but we know of no workaround that is simple, portable, and efficient.
12091
# So, we kill variables containing newlines.
12092
# Ultrix sh set writes to stderr and can't be redirected directly,
12093
# and sets the high bit in the cache file unless we assign to the vars.
12094
(
12095
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12096
    eval ac_val=\$$ac_var
12097
    case $ac_val in #(
12098
    *${as_nl}*)
12099
      case $ac_var in #(
12100
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12101
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12102
      esac
12103
      case $ac_var in #(
12104
      _ | IFS | as_nl) ;; #(
12105
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12106
      *) { eval $ac_var=; unset $ac_var;} ;;
12107
      esac ;;
12108
    esac
12109
  done
12110
 
12111
  (set) 2>&1 |
12112
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12113
    *${as_nl}ac_space=\ *)
12114
      # `set' does not quote correctly, so add quotes: double-quote
12115
      # substitution turns \\\\ into \\, and sed turns \\ into \.
12116
      sed -n \
12117
        "s/'/'\\\\''/g;
12118
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12119
      ;; #(
12120
    *)
12121
      # `set' quotes correctly as required by POSIX, so do not add quotes.
12122
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12123
      ;;
12124
    esac |
12125
    sort
12126
) |
12127
  sed '
12128
     /^ac_cv_env_/b end
12129
     t clear
12130
     :clear
12131
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12132
     t end
12133
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12134
     :end' >>confcache
12135
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12136
  if test -w "$cache_file"; then
12137
    test "x$cache_file" != "x/dev/null" &&
12138
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12139
$as_echo "$as_me: updating cache $cache_file" >&6;}
12140
    cat confcache >$cache_file
12141
  else
12142
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12143
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12144
  fi
12145
fi
12146
rm -f confcache
12147
 
12148
test "x$prefix" = xNONE && prefix=$ac_default_prefix
12149
# Let make expand exec_prefix.
12150
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12151
 
12152
DEFS=-DHAVE_CONFIG_H
12153
 
12154
ac_libobjs=
12155
ac_ltlibobjs=
12156
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12157
  # 1. Remove the extension, and $U if already installed.
12158
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12159
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12160
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12161
  #    will be set to the directory where LIBOBJS objects are built.
12162
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12163
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12164
done
12165
LIBOBJS=$ac_libobjs
12166
 
12167
LTLIBOBJS=$ac_ltlibobjs
12168
 
12169
 
12170
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12171
  as_fn_error "conditional \"AMDEP\" was never defined.
12172
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12173
fi
12174
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12175
  as_fn_error "conditional \"am__fastdepCC\" was never defined.
12176
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12177
fi
12178
 if test -n "$EXEEXT"; then
12179
  am__EXEEXT_TRUE=
12180
  am__EXEEXT_FALSE='#'
12181
else
12182
  am__EXEEXT_TRUE='#'
12183
  am__EXEEXT_FALSE=
12184
fi
12185
 
12186
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12187
  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
12188
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12189
fi
12190
if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
12191
  as_fn_error "conditional \"GENINSRC_NEVER\" was never defined.
12192
Usually this means the macro was only invoked conditionally." "$LINENO" 5
12193
fi
12194
 
12195
: ${CONFIG_STATUS=./config.status}
12196
ac_write_fail=0
12197
ac_clean_files_save=$ac_clean_files
12198
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12199
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12200
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12201
as_write_fail=0
12202
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12203
#! $SHELL
12204
# Generated by $as_me.
12205
# Run this file to recreate the current configuration.
12206
# Compiler output produced by configure, useful for debugging
12207
# configure, is in config.log if it exists.
12208
 
12209
debug=false
12210
ac_cs_recheck=false
12211
ac_cs_silent=false
12212
 
12213
SHELL=\${CONFIG_SHELL-$SHELL}
12214
export SHELL
12215
_ASEOF
12216
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12217
## -------------------- ##
12218
## M4sh Initialization. ##
12219
## -------------------- ##
12220
 
12221
# Be more Bourne compatible
12222
DUALCASE=1; export DUALCASE # for MKS sh
12223
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12224
  emulate sh
12225
  NULLCMD=:
12226
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12227
  # is contrary to our usage.  Disable this feature.
12228
  alias -g '${1+"$@"}'='"$@"'
12229
  setopt NO_GLOB_SUBST
12230
else
12231
  case `(set -o) 2>/dev/null` in #(
12232
  *posix*) :
12233
    set -o posix ;; #(
12234
  *) :
12235
     ;;
12236
esac
12237
fi
12238
 
12239
 
12240
as_nl='
12241
'
12242
export as_nl
12243
# Printing a long string crashes Solaris 7 /usr/bin/printf.
12244
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12245
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12246
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12247
# Prefer a ksh shell builtin over an external printf program on Solaris,
12248
# but without wasting forks for bash or zsh.
12249
if test -z "$BASH_VERSION$ZSH_VERSION" \
12250
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12251
  as_echo='print -r --'
12252
  as_echo_n='print -rn --'
12253
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12254
  as_echo='printf %s\n'
12255
  as_echo_n='printf %s'
12256
else
12257
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12258
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12259
    as_echo_n='/usr/ucb/echo -n'
12260
  else
12261
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12262
    as_echo_n_body='eval
12263
      arg=$1;
12264
      case $arg in #(
12265
      *"$as_nl"*)
12266
        expr "X$arg" : "X\\(.*\\)$as_nl";
12267
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12268
      esac;
12269
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12270
    '
12271
    export as_echo_n_body
12272
    as_echo_n='sh -c $as_echo_n_body as_echo'
12273
  fi
12274
  export as_echo_body
12275
  as_echo='sh -c $as_echo_body as_echo'
12276
fi
12277
 
12278
# The user is always right.
12279
if test "${PATH_SEPARATOR+set}" != set; then
12280
  PATH_SEPARATOR=:
12281
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12282
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12283
      PATH_SEPARATOR=';'
12284
  }
12285
fi
12286
 
12287
 
12288
# IFS
12289
# We need space, tab and new line, in precisely that order.  Quoting is
12290
# there to prevent editors from complaining about space-tab.
12291
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12292
# splitting by setting IFS to empty value.)
12293
IFS=" ""        $as_nl"
12294
 
12295
# Find who we are.  Look in the path if we contain no directory separator.
12296
case $0 in #((
12297
  *[\\/]* ) as_myself=$0 ;;
12298
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12299
for as_dir in $PATH
12300
do
12301
  IFS=$as_save_IFS
12302
  test -z "$as_dir" && as_dir=.
12303
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12304
  done
12305
IFS=$as_save_IFS
12306
 
12307
     ;;
12308
esac
12309
# We did not find ourselves, most probably we were run as `sh COMMAND'
12310
# in which case we are not to be found in the path.
12311
if test "x$as_myself" = x; then
12312
  as_myself=$0
12313
fi
12314
if test ! -f "$as_myself"; then
12315
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12316
  exit 1
12317
fi
12318
 
12319
# Unset variables that we do not need and which cause bugs (e.g. in
12320
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12321
# suppresses any "Segmentation fault" message there.  '((' could
12322
# trigger a bug in pdksh 5.2.14.
12323
for as_var in BASH_ENV ENV MAIL MAILPATH
12324
do eval test x\${$as_var+set} = xset \
12325
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12326
done
12327
PS1='$ '
12328
PS2='> '
12329
PS4='+ '
12330
 
12331
# NLS nuisances.
12332
LC_ALL=C
12333
export LC_ALL
12334
LANGUAGE=C
12335
export LANGUAGE
12336
 
12337
# CDPATH.
12338
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12339
 
12340
 
12341
# as_fn_error ERROR [LINENO LOG_FD]
12342
# ---------------------------------
12343
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12344
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12345
# script with status $?, using 1 if that was 0.
12346
as_fn_error ()
12347
{
12348
  as_status=$?; test $as_status -eq 0 && as_status=1
12349
  if test "$3"; then
12350
    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12351
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
12352
  fi
12353
  $as_echo "$as_me: error: $1" >&2
12354
  as_fn_exit $as_status
12355
} # as_fn_error
12356
 
12357
 
12358
# as_fn_set_status STATUS
12359
# -----------------------
12360
# Set $? to STATUS, without forking.
12361
as_fn_set_status ()
12362
{
12363
  return $1
12364
} # as_fn_set_status
12365
 
12366
# as_fn_exit STATUS
12367
# -----------------
12368
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12369
as_fn_exit ()
12370
{
12371
  set +e
12372
  as_fn_set_status $1
12373
  exit $1
12374
} # as_fn_exit
12375
 
12376
# as_fn_unset VAR
12377
# ---------------
12378
# Portably unset VAR.
12379
as_fn_unset ()
12380
{
12381
  { eval $1=; unset $1;}
12382
}
12383
as_unset=as_fn_unset
12384
# as_fn_append VAR VALUE
12385
# ----------------------
12386
# Append the text in VALUE to the end of the definition contained in VAR. Take
12387
# advantage of any shell optimizations that allow amortized linear growth over
12388
# repeated appends, instead of the typical quadratic growth present in naive
12389
# implementations.
12390
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12391
  eval 'as_fn_append ()
12392
  {
12393
    eval $1+=\$2
12394
  }'
12395
else
12396
  as_fn_append ()
12397
  {
12398
    eval $1=\$$1\$2
12399
  }
12400
fi # as_fn_append
12401
 
12402
# as_fn_arith ARG...
12403
# ------------------
12404
# Perform arithmetic evaluation on the ARGs, and store the result in the
12405
# global $as_val. Take advantage of shells that can avoid forks. The arguments
12406
# must be portable across $(()) and expr.
12407
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12408
  eval 'as_fn_arith ()
12409
  {
12410
    as_val=$(( $* ))
12411
  }'
12412
else
12413
  as_fn_arith ()
12414
  {
12415
    as_val=`expr "$@" || test $? -eq 1`
12416
  }
12417
fi # as_fn_arith
12418
 
12419
 
12420
if expr a : '\(a\)' >/dev/null 2>&1 &&
12421
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
12422
  as_expr=expr
12423
else
12424
  as_expr=false
12425
fi
12426
 
12427
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12428
  as_basename=basename
12429
else
12430
  as_basename=false
12431
fi
12432
 
12433
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12434
  as_dirname=dirname
12435
else
12436
  as_dirname=false
12437
fi
12438
 
12439
as_me=`$as_basename -- "$0" ||
12440
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12441
         X"$0" : 'X\(//\)$' \| \
12442
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12443
$as_echo X/"$0" |
12444
    sed '/^.*\/\([^/][^/]*\)\/*$/{
12445
            s//\1/
12446
            q
12447
          }
12448
          /^X\/\(\/\/\)$/{
12449
            s//\1/
12450
            q
12451
          }
12452
          /^X\/\(\/\).*/{
12453
            s//\1/
12454
            q
12455
          }
12456
          s/.*/./; q'`
12457
 
12458
# Avoid depending upon Character Ranges.
12459
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12460
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12461
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12462
as_cr_digits='0123456789'
12463
as_cr_alnum=$as_cr_Letters$as_cr_digits
12464
 
12465
ECHO_C= ECHO_N= ECHO_T=
12466
case `echo -n x` in #(((((
12467
-n*)
12468
  case `echo 'xy\c'` in
12469
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
12470
  xy)  ECHO_C='\c';;
12471
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
12472
       ECHO_T=' ';;
12473
  esac;;
12474
*)
12475
  ECHO_N='-n';;
12476
esac
12477
 
12478
rm -f conf$$ conf$$.exe conf$$.file
12479
if test -d conf$$.dir; then
12480
  rm -f conf$$.dir/conf$$.file
12481
else
12482
  rm -f conf$$.dir
12483
  mkdir conf$$.dir 2>/dev/null
12484
fi
12485
if (echo >conf$$.file) 2>/dev/null; then
12486
  if ln -s conf$$.file conf$$ 2>/dev/null; then
12487
    as_ln_s='ln -s'
12488
    # ... but there are two gotchas:
12489
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12490
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12491
    # In both cases, we have to default to `cp -p'.
12492
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12493
      as_ln_s='cp -p'
12494
  elif ln conf$$.file conf$$ 2>/dev/null; then
12495
    as_ln_s=ln
12496
  else
12497
    as_ln_s='cp -p'
12498
  fi
12499
else
12500
  as_ln_s='cp -p'
12501
fi
12502
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12503
rmdir conf$$.dir 2>/dev/null
12504
 
12505
 
12506
# as_fn_mkdir_p
12507
# -------------
12508
# Create "$as_dir" as a directory, including parents if necessary.
12509
as_fn_mkdir_p ()
12510
{
12511
 
12512
  case $as_dir in #(
12513
  -*) as_dir=./$as_dir;;
12514
  esac
12515
  test -d "$as_dir" || eval $as_mkdir_p || {
12516
    as_dirs=
12517
    while :; do
12518
      case $as_dir in #(
12519
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12520
      *) as_qdir=$as_dir;;
12521
      esac
12522
      as_dirs="'$as_qdir' $as_dirs"
12523
      as_dir=`$as_dirname -- "$as_dir" ||
12524
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12525
         X"$as_dir" : 'X\(//\)[^/]' \| \
12526
         X"$as_dir" : 'X\(//\)$' \| \
12527
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12528
$as_echo X"$as_dir" |
12529
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12530
            s//\1/
12531
            q
12532
          }
12533
          /^X\(\/\/\)[^/].*/{
12534
            s//\1/
12535
            q
12536
          }
12537
          /^X\(\/\/\)$/{
12538
            s//\1/
12539
            q
12540
          }
12541
          /^X\(\/\).*/{
12542
            s//\1/
12543
            q
12544
          }
12545
          s/.*/./; q'`
12546
      test -d "$as_dir" && break
12547
    done
12548
    test -z "$as_dirs" || eval "mkdir $as_dirs"
12549
  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
12550
 
12551
 
12552
} # as_fn_mkdir_p
12553
if mkdir -p . 2>/dev/null; then
12554
  as_mkdir_p='mkdir -p "$as_dir"'
12555
else
12556
  test -d ./-p && rmdir ./-p
12557
  as_mkdir_p=false
12558
fi
12559
 
12560
if test -x / >/dev/null 2>&1; then
12561
  as_test_x='test -x'
12562
else
12563
  if ls -dL / >/dev/null 2>&1; then
12564
    as_ls_L_option=L
12565
  else
12566
    as_ls_L_option=
12567
  fi
12568
  as_test_x='
12569
    eval sh -c '\''
12570
      if test -d "$1"; then
12571
        test -d "$1/.";
12572
      else
12573
        case $1 in #(
12574
        -*)set "./$1";;
12575
        esac;
12576
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12577
        ???[sx]*):;;*)false;;esac;fi
12578
    '\'' sh
12579
  '
12580
fi
12581
as_executable_p=$as_test_x
12582
 
12583
# Sed expression to map a string onto a valid CPP name.
12584
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12585
 
12586
# Sed expression to map a string onto a valid variable name.
12587
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12588
 
12589
 
12590
exec 6>&1
12591
## ----------------------------------- ##
12592
## Main body of $CONFIG_STATUS script. ##
12593
## ----------------------------------- ##
12594
_ASEOF
12595
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
12596
 
12597
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12598
# Save the log message, to keep $0 and so on meaningful, and to
12599
# report actual input values of CONFIG_FILES etc. instead of their
12600
# values after options handling.
12601
ac_log="
12602
This file was extended by $as_me, which was
12603
generated by GNU Autoconf 2.64.  Invocation command line was
12604
 
12605
  CONFIG_FILES    = $CONFIG_FILES
12606
  CONFIG_HEADERS  = $CONFIG_HEADERS
12607
  CONFIG_LINKS    = $CONFIG_LINKS
12608
  CONFIG_COMMANDS = $CONFIG_COMMANDS
12609
  $ $0 $@
12610
 
12611
on `(hostname || uname -n) 2>/dev/null | sed 1q`
12612
"
12613
 
12614
_ACEOF
12615
 
12616
case $ac_config_files in *"
12617
"*) set x $ac_config_files; shift; ac_config_files=$*;;
12618
esac
12619
 
12620
case $ac_config_headers in *"
12621
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
12622
esac
12623
 
12624
 
12625
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12626
# Files that config.status was made for.
12627
config_files="$ac_config_files"
12628
config_headers="$ac_config_headers"
12629
config_commands="$ac_config_commands"
12630
 
12631
_ACEOF
12632
 
12633
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12634
ac_cs_usage="\
12635
\`$as_me' instantiates files and other configuration actions
12636
from templates according to the current configuration.  Unless the files
12637
and actions are specified as TAGs, all are instantiated by default.
12638
 
12639
Usage: $0 [OPTION]... [TAG]...
12640
 
12641
  -h, --help       print this help, then exit
12642
  -V, --version    print version number and configuration settings, then exit
12643
  -q, --quiet, --silent
12644
                   do not print progress messages
12645
  -d, --debug      don't remove temporary files
12646
      --recheck    update $as_me by reconfiguring in the same conditions
12647
      --file=FILE[:TEMPLATE]
12648
                   instantiate the configuration file FILE
12649
      --header=FILE[:TEMPLATE]
12650
                   instantiate the configuration header FILE
12651
 
12652
Configuration files:
12653
$config_files
12654
 
12655
Configuration headers:
12656
$config_headers
12657
 
12658
Configuration commands:
12659
$config_commands
12660
 
12661
Report bugs to the package provider."
12662
 
12663
_ACEOF
12664
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12665
ac_cs_version="\\
12666
config.status
12667
configured by $0, generated by GNU Autoconf 2.64,
12668
  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12669
 
12670
Copyright (C) 2009 Free Software Foundation, Inc.
12671
This config.status script is free software; the Free Software Foundation
12672
gives unlimited permission to copy, distribute and modify it."
12673
 
12674
ac_pwd='$ac_pwd'
12675
srcdir='$srcdir'
12676
INSTALL='$INSTALL'
12677
MKDIR_P='$MKDIR_P'
12678
AWK='$AWK'
12679
test -n "\$AWK" || AWK=awk
12680
_ACEOF
12681
 
12682
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12683
# The default lists apply if the user does not specify any file.
12684
ac_need_defaults=:
12685
while test $# != 0
12686
do
12687
  case $1 in
12688
  --*=*)
12689
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
12690
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12691
    ac_shift=:
12692
    ;;
12693
  *)
12694
    ac_option=$1
12695
    ac_optarg=$2
12696
    ac_shift=shift
12697
    ;;
12698
  esac
12699
 
12700
  case $ac_option in
12701
  # Handling of the options.
12702
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12703
    ac_cs_recheck=: ;;
12704
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12705
    $as_echo "$ac_cs_version"; exit ;;
12706
  --debug | --debu | --deb | --de | --d | -d )
12707
    debug=: ;;
12708
  --file | --fil | --fi | --f )
12709
    $ac_shift
12710
    case $ac_optarg in
12711
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12712
    esac
12713
    as_fn_append CONFIG_FILES " '$ac_optarg'"
12714
    ac_need_defaults=false;;
12715
  --header | --heade | --head | --hea )
12716
    $ac_shift
12717
    case $ac_optarg in
12718
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12719
    esac
12720
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
12721
    ac_need_defaults=false;;
12722
  --he | --h)
12723
    # Conflict between --help and --header
12724
    as_fn_error "ambiguous option: \`$1'
12725
Try \`$0 --help' for more information.";;
12726
  --help | --hel | -h )
12727
    $as_echo "$ac_cs_usage"; exit ;;
12728
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12729
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
12730
    ac_cs_silent=: ;;
12731
 
12732
  # This is an error.
12733
  -*) as_fn_error "unrecognized option: \`$1'
12734
Try \`$0 --help' for more information." ;;
12735
 
12736
  *) as_fn_append ac_config_targets " $1"
12737
     ac_need_defaults=false ;;
12738
 
12739
  esac
12740
  shift
12741
done
12742
 
12743
ac_configure_extra_args=
12744
 
12745
if $ac_cs_silent; then
12746
  exec 6>/dev/null
12747
  ac_configure_extra_args="$ac_configure_extra_args --silent"
12748
fi
12749
 
12750
_ACEOF
12751
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12752
if \$ac_cs_recheck; then
12753
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12754
  shift
12755
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12756
  CONFIG_SHELL='$SHELL'
12757
  export CONFIG_SHELL
12758
  exec "\$@"
12759
fi
12760
 
12761
_ACEOF
12762
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12763
exec 5>>config.log
12764
{
12765
  echo
12766
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12767
## Running $as_me. ##
12768
_ASBOX
12769
  $as_echo "$ac_log"
12770
} >&5
12771
 
12772
_ACEOF
12773
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12774
#
12775
# INIT-COMMANDS
12776
#
12777
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12778
 
12779
 
12780
# The HP-UX ksh and POSIX shell print the target directory to stdout
12781
# if CDPATH is set.
12782
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12783
 
12784
sed_quote_subst='$sed_quote_subst'
12785
double_quote_subst='$double_quote_subst'
12786
delay_variable_subst='$delay_variable_subst'
12787
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12788
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12789
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12790
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12791
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12792
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12793
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12794
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12795
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12796
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12797
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12798
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12799
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12800
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12801
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12802
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12803
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12804
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12805
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12806
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12807
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12808
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12809
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12810
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12811
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12812
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12813
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12814
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12815
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12816
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12817
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12818
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12819
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12820
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12821
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12822
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12823
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12824
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12825
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12826
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12827
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12828
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12829
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12830
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12831
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12832
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12833
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12834
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12835
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
12836
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12837
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12838
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12839
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12840
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12841
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12842
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12843
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12844
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12845
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12846
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12847
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12848
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12849
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12850
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12851
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12852
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12853
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12854
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12855
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12856
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12857
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12858
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12859
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12860
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12861
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12862
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12863
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12864
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12865
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12866
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12867
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12868
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12869
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12870
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12871
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12872
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12873
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12874
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12875
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12876
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
12877
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12878
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12879
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12880
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12881
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12882
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12883
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12884
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12885
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12886
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12887
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12888
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12889
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12890
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12891
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12892
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12893
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12894
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12895
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12896
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12897
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12898
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12899
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12900
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12901
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12902
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12903
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12904
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12905
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12906
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12907
 
12908
LTCC='$LTCC'
12909
LTCFLAGS='$LTCFLAGS'
12910
compiler='$compiler_DEFAULT'
12911
 
12912
# A function that is used when there is no print builtin or printf.
12913
func_fallback_echo ()
12914
{
12915
  eval 'cat <<_LTECHO_EOF
12916
\$1
12917
_LTECHO_EOF'
12918
}
12919
 
12920
# Quote evaled strings.
12921
for var in SHELL \
12922
ECHO \
12923
SED \
12924
GREP \
12925
EGREP \
12926
FGREP \
12927
LD \
12928
NM \
12929
LN_S \
12930
lt_SP2NL \
12931
lt_NL2SP \
12932
reload_flag \
12933
OBJDUMP \
12934
deplibs_check_method \
12935
file_magic_cmd \
12936
AR \
12937
AR_FLAGS \
12938
STRIP \
12939
RANLIB \
12940
CC \
12941
CFLAGS \
12942
compiler \
12943
lt_cv_sys_global_symbol_pipe \
12944
lt_cv_sys_global_symbol_to_cdecl \
12945
lt_cv_sys_global_symbol_to_c_name_address \
12946
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12947
lt_prog_compiler_no_builtin_flag \
12948
lt_prog_compiler_wl \
12949
lt_prog_compiler_pic \
12950
lt_prog_compiler_static \
12951
lt_cv_prog_compiler_c_o \
12952
need_locks \
12953
DSYMUTIL \
12954
NMEDIT \
12955
LIPO \
12956
OTOOL \
12957
OTOOL64 \
12958
shrext_cmds \
12959
export_dynamic_flag_spec \
12960
whole_archive_flag_spec \
12961
compiler_needs_object \
12962
with_gnu_ld \
12963
allow_undefined_flag \
12964
no_undefined_flag \
12965
hardcode_libdir_flag_spec \
12966
hardcode_libdir_flag_spec_ld \
12967
hardcode_libdir_separator \
12968
fix_srcfile_path \
12969
exclude_expsyms \
12970
include_expsyms \
12971
file_list_spec \
12972
variables_saved_for_relink \
12973
libname_spec \
12974
library_names_spec \
12975
soname_spec \
12976
install_override_mode \
12977
finish_eval \
12978
old_striplib \
12979
striplib; do
12980
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12981
    *[\\\\\\\`\\"\\\$]*)
12982
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12983
      ;;
12984
    *)
12985
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12986
      ;;
12987
    esac
12988
done
12989
 
12990
# Double-quote double-evaled strings.
12991
for var in reload_cmds \
12992
old_postinstall_cmds \
12993
old_postuninstall_cmds \
12994
old_archive_cmds \
12995
extract_expsyms_cmds \
12996
old_archive_from_new_cmds \
12997
old_archive_from_expsyms_cmds \
12998
archive_cmds \
12999
archive_expsym_cmds \
13000
module_cmds \
13001
module_expsym_cmds \
13002
export_symbols_cmds \
13003
prelink_cmds \
13004
postinstall_cmds \
13005
postuninstall_cmds \
13006
finish_cmds \
13007
sys_lib_search_path_spec \
13008
sys_lib_dlsearch_path_spec; do
13009
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13010
    *[\\\\\\\`\\"\\\$]*)
13011
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13012
      ;;
13013
    *)
13014
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13015
      ;;
13016
    esac
13017
done
13018
 
13019
ac_aux_dir='$ac_aux_dir'
13020
xsi_shell='$xsi_shell'
13021
lt_shell_append='$lt_shell_append'
13022
 
13023
# See if we are running on zsh, and set the options which allow our
13024
# commands through without removal of \ escapes INIT.
13025
if test -n "\${ZSH_VERSION+set}" ; then
13026
   setopt NO_GLOB_SUBST
13027
fi
13028
 
13029
 
13030
    PACKAGE='$PACKAGE'
13031
    VERSION='$VERSION'
13032
    TIMESTAMP='$TIMESTAMP'
13033
    RM='$RM'
13034
    ofile='$ofile'
13035
 
13036
 
13037
 
13038
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
13039
    # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
13040
    # from automake.
13041
    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13042
    # Capture the value of LINGUAS because we need it to compute CATALOGS.
13043
    LINGUAS="${LINGUAS-%UNSET%}"
13044
 
13045
 
13046
_ACEOF
13047
 
13048
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13049
 
13050
# Handling of arguments.
13051
for ac_config_target in $ac_config_targets
13052
do
13053
  case $ac_config_target in
13054
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13055
    "gconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS gconfig.h:gconfig.in" ;;
13056
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13057
    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13058
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13059
    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
13060
 
13061
  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13062
  esac
13063
done
13064
 
13065
 
13066
# If the user did not use the arguments to specify the items to instantiate,
13067
# then the envvar interface is used.  Set only those that are not.
13068
# We use the long form for the default assignment because of an extremely
13069
# bizarre bug on SunOS 4.1.3.
13070
if $ac_need_defaults; then
13071
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13072
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13073
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13074
fi
13075
 
13076
# Have a temporary directory for convenience.  Make it in the build tree
13077
# simply because there is no reason against having it here, and in addition,
13078
# creating and moving files from /tmp can sometimes cause problems.
13079
# Hook for its removal unless debugging.
13080
# Note that there is a small window in which the directory will not be cleaned:
13081
# after its creation but before its name has been assigned to `$tmp'.
13082
$debug ||
13083
{
13084
  tmp=
13085
  trap 'exit_status=$?
13086
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13087
' 0
13088
  trap 'as_fn_exit 1' 1 2 13 15
13089
}
13090
# Create a (secure) tmp directory for tmp files.
13091
 
13092
{
13093
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13094
  test -n "$tmp" && test -d "$tmp"
13095
}  ||
13096
{
13097
  tmp=./conf$$-$RANDOM
13098
  (umask 077 && mkdir "$tmp")
13099
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
13100
 
13101
# Set up the scripts for CONFIG_FILES section.
13102
# No need to generate them if there are no CONFIG_FILES.
13103
# This happens for instance with `./config.status config.h'.
13104
if test -n "$CONFIG_FILES"; then
13105
 
13106
 
13107
ac_cr=`echo X | tr X '\015'`
13108
# On cygwin, bash can eat \r inside `` if the user requested igncr.
13109
# But we know of no other shell where ac_cr would be empty at this
13110
# point, so we can use a bashism as a fallback.
13111
if test "x$ac_cr" = x; then
13112
  eval ac_cr=\$\'\\r\'
13113
fi
13114
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null`
13115
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13116
  ac_cs_awk_cr='\r'
13117
else
13118
  ac_cs_awk_cr=$ac_cr
13119
fi
13120
 
13121
echo 'BEGIN {' >"$tmp/subs1.awk" &&
13122
_ACEOF
13123
 
13124
 
13125
{
13126
  echo "cat >conf$$subs.awk <<_ACEOF" &&
13127
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13128
  echo "_ACEOF"
13129
} >conf$$subs.sh ||
13130
  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13131
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13132
ac_delim='%!_!# '
13133
for ac_last_try in false false false false false :; do
13134
  . ./conf$$subs.sh ||
13135
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13136
 
13137
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13138
  if test $ac_delim_n = $ac_delim_num; then
13139
    break
13140
  elif $ac_last_try; then
13141
    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
13142
  else
13143
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13144
  fi
13145
done
13146
rm -f conf$$subs.sh
13147
 
13148
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13149
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
13150
_ACEOF
13151
sed -n '
13152
h
13153
s/^/S["/; s/!.*/"]=/
13154
p
13155
g
13156
s/^[^!]*!//
13157
:repl
13158
t repl
13159
s/'"$ac_delim"'$//
13160
t delim
13161
:nl
13162
h
13163
s/\(.\{148\}\).*/\1/
13164
t more1
13165
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13166
p
13167
n
13168
b repl
13169
:more1
13170
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13171
p
13172
g
13173
s/.\{148\}//
13174
t nl
13175
:delim
13176
h
13177
s/\(.\{148\}\).*/\1/
13178
t more2
13179
s/["\\]/\\&/g; s/^/"/; s/$/"/
13180
p
13181
b
13182
:more2
13183
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13184
p
13185
g
13186
s/.\{148\}//
13187
t delim
13188
' 
13189
/^[^""]/{
13190
  N
13191
  s/\n//
13192
}
13193
' >>$CONFIG_STATUS || ac_write_fail=1
13194
rm -f conf$$subs.awk
13195
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13196
_ACAWK
13197
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
13198
  for (key in S) S_is_set[key] = 1
13199
  FS = ""
13200
 
13201
}
13202
{
13203
  line = $ 0
13204
  nfields = split(line, field, "@")
13205
  substed = 0
13206
  len = length(field[1])
13207
  for (i = 2; i < nfields; i++) {
13208
    key = field[i]
13209
    keylen = length(key)
13210
    if (S_is_set[key]) {
13211
      value = S[key]
13212
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13213
      len += length(value) + length(field[++i])
13214
      substed = 1
13215
    } else
13216
      len += 1 + keylen
13217
  }
13218
 
13219
  print line
13220
}
13221
 
13222
_ACAWK
13223
_ACEOF
13224
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13225
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13226
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13227
else
13228
  cat
13229
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
13230
  || as_fn_error "could not setup config files machinery" "$LINENO" 5
13231
_ACEOF
13232
 
13233
# VPATH may cause trouble with some makes, so we remove $(srcdir),
13234
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13235
# trailing colons and then remove the whole line if VPATH becomes empty
13236
# (actually we leave an empty line to preserve line numbers).
13237
if test "x$srcdir" = x.; then
13238
  ac_vpsub='/^[  ]*VPATH[        ]*=/{
13239
s/:*\$(srcdir):*/:/
13240
s/:*\${srcdir}:*/:/
13241
s/:*@srcdir@:*/:/
13242
s/^\([^=]*=[     ]*\):*/\1/
13243
s/:*$//
13244
s/^[^=]*=[       ]*$//
13245
}'
13246
fi
13247
 
13248
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13249
fi # test -n "$CONFIG_FILES"
13250
 
13251
# Set up the scripts for CONFIG_HEADERS section.
13252
# No need to generate them if there are no CONFIG_HEADERS.
13253
# This happens for instance with `./config.status Makefile'.
13254
if test -n "$CONFIG_HEADERS"; then
13255
cat >"$tmp/defines.awk" <<\_ACAWK ||
13256
BEGIN {
13257
_ACEOF
13258
 
13259
# Transform confdefs.h into an awk script `defines.awk', embedded as
13260
# here-document in config.status, that substitutes the proper values into
13261
# config.h.in to produce config.h.
13262
 
13263
# Create a delimiter string that does not exist in confdefs.h, to ease
13264
# handling of long lines.
13265
ac_delim='%!_!# '
13266
for ac_last_try in false false :; do
13267
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
13268
  if test -z "$ac_t"; then
13269
    break
13270
  elif $ac_last_try; then
13271
    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
13272
  else
13273
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13274
  fi
13275
done
13276
 
13277
# For the awk script, D is an array of macro values keyed by name,
13278
# likewise P contains macro parameters if any.  Preserve backslash
13279
# newline sequences.
13280
 
13281
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13282
sed -n '
13283
s/.\{148\}/&'"$ac_delim"'/g
13284
t rset
13285
:rset
13286
s/^[     ]*#[    ]*define[       ][      ]*/ /
13287
t def
13288
d
13289
:def
13290
s/\\$//
13291
t bsnl
13292
s/["\\]/\\&/g
13293
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13294
D["\1"]=" \3"/p
13295
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
13296
d
13297
:bsnl
13298
s/["\\]/\\&/g
13299
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
13300
D["\1"]=" \3\\\\\\n"\\/p
13301
t cont
13302
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13303
t cont
13304
d
13305
:cont
13306
n
13307
s/.\{148\}/&'"$ac_delim"'/g
13308
t clear
13309
:clear
13310
s/\\$//
13311
t bsnlc
13312
s/["\\]/\\&/g; s/^/"/; s/$/"/p
13313
d
13314
:bsnlc
13315
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13316
b cont
13317
' 
13318
s/'"$ac_delim"'/"\\\
13319
"/g' >>$CONFIG_STATUS || ac_write_fail=1
13320
 
13321
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13322
  for (key in D) D_is_set[key] = 1
13323
  FS = ""
13324
}
13325
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13326
  line = \$ 0
13327
  split(line, arg, " ")
13328
  if (arg[1] == "#") {
13329
    defundef = arg[2]
13330
    mac1 = arg[3]
13331
  } else {
13332
    defundef = substr(arg[1], 2)
13333
    mac1 = arg[2]
13334
  }
13335
  split(mac1, mac2, "(") #)
13336
  macro = mac2[1]
13337
  prefix = substr(line, 1, index(line, defundef) - 1)
13338
  if (D_is_set[macro]) {
13339
    # Preserve the white space surrounding the "#".
13340
    print prefix "define", macro P[macro] D[macro]
13341
    next
13342
  } else {
13343
    # Replace #undef with comments.  This is necessary, for example,
13344
    # in the case of _POSIX_SOURCE, which is predefined and required
13345
    # on some systems where configure will not decide to define it.
13346
    if (defundef == "undef") {
13347
      print "/*", prefix defundef, macro, "*/"
13348
      next
13349
    }
13350
  }
13351
}
13352
{ print }
13353
_ACAWK
13354
_ACEOF
13355
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13356
  as_fn_error "could not setup config headers machinery" "$LINENO" 5
13357
fi # test -n "$CONFIG_HEADERS"
13358
 
13359
 
13360
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13361
shift
13362
for ac_tag
13363
do
13364
  case $ac_tag in
13365
  :[FHLC]) ac_mode=$ac_tag; continue;;
13366
  esac
13367
  case $ac_mode$ac_tag in
13368
  :[FHL]*:*);;
13369
  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
13370
  :[FH]-) ac_tag=-:-;;
13371
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13372
  esac
13373
  ac_save_IFS=$IFS
13374
  IFS=:
13375
  set x $ac_tag
13376
  IFS=$ac_save_IFS
13377
  shift
13378
  ac_file=$1
13379
  shift
13380
 
13381
  case $ac_mode in
13382
  :L) ac_source=$1;;
13383
  :[FH])
13384
    ac_file_inputs=
13385
    for ac_f
13386
    do
13387
      case $ac_f in
13388
      -) ac_f="$tmp/stdin";;
13389
      *) # Look for the file first in the build tree, then in the source tree
13390
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
13391
         # because $ac_f cannot contain `:'.
13392
         test -f "$ac_f" ||
13393
           case $ac_f in
13394
           [\\/$]*) false;;
13395
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13396
           esac ||
13397
           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
13398
      esac
13399
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13400
      as_fn_append ac_file_inputs " '$ac_f'"
13401
    done
13402
 
13403
    # Let's still pretend it is `configure' which instantiates (i.e., don't
13404
    # use $as_me), people would be surprised to read:
13405
    #    /* config.h.  Generated by config.status.  */
13406
    configure_input='Generated from '`
13407
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13408
        `' by configure.'
13409
    if test x"$ac_file" != x-; then
13410
      configure_input="$ac_file.  $configure_input"
13411
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13412
$as_echo "$as_me: creating $ac_file" >&6;}
13413
    fi
13414
    # Neutralize special characters interpreted by sed in replacement strings.
13415
    case $configure_input in #(
13416
    *\&* | *\|* | *\\* )
13417
       ac_sed_conf_input=`$as_echo "$configure_input" |
13418
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
13419
    *) ac_sed_conf_input=$configure_input;;
13420
    esac
13421
 
13422
    case $ac_tag in
13423
    *:-:* | *:-) cat >"$tmp/stdin" \
13424
      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
13425
    esac
13426
    ;;
13427
  esac
13428
 
13429
  ac_dir=`$as_dirname -- "$ac_file" ||
13430
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13431
         X"$ac_file" : 'X\(//\)[^/]' \| \
13432
         X"$ac_file" : 'X\(//\)$' \| \
13433
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13434
$as_echo X"$ac_file" |
13435
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13436
            s//\1/
13437
            q
13438
          }
13439
          /^X\(\/\/\)[^/].*/{
13440
            s//\1/
13441
            q
13442
          }
13443
          /^X\(\/\/\)$/{
13444
            s//\1/
13445
            q
13446
          }
13447
          /^X\(\/\).*/{
13448
            s//\1/
13449
            q
13450
          }
13451
          s/.*/./; q'`
13452
  as_dir="$ac_dir"; as_fn_mkdir_p
13453
  ac_builddir=.
13454
 
13455
case "$ac_dir" in
13456
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13457
*)
13458
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13459
  # A ".." for each directory in $ac_dir_suffix.
13460
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13461
  case $ac_top_builddir_sub in
13462
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13463
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13464
  esac ;;
13465
esac
13466
ac_abs_top_builddir=$ac_pwd
13467
ac_abs_builddir=$ac_pwd$ac_dir_suffix
13468
# for backward compatibility:
13469
ac_top_builddir=$ac_top_build_prefix
13470
 
13471
case $srcdir in
13472
  .)  # We are building in place.
13473
    ac_srcdir=.
13474
    ac_top_srcdir=$ac_top_builddir_sub
13475
    ac_abs_top_srcdir=$ac_pwd ;;
13476
  [\\/]* | ?:[\\/]* )  # Absolute name.
13477
    ac_srcdir=$srcdir$ac_dir_suffix;
13478
    ac_top_srcdir=$srcdir
13479
    ac_abs_top_srcdir=$srcdir ;;
13480
  *) # Relative name.
13481
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13482
    ac_top_srcdir=$ac_top_build_prefix$srcdir
13483
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13484
esac
13485
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13486
 
13487
 
13488
  case $ac_mode in
13489
  :F)
13490
  #
13491
  # CONFIG_FILE
13492
  #
13493
 
13494
  case $INSTALL in
13495
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13496
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13497
  esac
13498
  ac_MKDIR_P=$MKDIR_P
13499
  case $MKDIR_P in
13500
  [\\/$]* | ?:[\\/]* ) ;;
13501
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13502
  esac
13503
_ACEOF
13504
 
13505
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13506
# If the template does not know about datarootdir, expand it.
13507
# FIXME: This hack should be removed a few years after 2.60.
13508
ac_datarootdir_hack=; ac_datarootdir_seen=
13509
ac_sed_dataroot='
13510
/datarootdir/ {
13511
  p
13512
  q
13513
}
13514
/@datadir@/p
13515
/@docdir@/p
13516
/@infodir@/p
13517
/@localedir@/p
13518
/@mandir@/p'
13519
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13520
*datarootdir*) ac_datarootdir_seen=yes;;
13521
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13522
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13523
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13524
_ACEOF
13525
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13526
  ac_datarootdir_hack='
13527
  s&@datadir@&$datadir&g
13528
  s&@docdir@&$docdir&g
13529
  s&@infodir@&$infodir&g
13530
  s&@localedir@&$localedir&g
13531
  s&@mandir@&$mandir&g
13532
  s&\\\${datarootdir}&$datarootdir&g' ;;
13533
esac
13534
_ACEOF
13535
 
13536
# Neutralize VPATH when `$srcdir' = `.'.
13537
# Shell code in configure.ac might set extrasub.
13538
# FIXME: do we really want to maintain this feature?
13539
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13540
ac_sed_extra="$ac_vpsub
13541
$extrasub
13542
_ACEOF
13543
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13544
:t
13545
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13546
s|@configure_input@|$ac_sed_conf_input|;t t
13547
s&@top_builddir@&$ac_top_builddir_sub&;t t
13548
s&@top_build_prefix@&$ac_top_build_prefix&;t t
13549
s&@srcdir@&$ac_srcdir&;t t
13550
s&@abs_srcdir@&$ac_abs_srcdir&;t t
13551
s&@top_srcdir@&$ac_top_srcdir&;t t
13552
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13553
s&@builddir@&$ac_builddir&;t t
13554
s&@abs_builddir@&$ac_abs_builddir&;t t
13555
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13556
s&@INSTALL@&$ac_INSTALL&;t t
13557
s&@MKDIR_P@&$ac_MKDIR_P&;t t
13558
$ac_datarootdir_hack
13559
"
13560
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
13561
  || as_fn_error "could not create $ac_file" "$LINENO" 5
13562
 
13563
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13564
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13565
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13566
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13567
which seems to be undefined.  Please make sure it is defined." >&5
13568
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13569
which seems to be undefined.  Please make sure it is defined." >&2;}
13570
 
13571
  rm -f "$tmp/stdin"
13572
  case $ac_file in
13573
  -) cat "$tmp/out" && rm -f "$tmp/out";;
13574
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13575
  esac \
13576
  || as_fn_error "could not create $ac_file" "$LINENO" 5
13577
 ;;
13578
  :H)
13579
  #
13580
  # CONFIG_HEADER
13581
  #
13582
  if test x"$ac_file" != x-; then
13583
    {
13584
      $as_echo "/* $configure_input  */" \
13585
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13586
    } >"$tmp/config.h" \
13587
      || as_fn_error "could not create $ac_file" "$LINENO" 5
13588
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13589
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13590
$as_echo "$as_me: $ac_file is unchanged" >&6;}
13591
    else
13592
      rm -f "$ac_file"
13593
      mv "$tmp/config.h" "$ac_file" \
13594
        || as_fn_error "could not create $ac_file" "$LINENO" 5
13595
    fi
13596
  else
13597
    $as_echo "/* $configure_input  */" \
13598
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13599
      || as_fn_error "could not create -" "$LINENO" 5
13600
  fi
13601
# Compute "$ac_file"'s index in $config_headers.
13602
_am_arg="$ac_file"
13603
_am_stamp_count=1
13604
for _am_header in $config_headers :; do
13605
  case $_am_header in
13606
    $_am_arg | $_am_arg:* )
13607
      break ;;
13608
    * )
13609
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13610
  esac
13611
done
13612
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13613
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13614
         X"$_am_arg" : 'X\(//\)[^/]' \| \
13615
         X"$_am_arg" : 'X\(//\)$' \| \
13616
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13617
$as_echo X"$_am_arg" |
13618
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13619
            s//\1/
13620
            q
13621
          }
13622
          /^X\(\/\/\)[^/].*/{
13623
            s//\1/
13624
            q
13625
          }
13626
          /^X\(\/\/\)$/{
13627
            s//\1/
13628
            q
13629
          }
13630
          /^X\(\/\).*/{
13631
            s//\1/
13632
            q
13633
          }
13634
          s/.*/./; q'`/stamp-h$_am_stamp_count
13635
 ;;
13636
 
13637
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13638
$as_echo "$as_me: executing $ac_file commands" >&6;}
13639
 ;;
13640
  esac
13641
 
13642
 
13643
  case $ac_file$ac_mode in
13644
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
13645
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
13646
  # are listed without --file.  Let's play safe and only enable the eval
13647
  # if we detect the quoting.
13648
  case $CONFIG_FILES in
13649
  *\'*) eval set x "$CONFIG_FILES" ;;
13650
  *)   set x $CONFIG_FILES ;;
13651
  esac
13652
  shift
13653
  for mf
13654
  do
13655
    # Strip MF so we end up with the name of the file.
13656
    mf=`echo "$mf" | sed -e 's/:.*$//'`
13657
    # Check whether this is an Automake generated Makefile or not.
13658
    # We used to match only the files named `Makefile.in', but
13659
    # some people rename them; so instead we look at the file content.
13660
    # Grep'ing the first line is not enough: some people post-process
13661
    # each Makefile.in and add a new line on top of each file to say so.
13662
    # Grep'ing the whole file is not good either: AIX grep has a line
13663
    # limit of 2048, but all sed's we know have understand at least 4000.
13664
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13665
      dirpart=`$as_dirname -- "$mf" ||
13666
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13667
         X"$mf" : 'X\(//\)[^/]' \| \
13668
         X"$mf" : 'X\(//\)$' \| \
13669
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13670
$as_echo X"$mf" |
13671
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13672
            s//\1/
13673
            q
13674
          }
13675
          /^X\(\/\/\)[^/].*/{
13676
            s//\1/
13677
            q
13678
          }
13679
          /^X\(\/\/\)$/{
13680
            s//\1/
13681
            q
13682
          }
13683
          /^X\(\/\).*/{
13684
            s//\1/
13685
            q
13686
          }
13687
          s/.*/./; q'`
13688
    else
13689
      continue
13690
    fi
13691
    # Extract the definition of DEPDIR, am__include, and am__quote
13692
    # from the Makefile without running `make'.
13693
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13694
    test -z "$DEPDIR" && continue
13695
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
13696
    test -z "am__include" && continue
13697
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13698
    # When using ansi2knr, U may be empty or an underscore; expand it
13699
    U=`sed -n 's/^U = //p' < "$mf"`
13700
    # Find all dependency output files, they are included files with
13701
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
13702
    # simplest approach to changing $(DEPDIR) to its actual value in the
13703
    # expansion.
13704
    for file in `sed -n "
13705
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13706
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13707
      # Make sure the directory exists.
13708
      test -f "$dirpart/$file" && continue
13709
      fdir=`$as_dirname -- "$file" ||
13710
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13711
         X"$file" : 'X\(//\)[^/]' \| \
13712
         X"$file" : 'X\(//\)$' \| \
13713
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13714
$as_echo X"$file" |
13715
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13716
            s//\1/
13717
            q
13718
          }
13719
          /^X\(\/\/\)[^/].*/{
13720
            s//\1/
13721
            q
13722
          }
13723
          /^X\(\/\/\)$/{
13724
            s//\1/
13725
            q
13726
          }
13727
          /^X\(\/\).*/{
13728
            s//\1/
13729
            q
13730
          }
13731
          s/.*/./; q'`
13732
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
13733
      # echo "creating $dirpart/$file"
13734
      echo '# dummy' > "$dirpart/$file"
13735
    done
13736
  done
13737
}
13738
 ;;
13739
    "libtool":C)
13740
 
13741
    # See if we are running on zsh, and set the options which allow our
13742
    # commands through without removal of \ escapes.
13743
    if test -n "${ZSH_VERSION+set}" ; then
13744
      setopt NO_GLOB_SUBST
13745
    fi
13746
 
13747
    cfgfile="${ofile}T"
13748
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
13749
    $RM "$cfgfile"
13750
 
13751
    cat <<_LT_EOF >> "$cfgfile"
13752
#! $SHELL
13753
 
13754
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
13755
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
13756
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13757
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
13758
#
13759
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
13760
#                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
13761
#   Written by Gordon Matzigkeit, 1996
13762
#
13763
#   This file is part of GNU Libtool.
13764
#
13765
# GNU Libtool is free software; you can redistribute it and/or
13766
# modify it under the terms of the GNU General Public License as
13767
# published by the Free Software Foundation; either version 2 of
13768
# the License, or (at your option) any later version.
13769
#
13770
# As a special exception to the GNU General Public License,
13771
# if you distribute this file as part of a program or library that
13772
# is built using GNU Libtool, you may include this file under the
13773
# same distribution terms that you use for the rest of that program.
13774
#
13775
# GNU Libtool is distributed in the hope that it will be useful,
13776
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13777
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13778
# GNU General Public License for more details.
13779
#
13780
# You should have received a copy of the GNU General Public License
13781
# along with GNU Libtool; see the file COPYING.  If not, a copy
13782
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
13783
# obtained by writing to the Free Software Foundation, Inc.,
13784
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
13785
 
13786
 
13787
# The names of the tagged configurations supported by this script.
13788
available_tags=""
13789
 
13790
# ### BEGIN LIBTOOL CONFIG
13791
 
13792
# Which release of libtool.m4 was used?
13793
macro_version=$macro_version
13794
macro_revision=$macro_revision
13795
 
13796
# Whether or not to build shared libraries.
13797
build_libtool_libs=$enable_shared
13798
 
13799
# Whether or not to build static libraries.
13800
build_old_libs=$enable_static
13801
 
13802
# What type of objects to build.
13803
pic_mode=$pic_mode
13804
 
13805
# Whether or not to optimize for fast installation.
13806
fast_install=$enable_fast_install
13807
 
13808
# Shell to use when invoking shell scripts.
13809
SHELL=$lt_SHELL
13810
 
13811
# An echo program that protects backslashes.
13812
ECHO=$lt_ECHO
13813
 
13814
# The host system.
13815
host_alias=$host_alias
13816
host=$host
13817
host_os=$host_os
13818
 
13819
# The build system.
13820
build_alias=$build_alias
13821
build=$build
13822
build_os=$build_os
13823
 
13824
# A sed program that does not truncate output.
13825
SED=$lt_SED
13826
 
13827
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
13828
Xsed="\$SED -e 1s/^X//"
13829
 
13830
# A grep program that handles long lines.
13831
GREP=$lt_GREP
13832
 
13833
# An ERE matcher.
13834
EGREP=$lt_EGREP
13835
 
13836
# A literal string matcher.
13837
FGREP=$lt_FGREP
13838
 
13839
# A BSD- or MS-compatible name lister.
13840
NM=$lt_NM
13841
 
13842
# Whether we need soft or hard links.
13843
LN_S=$lt_LN_S
13844
 
13845
# What is the maximum length of a command?
13846
max_cmd_len=$max_cmd_len
13847
 
13848
# Object file suffix (normally "o").
13849
objext=$ac_objext
13850
 
13851
# Executable file suffix (normally "").
13852
exeext=$exeext
13853
 
13854
# whether the shell understands "unset".
13855
lt_unset=$lt_unset
13856
 
13857
# turn spaces into newlines.
13858
SP2NL=$lt_lt_SP2NL
13859
 
13860
# turn newlines into spaces.
13861
NL2SP=$lt_lt_NL2SP
13862
 
13863
# An object symbol dumper.
13864
OBJDUMP=$lt_OBJDUMP
13865
 
13866
# Method to check whether dependent libraries are shared objects.
13867
deplibs_check_method=$lt_deplibs_check_method
13868
 
13869
# Command to use when deplibs_check_method == "file_magic".
13870
file_magic_cmd=$lt_file_magic_cmd
13871
 
13872
# The archiver.
13873
AR=$lt_AR
13874
AR_FLAGS=$lt_AR_FLAGS
13875
 
13876
# A symbol stripping program.
13877
STRIP=$lt_STRIP
13878
 
13879
# Commands used to install an old-style archive.
13880
RANLIB=$lt_RANLIB
13881
old_postinstall_cmds=$lt_old_postinstall_cmds
13882
old_postuninstall_cmds=$lt_old_postuninstall_cmds
13883
 
13884
# Whether to use a lock for old archive extraction.
13885
lock_old_archive_extraction=$lock_old_archive_extraction
13886
 
13887
# A C compiler.
13888
LTCC=$lt_CC
13889
 
13890
# LTCC compiler flags.
13891
LTCFLAGS=$lt_CFLAGS
13892
 
13893
# Take the output of nm and produce a listing of raw symbols and C names.
13894
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
13895
 
13896
# Transform the output of nm in a proper C declaration.
13897
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
13898
 
13899
# Transform the output of nm in a C name address pair.
13900
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
13901
 
13902
# Transform the output of nm in a C name address pair when lib prefix is needed.
13903
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
13904
 
13905
# The name of the directory that contains temporary libtool files.
13906
objdir=$objdir
13907
 
13908
# Used to examine libraries when file_magic_cmd begins with "file".
13909
MAGIC_CMD=$MAGIC_CMD
13910
 
13911
# Must we lock files when doing compilation?
13912
need_locks=$lt_need_locks
13913
 
13914
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
13915
DSYMUTIL=$lt_DSYMUTIL
13916
 
13917
# Tool to change global to local symbols on Mac OS X.
13918
NMEDIT=$lt_NMEDIT
13919
 
13920
# Tool to manipulate fat objects and archives on Mac OS X.
13921
LIPO=$lt_LIPO
13922
 
13923
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
13924
OTOOL=$lt_OTOOL
13925
 
13926
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
13927
OTOOL64=$lt_OTOOL64
13928
 
13929
# Old archive suffix (normally "a").
13930
libext=$libext
13931
 
13932
# Shared library suffix (normally ".so").
13933
shrext_cmds=$lt_shrext_cmds
13934
 
13935
# The commands to extract the exported symbol list from a shared archive.
13936
extract_expsyms_cmds=$lt_extract_expsyms_cmds
13937
 
13938
# Variables whose values should be saved in libtool wrapper scripts and
13939
# restored at link time.
13940
variables_saved_for_relink=$lt_variables_saved_for_relink
13941
 
13942
# Do we need the "lib" prefix for modules?
13943
need_lib_prefix=$need_lib_prefix
13944
 
13945
# Do we need a version for libraries?
13946
need_version=$need_version
13947
 
13948
# Library versioning type.
13949
version_type=$version_type
13950
 
13951
# Shared library runtime path variable.
13952
runpath_var=$runpath_var
13953
 
13954
# Shared library path variable.
13955
shlibpath_var=$shlibpath_var
13956
 
13957
# Is shlibpath searched before the hard-coded library search path?
13958
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
13959
 
13960
# Format of library name prefix.
13961
libname_spec=$lt_libname_spec
13962
 
13963
# List of archive names.  First name is the real one, the rest are links.
13964
# The last name is the one that the linker finds with -lNAME
13965
library_names_spec=$lt_library_names_spec
13966
 
13967
# The coded name of the library, if different from the real name.
13968
soname_spec=$lt_soname_spec
13969
 
13970
# Permission mode override for installation of shared libraries.
13971
install_override_mode=$lt_install_override_mode
13972
 
13973
# Command to use after installation of a shared archive.
13974
postinstall_cmds=$lt_postinstall_cmds
13975
 
13976
# Command to use after uninstallation of a shared archive.
13977
postuninstall_cmds=$lt_postuninstall_cmds
13978
 
13979
# Commands used to finish a libtool library installation in a directory.
13980
finish_cmds=$lt_finish_cmds
13981
 
13982
# As "finish_cmds", except a single script fragment to be evaled but
13983
# not shown.
13984
finish_eval=$lt_finish_eval
13985
 
13986
# Whether we should hardcode library paths into libraries.
13987
hardcode_into_libs=$hardcode_into_libs
13988
 
13989
# Compile-time system search path for libraries.
13990
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
13991
 
13992
# Run-time system search path for libraries.
13993
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13994
 
13995
# Whether dlopen is supported.
13996
dlopen_support=$enable_dlopen
13997
 
13998
# Whether dlopen of programs is supported.
13999
dlopen_self=$enable_dlopen_self
14000
 
14001
# Whether dlopen of statically linked programs is supported.
14002
dlopen_self_static=$enable_dlopen_self_static
14003
 
14004
# Commands to strip libraries.
14005
old_striplib=$lt_old_striplib
14006
striplib=$lt_striplib
14007
 
14008
 
14009
# The linker used to build libraries.
14010
LD=$lt_LD
14011
 
14012
# How to create reloadable object files.
14013
reload_flag=$lt_reload_flag
14014
reload_cmds=$lt_reload_cmds
14015
 
14016
# Commands used to build an old-style archive.
14017
old_archive_cmds=$lt_old_archive_cmds
14018
 
14019
# A language specific compiler.
14020
CC=$lt_compiler
14021
 
14022
# Is the compiler the GNU compiler?
14023
with_gcc=$GCC
14024
 
14025
# Compiler flag to turn off builtin functions.
14026
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14027
 
14028
# How to pass a linker flag through the compiler.
14029
wl=$lt_lt_prog_compiler_wl
14030
 
14031
# Additional compiler flags for building library objects.
14032
pic_flag=$lt_lt_prog_compiler_pic
14033
 
14034
# Compiler flag to prevent dynamic linking.
14035
link_static_flag=$lt_lt_prog_compiler_static
14036
 
14037
# Does compiler simultaneously support -c and -o options?
14038
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14039
 
14040
# Whether or not to add -lc for building shared libraries.
14041
build_libtool_need_lc=$archive_cmds_need_lc
14042
 
14043
# Whether or not to disallow shared libs when runtime libs are static.
14044
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14045
 
14046
# Compiler flag to allow reflexive dlopens.
14047
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14048
 
14049
# Compiler flag to generate shared objects directly from archives.
14050
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14051
 
14052
# Whether the compiler copes with passing no objects directly.
14053
compiler_needs_object=$lt_compiler_needs_object
14054
 
14055
# Create an old-style archive from a shared archive.
14056
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14057
 
14058
# Create a temporary old-style archive to link instead of a shared archive.
14059
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14060
 
14061
# Commands used to build a shared archive.
14062
archive_cmds=$lt_archive_cmds
14063
archive_expsym_cmds=$lt_archive_expsym_cmds
14064
 
14065
# Commands used to build a loadable module if different from building
14066
# a shared archive.
14067
module_cmds=$lt_module_cmds
14068
module_expsym_cmds=$lt_module_expsym_cmds
14069
 
14070
# Whether we are building with GNU ld or not.
14071
with_gnu_ld=$lt_with_gnu_ld
14072
 
14073
# Flag that allows shared libraries with undefined symbols to be built.
14074
allow_undefined_flag=$lt_allow_undefined_flag
14075
 
14076
# Flag that enforces no undefined symbols.
14077
no_undefined_flag=$lt_no_undefined_flag
14078
 
14079
# Flag to hardcode \$libdir into a binary during linking.
14080
# This must work even if \$libdir does not exist
14081
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14082
 
14083
# If ld is used when linking, flag to hardcode \$libdir into a binary
14084
# during linking.  This must work even if \$libdir does not exist.
14085
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14086
 
14087
# Whether we need a single "-rpath" flag with a separated argument.
14088
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14089
 
14090
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14091
# DIR into the resulting binary.
14092
hardcode_direct=$hardcode_direct
14093
 
14094
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14095
# DIR into the resulting binary and the resulting library dependency is
14096
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14097
# library is relocated.
14098
hardcode_direct_absolute=$hardcode_direct_absolute
14099
 
14100
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14101
# into the resulting binary.
14102
hardcode_minus_L=$hardcode_minus_L
14103
 
14104
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14105
# into the resulting binary.
14106
hardcode_shlibpath_var=$hardcode_shlibpath_var
14107
 
14108
# Set to "yes" if building a shared library automatically hardcodes DIR
14109
# into the library and all subsequent libraries and executables linked
14110
# against it.
14111
hardcode_automatic=$hardcode_automatic
14112
 
14113
# Set to yes if linker adds runtime paths of dependent libraries
14114
# to runtime path list.
14115
inherit_rpath=$inherit_rpath
14116
 
14117
# Whether libtool must link a program against all its dependency libraries.
14118
link_all_deplibs=$link_all_deplibs
14119
 
14120
# Fix the shell variable \$srcfile for the compiler.
14121
fix_srcfile_path=$lt_fix_srcfile_path
14122
 
14123
# Set to "yes" if exported symbols are required.
14124
always_export_symbols=$always_export_symbols
14125
 
14126
# The commands to list exported symbols.
14127
export_symbols_cmds=$lt_export_symbols_cmds
14128
 
14129
# Symbols that should not be listed in the preloaded symbols.
14130
exclude_expsyms=$lt_exclude_expsyms
14131
 
14132
# Symbols that must always be exported.
14133
include_expsyms=$lt_include_expsyms
14134
 
14135
# Commands necessary for linking programs (against libraries) with templates.
14136
prelink_cmds=$lt_prelink_cmds
14137
 
14138
# Specify filename containing input files.
14139
file_list_spec=$lt_file_list_spec
14140
 
14141
# How to hardcode a shared library path into an executable.
14142
hardcode_action=$hardcode_action
14143
 
14144
# ### END LIBTOOL CONFIG
14145
 
14146
_LT_EOF
14147
 
14148
  case $host_os in
14149
  aix3*)
14150
    cat <<\_LT_EOF >> "$cfgfile"
14151
# AIX sometimes has problems with the GCC collect2 program.  For some
14152
# reason, if we set the COLLECT_NAMES environment variable, the problems
14153
# vanish in a puff of smoke.
14154
if test "X${COLLECT_NAMES+set}" != Xset; then
14155
  COLLECT_NAMES=
14156
  export COLLECT_NAMES
14157
fi
14158
_LT_EOF
14159
    ;;
14160
  esac
14161
 
14162
 
14163
ltmain="$ac_aux_dir/ltmain.sh"
14164
 
14165
 
14166
  # We use sed instead of cat because bash on DJGPP gets confused if
14167
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14168
  # text mode, it properly converts lines to CR/LF.  This bash problem
14169
  # is reportedly fixed, but why not run on old versions too?
14170
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
14171
    || (rm -f "$cfgfile"; exit 1)
14172
 
14173
  case $xsi_shell in
14174
  yes)
14175
    cat << \_LT_EOF >> "$cfgfile"
14176
 
14177
# func_dirname file append nondir_replacement
14178
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14179
# otherwise set result to NONDIR_REPLACEMENT.
14180
func_dirname ()
14181
{
14182
  case ${1} in
14183
    */*) func_dirname_result="${1%/*}${2}" ;;
14184
    *  ) func_dirname_result="${3}" ;;
14185
  esac
14186
}
14187
 
14188
# func_basename file
14189
func_basename ()
14190
{
14191
  func_basename_result="${1##*/}"
14192
}
14193
 
14194
# func_dirname_and_basename file append nondir_replacement
14195
# perform func_basename and func_dirname in a single function
14196
# call:
14197
#   dirname:  Compute the dirname of FILE.  If nonempty,
14198
#             add APPEND to the result, otherwise set result
14199
#             to NONDIR_REPLACEMENT.
14200
#             value returned in "$func_dirname_result"
14201
#   basename: Compute filename of FILE.
14202
#             value retuned in "$func_basename_result"
14203
# Implementation must be kept synchronized with func_dirname
14204
# and func_basename. For efficiency, we do not delegate to
14205
# those functions but instead duplicate the functionality here.
14206
func_dirname_and_basename ()
14207
{
14208
  case ${1} in
14209
    */*) func_dirname_result="${1%/*}${2}" ;;
14210
    *  ) func_dirname_result="${3}" ;;
14211
  esac
14212
  func_basename_result="${1##*/}"
14213
}
14214
 
14215
# func_stripname prefix suffix name
14216
# strip PREFIX and SUFFIX off of NAME.
14217
# PREFIX and SUFFIX must not contain globbing or regex special
14218
# characters, hashes, percent signs, but SUFFIX may contain a leading
14219
# dot (in which case that matches only a dot).
14220
func_stripname ()
14221
{
14222
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
14223
  # positional parameters, so assign one to ordinary parameter first.
14224
  func_stripname_result=${3}
14225
  func_stripname_result=${func_stripname_result#"${1}"}
14226
  func_stripname_result=${func_stripname_result%"${2}"}
14227
}
14228
 
14229
# func_opt_split
14230
func_opt_split ()
14231
{
14232
  func_opt_split_opt=${1%%=*}
14233
  func_opt_split_arg=${1#*=}
14234
}
14235
 
14236
# func_lo2o object
14237
func_lo2o ()
14238
{
14239
  case ${1} in
14240
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
14241
    *)    func_lo2o_result=${1} ;;
14242
  esac
14243
}
14244
 
14245
# func_xform libobj-or-source
14246
func_xform ()
14247
{
14248
  func_xform_result=${1%.*}.lo
14249
}
14250
 
14251
# func_arith arithmetic-term...
14252
func_arith ()
14253
{
14254
  func_arith_result=$(( $* ))
14255
}
14256
 
14257
# func_len string
14258
# STRING may not start with a hyphen.
14259
func_len ()
14260
{
14261
  func_len_result=${#1}
14262
}
14263
 
14264
_LT_EOF
14265
    ;;
14266
  *) # Bourne compatible functions.
14267
    cat << \_LT_EOF >> "$cfgfile"
14268
 
14269
# func_dirname file append nondir_replacement
14270
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
14271
# otherwise set result to NONDIR_REPLACEMENT.
14272
func_dirname ()
14273
{
14274
  # Extract subdirectory from the argument.
14275
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
14276
  if test "X$func_dirname_result" = "X${1}"; then
14277
    func_dirname_result="${3}"
14278
  else
14279
    func_dirname_result="$func_dirname_result${2}"
14280
  fi
14281
}
14282
 
14283
# func_basename file
14284
func_basename ()
14285
{
14286
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
14287
}
14288
 
14289
 
14290
# func_stripname prefix suffix name
14291
# strip PREFIX and SUFFIX off of NAME.
14292
# PREFIX and SUFFIX must not contain globbing or regex special
14293
# characters, hashes, percent signs, but SUFFIX may contain a leading
14294
# dot (in which case that matches only a dot).
14295
# func_strip_suffix prefix name
14296
func_stripname ()
14297
{
14298
  case ${2} in
14299
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
14300
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
14301
  esac
14302
}
14303
 
14304
# sed scripts:
14305
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
14306
my_sed_long_arg='1s/^-[^=]*=//'
14307
 
14308
# func_opt_split
14309
func_opt_split ()
14310
{
14311
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
14312
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
14313
}
14314
 
14315
# func_lo2o object
14316
func_lo2o ()
14317
{
14318
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
14319
}
14320
 
14321
# func_xform libobj-or-source
14322
func_xform ()
14323
{
14324
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
14325
}
14326
 
14327
# func_arith arithmetic-term...
14328
func_arith ()
14329
{
14330
  func_arith_result=`expr "$@"`
14331
}
14332
 
14333
# func_len string
14334
# STRING may not start with a hyphen.
14335
func_len ()
14336
{
14337
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
14338
}
14339
 
14340
_LT_EOF
14341
esac
14342
 
14343
case $lt_shell_append in
14344
  yes)
14345
    cat << \_LT_EOF >> "$cfgfile"
14346
 
14347
# func_append var value
14348
# Append VALUE to the end of shell variable VAR.
14349
func_append ()
14350
{
14351
  eval "$1+=\$2"
14352
}
14353
_LT_EOF
14354
    ;;
14355
  *)
14356
    cat << \_LT_EOF >> "$cfgfile"
14357
 
14358
# func_append var value
14359
# Append VALUE to the end of shell variable VAR.
14360
func_append ()
14361
{
14362
  eval "$1=\$$1\$2"
14363
}
14364
 
14365
_LT_EOF
14366
    ;;
14367
  esac
14368
 
14369
 
14370
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
14371
    || (rm -f "$cfgfile"; exit 1)
14372
 
14373
  mv -f "$cfgfile" "$ofile" ||
14374
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14375
  chmod +x "$ofile"
14376
 
14377
 ;;
14378
    "default-1":C)
14379
    for ac_file in $CONFIG_FILES; do
14380
      # Support "outfile[:infile[:infile...]]"
14381
      case "$ac_file" in
14382
        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
14383
      esac
14384
      # PO directories have a Makefile.in generated from Makefile.in.in.
14385
      case "$ac_file" in */Makefile.in)
14386
        # Adjust a relative srcdir.
14387
        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14388
        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
14389
        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14390
        # In autoconf-2.13 it is called $ac_given_srcdir.
14391
        # In autoconf-2.50 it is called $srcdir.
14392
        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
14393
        case "$ac_given_srcdir" in
14394
          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
14395
          /*) top_srcdir="$ac_given_srcdir" ;;
14396
          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
14397
        esac
14398
        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14399
          rm -f "$ac_dir/POTFILES"
14400
          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
14401
          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
14402
          POMAKEFILEDEPS="POTFILES.in"
14403
          # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
14404
          # on $ac_dir but don't depend on user-specified configuration
14405
          # parameters.
14406
          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14407
            # The LINGUAS file contains the set of available languages.
14408
            if test -n "$OBSOLETE_ALL_LINGUAS"; then
14409
              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
14410
            fi
14411
            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14412
            # Hide the ALL_LINGUAS assigment from automake.
14413
            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14414
            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
14415
          else
14416
            # The set of available languages was given in configure.in.
14417
            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14418
          fi
14419
          case "$ac_given_srcdir" in
14420
            .) srcdirpre= ;;
14421
            *) srcdirpre='$(srcdir)/' ;;
14422
          esac
14423
          POFILES=
14424
          GMOFILES=
14425
          UPDATEPOFILES=
14426
          DUMMYPOFILES=
14427
          for lang in $ALL_LINGUAS; do
14428
            POFILES="$POFILES $srcdirpre$lang.po"
14429
            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
14430
            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
14431
            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
14432
          done
14433
          # CATALOGS depends on both $ac_dir and the user's LINGUAS
14434
          # environment variable.
14435
          INST_LINGUAS=
14436
          if test -n "$ALL_LINGUAS"; then
14437
            for presentlang in $ALL_LINGUAS; do
14438
              useit=no
14439
              if test "%UNSET%" != "$LINGUAS"; then
14440
                desiredlanguages="$LINGUAS"
14441
              else
14442
                desiredlanguages="$ALL_LINGUAS"
14443
              fi
14444
              for desiredlang in $desiredlanguages; do
14445
                # Use the presentlang catalog if desiredlang is
14446
                #   a. equal to presentlang, or
14447
                #   b. a variant of presentlang (because in this case,
14448
                #      presentlang can be used as a fallback for messages
14449
                #      which are not translated in the desiredlang catalog).
14450
                case "$desiredlang" in
14451
                  "$presentlang"*) useit=yes;;
14452
                esac
14453
              done
14454
              if test $useit = yes; then
14455
                INST_LINGUAS="$INST_LINGUAS $presentlang"
14456
              fi
14457
            done
14458
          fi
14459
          CATALOGS=
14460
          if test -n "$INST_LINGUAS"; then
14461
            for lang in $INST_LINGUAS; do
14462
              CATALOGS="$CATALOGS $lang.gmo"
14463
            done
14464
          fi
14465
          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
14466
          sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
14467
          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
14468
            if test -f "$f"; then
14469
              case "$f" in
14470
                *.orig | *.bak | *~) ;;
14471
                *) cat "$f" >> "$ac_dir/Makefile" ;;
14472
              esac
14473
            fi
14474
          done
14475
        fi
14476
        ;;
14477
      esac
14478
    done ;;
14479
 
14480
  esac
14481
done # for ac_tag
14482
 
14483
 
14484
as_fn_exit 0
14485
_ACEOF
14486
ac_clean_files=$ac_clean_files_save
14487
 
14488
test $ac_write_fail = 0 ||
14489
  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
14490
 
14491
 
14492
# configure is writing to config.log, and then calls config.status.
14493
# config.status does its own redirection, appending to config.log.
14494
# Unfortunately, on DOS this fails, as config.log is still kept open
14495
# by configure, so config.status won't be able to write to it; its
14496
# output is simply discarded.  So we exec the FD to /dev/null,
14497
# effectively closing config.log, so it can be properly (re)opened and
14498
# appended to by config.status.  When coming back to configure, we
14499
# need to make the FD available again.
14500
if test "$no_create" != yes; then
14501
  ac_cs_success=:
14502
  ac_config_status_args=
14503
  test "$silent" = yes &&
14504
    ac_config_status_args="$ac_config_status_args --quiet"
14505
  exec 5>/dev/null
14506
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14507
  exec 5>>config.log
14508
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14509
  # would make configure fail if this is the last instruction.
14510
  $ac_cs_success || as_fn_exit $?
14511
fi
14512
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
14513
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14514
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14515
fi
14516
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.