2
# Guess values for system-dependent variables and create Makefiles.
 
 
3
# Generated by GNU Autoconf 2.68 for sqlite3cc 0.1.0.
 
 
5
# Report bugs to <tim@ed.am>.
 
 
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 
 
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
 
 
13
# This configure script is free software; the Free Software Foundation
 
 
14
# gives unlimited permission to copy, distribute and modify it.
 
 
15
## -------------------- ##
 
 
16
## M4sh Initialization. ##
 
 
17
## -------------------- ##
 
 
19
# Be more Bourne compatible
 
 
20
DUALCASE=1; export DUALCASE # for MKS sh
 
 
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
 
24
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
 
25
  # is contrary to our usage.  Disable this feature.
 
 
26
  alias -g '${1+"$@"}'='"$@"'
 
 
29
  case `(set -o) 2>/dev/null` in #(
 
 
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
 
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
 
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
 
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
 
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
 
46
# but without wasting forks for bash or zsh.
 
 
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
 
48
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
 
50
  as_echo_n='print -rn --'
 
 
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
 
55
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
 
56
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
 
57
    as_echo_n='/usr/ucb/echo -n'
 
 
59
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
 
64
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
 
65
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
 
67
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
 
70
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
 
73
  as_echo='sh -c $as_echo_body as_echo'
 
 
76
# The user is always right.
 
 
77
if test "${PATH_SEPARATOR+set}" != set; then
 
 
79
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
 
80
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
 
87
# We need space, tab and new line, in precisely that order.  Quoting is
 
 
88
# there to prevent editors from complaining about space-tab.
 
 
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
 
90
# splitting by setting IFS to empty value.)
 
 
93
# Find who we are.  Look in the path if we contain no directory separator.
 
 
96
  *[\\/]* ) as_myself=$0 ;;
 
 
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
101
  test -z "$as_dir" && as_dir=.
 
 
102
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
 
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
 
109
# in which case we are not to be found in the path.
 
 
110
if test "x$as_myself" = x; then
 
 
113
if test ! -f "$as_myself"; then
 
 
114
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
 
118
# Unset variables that we do not need and which cause bugs (e.g. in
 
 
119
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
 
120
# suppresses any "Segmentation fault" message there.  '((' could
 
 
121
# trigger a bug in pdksh 5.2.14.
 
 
122
for as_var in BASH_ENV ENV MAIL MAILPATH
 
 
123
do eval test x\${$as_var+set} = xset \
 
 
124
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
 
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 
139
if test "x$CONFIG_SHELL" = x; then
 
 
140
  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
 
 
143
  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
 
 
144
  # is contrary to our usage.  Disable this feature.
 
 
145
  alias -g '\${1+\"\$@\"}'='\"\$@\"'
 
 
148
  case \`(set -o) 2>/dev/null\` in #(
 
 
156
  as_required="as_fn_return () { (exit \$1); }
 
 
157
as_fn_success () { as_fn_return 0; }
 
 
158
as_fn_failure () { as_fn_return 1; }
 
 
159
as_fn_ret_success () { return 0; }
 
 
160
as_fn_ret_failure () { return 1; }
 
 
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
 
 
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
 
 
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
 
 
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
 
 
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 
 
170
  exitcode=1; echo positional parameters were not saved.
 
 
172
test x\$exitcode = x0 || exit 1"
 
 
173
  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
 
 
174
  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
 
 
175
  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
 
 
176
  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
 
 
178
  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
 
 
179
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
 
180
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
 
181
    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
 
 
182
    PATH=/empty FPATH=/empty; export PATH FPATH
 
 
183
    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
 
 
184
      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
 
 
185
test \$(( 1 + 1 )) = 2 || exit 1"
 
 
186
  if (eval "$as_required") 2>/dev/null; then :
 
 
191
  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
 
 
194
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
 
199
  test -z "$as_dir" && as_dir=.
 
 
203
           for as_base in sh bash ksh sh5; do
 
 
204
             # Try only shells that exist, to save several forks.
 
 
205
             as_shell=$as_dir/$as_base
 
 
206
             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
 
 
207
                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
 
208
  CONFIG_SHELL=$as_shell as_have_required=yes
 
 
209
                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
 
 
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
 
 
218
              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
 
 
219
  CONFIG_SHELL=$SHELL as_have_required=yes
 
 
224
      if test "x$CONFIG_SHELL" != x; then :
 
 
225
  # We cannot yet assume a decent shell, so we have to provide a
 
 
226
        # neutralization value for shells without unset; and this also
 
 
227
        # works around shells that cannot unset nonexistent variables.
 
 
228
        # Preserve -v and -x to the replacement shell.
 
 
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
 
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
 
 
242
    if test x$as_have_required = xno; then :
 
 
243
  $as_echo "$0: This script requires a shell more modern than all"
 
 
244
  $as_echo "$0: the shells that I found on your system."
 
 
245
  if test x${ZSH_VERSION+set} = xset ; then
 
 
246
    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
 
 
247
    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
 
 
249
    $as_echo "$0: Please tell bug-autoconf@gnu.org and tim@ed.am about
 
 
250
$0: your system, including any error possibly output before
 
 
251
$0: this message. Then install a modern shell, or manually
 
 
252
$0: run the script under such a shell if you do have one."
 
 
258
SHELL=${CONFIG_SHELL-/bin/sh}
 
 
260
# Unset more variables known to interfere with behavior of common tools.
 
 
261
CLICOLOR_FORCE= GREP_OPTIONS=
 
 
262
unset CLICOLOR_FORCE GREP_OPTIONS
 
 
264
## --------------------- ##
 
 
265
## M4sh Shell Functions. ##
 
 
266
## --------------------- ##
 
 
269
# Portably unset VAR.
 
 
272
  { eval $1=; unset $1;}
 
 
276
# as_fn_set_status STATUS
 
 
277
# -----------------------
 
 
278
# Set $? to STATUS, without forking.
 
 
286
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
 
296
# Create "$as_dir" as a directory, including parents if necessary.
 
 
301
  -*) as_dir=./$as_dir;;
 
 
303
  test -d "$as_dir" || eval $as_mkdir_p || {
 
 
307
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
 
310
      as_dirs="'$as_qdir' $as_dirs"
 
 
311
      as_dir=`$as_dirname -- "$as_dir" ||
 
 
312
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
313
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
 
314
         X"$as_dir" : 'X\(//\)$' \| \
 
 
315
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
 
316
$as_echo X"$as_dir" |
 
 
317
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
334
      test -d "$as_dir" && break
 
 
336
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
 
337
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
 
341
# as_fn_append VAR VALUE
 
 
342
# ----------------------
 
 
343
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
 
344
# advantage of any shell optimizations that allow amortized linear growth over
 
 
345
# repeated appends, instead of the typical quadratic growth present in naive
 
 
347
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
 
348
  eval 'as_fn_append ()
 
 
361
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
 
362
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
 
363
# must be portable across $(()) and expr.
 
 
364
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
 
372
    as_val=`expr "$@" || test $? -eq 1`
 
 
377
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
 
378
# ----------------------------------------
 
 
379
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
 
380
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
 
381
# script with STATUS, using 1 if that was 0.
 
 
384
  as_status=$1; test $as_status -eq 0 && as_status=1
 
 
386
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
387
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
 
389
  $as_echo "$as_me: error: $2" >&2
 
 
390
  as_fn_exit $as_status
 
 
393
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
 
394
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
 
400
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
 
406
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
 
412
as_me=`$as_basename -- "$0" ||
 
 
413
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
 
414
         X"$0" : 'X\(//\)$' \| \
 
 
415
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
 
417
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
 
431
# Avoid depending upon Character Ranges.
 
 
432
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
 
433
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
 
434
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
 
435
as_cr_digits='0123456789'
 
 
436
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
 
439
  as_lineno_1=$LINENO as_lineno_1a=$LINENO
 
 
440
  as_lineno_2=$LINENO as_lineno_2a=$LINENO
 
 
441
  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
 
 
442
  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
 
 
443
  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
 
 
455
      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 
 
459
  chmod +x "$as_me.lineno" ||
 
 
460
    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
 
462
  # Don't try to exec as it changes $[0], causing all sort of problems
 
 
463
  # (the dirname of $[0] is not the place where we might find the
 
 
464
  # original and so on.  Autoconf is especially sensitive to this).
 
 
466
  # Exit status is that of the last command.
 
 
470
ECHO_C= ECHO_N= ECHO_T=
 
 
471
case `echo -n x` in #(((((
 
 
473
  case `echo 'xy\c'` in
 
 
474
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
 
476
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
 
483
rm -f conf$$ conf$$.exe conf$$.file
 
 
484
if test -d conf$$.dir; then
 
 
485
  rm -f conf$$.dir/conf$$.file
 
 
488
  mkdir conf$$.dir 2>/dev/null
 
 
490
if (echo >conf$$.file) 2>/dev/null; then
 
 
491
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
 
493
    # ... but there are two gotchas:
 
 
494
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
 
495
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
 
496
    # In both cases, we have to default to `cp -p'.
 
 
497
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
 
499
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
 
507
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
 
508
rmdir conf$$.dir 2>/dev/null
 
 
510
if mkdir -p . 2>/dev/null; then
 
 
511
  as_mkdir_p='mkdir -p "$as_dir"'
 
 
513
  test -d ./-p && rmdir ./-p
 
 
517
if test -x / >/dev/null 2>&1; then
 
 
520
  if ls -dL / >/dev/null 2>&1; then
 
 
527
      if test -d "$1"; then
 
 
533
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
 
534
        ???[sx]*):;;*)false;;esac;fi
 
 
538
as_executable_p=$as_test_x
 
 
540
# Sed expression to map a string onto a valid CPP name.
 
 
541
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
 
543
# Sed expression to map a string onto a valid variable name.
 
 
544
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
 
546
SHELL=${CONFIG_SHELL-/bin/sh}
 
 
549
test -n "$DJDIR" || exec 7<&0 </dev/null
 
 
553
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 
 
554
# so uname gets run too.
 
 
555
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
 
560
ac_default_prefix=/usr/local
 
 
562
ac_config_libobj_dir=.
 
 
569
# Identity of this package.
 
 
570
PACKAGE_NAME='sqlite3cc'
 
 
571
PACKAGE_TARNAME='sqlite3cc'
 
 
572
PACKAGE_VERSION='0.1.0'
 
 
573
PACKAGE_STRING='sqlite3cc 0.1.0'
 
 
574
PACKAGE_BUGREPORT='tim@ed.am'
 
 
575
PACKAGE_URL='http://ed.am/dev/sqlite3cc'
 
 
577
ac_unique_file="src/command.cc"
 
 
578
# Factoring default headers for most tests.
 
 
579
ac_includes_default="\
 
 
581
#ifdef HAVE_SYS_TYPES_H
 
 
582
# include <sys/types.h>
 
 
584
#ifdef HAVE_SYS_STAT_H
 
 
585
# include <sys/stat.h>
 
 
591
# ifdef HAVE_STDLIB_H
 
 
596
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
 
 
601
#ifdef HAVE_STRINGS_H
 
 
602
# include <strings.h>
 
 
604
#ifdef HAVE_INTTYPES_H
 
 
605
# include <inttypes.h>
 
 
614
ac_subst_vars='am__EXEEXT_FALSE
 
 
679
INSTALL_STRIP_PROGRAM
 
 
694
LIBSQLITE3CC_INTERFACE
 
 
722
program_transform_name
 
 
735
enable_option_checking
 
 
736
enable_dependency_tracking
 
 
745
      ac_precious_vars='build_alias
 
 
760
# Initialize some variables set by options.
 
 
762
ac_init_version=false
 
 
763
ac_unrecognized_opts=
 
 
765
# The variables have the same names as the options, with
 
 
766
# dashes changed to underlines.
 
 
774
program_transform_name=s,x,x,
 
 
782
# Installation directory options.
 
 
783
# These are left unexpanded so users can "make install exec_prefix=/foo"
 
 
784
# and all the variables that are supposed to be based on exec_prefix
 
 
785
# by default will actually change.
 
 
786
# Use braces instead of parens because sh, perl, etc. also accept them.
 
 
787
# (The list follows the same order as the GNU Coding Standards.)
 
 
788
bindir='${exec_prefix}/bin'
 
 
789
sbindir='${exec_prefix}/sbin'
 
 
790
libexecdir='${exec_prefix}/libexec'
 
 
791
datarootdir='${prefix}/share'
 
 
792
datadir='${datarootdir}'
 
 
793
sysconfdir='${prefix}/etc'
 
 
794
sharedstatedir='${prefix}/com'
 
 
795
localstatedir='${prefix}/var'
 
 
796
includedir='${prefix}/include'
 
 
797
oldincludedir='/usr/include'
 
 
798
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 
 
799
infodir='${datarootdir}/info'
 
 
804
libdir='${exec_prefix}/lib'
 
 
805
localedir='${datarootdir}/locale'
 
 
806
mandir='${datarootdir}/man'
 
 
812
  # If the previous option needs an argument, assign it.
 
 
813
  if test -n "$ac_prev"; then
 
 
814
    eval $ac_prev=\$ac_option
 
 
820
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
 
825
  # Accept the important Cygnus configure options, so we can diagnose typos.
 
 
827
  case $ac_dashdash$ac_option in
 
 
831
  -bindir | --bindir | --bindi | --bind | --bin | --bi)
 
 
833
  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
 
 
836
  -build | --build | --buil | --bui | --bu)
 
 
837
    ac_prev=build_alias ;;
 
 
838
  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
 
 
839
    build_alias=$ac_optarg ;;
 
 
841
  -cache-file | --cache-file | --cache-fil | --cache-fi \
 
 
842
  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
 
 
843
    ac_prev=cache_file ;;
 
 
844
  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
 
 
845
  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
 
 
846
    cache_file=$ac_optarg ;;
 
 
849
    cache_file=config.cache ;;
 
 
851
  -datadir | --datadir | --datadi | --datad)
 
 
853
  -datadir=* | --datadir=* | --datadi=* | --datad=*)
 
 
854
    datadir=$ac_optarg ;;
 
 
856
  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
 
 
857
  | --dataroo | --dataro | --datar)
 
 
858
    ac_prev=datarootdir ;;
 
 
859
  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
 
 
860
  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
 
 
861
    datarootdir=$ac_optarg ;;
 
 
863
  -disable-* | --disable-*)
 
 
864
    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
 
 
865
    # Reject names that are not valid shell variable names.
 
 
866
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
 
867
      as_fn_error $? "invalid feature name: $ac_useropt"
 
 
868
    ac_useropt_orig=$ac_useropt
 
 
869
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
 
870
    case $ac_user_opts in
 
 
874
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
 
 
875
         ac_unrecognized_sep=', ';;
 
 
877
    eval enable_$ac_useropt=no ;;
 
 
879
  -docdir | --docdir | --docdi | --doc | --do)
 
 
881
  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
 
 
884
  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
 
 
886
  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
 
 
889
  -enable-* | --enable-*)
 
 
890
    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
 
 
891
    # Reject names that are not valid shell variable names.
 
 
892
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
 
893
      as_fn_error $? "invalid feature name: $ac_useropt"
 
 
894
    ac_useropt_orig=$ac_useropt
 
 
895
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
 
896
    case $ac_user_opts in
 
 
900
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
 
 
901
         ac_unrecognized_sep=', ';;
 
 
903
    eval enable_$ac_useropt=\$ac_optarg ;;
 
 
905
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
 
 
906
  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
 
 
907
  | --exec | --exe | --ex)
 
 
908
    ac_prev=exec_prefix ;;
 
 
909
  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
 
 
910
  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
 
 
911
  | --exec=* | --exe=* | --ex=*)
 
 
912
    exec_prefix=$ac_optarg ;;
 
 
914
  -gas | --gas | --ga | --g)
 
 
915
    # Obsolete; use --with-gas.
 
 
918
  -help | --help | --hel | --he | -h)
 
 
920
  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
 
 
921
    ac_init_help=recursive ;;
 
 
922
  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
 
 
923
    ac_init_help=short ;;
 
 
925
  -host | --host | --hos | --ho)
 
 
926
    ac_prev=host_alias ;;
 
 
927
  -host=* | --host=* | --hos=* | --ho=*)
 
 
928
    host_alias=$ac_optarg ;;
 
 
930
  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
 
 
932
  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
 
 
934
    htmldir=$ac_optarg ;;
 
 
936
  -includedir | --includedir | --includedi | --included | --include \
 
 
937
  | --includ | --inclu | --incl | --inc)
 
 
938
    ac_prev=includedir ;;
 
 
939
  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
 
 
940
  | --includ=* | --inclu=* | --incl=* | --inc=*)
 
 
941
    includedir=$ac_optarg ;;
 
 
943
  -infodir | --infodir | --infodi | --infod | --info | --inf)
 
 
945
  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
 
 
946
    infodir=$ac_optarg ;;
 
 
948
  -libdir | --libdir | --libdi | --libd)
 
 
950
  -libdir=* | --libdir=* | --libdi=* | --libd=*)
 
 
953
  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
 
 
954
  | --libexe | --libex | --libe)
 
 
955
    ac_prev=libexecdir ;;
 
 
956
  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
 
 
957
  | --libexe=* | --libex=* | --libe=*)
 
 
958
    libexecdir=$ac_optarg ;;
 
 
960
  -localedir | --localedir | --localedi | --localed | --locale)
 
 
962
  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
 
 
963
    localedir=$ac_optarg ;;
 
 
965
  -localstatedir | --localstatedir | --localstatedi | --localstated \
 
 
966
  | --localstate | --localstat | --localsta | --localst | --locals)
 
 
967
    ac_prev=localstatedir ;;
 
 
968
  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
 
 
969
  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
 
 
970
    localstatedir=$ac_optarg ;;
 
 
972
  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
 
 
974
  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
 
 
978
    # Obsolete; use --without-fp.
 
 
981
  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
 
 
982
  | --no-cr | --no-c | -n)
 
 
985
  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
 
 
986
  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
 
 
989
  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
 
 
990
  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
 
 
991
  | --oldin | --oldi | --old | --ol | --o)
 
 
992
    ac_prev=oldincludedir ;;
 
 
993
  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
 
 
994
  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
 
 
995
  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
 
 
996
    oldincludedir=$ac_optarg ;;
 
 
998
  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
 
 
1000
  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
 
 
1001
    prefix=$ac_optarg ;;
 
 
1003
  -program-prefix | --program-prefix | --program-prefi | --program-pref \
 
 
1004
  | --program-pre | --program-pr | --program-p)
 
 
1005
    ac_prev=program_prefix ;;
 
 
1006
  -program-prefix=* | --program-prefix=* | --program-prefi=* \
 
 
1007
  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
 
 
1008
    program_prefix=$ac_optarg ;;
 
 
1010
  -program-suffix | --program-suffix | --program-suffi | --program-suff \
 
 
1011
  | --program-suf | --program-su | --program-s)
 
 
1012
    ac_prev=program_suffix ;;
 
 
1013
  -program-suffix=* | --program-suffix=* | --program-suffi=* \
 
 
1014
  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
 
 
1015
    program_suffix=$ac_optarg ;;
 
 
1017
  -program-transform-name | --program-transform-name \
 
 
1018
  | --program-transform-nam | --program-transform-na \
 
 
1019
  | --program-transform-n | --program-transform- \
 
 
1020
  | --program-transform | --program-transfor \
 
 
1021
  | --program-transfo | --program-transf \
 
 
1022
  | --program-trans | --program-tran \
 
 
1023
  | --progr-tra | --program-tr | --program-t)
 
 
1024
    ac_prev=program_transform_name ;;
 
 
1025
  -program-transform-name=* | --program-transform-name=* \
 
 
1026
  | --program-transform-nam=* | --program-transform-na=* \
 
 
1027
  | --program-transform-n=* | --program-transform-=* \
 
 
1028
  | --program-transform=* | --program-transfor=* \
 
 
1029
  | --program-transfo=* | --program-transf=* \
 
 
1030
  | --program-trans=* | --program-tran=* \
 
 
1031
  | --progr-tra=* | --program-tr=* | --program-t=*)
 
 
1032
    program_transform_name=$ac_optarg ;;
 
 
1034
  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
 
 
1036
  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
 
 
1037
    pdfdir=$ac_optarg ;;
 
 
1039
  -psdir | --psdir | --psdi | --psd | --ps)
 
 
1041
  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
 
 
1044
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
 
1045
  | -silent | --silent | --silen | --sile | --sil)
 
 
1048
  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
 
 
1050
  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
 
 
1052
    sbindir=$ac_optarg ;;
 
 
1054
  -sharedstatedir | --sharedstatedir | --sharedstatedi \
 
 
1055
  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
 
 
1056
  | --sharedst | --shareds | --shared | --share | --shar \
 
 
1058
    ac_prev=sharedstatedir ;;
 
 
1059
  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
 
 
1060
  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
 
 
1061
  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
 
 
1063
    sharedstatedir=$ac_optarg ;;
 
 
1065
  -site | --site | --sit)
 
 
1067
  -site=* | --site=* | --sit=*)
 
 
1070
  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
 
 
1072
  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
 
 
1073
    srcdir=$ac_optarg ;;
 
 
1075
  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
 
 
1076
  | --syscon | --sysco | --sysc | --sys | --sy)
 
 
1077
    ac_prev=sysconfdir ;;
 
 
1078
  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
 
 
1079
  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
 
 
1080
    sysconfdir=$ac_optarg ;;
 
 
1082
  -target | --target | --targe | --targ | --tar | --ta | --t)
 
 
1083
    ac_prev=target_alias ;;
 
 
1084
  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
 
 
1085
    target_alias=$ac_optarg ;;
 
 
1087
  -v | -verbose | --verbose | --verbos | --verbo | --verb)
 
 
1090
  -version | --version | --versio | --versi | --vers | -V)
 
 
1091
    ac_init_version=: ;;
 
 
1094
    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
 
 
1095
    # Reject names that are not valid shell variable names.
 
 
1096
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
 
1097
      as_fn_error $? "invalid package name: $ac_useropt"
 
 
1098
    ac_useropt_orig=$ac_useropt
 
 
1099
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
 
1100
    case $ac_user_opts in
 
 
1104
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
 
 
1105
         ac_unrecognized_sep=', ';;
 
 
1107
    eval with_$ac_useropt=\$ac_optarg ;;
 
 
1109
  -without-* | --without-*)
 
 
1110
    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
 
 
1111
    # Reject names that are not valid shell variable names.
 
 
1112
    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
 
 
1113
      as_fn_error $? "invalid package name: $ac_useropt"
 
 
1114
    ac_useropt_orig=$ac_useropt
 
 
1115
    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
 
 
1116
    case $ac_user_opts in
 
 
1120
      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
 
 
1121
         ac_unrecognized_sep=', ';;
 
 
1123
    eval with_$ac_useropt=no ;;
 
 
1126
    # Obsolete; use --with-x.
 
 
1129
  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
 
 
1130
  | --x-incl | --x-inc | --x-in | --x-i)
 
 
1131
    ac_prev=x_includes ;;
 
 
1132
  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
 
 
1133
  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
 
 
1134
    x_includes=$ac_optarg ;;
 
 
1136
  -x-libraries | --x-libraries | --x-librarie | --x-librari \
 
 
1137
  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
 
 
1138
    ac_prev=x_libraries ;;
 
 
1139
  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
 
 
1140
  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
 
 
1141
    x_libraries=$ac_optarg ;;
 
 
1143
  -*) as_fn_error $? "unrecognized option: \`$ac_option'
 
 
1144
Try \`$0 --help' for more information"
 
 
1148
    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
 
 
1149
    # Reject names that are not valid shell variable names.
 
 
1150
    case $ac_envvar in #(
 
 
1151
      '' | [0-9]* | *[!_$as_cr_alnum]* )
 
 
1152
      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
 
 
1154
    eval $ac_envvar=\$ac_optarg
 
 
1155
    export $ac_envvar ;;
 
 
1158
    # FIXME: should be removed in autoconf 3.0.
 
 
1159
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
 
 
1160
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
 
 
1161
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
 
 
1162
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
 
 
1168
if test -n "$ac_prev"; then
 
 
1169
  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
 
 
1170
  as_fn_error $? "missing argument to $ac_option"
 
 
1173
if test -n "$ac_unrecognized_opts"; then
 
 
1174
  case $enable_option_checking in
 
 
1176
    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
 
 
1177
    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
 
 
1181
# Check all directory arguments for consistency.
 
 
1182
for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
 
 
1183
                datadir sysconfdir sharedstatedir localstatedir includedir \
 
 
1184
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
 
 
1185
                libdir localedir mandir
 
 
1187
  eval ac_val=\$$ac_var
 
 
1188
  # Remove trailing slashes.
 
 
1191
      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
 
 
1192
      eval $ac_var=\$ac_val;;
 
 
1194
  # Be sure to have absolute directory names.
 
 
1196
    [\\/$]* | ?:[\\/]* )  continue;;
 
 
1197
    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
 
 
1199
  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 
 
1202
# There might be people who depend on the old broken behavior: `$host'
 
 
1203
# used to hold the argument of --host etc.
 
 
1204
# FIXME: To remove some day.
 
 
1207
target=$target_alias
 
 
1209
# FIXME: To remove some day.
 
 
1210
if test "x$host_alias" != x; then
 
 
1211
  if test "x$build_alias" = x; then
 
 
1212
    cross_compiling=maybe
 
 
1213
    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
 
 
1214
    If a cross compiler is detected then cross compile mode will be used" >&2
 
 
1215
  elif test "x$build_alias" != "x$host_alias"; then
 
 
1221
test -n "$host_alias" && ac_tool_prefix=$host_alias-
 
 
1223
test "$silent" = yes && exec 6>/dev/null
 
 
1226
ac_pwd=`pwd` && test -n "$ac_pwd" &&
 
 
1227
ac_ls_di=`ls -di .` &&
 
 
1228
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
 
 
1229
  as_fn_error $? "working directory cannot be determined"
 
 
1230
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
 
 
1231
  as_fn_error $? "pwd does not report name of working directory"
 
 
1234
# Find the source files, if location was not specified.
 
 
1235
if test -z "$srcdir"; then
 
 
1236
  ac_srcdir_defaulted=yes
 
 
1237
  # Try the directory containing this script, then the parent directory.
 
 
1238
  ac_confdir=`$as_dirname -- "$as_myself" ||
 
 
1239
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
1240
         X"$as_myself" : 'X\(//\)[^/]' \| \
 
 
1241
         X"$as_myself" : 'X\(//\)$' \| \
 
 
1242
         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
 
 
1243
$as_echo X"$as_myself" |
 
 
1244
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
1262
  if test ! -r "$srcdir/$ac_unique_file"; then
 
 
1266
  ac_srcdir_defaulted=no
 
 
1268
if test ! -r "$srcdir/$ac_unique_file"; then
 
 
1269
  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
 
 
1270
  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 
 
1272
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 
 
1274
        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
 
 
1276
# When building in place, set srcdir=.
 
 
1277
if test "$ac_abs_confdir" = "$ac_pwd"; then
 
 
1280
# Remove unnecessary trailing slashes from srcdir.
 
 
1281
# Double slashes in file names in object file debugging info
 
 
1282
# mess up M-x gdb in Emacs.
 
 
1284
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
 
 
1286
for ac_var in $ac_precious_vars; do
 
 
1287
  eval ac_env_${ac_var}_set=\${${ac_var}+set}
 
 
1288
  eval ac_env_${ac_var}_value=\$${ac_var}
 
 
1289
  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
 
 
1290
  eval ac_cv_env_${ac_var}_value=\$${ac_var}
 
 
1294
# Report the --help message.
 
 
1296
if test "$ac_init_help" = "long"; then
 
 
1297
  # Omit some internal or obsolete options to make the list less imposing.
 
 
1298
  # This message is too long to be a string in the A/UX 3.1 sh.
 
 
1300
\`configure' configures sqlite3cc 0.1.0 to adapt to many kinds of systems.
 
 
1302
Usage: $0 [OPTION]... [VAR=VALUE]...
 
 
1304
To assign environment variables (e.g., CC, CFLAGS...), specify them as
 
 
1305
VAR=VALUE.  See below for descriptions of some of the useful variables.
 
 
1307
Defaults for the options are specified in brackets.
 
 
1310
  -h, --help              display this help and exit
 
 
1311
      --help=short        display options specific to this package
 
 
1312
      --help=recursive    display the short help of all the included packages
 
 
1313
  -V, --version           display version information and exit
 
 
1314
  -q, --quiet, --silent   do not print \`checking ...' messages
 
 
1315
      --cache-file=FILE   cache test results in FILE [disabled]
 
 
1316
  -C, --config-cache      alias for \`--cache-file=config.cache'
 
 
1317
  -n, --no-create         do not create output files
 
 
1318
      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
 
 
1320
Installation directories:
 
 
1321
  --prefix=PREFIX         install architecture-independent files in PREFIX
 
 
1322
                          [$ac_default_prefix]
 
 
1323
  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
 
 
1326
By default, \`make install' will install all the files in
 
 
1327
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
 
 
1328
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
 
 
1329
for instance \`--prefix=\$HOME'.
 
 
1331
For better control, use the options below.
 
 
1333
Fine tuning of the installation directories:
 
 
1334
  --bindir=DIR            user executables [EPREFIX/bin]
 
 
1335
  --sbindir=DIR           system admin executables [EPREFIX/sbin]
 
 
1336
  --libexecdir=DIR        program executables [EPREFIX/libexec]
 
 
1337
  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
 
 
1338
  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
 
 
1339
  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
 
 
1340
  --libdir=DIR            object code libraries [EPREFIX/lib]
 
 
1341
  --includedir=DIR        C header files [PREFIX/include]
 
 
1342
  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
 
 
1343
  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
 
 
1344
  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
 
 
1345
  --infodir=DIR           info documentation [DATAROOTDIR/info]
 
 
1346
  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
 
 
1347
  --mandir=DIR            man documentation [DATAROOTDIR/man]
 
 
1348
  --docdir=DIR            documentation root [DATAROOTDIR/doc/sqlite3cc]
 
 
1349
  --htmldir=DIR           html documentation [DOCDIR]
 
 
1350
  --dvidir=DIR            dvi documentation [DOCDIR]
 
 
1351
  --pdfdir=DIR            pdf documentation [DOCDIR]
 
 
1352
  --psdir=DIR             ps documentation [DOCDIR]
 
 
1358
  --program-prefix=PREFIX            prepend PREFIX to installed program names
 
 
1359
  --program-suffix=SUFFIX            append SUFFIX to installed program names
 
 
1360
  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
 
 
1363
  --build=BUILD     configure for building on BUILD [guessed]
 
 
1364
  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
 
 
1368
if test -n "$ac_init_help"; then
 
 
1369
  case $ac_init_help in
 
 
1370
     short | recursive ) echo "Configuration of sqlite3cc 0.1.0:";;
 
 
1375
  --disable-option-checking  ignore unrecognized --enable/--with options
 
 
1376
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
 
 
1377
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
 
1378
  --disable-dependency-tracking  speeds up one-time build
 
 
1379
  --enable-dependency-tracking   do not reject slow dependency extractors
 
 
1380
  --enable-shared[=PKGS]  build shared libraries [default=yes]
 
 
1381
  --enable-static[=PKGS]  build static libraries [default=yes]
 
 
1382
  --enable-fast-install[=PKGS]
 
 
1383
                          optimize for fast installation [default=yes]
 
 
1384
  --disable-libtool-lock  avoid locking (might break parallel builds)
 
 
1387
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
 
 
1388
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
 
 
1389
  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
 
 
1391
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
 
1392
  --with-sysroot=DIR Search for dependent libraries within DIR
 
 
1393
                        (or the compiler's sysroot if not specified).
 
 
1395
Some influential environment variables:
 
 
1396
  CXX         C++ compiler command
 
 
1397
  CXXFLAGS    C++ compiler flags
 
 
1398
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
 
 
1399
              nonstandard directory <lib dir>
 
 
1400
  LIBS        libraries to pass to the linker, e.g. -l<library>
 
 
1401
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
 
 
1402
              you have headers in a nonstandard directory <include dir>
 
 
1403
  CC          C compiler command
 
 
1404
  CFLAGS      C compiler flags
 
 
1406
  CXXCPP      C++ preprocessor
 
 
1408
Use these variables to override the choices made by `configure' or to help
 
 
1409
it to find libraries and programs with nonstandard names/locations.
 
 
1411
Report bugs to <tim@ed.am>.
 
 
1412
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>.
 
 
1417
if test "$ac_init_help" = "recursive"; then
 
 
1418
  # If there are subdirs, report their specific --help.
 
 
1419
  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
 
 
1420
    test -d "$ac_dir" ||
 
 
1421
      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
 
 
1426
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
 
1428
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
 
1429
  # A ".." for each directory in $ac_dir_suffix.
 
 
1430
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
 
1431
  case $ac_top_builddir_sub in
 
 
1432
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
 
1433
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
 
1436
ac_abs_top_builddir=$ac_pwd
 
 
1437
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
 
1438
# for backward compatibility:
 
 
1439
ac_top_builddir=$ac_top_build_prefix
 
 
1442
  .)  # We are building in place.
 
 
1444
    ac_top_srcdir=$ac_top_builddir_sub
 
 
1445
    ac_abs_top_srcdir=$ac_pwd ;;
 
 
1446
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
 
1447
    ac_srcdir=$srcdir$ac_dir_suffix;
 
 
1448
    ac_top_srcdir=$srcdir
 
 
1449
    ac_abs_top_srcdir=$srcdir ;;
 
 
1451
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
 
1452
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
 
1453
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
 
1455
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
 
1457
    cd "$ac_dir" || { ac_status=$?; continue; }
 
 
1458
    # Check for guested configure.
 
 
1459
    if test -f "$ac_srcdir/configure.gnu"; then
 
 
1461
      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
 
 
1462
    elif test -f "$ac_srcdir/configure"; then
 
 
1464
      $SHELL "$ac_srcdir/configure" --help=recursive
 
 
1466
      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
 
 
1468
    cd "$ac_pwd" || { ac_status=$?; break; }
 
 
1472
test -n "$ac_init_help" && exit $ac_status
 
 
1473
if $ac_init_version; then
 
 
1475
sqlite3cc configure 0.1.0
 
 
1476
generated by GNU Autoconf 2.68
 
 
1478
Copyright (C) 2010 Free Software Foundation, Inc.
 
 
1479
This configure script is free software; the Free Software Foundation
 
 
1480
gives unlimited permission to copy, distribute and modify it.
 
 
1485
## ------------------------ ##
 
 
1486
## Autoconf initialization. ##
 
 
1487
## ------------------------ ##
 
 
1489
# ac_fn_cxx_try_compile LINENO
 
 
1490
# ----------------------------
 
 
1491
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
 
1492
ac_fn_cxx_try_compile ()
 
 
1494
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1495
  rm -f conftest.$ac_objext
 
 
1496
  if { { ac_try="$ac_compile"
 
 
1498
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1499
  *) ac_try_echo=$ac_try;;
 
 
1501
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1502
$as_echo "$ac_try_echo"; } >&5
 
 
1503
  (eval "$ac_compile") 2>conftest.err
 
 
1505
  if test -s conftest.err; then
 
 
1506
    grep -v '^ *+' conftest.err >conftest.er1
 
 
1507
    cat conftest.er1 >&5
 
 
1508
    mv -f conftest.er1 conftest.err
 
 
1510
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1511
  test $ac_status = 0; } && {
 
 
1512
         test -z "$ac_cxx_werror_flag" ||
 
 
1513
         test ! -s conftest.err
 
 
1514
       } && test -s conftest.$ac_objext; then :
 
 
1517
  $as_echo "$as_me: failed program was:" >&5
 
 
1518
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1522
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 
1523
  as_fn_set_status $ac_retval
 
 
1525
} # ac_fn_cxx_try_compile
 
 
1527
# ac_fn_c_try_compile LINENO
 
 
1528
# --------------------------
 
 
1529
# Try to compile conftest.$ac_ext, and return whether this succeeded.
 
 
1530
ac_fn_c_try_compile ()
 
 
1532
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1533
  rm -f conftest.$ac_objext
 
 
1534
  if { { ac_try="$ac_compile"
 
 
1536
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1537
  *) ac_try_echo=$ac_try;;
 
 
1539
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1540
$as_echo "$ac_try_echo"; } >&5
 
 
1541
  (eval "$ac_compile") 2>conftest.err
 
 
1543
  if test -s conftest.err; then
 
 
1544
    grep -v '^ *+' conftest.err >conftest.er1
 
 
1545
    cat conftest.er1 >&5
 
 
1546
    mv -f conftest.er1 conftest.err
 
 
1548
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1549
  test $ac_status = 0; } && {
 
 
1550
         test -z "$ac_c_werror_flag" ||
 
 
1551
         test ! -s conftest.err
 
 
1552
       } && test -s conftest.$ac_objext; then :
 
 
1555
  $as_echo "$as_me: failed program was:" >&5
 
 
1556
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1560
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 
1561
  as_fn_set_status $ac_retval
 
 
1563
} # ac_fn_c_try_compile
 
 
1565
# ac_fn_c_try_link LINENO
 
 
1566
# -----------------------
 
 
1567
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
 
1570
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1571
  rm -f conftest.$ac_objext conftest$ac_exeext
 
 
1572
  if { { ac_try="$ac_link"
 
 
1574
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1575
  *) ac_try_echo=$ac_try;;
 
 
1577
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1578
$as_echo "$ac_try_echo"; } >&5
 
 
1579
  (eval "$ac_link") 2>conftest.err
 
 
1581
  if test -s conftest.err; then
 
 
1582
    grep -v '^ *+' conftest.err >conftest.er1
 
 
1583
    cat conftest.er1 >&5
 
 
1584
    mv -f conftest.er1 conftest.err
 
 
1586
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1587
  test $ac_status = 0; } && {
 
 
1588
         test -z "$ac_c_werror_flag" ||
 
 
1589
         test ! -s conftest.err
 
 
1590
       } && test -s conftest$ac_exeext && {
 
 
1591
         test "$cross_compiling" = yes ||
 
 
1592
         $as_test_x conftest$ac_exeext
 
 
1596
  $as_echo "$as_me: failed program was:" >&5
 
 
1597
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1601
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
 
1602
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
 
1603
  # interfere with the next link command; also delete a directory that is
 
 
1604
  # left behind by Apple's compiler.  We do this before executing the actions.
 
 
1605
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
 
1606
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 
1607
  as_fn_set_status $ac_retval
 
 
1609
} # ac_fn_c_try_link
 
 
1611
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
 
 
1612
# -------------------------------------------------------
 
 
1613
# Tests whether HEADER exists and can be compiled using the include files in
 
 
1614
# INCLUDES, setting the cache variable VAR accordingly.
 
 
1615
ac_fn_c_check_header_compile ()
 
 
1617
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1618
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
 
1619
$as_echo_n "checking for $2... " >&6; }
 
 
1620
if eval \${$3+:} false; then :
 
 
1621
  $as_echo_n "(cached) " >&6
 
 
1623
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
1624
/* end confdefs.h.  */
 
 
1628
if ac_fn_c_try_compile "$LINENO"; then :
 
 
1633
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
1636
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
 
1637
$as_echo "$ac_res" >&6; }
 
 
1638
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 
1640
} # ac_fn_c_check_header_compile
 
 
1642
# ac_fn_c_try_cpp LINENO
 
 
1643
# ----------------------
 
 
1644
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
 
1647
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1648
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
 
1650
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1651
  *) ac_try_echo=$ac_try;;
 
 
1653
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1654
$as_echo "$ac_try_echo"; } >&5
 
 
1655
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
 
1657
  if test -s conftest.err; then
 
 
1658
    grep -v '^ *+' conftest.err >conftest.er1
 
 
1659
    cat conftest.er1 >&5
 
 
1660
    mv -f conftest.er1 conftest.err
 
 
1662
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1663
  test $ac_status = 0; } > conftest.i && {
 
 
1664
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
 
1665
         test ! -s conftest.err
 
 
1669
  $as_echo "$as_me: failed program was:" >&5
 
 
1670
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1674
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 
1675
  as_fn_set_status $ac_retval
 
 
1679
# ac_fn_c_try_run LINENO
 
 
1680
# ----------------------
 
 
1681
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
 
 
1682
# that executables *can* be run.
 
 
1685
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1686
  if { { ac_try="$ac_link"
 
 
1688
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1689
  *) ac_try_echo=$ac_try;;
 
 
1691
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1692
$as_echo "$ac_try_echo"; } >&5
 
 
1693
  (eval "$ac_link") 2>&5
 
 
1695
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1696
  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
 
 
1697
  { { case "(($ac_try" in
 
 
1698
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1699
  *) ac_try_echo=$ac_try;;
 
 
1701
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1702
$as_echo "$ac_try_echo"; } >&5
 
 
1703
  (eval "$ac_try") 2>&5
 
 
1705
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1706
  test $ac_status = 0; }; }; then :
 
 
1709
  $as_echo "$as_me: program exited with status $ac_status" >&5
 
 
1710
       $as_echo "$as_me: failed program was:" >&5
 
 
1711
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1713
       ac_retval=$ac_status
 
 
1715
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
 
1716
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 
1717
  as_fn_set_status $ac_retval
 
 
1721
# ac_fn_c_check_func LINENO FUNC VAR
 
 
1722
# ----------------------------------
 
 
1723
# Tests whether FUNC exists, setting the cache variable VAR accordingly
 
 
1724
ac_fn_c_check_func ()
 
 
1726
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1727
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
 
1728
$as_echo_n "checking for $2... " >&6; }
 
 
1729
if eval \${$3+:} false; then :
 
 
1730
  $as_echo_n "(cached) " >&6
 
 
1732
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
1733
/* end confdefs.h.  */
 
 
1734
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
 
 
1735
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
 
1736
#define $2 innocuous_$2
 
 
1738
/* System header to define __stub macros and hopefully few prototypes,
 
 
1739
    which can conflict with char $2 (); below.
 
 
1740
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
 
1741
    <limits.h> exists even on freestanding compilers.  */
 
 
1744
# include <limits.h>
 
 
1746
# include <assert.h>
 
 
1751
/* Override any GCC internal prototype to avoid an error.
 
 
1752
   Use char because int might match the return type of a GCC
 
 
1753
   builtin and then its argument prototype would still apply.  */
 
 
1758
/* The GNU C library defines this for functions which it implements
 
 
1759
    to always fail with ENOSYS.  Some functions are actually named
 
 
1760
    something starting with __ and the normal name is an alias.  */
 
 
1761
#if defined __stub_$2 || defined __stub___$2
 
 
1773
if ac_fn_c_try_link "$LINENO"; then :
 
 
1778
rm -f core conftest.err conftest.$ac_objext \
 
 
1779
    conftest$ac_exeext conftest.$ac_ext
 
 
1782
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
 
1783
$as_echo "$ac_res" >&6; }
 
 
1784
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 
1786
} # ac_fn_c_check_func
 
 
1788
# ac_fn_cxx_try_cpp LINENO
 
 
1789
# ------------------------
 
 
1790
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 
 
1791
ac_fn_cxx_try_cpp ()
 
 
1793
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1794
  if { { ac_try="$ac_cpp conftest.$ac_ext"
 
 
1796
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1797
  *) ac_try_echo=$ac_try;;
 
 
1799
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1800
$as_echo "$ac_try_echo"; } >&5
 
 
1801
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
 
 
1803
  if test -s conftest.err; then
 
 
1804
    grep -v '^ *+' conftest.err >conftest.er1
 
 
1805
    cat conftest.er1 >&5
 
 
1806
    mv -f conftest.er1 conftest.err
 
 
1808
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1809
  test $ac_status = 0; } > conftest.i && {
 
 
1810
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
 
1811
         test ! -s conftest.err
 
 
1815
  $as_echo "$as_me: failed program was:" >&5
 
 
1816
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1820
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 
1821
  as_fn_set_status $ac_retval
 
 
1823
} # ac_fn_cxx_try_cpp
 
 
1825
# ac_fn_cxx_try_link LINENO
 
 
1826
# -------------------------
 
 
1827
# Try to link conftest.$ac_ext, and return whether this succeeded.
 
 
1828
ac_fn_cxx_try_link ()
 
 
1830
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1831
  rm -f conftest.$ac_objext conftest$ac_exeext
 
 
1832
  if { { ac_try="$ac_link"
 
 
1834
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
1835
  *) ac_try_echo=$ac_try;;
 
 
1837
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
1838
$as_echo "$ac_try_echo"; } >&5
 
 
1839
  (eval "$ac_link") 2>conftest.err
 
 
1841
  if test -s conftest.err; then
 
 
1842
    grep -v '^ *+' conftest.err >conftest.er1
 
 
1843
    cat conftest.er1 >&5
 
 
1844
    mv -f conftest.er1 conftest.err
 
 
1846
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
1847
  test $ac_status = 0; } && {
 
 
1848
         test -z "$ac_cxx_werror_flag" ||
 
 
1849
         test ! -s conftest.err
 
 
1850
       } && test -s conftest$ac_exeext && {
 
 
1851
         test "$cross_compiling" = yes ||
 
 
1852
         $as_test_x conftest$ac_exeext
 
 
1856
  $as_echo "$as_me: failed program was:" >&5
 
 
1857
sed 's/^/| /' conftest.$ac_ext >&5
 
 
1861
  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
 
 
1862
  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
 
 
1863
  # interfere with the next link command; also delete a directory that is
 
 
1864
  # left behind by Apple's compiler.  We do this before executing the actions.
 
 
1865
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
 
 
1866
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 
1867
  as_fn_set_status $ac_retval
 
 
1869
} # ac_fn_cxx_try_link
 
 
1871
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
 
 
1872
# -------------------------------------------------------
 
 
1873
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
 
 
1874
# the include files in INCLUDES and setting the cache variable VAR
 
 
1876
ac_fn_c_check_header_mongrel ()
 
 
1878
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
1879
  if eval \${$3+:} false; then :
 
 
1880
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
 
1881
$as_echo_n "checking for $2... " >&6; }
 
 
1882
if eval \${$3+:} false; then :
 
 
1883
  $as_echo_n "(cached) " >&6
 
 
1886
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
 
1887
$as_echo "$ac_res" >&6; }
 
 
1889
  # Is the header compilable?
 
 
1890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
 
 
1891
$as_echo_n "checking $2 usability... " >&6; }
 
 
1892
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
1893
/* end confdefs.h.  */
 
 
1897
if ac_fn_c_try_compile "$LINENO"; then :
 
 
1898
  ac_header_compiler=yes
 
 
1900
  ac_header_compiler=no
 
 
1902
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
1903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
 
 
1904
$as_echo "$ac_header_compiler" >&6; }
 
 
1906
# Is the header present?
 
 
1907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
 
 
1908
$as_echo_n "checking $2 presence... " >&6; }
 
 
1909
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
1910
/* end confdefs.h.  */
 
 
1913
if ac_fn_c_try_cpp "$LINENO"; then :
 
 
1914
  ac_header_preproc=yes
 
 
1916
  ac_header_preproc=no
 
 
1918
rm -f conftest.err conftest.i conftest.$ac_ext
 
 
1919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 
 
1920
$as_echo "$ac_header_preproc" >&6; }
 
 
1922
# So?  What about this header?
 
 
1923
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
 
 
1925
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
 
 
1926
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
 
1927
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
 
1928
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
 
1931
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
 
 
1932
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
 
 
1933
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
 
 
1934
$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
 
 
1935
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
 
 
1936
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
 
 
1937
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
 
 
1938
$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
 
 
1939
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
 
 
1940
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 
 
1941
( $as_echo "## ------------------------ ##
 
 
1942
## Report this to tim@ed.am ##
 
 
1943
## ------------------------ ##"
 
 
1944
     ) | sed "s/^/$as_me: WARNING:     /" >&2
 
 
1947
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 
 
1948
$as_echo_n "checking for $2... " >&6; }
 
 
1949
if eval \${$3+:} false; then :
 
 
1950
  $as_echo_n "(cached) " >&6
 
 
1952
  eval "$3=\$ac_header_compiler"
 
 
1955
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
 
1956
$as_echo "$ac_res" >&6; }
 
 
1958
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 
1960
} # ac_fn_c_check_header_mongrel
 
 
1961
cat >config.log <<_ACEOF
 
 
1962
This file contains any messages produced by compilers while
 
 
1963
running configure, to aid debugging if configure makes a mistake.
 
 
1965
It was created by sqlite3cc $as_me 0.1.0, which was
 
 
1966
generated by GNU Autoconf 2.68.  Invocation command line was
 
 
1978
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
 
 
1979
uname -m = `(uname -m) 2>/dev/null || echo unknown`
 
 
1980
uname -r = `(uname -r) 2>/dev/null || echo unknown`
 
 
1981
uname -s = `(uname -s) 2>/dev/null || echo unknown`
 
 
1982
uname -v = `(uname -v) 2>/dev/null || echo unknown`
 
 
1984
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
 
 
1985
/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
 
 
1987
/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
 
 
1988
/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
 
 
1989
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
 
 
1990
/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
 
 
1991
/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
 
 
1992
/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
 
 
1993
/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
 
 
1997
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2001
  test -z "$as_dir" && as_dir=.
 
 
2002
    $as_echo "PATH: $as_dir"
 
 
2018
# Keep a trace of the command line.
 
 
2019
# Strip out --no-create and --no-recursion so they do not pile up.
 
 
2020
# Strip out --silent because we don't want to record it for future runs.
 
 
2021
# Also quote any args containing shell meta-characters.
 
 
2022
# Make two passes to allow for proper duplicate-argument suppression.
 
 
2026
ac_must_keep_next=false
 
 
2032
    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
 
 
2033
    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
 
2034
    | -silent | --silent | --silen | --sile | --sil)
 
 
2037
      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
 
2040
    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
 
 
2042
      as_fn_append ac_configure_args1 " '$ac_arg'"
 
 
2043
      if test $ac_must_keep_next = true; then
 
 
2044
        ac_must_keep_next=false # Got value, back to normal.
 
 
2047
          *=* | --config-cache | -C | -disable-* | --disable-* \
 
 
2048
          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
 
 
2049
          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
 
 
2050
          | -with-* | --with-* | -without-* | --without-* | --x)
 
 
2051
            case "$ac_configure_args0 " in
 
 
2052
              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
 
 
2055
          -* ) ac_must_keep_next=true ;;
 
 
2058
      as_fn_append ac_configure_args " '$ac_arg'"
 
 
2063
{ ac_configure_args0=; unset ac_configure_args0;}
 
 
2064
{ ac_configure_args1=; unset ac_configure_args1;}
 
 
2066
# When interrupted or exit'd, cleanup temporary files, and complete
 
 
2067
# config.log.  We remove comments because anyway the quotes in there
 
 
2068
# would cause problems or look ugly.
 
 
2069
# WARNING: Use '\'' to represent an apostrophe within the trap.
 
 
2070
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
 
 
2071
trap 'exit_status=$?
 
 
2072
  # Save into config.log some information that might help in debugging.
 
 
2076
    $as_echo "## ---------------- ##
 
 
2077
## Cache variables. ##
 
 
2078
## ---------------- ##"
 
 
2080
    # The following way of writing the cache mishandles newlines in values,
 
 
2082
  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
 
 
2083
    eval ac_val=\$$ac_var
 
 
2087
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
 
2088
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
 
2091
      _ | IFS | as_nl) ;; #(
 
 
2092
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
 
2093
      *) { eval $ac_var=; unset $ac_var;} ;;
 
 
2098
    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
 
 
2099
    *${as_nl}ac_space=\ *)
 
 
2101
        "s/'\''/'\''\\\\'\'''\''/g;
 
 
2102
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
 
 
2105
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
 
2112
    $as_echo "## ----------------- ##
 
 
2113
## Output variables. ##
 
 
2114
## ----------------- ##"
 
 
2116
    for ac_var in $ac_subst_vars
 
 
2118
      eval ac_val=\$$ac_var
 
 
2120
      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
 
2122
      $as_echo "$ac_var='\''$ac_val'\''"
 
 
2126
    if test -n "$ac_subst_files"; then
 
 
2127
      $as_echo "## ------------------- ##
 
 
2128
## File substitutions. ##
 
 
2129
## ------------------- ##"
 
 
2131
      for ac_var in $ac_subst_files
 
 
2133
        eval ac_val=\$$ac_var
 
 
2135
        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
 
 
2137
        $as_echo "$ac_var='\''$ac_val'\''"
 
 
2142
    if test -s confdefs.h; then
 
 
2143
      $as_echo "## ----------- ##
 
 
2150
    test "$ac_signal" != 0 &&
 
 
2151
      $as_echo "$as_me: caught signal $ac_signal"
 
 
2152
    $as_echo "$as_me: exit $exit_status"
 
 
2154
  rm -f core *.core core.conftest.* &&
 
 
2155
    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
 
 
2158
for ac_signal in 1 2 13 15; do
 
 
2159
  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
 
 
2163
# confdefs.h avoids OS command line length limits that DEFS can exceed.
 
 
2164
rm -f -r conftest* confdefs.h
 
 
2166
$as_echo "/* confdefs.h */" > confdefs.h
 
 
2168
# Predefined preprocessor variables.
 
 
2170
cat >>confdefs.h <<_ACEOF
 
 
2171
#define PACKAGE_NAME "$PACKAGE_NAME"
 
 
2174
cat >>confdefs.h <<_ACEOF
 
 
2175
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
 
 
2178
cat >>confdefs.h <<_ACEOF
 
 
2179
#define PACKAGE_VERSION "$PACKAGE_VERSION"
 
 
2182
cat >>confdefs.h <<_ACEOF
 
 
2183
#define PACKAGE_STRING "$PACKAGE_STRING"
 
 
2186
cat >>confdefs.h <<_ACEOF
 
 
2187
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
 
 
2190
cat >>confdefs.h <<_ACEOF
 
 
2191
#define PACKAGE_URL "$PACKAGE_URL"
 
 
2195
# Let the site file select an alternate cache file if it wants to.
 
 
2196
# Prefer an explicitly selected file to automatically selected ones.
 
 
2199
if test -n "$CONFIG_SITE"; then
 
 
2200
  # We do not want a PATH search for config.site.
 
 
2201
  case $CONFIG_SITE in #((
 
 
2202
    -*)  ac_site_file1=./$CONFIG_SITE;;
 
 
2203
    */*) ac_site_file1=$CONFIG_SITE;;
 
 
2204
    *)   ac_site_file1=./$CONFIG_SITE;;
 
 
2206
elif test "x$prefix" != xNONE; then
 
 
2207
  ac_site_file1=$prefix/share/config.site
 
 
2208
  ac_site_file2=$prefix/etc/config.site
 
 
2210
  ac_site_file1=$ac_default_prefix/share/config.site
 
 
2211
  ac_site_file2=$ac_default_prefix/etc/config.site
 
 
2213
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 
 
2215
  test "x$ac_site_file" = xNONE && continue
 
 
2216
  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
 
 
2217
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 
 
2218
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
 
 
2219
    sed 's/^/| /' "$ac_site_file" >&5
 
 
2221
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
2222
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
2223
as_fn_error $? "failed to load site script $ac_site_file
 
 
2224
See \`config.log' for more details" "$LINENO" 5; }
 
 
2228
if test -r "$cache_file"; then
 
 
2229
  # Some versions of bash will fail to source /dev/null (special files
 
 
2230
  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
 
 
2231
  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
 
 
2232
    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 
 
2233
$as_echo "$as_me: loading cache $cache_file" >&6;}
 
 
2235
      [\\/]* | ?:[\\/]* ) . "$cache_file";;
 
 
2236
      *)                      . "./$cache_file";;
 
 
2240
  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
 
 
2241
$as_echo "$as_me: creating cache $cache_file" >&6;}
 
 
2245
# Check that the precious variables saved in the cache have kept the same
 
 
2247
ac_cache_corrupted=false
 
 
2248
for ac_var in $ac_precious_vars; do
 
 
2249
  eval ac_old_set=\$ac_cv_env_${ac_var}_set
 
 
2250
  eval ac_new_set=\$ac_env_${ac_var}_set
 
 
2251
  eval ac_old_val=\$ac_cv_env_${ac_var}_value
 
 
2252
  eval ac_new_val=\$ac_env_${ac_var}_value
 
 
2253
  case $ac_old_set,$ac_new_set in
 
 
2255
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
 
 
2256
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
 
 
2257
      ac_cache_corrupted=: ;;
 
 
2259
      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
 
 
2260
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
 
 
2261
      ac_cache_corrupted=: ;;
 
 
2264
      if test "x$ac_old_val" != "x$ac_new_val"; then
 
 
2265
        # differences in whitespace do not lead to failure.
 
 
2266
        ac_old_val_w=`echo x $ac_old_val`
 
 
2267
        ac_new_val_w=`echo x $ac_new_val`
 
 
2268
        if test "$ac_old_val_w" != "$ac_new_val_w"; then
 
 
2269
          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
 
 
2270
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
 
 
2271
          ac_cache_corrupted=:
 
 
2273
          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
 
 
2274
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
 
 
2275
          eval $ac_var=\$ac_old_val
 
 
2277
        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
 
 
2278
$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
 
 
2279
        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
 
 
2280
$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
 
 
2283
  # Pass precious variables to config.status.
 
 
2284
  if test "$ac_new_set" = set; then
 
 
2286
    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
 
 
2287
    *) ac_arg=$ac_var=$ac_new_val ;;
 
 
2289
    case " $ac_configure_args " in
 
 
2290
      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
 
 
2291
      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
 
 
2295
if $ac_cache_corrupted; then
 
 
2296
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
2297
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
2298
  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 
 
2299
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
 
 
2300
  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 
 
2302
## -------------------- ##
 
 
2303
## Main body of script. ##
 
 
2304
## -------------------- ##
 
 
2307
ac_cpp='$CPP $CPPFLAGS'
 
 
2308
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
2309
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
2310
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
2313
LIBSQLITE3CC_INTERFACE=0:0:0
 
 
2316
for ac_dir in build-aux "$srcdir"/build-aux; do
 
 
2317
  if test -f "$ac_dir/install-sh"; then
 
 
2319
    ac_install_sh="$ac_aux_dir/install-sh -c"
 
 
2321
  elif test -f "$ac_dir/install.sh"; then
 
 
2323
    ac_install_sh="$ac_aux_dir/install.sh -c"
 
 
2325
  elif test -f "$ac_dir/shtool"; then
 
 
2327
    ac_install_sh="$ac_aux_dir/shtool install -c"
 
 
2331
if test -z "$ac_aux_dir"; then
 
 
2332
  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
 
 
2335
# These three variables are undocumented and unsupported,
 
 
2336
# and are intended to be withdrawn in a future Autoconf release.
 
 
2337
# They can cause serious problems if a builder's source tree is in a directory
 
 
2338
# whose full name contains unusual characters.
 
 
2339
ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
 
 
2340
ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
 
 
2341
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
 
2345
am__api_version='1.11'
 
 
2347
# Find a good install program.  We prefer a C program (faster),
 
 
2348
# so one script is as good as another.  But avoid the broken or
 
 
2349
# incompatible versions:
 
 
2350
# SysV /etc/install, /usr/sbin/install
 
 
2351
# SunOS /usr/etc/install
 
 
2352
# IRIX /sbin/install
 
 
2354
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
 
2355
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
 
2356
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
 
2357
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
 
2358
# OS/2's system install, which has a completely different semantic
 
 
2359
# ./install, which can be erroneously created by make from ./install.sh.
 
 
2360
# Reject install programs that cannot install multiple files.
 
 
2361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 
 
2362
$as_echo_n "checking for a BSD-compatible install... " >&6; }
 
 
2363
if test -z "$INSTALL"; then
 
 
2364
if ${ac_cv_path_install+:} false; then :
 
 
2365
  $as_echo_n "(cached) " >&6
 
 
2367
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2371
  test -z "$as_dir" && as_dir=.
 
 
2372
    # Account for people who put trailing slashes in PATH elements.
 
 
2373
case $as_dir/ in #((
 
 
2374
  ./ | .// | /[cC]/* | \
 
 
2375
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
 
2376
  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
 
 
2379
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
 
2380
    # Don't use installbsd from OSF since it installs stuff as root
 
 
2382
    for ac_prog in ginstall scoinst install; do
 
 
2383
      for ac_exec_ext in '' $ac_executable_extensions; do
 
 
2384
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
 
2385
          if test $ac_prog = install &&
 
 
2386
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
 
2387
            # AIX install.  It has an incompatible calling convention.
 
 
2389
          elif test $ac_prog = install &&
 
 
2390
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
 
2391
            # program-specific install script used by HP pwplus--don't use.
 
 
2394
            rm -rf conftest.one conftest.two conftest.dir
 
 
2395
            echo one > conftest.one
 
 
2396
            echo two > conftest.two
 
 
2398
            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
 
 
2399
              test -s conftest.one && test -s conftest.two &&
 
 
2400
              test -s conftest.dir/conftest.one &&
 
 
2401
              test -s conftest.dir/conftest.two
 
 
2403
              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
 
2416
rm -rf conftest.one conftest.two conftest.dir
 
 
2419
  if test "${ac_cv_path_install+set}" = set; then
 
 
2420
    INSTALL=$ac_cv_path_install
 
 
2422
    # As a last resort, use the slow shell script.  Don't cache a
 
 
2423
    # value for INSTALL within a source directory, because that will
 
 
2424
    # break other packages using the cache if that directory is
 
 
2425
    # removed, or if the value is a relative name.
 
 
2426
    INSTALL=$ac_install_sh
 
 
2429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
 
 
2430
$as_echo "$INSTALL" >&6; }
 
 
2432
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
 
2433
# It thinks the first close brace ends the variable substitution.
 
 
2434
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
 
2436
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
 
2438
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 
2440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 
 
2441
$as_echo_n "checking whether build environment is sane... " >&6; }
 
 
2444
echo timestamp > conftest.file
 
 
2445
# Reject unsafe characters in $srcdir or the absolute working directory
 
 
2446
# name.  Accept space and tab only in the latter.
 
 
2450
  *[\\\"\#\$\&\'\`$am_lf]*)
 
 
2451
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 
 
2454
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
 
 
2455
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
 
 
2458
# Do `set' in a subshell so we don't clobber the current shell's
 
 
2459
# arguments.  Must try -L first in case configure is actually a
 
 
2460
# symlink; some systems play weird games with the mod time of symlinks
 
 
2461
# (eg FreeBSD returns the mod time of the symlink's containing
 
 
2464
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
 
 
2465
   if test "$*" = "X"; then
 
 
2467
      set X `ls -t "$srcdir/configure" conftest.file`
 
 
2470
   if test "$*" != "X $srcdir/configure conftest.file" \
 
 
2471
      && test "$*" != "X conftest.file $srcdir/configure"; then
 
 
2473
      # If neither matched, then we have a broken ls.  This can happen
 
 
2474
      # if, for instance, CONFIG_SHELL is bash and it inherits a
 
 
2475
      # broken ls alias from the environment.  This has actually
 
 
2476
      # happened.  Such a system could not be considered "sane".
 
 
2477
      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
 
 
2478
alias in your environment" "$LINENO" 5
 
 
2481
   test "$2" = conftest.file
 
 
2487
   as_fn_error $? "newly created file is older than distributed files!
 
 
2488
Check your system clock" "$LINENO" 5
 
 
2490
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
 
2491
$as_echo "yes" >&6; }
 
 
2492
test "$program_prefix" != NONE &&
 
 
2493
  program_transform_name="s&^&$program_prefix&;$program_transform_name"
 
 
2494
# Use a double $ so make ignores it.
 
 
2495
test "$program_suffix" != NONE &&
 
 
2496
  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
 
 
2497
# Double any \ or $.
 
 
2498
# By default was `s,x,x', remove it if useless.
 
 
2499
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 
 
2500
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
 
2502
# expand $ac_aux_dir to an absolute path
 
 
2503
am_aux_dir=`cd $ac_aux_dir && pwd`
 
 
2505
if test x"${MISSING+set}" != xset; then
 
 
2508
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
 
2510
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
 
2513
# Use eval to expand $SHELL
 
 
2514
if eval "$MISSING --run true"; then
 
 
2515
  am_missing_run="$MISSING --run "
 
 
2518
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
 
 
2519
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
 
2522
if test x"${install_sh}" != xset; then
 
 
2525
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
 
2527
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
 
2531
# Installed binaries are usually stripped using `strip' when the user
 
 
2532
# run `make install-strip'.  However `strip' might not be the right
 
 
2533
# tool to use in cross-compilation environments, therefore Automake
 
 
2534
# will honor the `STRIP' environment variable to overrule this program.
 
 
2535
if test "$cross_compiling" != no; then
 
 
2536
  if test -n "$ac_tool_prefix"; then
 
 
2537
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
 
2538
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
 
2539
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
2540
$as_echo_n "checking for $ac_word... " >&6; }
 
 
2541
if ${ac_cv_prog_STRIP+:} false; then :
 
 
2542
  $as_echo_n "(cached) " >&6
 
 
2544
  if test -n "$STRIP"; then
 
 
2545
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
 
2547
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2551
  test -z "$as_dir" && as_dir=.
 
 
2552
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
2553
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
2554
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
 
2555
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
2564
STRIP=$ac_cv_prog_STRIP
 
 
2565
if test -n "$STRIP"; then
 
 
2566
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
 
2567
$as_echo "$STRIP" >&6; }
 
 
2569
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
2570
$as_echo "no" >&6; }
 
 
2575
if test -z "$ac_cv_prog_STRIP"; then
 
 
2577
  # Extract the first word of "strip", so it can be a program name with args.
 
 
2578
set dummy strip; ac_word=$2
 
 
2579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
2580
$as_echo_n "checking for $ac_word... " >&6; }
 
 
2581
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
 
2582
  $as_echo_n "(cached) " >&6
 
 
2584
  if test -n "$ac_ct_STRIP"; then
 
 
2585
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
 
2587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2591
  test -z "$as_dir" && as_dir=.
 
 
2592
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
2593
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
2594
    ac_cv_prog_ac_ct_STRIP="strip"
 
 
2595
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
2604
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
 
2605
if test -n "$ac_ct_STRIP"; then
 
 
2606
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
 
2607
$as_echo "$ac_ct_STRIP" >&6; }
 
 
2609
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
2610
$as_echo "no" >&6; }
 
 
2613
  if test "x$ac_ct_STRIP" = x; then
 
 
2616
    case $cross_compiling:$ac_tool_warned in
 
 
2618
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
2619
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
2620
ac_tool_warned=yes ;;
 
 
2625
  STRIP="$ac_cv_prog_STRIP"
 
 
2629
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 
 
2631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 
 
2632
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 
 
2633
if test -z "$MKDIR_P"; then
 
 
2634
  if ${ac_cv_path_mkdir+:} false; then :
 
 
2635
  $as_echo_n "(cached) " >&6
 
 
2637
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2638
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
 
2641
  test -z "$as_dir" && as_dir=.
 
 
2642
    for ac_prog in mkdir gmkdir; do
 
 
2643
         for ac_exec_ext in '' $ac_executable_extensions; do
 
 
2644
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
 
2645
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
 
2646
             'mkdir (GNU coreutils) '* | \
 
 
2647
             'mkdir (coreutils) '* | \
 
 
2648
             'mkdir (fileutils) '4.1*)
 
 
2649
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
 
2659
  test -d ./--version && rmdir ./--version
 
 
2660
  if test "${ac_cv_path_mkdir+set}" = set; then
 
 
2661
    MKDIR_P="$ac_cv_path_mkdir -p"
 
 
2663
    # As a last resort, use the slow shell script.  Don't cache a
 
 
2664
    # value for MKDIR_P within a source directory, because that will
 
 
2665
    # break other packages using the cache if that directory is
 
 
2666
    # removed, or if the value is a relative name.
 
 
2667
    MKDIR_P="$ac_install_sh -d"
 
 
2670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 
 
2671
$as_echo "$MKDIR_P" >&6; }
 
 
2675
  [\\/$]* | ?:[\\/]*) ;;
 
 
2676
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
 
2679
for ac_prog in gawk mawk nawk awk
 
 
2681
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
 
2682
set dummy $ac_prog; ac_word=$2
 
 
2683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
2684
$as_echo_n "checking for $ac_word... " >&6; }
 
 
2685
if ${ac_cv_prog_AWK+:} false; then :
 
 
2686
  $as_echo_n "(cached) " >&6
 
 
2688
  if test -n "$AWK"; then
 
 
2689
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
 
2691
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2695
  test -z "$as_dir" && as_dir=.
 
 
2696
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
2697
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
2698
    ac_cv_prog_AWK="$ac_prog"
 
 
2699
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
2709
if test -n "$AWK"; then
 
 
2710
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 
 
2711
$as_echo "$AWK" >&6; }
 
 
2713
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
2714
$as_echo "no" >&6; }
 
 
2718
  test -n "$AWK" && break
 
 
2721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
 
 
2722
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 
 
2724
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
 
 
2725
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
 
 
2726
  $as_echo_n "(cached) " >&6
 
 
2728
  cat >conftest.make <<\_ACEOF
 
 
2731
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 
 
2733
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 
 
2734
case `${MAKE-make} -f conftest.make 2>/dev/null` in
 
 
2736
    eval ac_cv_prog_make_${ac_make}_set=yes;;
 
 
2738
    eval ac_cv_prog_make_${ac_make}_set=no;;
 
 
2742
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
 
 
2743
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
 
2744
$as_echo "yes" >&6; }
 
 
2747
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
2748
$as_echo "no" >&6; }
 
 
2749
  SET_MAKE="MAKE=${MAKE-make}"
 
 
2752
rm -rf .tst 2>/dev/null
 
 
2753
mkdir .tst 2>/dev/null
 
 
2754
if test -d .tst; then
 
 
2759
rmdir .tst 2>/dev/null
 
 
2761
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
 
2762
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
 
2763
  # is not polluted with repeated "-I."
 
 
2764
  am__isrc=' -I$(srcdir)'
 
 
2765
  # test to see if srcdir already configured
 
 
2766
  if test -f $srcdir/config.status; then
 
 
2767
    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
 
 
2771
# test whether we have cygpath
 
 
2772
if test -z "$CYGPATH_W"; then
 
 
2773
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
 
2774
    CYGPATH_W='cygpath -w'
 
 
2781
# Define the identity of the package.
 
 
2786
cat >>confdefs.h <<_ACEOF
 
 
2787
#define PACKAGE "$PACKAGE"
 
 
2791
cat >>confdefs.h <<_ACEOF
 
 
2792
#define VERSION "$VERSION"
 
 
2795
# Some tools Automake needs.
 
 
2797
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
 
2800
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
 
2803
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
 
2806
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
 
2809
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
 
2811
# We need awk for the "check" target.  The system "awk" is bad on
 
 
2813
# Always define AMTAR for backward compatibility.
 
 
2815
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
 
2817
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
 
2824
ac_config_headers="$ac_config_headers config.h"
 
 
2827
# checks for programs.
 
 
2829
ac_cpp='$CXXCPP $CPPFLAGS'
 
 
2830
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
2831
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
2832
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
2833
if test -z "$CXX"; then
 
 
2834
  if test -n "$CCC"; then
 
 
2837
    if test -n "$ac_tool_prefix"; then
 
 
2838
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
 
2840
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
 
2841
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
 
2842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
2843
$as_echo_n "checking for $ac_word... " >&6; }
 
 
2844
if ${ac_cv_prog_CXX+:} false; then :
 
 
2845
  $as_echo_n "(cached) " >&6
 
 
2847
  if test -n "$CXX"; then
 
 
2848
  ac_cv_prog_CXX="$CXX" # Let the user override the test.
 
 
2850
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2854
  test -z "$as_dir" && as_dir=.
 
 
2855
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
2856
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
2857
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
 
 
2858
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
2868
if test -n "$CXX"; then
 
 
2869
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
 
 
2870
$as_echo "$CXX" >&6; }
 
 
2872
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
2873
$as_echo "no" >&6; }
 
 
2877
    test -n "$CXX" && break
 
 
2880
if test -z "$CXX"; then
 
 
2882
  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
 
 
2884
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
 
2885
set dummy $ac_prog; ac_word=$2
 
 
2886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
2887
$as_echo_n "checking for $ac_word... " >&6; }
 
 
2888
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
 
 
2889
  $as_echo_n "(cached) " >&6
 
 
2891
  if test -n "$ac_ct_CXX"; then
 
 
2892
  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
 
 
2894
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
2898
  test -z "$as_dir" && as_dir=.
 
 
2899
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
2900
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
2901
    ac_cv_prog_ac_ct_CXX="$ac_prog"
 
 
2902
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
2911
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
 
 
2912
if test -n "$ac_ct_CXX"; then
 
 
2913
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
 
 
2914
$as_echo "$ac_ct_CXX" >&6; }
 
 
2916
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
2917
$as_echo "no" >&6; }
 
 
2921
  test -n "$ac_ct_CXX" && break
 
 
2924
  if test "x$ac_ct_CXX" = x; then
 
 
2927
    case $cross_compiling:$ac_tool_warned in
 
 
2929
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
2930
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
2931
ac_tool_warned=yes ;;
 
 
2939
# Provide some information about the compiler.
 
 
2940
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
 
 
2943
for ac_option in --version -v -V -qversion; do
 
 
2944
  { { ac_try="$ac_compiler $ac_option >&5"
 
 
2946
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
2947
  *) ac_try_echo=$ac_try;;
 
 
2949
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
2950
$as_echo "$ac_try_echo"; } >&5
 
 
2951
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
 
2953
  if test -s conftest.err; then
 
 
2955
... rest of stderr output deleted ...
 
 
2956
         10q' conftest.err >conftest.er1
 
 
2957
    cat conftest.er1 >&5
 
 
2959
  rm -f conftest.er1 conftest.err
 
 
2960
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
2961
  test $ac_status = 0; }
 
 
2964
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
2965
/* end confdefs.h.  */
 
 
2975
ac_clean_files_save=$ac_clean_files
 
 
2976
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 
 
2977
# Try to create an executable without -o first, disregard a.out.
 
 
2978
# It will help us diagnose broken compilers, and finding out an intuition
 
 
2980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
 
 
2981
$as_echo_n "checking whether the C++ compiler works... " >&6; }
 
 
2982
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
 
2984
# The possible output files:
 
 
2985
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
 
 
2988
for ac_file in $ac_files
 
 
2991
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
 
2992
    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
 
 
2997
if { { ac_try="$ac_link_default"
 
 
2999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
3000
  *) ac_try_echo=$ac_try;;
 
 
3002
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
3003
$as_echo "$ac_try_echo"; } >&5
 
 
3004
  (eval "$ac_link_default") 2>&5
 
 
3006
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
3007
  test $ac_status = 0; }; then :
 
 
3008
  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
 
 
3009
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
 
 
3010
# in a Makefile.  We should not override ac_cv_exeext if it was cached,
 
 
3011
# so that the user can short-circuit this test for compilers unknown to
 
 
3013
for ac_file in $ac_files ''
 
 
3015
  test -f "$ac_file" || continue
 
 
3017
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
 
 
3020
        # We found the default executable, but exeext='' is most
 
 
3024
        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
 
 
3026
           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
 
3028
        # We set ac_cv_exeext here because the later test for it is not
 
 
3029
        # safe: cross compilers may not add the suffix if given an `-o'
 
 
3030
        # argument, so we may need to know it at that point already.
 
 
3031
        # Even if this section looks crufty: it has the advantage of
 
 
3038
test "$ac_cv_exeext" = no && ac_cv_exeext=
 
 
3043
if test -z "$ac_file"; then :
 
 
3044
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3045
$as_echo "no" >&6; }
 
 
3046
$as_echo "$as_me: failed program was:" >&5
 
 
3047
sed 's/^/| /' conftest.$ac_ext >&5
 
 
3049
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
3050
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
3051
as_fn_error 77 "C++ compiler cannot create executables
 
 
3052
See \`config.log' for more details" "$LINENO" 5; }
 
 
3054
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
 
3055
$as_echo "yes" >&6; }
 
 
3057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
 
 
3058
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
 
 
3059
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
 
 
3060
$as_echo "$ac_file" >&6; }
 
 
3061
ac_exeext=$ac_cv_exeext
 
 
3063
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 
 
3064
ac_clean_files=$ac_clean_files_save
 
 
3065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 
 
3066
$as_echo_n "checking for suffix of executables... " >&6; }
 
 
3067
if { { ac_try="$ac_link"
 
 
3069
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
3070
  *) ac_try_echo=$ac_try;;
 
 
3072
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
3073
$as_echo "$ac_try_echo"; } >&5
 
 
3074
  (eval "$ac_link") 2>&5
 
 
3076
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
3077
  test $ac_status = 0; }; then :
 
 
3078
  # If both `conftest.exe' and `conftest' are `present' (well, observable)
 
 
3079
# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
 
 
3080
# work properly (i.e., refer to `conftest.exe'), while it won't with
 
 
3082
for ac_file in conftest.exe conftest conftest.*; do
 
 
3083
  test -f "$ac_file" || continue
 
 
3085
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
 
 
3086
    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
 
 
3092
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
3093
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
3094
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
 
 
3095
See \`config.log' for more details" "$LINENO" 5; }
 
 
3097
rm -f conftest conftest$ac_cv_exeext
 
 
3098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 
 
3099
$as_echo "$ac_cv_exeext" >&6; }
 
 
3101
rm -f conftest.$ac_ext
 
 
3102
EXEEXT=$ac_cv_exeext
 
 
3104
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
3105
/* end confdefs.h.  */
 
 
3110
FILE *f = fopen ("conftest.out", "w");
 
 
3111
 return ferror (f) || fclose (f) != 0;
 
 
3117
ac_clean_files="$ac_clean_files conftest.out"
 
 
3118
# Check that the compiler produces executables we can run.  If not, either
 
 
3119
# the compiler is broken, or we cross compile.
 
 
3120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
 
 
3121
$as_echo_n "checking whether we are cross compiling... " >&6; }
 
 
3122
if test "$cross_compiling" != yes; then
 
 
3123
  { { ac_try="$ac_link"
 
 
3125
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
3126
  *) ac_try_echo=$ac_try;;
 
 
3128
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
3129
$as_echo "$ac_try_echo"; } >&5
 
 
3130
  (eval "$ac_link") 2>&5
 
 
3132
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
3133
  test $ac_status = 0; }
 
 
3134
  if { ac_try='./conftest$ac_cv_exeext'
 
 
3135
  { { case "(($ac_try" in
 
 
3136
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
3137
  *) ac_try_echo=$ac_try;;
 
 
3139
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
3140
$as_echo "$ac_try_echo"; } >&5
 
 
3141
  (eval "$ac_try") 2>&5
 
 
3143
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
3144
  test $ac_status = 0; }; }; then
 
 
3147
    if test "$cross_compiling" = maybe; then
 
 
3150
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
3151
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
3152
as_fn_error $? "cannot run C++ compiled programs.
 
 
3153
If you meant to cross compile, use \`--host'.
 
 
3154
See \`config.log' for more details" "$LINENO" 5; }
 
 
3158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
 
 
3159
$as_echo "$cross_compiling" >&6; }
 
 
3161
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
 
 
3162
ac_clean_files=$ac_clean_files_save
 
 
3163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 
 
3164
$as_echo_n "checking for suffix of object files... " >&6; }
 
 
3165
if ${ac_cv_objext+:} false; then :
 
 
3166
  $as_echo_n "(cached) " >&6
 
 
3168
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
3169
/* end confdefs.h.  */
 
 
3179
rm -f conftest.o conftest.obj
 
 
3180
if { { ac_try="$ac_compile"
 
 
3182
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
3183
  *) ac_try_echo=$ac_try;;
 
 
3185
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
3186
$as_echo "$ac_try_echo"; } >&5
 
 
3187
  (eval "$ac_compile") 2>&5
 
 
3189
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
3190
  test $ac_status = 0; }; then :
 
 
3191
  for ac_file in conftest.o conftest.obj conftest.*; do
 
 
3192
  test -f "$ac_file" || continue;
 
 
3194
    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
 
 
3195
    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
 
 
3200
  $as_echo "$as_me: failed program was:" >&5
 
 
3201
sed 's/^/| /' conftest.$ac_ext >&5
 
 
3203
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
3204
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
3205
as_fn_error $? "cannot compute suffix of object files: cannot compile
 
 
3206
See \`config.log' for more details" "$LINENO" 5; }
 
 
3208
rm -f conftest.$ac_cv_objext conftest.$ac_ext
 
 
3210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
 
 
3211
$as_echo "$ac_cv_objext" >&6; }
 
 
3212
OBJEXT=$ac_cv_objext
 
 
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 
 
3215
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
 
 
3216
if ${ac_cv_cxx_compiler_gnu+:} false; then :
 
 
3217
  $as_echo_n "(cached) " >&6
 
 
3219
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
3220
/* end confdefs.h.  */
 
 
3233
if ac_fn_cxx_try_compile "$LINENO"; then :
 
 
3238
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
3239
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
 
 
3242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
 
 
3243
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
 
 
3244
if test $ac_compiler_gnu = yes; then
 
 
3249
ac_test_CXXFLAGS=${CXXFLAGS+set}
 
 
3250
ac_save_CXXFLAGS=$CXXFLAGS
 
 
3251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 
 
3252
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
 
 
3253
if ${ac_cv_prog_cxx_g+:} false; then :
 
 
3254
  $as_echo_n "(cached) " >&6
 
 
3256
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
 
 
3257
   ac_cxx_werror_flag=yes
 
 
3260
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
3261
/* end confdefs.h.  */
 
 
3271
if ac_fn_cxx_try_compile "$LINENO"; then :
 
 
3272
  ac_cv_prog_cxx_g=yes
 
 
3275
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
3276
/* end confdefs.h.  */
 
 
3286
if ac_fn_cxx_try_compile "$LINENO"; then :
 
 
3289
  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
 
3291
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
3292
/* end confdefs.h.  */
 
 
3302
if ac_fn_cxx_try_compile "$LINENO"; then :
 
 
3303
  ac_cv_prog_cxx_g=yes
 
 
3305
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
3307
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
3309
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
3310
   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
 
 
3312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
 
 
3313
$as_echo "$ac_cv_prog_cxx_g" >&6; }
 
 
3314
if test "$ac_test_CXXFLAGS" = set; then
 
 
3315
  CXXFLAGS=$ac_save_CXXFLAGS
 
 
3316
elif test $ac_cv_prog_cxx_g = yes; then
 
 
3317
  if test "$GXX" = yes; then
 
 
3323
  if test "$GXX" = yes; then
 
 
3330
ac_cpp='$CPP $CPPFLAGS'
 
 
3331
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
3332
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
3333
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
3334
DEPDIR="${am__leading_dot}deps"
 
 
3336
ac_config_commands="$ac_config_commands depfiles"
 
 
3339
am_make=${MAKE-make}
 
 
3340
cat > confinc << 'END'
 
 
3342
        @echo this is the am__doit target
 
 
3345
# If we don't find an include directive, just comment out the code.
 
 
3346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
 
 
3347
$as_echo_n "checking for style of include used by $am_make... " >&6; }
 
 
3351
# First try GNU make style include.
 
 
3352
echo "include confinc" > confmf
 
 
3353
# Ignore all kinds of additional output from `make'.
 
 
3354
case `$am_make -s -f confmf 2> /dev/null` in #(
 
 
3355
*the\ am__doit\ target*)
 
 
3361
# Now try BSD make style include.
 
 
3362
if test "$am__include" = "#"; then
 
 
3363
   echo '.include "confinc"' > confmf
 
 
3364
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
 
3365
   *the\ am__doit\ target*)
 
 
3366
     am__include=.include
 
 
3374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
 
 
3375
$as_echo "$_am_result" >&6; }
 
 
3376
rm -f confinc confmf
 
 
3378
# Check whether --enable-dependency-tracking was given.
 
 
3379
if test "${enable_dependency_tracking+set}" = set; then :
 
 
3380
  enableval=$enable_dependency_tracking;
 
 
3383
if test "x$enable_dependency_tracking" != xno; then
 
 
3384
  am_depcomp="$ac_aux_dir/depcomp"
 
 
3387
 if test "x$enable_dependency_tracking" != xno; then
 
 
3397
depcc="$CXX"  am_compiler_list=
 
 
3399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
 
3400
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
 
3401
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
 
 
3402
  $as_echo_n "(cached) " >&6
 
 
3404
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
 
3405
  # We make a subdir and do the tests there.  Otherwise we can end up
 
 
3406
  # making bogus files that we don't know about and never remove.  For
 
 
3407
  # instance it was reported that on HP-UX the gcc test will end up
 
 
3408
  # making a dummy file named `D' -- because `-MD' means `put the output
 
 
3411
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
 
3412
  # using a relative directory.
 
 
3413
  cp "$am_depcomp" conftest.dir
 
 
3415
  # We will build objects and dependencies in a subdirectory because
 
 
3416
  # it helps to detect inapplicable dependency modes.  For instance
 
 
3417
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
 
3418
  # side effect of compilation, but ICC will put the dependencies in
 
 
3419
  # the current directory while Tru64 will put them in the object
 
 
3423
  am_cv_CXX_dependencies_compiler_type=none
 
 
3424
  if test "$am_compiler_list" = ""; then
 
 
3425
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
 
3428
  case " $depcc " in #(
 
 
3429
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
 
3432
  for depmode in $am_compiler_list; do
 
 
3433
    # Setup a source with many dependencies, because some compilers
 
 
3434
    # like to wrap large dependency lists on column 80 (with \), and
 
 
3435
    # we should not choose a depcomp mode which is confused by this.
 
 
3437
    # We need to recreate these files for each test, as the compiler may
 
 
3438
    # overwrite some of them when testing with obscure command lines.
 
 
3439
    # This happens at least with the AIX C compiler.
 
 
3441
    for i in 1 2 3 4 5 6; do
 
 
3442
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
 
3443
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
 
3444
      # Solaris 8's {/usr,}/bin/sh.
 
 
3445
      touch sub/conftst$i.h
 
 
3447
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
 
3449
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
 
3450
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
 
3451
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
 
3452
    # versions had trouble with output in subdirs
 
 
3453
    am__obj=sub/conftest.${OBJEXT-o}
 
 
3454
    am__minus_obj="-o $am__obj"
 
 
3457
      # This depmode causes a compiler race in universal mode.
 
 
3458
      test "$am__universal" = false || continue
 
 
3461
      # after this tag, mechanisms are not by side-effect, so they'll
 
 
3462
      # only be used when explicitly requested
 
 
3463
      if test "x$enable_dependency_tracking" = xyes; then
 
 
3469
    msvisualcpp | msvcmsys)
 
 
3470
      # This compiler won't grok `-c -o', but also, the minuso test has
 
 
3471
      # not run yet.  These depmodes are late enough in the game, and
 
 
3472
      # so weak that their functioning should not be impacted.
 
 
3473
      am__obj=conftest.${OBJEXT-o}
 
 
3478
    if depmode=$depmode \
 
 
3479
       source=sub/conftest.c object=$am__obj \
 
 
3480
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
 
3481
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
 
3482
         >/dev/null 2>conftest.err &&
 
 
3483
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
 
3484
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
 
3485
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
 
3486
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
 
3487
      # icc doesn't choke on unknown options, it will just issue warnings
 
 
3488
      # or remarks (even with -Werror).  So we grep stderr for any message
 
 
3489
      # that says an option was ignored or not supported.
 
 
3490
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
 
3491
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
 
3492
      # The diagnosis changed in icc 8.0:
 
 
3493
      #   icc: Command line remark: option '-MP' not supported
 
 
3494
      if (grep 'ignoring option' conftest.err ||
 
 
3495
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
 
3496
        am_cv_CXX_dependencies_compiler_type=$depmode
 
 
3505
  am_cv_CXX_dependencies_compiler_type=none
 
 
3509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
 
3510
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
 
 
3511
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
 
3514
  test "x$enable_dependency_tracking" != xno \
 
 
3515
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
 
3516
  am__fastdepCXX_TRUE=
 
 
3517
  am__fastdepCXX_FALSE='#'
 
 
3519
  am__fastdepCXX_TRUE='#'
 
 
3520
  am__fastdepCXX_FALSE=
 
 
3526
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
 
 
3527
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
 
 
3532
macro_version='2.4.2'
 
 
3533
macro_revision='1.3337'
 
 
3547
ltmain="$ac_aux_dir/ltmain.sh"
 
 
3549
# Make sure we can run config.sub.
 
 
3550
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
 
 
3551
  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
 
3553
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 
 
3554
$as_echo_n "checking build system type... " >&6; }
 
 
3555
if ${ac_cv_build+:} false; then :
 
 
3556
  $as_echo_n "(cached) " >&6
 
 
3558
  ac_build_alias=$build_alias
 
 
3559
test "x$ac_build_alias" = x &&
 
 
3560
  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 
 
3561
test "x$ac_build_alias" = x &&
 
 
3562
  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 
 
3563
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
 
 
3564
  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
 
3567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 
 
3568
$as_echo "$ac_cv_build" >&6; }
 
 
3569
case $ac_cv_build in
 
 
3571
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 
 
3574
ac_save_IFS=$IFS; IFS='-'
 
 
3580
# Remember, the first character of IFS is used to create $*,
 
 
3581
# except with old shells:
 
 
3584
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
 
3587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 
 
3588
$as_echo_n "checking host system type... " >&6; }
 
 
3589
if ${ac_cv_host+:} false; then :
 
 
3590
  $as_echo_n "(cached) " >&6
 
 
3592
  if test "x$host_alias" = x; then
 
 
3593
  ac_cv_host=$ac_cv_build
 
 
3595
  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
 
 
3596
    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 
 
3600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
 
 
3601
$as_echo "$ac_cv_host" >&6; }
 
 
3604
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 
 
3607
ac_save_IFS=$IFS; IFS='-'
 
 
3613
# Remember, the first character of IFS is used to create $*,
 
 
3614
# except with old shells:
 
 
3617
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
 
3620
# Backslashify metacharacters that are still active within
 
 
3621
# double-quoted strings.
 
 
3622
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
 
 
3624
# Same as above, but do not quote variable references.
 
 
3625
double_quote_subst='s/\(["`\\]\)/\\\1/g'
 
 
3627
# Sed substitution to delay expansion of an escaped shell variable in a
 
 
3628
# double_quote_subst'ed string.
 
 
3629
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
 
3631
# Sed substitution to delay expansion of an escaped single quote.
 
 
3632
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
 
3634
# Sed substitution to avoid accidental globbing in evaled expressions
 
 
3635
no_glob_subst='s/\*/\\\*/g'
 
 
3637
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
 
3638
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
 
3639
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
 
3641
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
 
 
3642
$as_echo_n "checking how to print strings... " >&6; }
 
 
3643
# Test print first, because it will be a builtin if present.
 
 
3644
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
 
 
3645
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
 
3647
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
 
3650
  # Use this function as a fallback that always works.
 
 
3651
  func_fallback_echo ()
 
 
3653
    eval 'cat <<_LTECHO_EOF
 
 
3657
  ECHO='func_fallback_echo'
 
 
3660
# func_echo_all arg...
 
 
3661
# Invoke $ECHO with all args, space-separated.
 
 
3668
  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
 
 
3669
$as_echo "printf" >&6; } ;;
 
 
3670
  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
 
 
3671
$as_echo "print -r" >&6; } ;;
 
 
3672
  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
 
 
3673
$as_echo "cat" >&6; } ;;
 
 
3690
ac_cpp='$CPP $CPPFLAGS'
 
 
3691
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
3692
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
3693
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
3694
if test -n "$ac_tool_prefix"; then
 
 
3695
  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
 
 
3696
set dummy ${ac_tool_prefix}gcc; ac_word=$2
 
 
3697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
3698
$as_echo_n "checking for $ac_word... " >&6; }
 
 
3699
if ${ac_cv_prog_CC+:} false; then :
 
 
3700
  $as_echo_n "(cached) " >&6
 
 
3702
  if test -n "$CC"; then
 
 
3703
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
 
3705
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
3709
  test -z "$as_dir" && as_dir=.
 
 
3710
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
3711
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
3712
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
 
 
3713
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
3723
if test -n "$CC"; then
 
 
3724
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
 
3725
$as_echo "$CC" >&6; }
 
 
3727
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3728
$as_echo "no" >&6; }
 
 
3733
if test -z "$ac_cv_prog_CC"; then
 
 
3735
  # Extract the first word of "gcc", so it can be a program name with args.
 
 
3736
set dummy gcc; ac_word=$2
 
 
3737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
3738
$as_echo_n "checking for $ac_word... " >&6; }
 
 
3739
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
 
3740
  $as_echo_n "(cached) " >&6
 
 
3742
  if test -n "$ac_ct_CC"; then
 
 
3743
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
 
3745
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
3749
  test -z "$as_dir" && as_dir=.
 
 
3750
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
3751
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
3752
    ac_cv_prog_ac_ct_CC="gcc"
 
 
3753
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
3762
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
 
3763
if test -n "$ac_ct_CC"; then
 
 
3764
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
 
3765
$as_echo "$ac_ct_CC" >&6; }
 
 
3767
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3768
$as_echo "no" >&6; }
 
 
3771
  if test "x$ac_ct_CC" = x; then
 
 
3774
    case $cross_compiling:$ac_tool_warned in
 
 
3776
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
3777
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
3778
ac_tool_warned=yes ;;
 
 
3786
if test -z "$CC"; then
 
 
3787
          if test -n "$ac_tool_prefix"; then
 
 
3788
    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
 
 
3789
set dummy ${ac_tool_prefix}cc; ac_word=$2
 
 
3790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
3791
$as_echo_n "checking for $ac_word... " >&6; }
 
 
3792
if ${ac_cv_prog_CC+:} false; then :
 
 
3793
  $as_echo_n "(cached) " >&6
 
 
3795
  if test -n "$CC"; then
 
 
3796
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
 
3798
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
3802
  test -z "$as_dir" && as_dir=.
 
 
3803
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
3804
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
3805
    ac_cv_prog_CC="${ac_tool_prefix}cc"
 
 
3806
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
3816
if test -n "$CC"; then
 
 
3817
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
 
3818
$as_echo "$CC" >&6; }
 
 
3820
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3821
$as_echo "no" >&6; }
 
 
3827
if test -z "$CC"; then
 
 
3828
  # Extract the first word of "cc", so it can be a program name with args.
 
 
3829
set dummy cc; 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 ${ac_cv_prog_CC+:} false; then :
 
 
3833
  $as_echo_n "(cached) " >&6
 
 
3835
  if test -n "$CC"; then
 
 
3836
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
 
3839
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
3843
  test -z "$as_dir" && as_dir=.
 
 
3844
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
3845
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
3846
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
 
 
3847
       ac_prog_rejected=yes
 
 
3851
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
3858
if test $ac_prog_rejected = yes; then
 
 
3859
  # We found a bogon in the path, so make sure we never use it.
 
 
3860
  set dummy $ac_cv_prog_CC
 
 
3862
  if test $# != 0; then
 
 
3863
    # We chose a different compiler from the bogus one.
 
 
3864
    # However, it has the same basename, so the bogon will be chosen
 
 
3865
    # first if we set CC to just the basename; use the full file name.
 
 
3867
    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
 
 
3873
if test -n "$CC"; then
 
 
3874
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
 
3875
$as_echo "$CC" >&6; }
 
 
3877
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3878
$as_echo "no" >&6; }
 
 
3883
if test -z "$CC"; then
 
 
3884
  if test -n "$ac_tool_prefix"; then
 
 
3885
  for ac_prog in cl.exe
 
 
3887
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
 
3888
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
 
3889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
3890
$as_echo_n "checking for $ac_word... " >&6; }
 
 
3891
if ${ac_cv_prog_CC+:} false; then :
 
 
3892
  $as_echo_n "(cached) " >&6
 
 
3894
  if test -n "$CC"; then
 
 
3895
  ac_cv_prog_CC="$CC" # Let the user override the test.
 
 
3897
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
3901
  test -z "$as_dir" && as_dir=.
 
 
3902
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
3903
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
3904
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
 
 
3905
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
3915
if test -n "$CC"; then
 
 
3916
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
 
 
3917
$as_echo "$CC" >&6; }
 
 
3919
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3920
$as_echo "no" >&6; }
 
 
3924
    test -n "$CC" && break
 
 
3927
if test -z "$CC"; then
 
 
3929
  for ac_prog in cl.exe
 
 
3931
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
 
3932
set dummy $ac_prog; ac_word=$2
 
 
3933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
3934
$as_echo_n "checking for $ac_word... " >&6; }
 
 
3935
if ${ac_cv_prog_ac_ct_CC+:} false; then :
 
 
3936
  $as_echo_n "(cached) " >&6
 
 
3938
  if test -n "$ac_ct_CC"; then
 
 
3939
  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
 
 
3941
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
3945
  test -z "$as_dir" && as_dir=.
 
 
3946
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
3947
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
3948
    ac_cv_prog_ac_ct_CC="$ac_prog"
 
 
3949
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
3958
ac_ct_CC=$ac_cv_prog_ac_ct_CC
 
 
3959
if test -n "$ac_ct_CC"; then
 
 
3960
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
 
 
3961
$as_echo "$ac_ct_CC" >&6; }
 
 
3963
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
3964
$as_echo "no" >&6; }
 
 
3968
  test -n "$ac_ct_CC" && break
 
 
3971
  if test "x$ac_ct_CC" = x; then
 
 
3974
    case $cross_compiling:$ac_tool_warned in
 
 
3976
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
3977
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
3978
ac_tool_warned=yes ;;
 
 
3987
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
3988
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
3989
as_fn_error $? "no acceptable C compiler found in \$PATH
 
 
3990
See \`config.log' for more details" "$LINENO" 5; }
 
 
3992
# Provide some information about the compiler.
 
 
3993
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
 
 
3996
for ac_option in --version -v -V -qversion; do
 
 
3997
  { { ac_try="$ac_compiler $ac_option >&5"
 
 
3999
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
 
4000
  *) ac_try_echo=$ac_try;;
 
 
4002
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
 
 
4003
$as_echo "$ac_try_echo"; } >&5
 
 
4004
  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
 
 
4006
  if test -s conftest.err; then
 
 
4008
... rest of stderr output deleted ...
 
 
4009
         10q' conftest.err >conftest.er1
 
 
4010
    cat conftest.er1 >&5
 
 
4012
  rm -f conftest.er1 conftest.err
 
 
4013
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
4014
  test $ac_status = 0; }
 
 
4017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 
 
4018
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
 
 
4019
if ${ac_cv_c_compiler_gnu+:} false; then :
 
 
4020
  $as_echo_n "(cached) " >&6
 
 
4022
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
4023
/* end confdefs.h.  */
 
 
4036
if ac_fn_c_try_compile "$LINENO"; then :
 
 
4041
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
4042
ac_cv_c_compiler_gnu=$ac_compiler_gnu
 
 
4045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
 
 
4046
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
 
 
4047
if test $ac_compiler_gnu = yes; then
 
 
4052
ac_test_CFLAGS=${CFLAGS+set}
 
 
4053
ac_save_CFLAGS=$CFLAGS
 
 
4054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 
 
4055
$as_echo_n "checking whether $CC accepts -g... " >&6; }
 
 
4056
if ${ac_cv_prog_cc_g+:} false; then :
 
 
4057
  $as_echo_n "(cached) " >&6
 
 
4059
  ac_save_c_werror_flag=$ac_c_werror_flag
 
 
4060
   ac_c_werror_flag=yes
 
 
4063
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
4064
/* end confdefs.h.  */
 
 
4074
if ac_fn_c_try_compile "$LINENO"; then :
 
 
4078
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
4079
/* end confdefs.h.  */
 
 
4089
if ac_fn_c_try_compile "$LINENO"; then :
 
 
4092
  ac_c_werror_flag=$ac_save_c_werror_flag
 
 
4094
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
4095
/* end confdefs.h.  */
 
 
4105
if ac_fn_c_try_compile "$LINENO"; then :
 
 
4108
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
4110
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
4112
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
4113
   ac_c_werror_flag=$ac_save_c_werror_flag
 
 
4115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
 
 
4116
$as_echo "$ac_cv_prog_cc_g" >&6; }
 
 
4117
if test "$ac_test_CFLAGS" = set; then
 
 
4118
  CFLAGS=$ac_save_CFLAGS
 
 
4119
elif test $ac_cv_prog_cc_g = yes; then
 
 
4120
  if test "$GCC" = yes; then
 
 
4126
  if test "$GCC" = yes; then
 
 
4132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 
 
4133
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
 
 
4134
if ${ac_cv_prog_cc_c89+:} false; then :
 
 
4135
  $as_echo_n "(cached) " >&6
 
 
4137
  ac_cv_prog_cc_c89=no
 
 
4139
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
4140
/* end confdefs.h.  */
 
 
4143
#include <sys/types.h>
 
 
4144
#include <sys/stat.h>
 
 
4145
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 
 
4146
struct buf { int x; };
 
 
4147
FILE * (*rcsopen) (struct buf *, struct stat *, int);
 
 
4148
static char *e (p, i)
 
 
4154
static char *f (char * (*g) (char **, int), char **p, ...)
 
 
4159
  s = g (p, va_arg (v,int));
 
 
4164
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
 
 
4165
   function prototypes and stuff, but not '\xHH' hex character constants.
 
 
4166
   These don't provoke an error unfortunately, instead are silently treated
 
 
4167
   as 'x'.  The following induces an error, until -std is added to get
 
 
4168
   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
 
 
4169
   array size at least.  It's necessary to write '\x00'==0 to get something
 
 
4170
   that's true only with -std.  */
 
 
4171
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
 
 
4173
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
 
 
4174
   inside strings and character constants.  */
 
 
4176
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
 
 
4178
int test (int i, double x);
 
 
4179
struct s1 {int (*f) (int a);};
 
 
4180
struct s2 {int (*f) (double a);};
 
 
4181
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
 
 
4187
return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
 
 
4192
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
 
 
4193
        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
 
 
4195
  CC="$ac_save_CC $ac_arg"
 
 
4196
  if ac_fn_c_try_compile "$LINENO"; then :
 
 
4197
  ac_cv_prog_cc_c89=$ac_arg
 
 
4199
rm -f core conftest.err conftest.$ac_objext
 
 
4200
  test "x$ac_cv_prog_cc_c89" != "xno" && break
 
 
4202
rm -f conftest.$ac_ext
 
 
4207
case "x$ac_cv_prog_cc_c89" in
 
 
4209
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
 
 
4210
$as_echo "none needed" >&6; } ;;
 
 
4212
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
 
 
4213
$as_echo "unsupported" >&6; } ;;
 
 
4215
    CC="$CC $ac_cv_prog_cc_c89"
 
 
4216
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
 
 
4217
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
 
 
4219
if test "x$ac_cv_prog_cc_c89" != xno; then :
 
 
4224
ac_cpp='$CPP $CPPFLAGS'
 
 
4225
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
4226
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
4227
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
4229
depcc="$CC"   am_compiler_list=
 
 
4231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
 
 
4232
$as_echo_n "checking dependency style of $depcc... " >&6; }
 
 
4233
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
 
 
4234
  $as_echo_n "(cached) " >&6
 
 
4236
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
 
4237
  # We make a subdir and do the tests there.  Otherwise we can end up
 
 
4238
  # making bogus files that we don't know about and never remove.  For
 
 
4239
  # instance it was reported that on HP-UX the gcc test will end up
 
 
4240
  # making a dummy file named `D' -- because `-MD' means `put the output
 
 
4243
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
 
4244
  # using a relative directory.
 
 
4245
  cp "$am_depcomp" conftest.dir
 
 
4247
  # We will build objects and dependencies in a subdirectory because
 
 
4248
  # it helps to detect inapplicable dependency modes.  For instance
 
 
4249
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
 
4250
  # side effect of compilation, but ICC will put the dependencies in
 
 
4251
  # the current directory while Tru64 will put them in the object
 
 
4255
  am_cv_CC_dependencies_compiler_type=none
 
 
4256
  if test "$am_compiler_list" = ""; then
 
 
4257
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
 
4260
  case " $depcc " in #(
 
 
4261
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
 
4264
  for depmode in $am_compiler_list; do
 
 
4265
    # Setup a source with many dependencies, because some compilers
 
 
4266
    # like to wrap large dependency lists on column 80 (with \), and
 
 
4267
    # we should not choose a depcomp mode which is confused by this.
 
 
4269
    # We need to recreate these files for each test, as the compiler may
 
 
4270
    # overwrite some of them when testing with obscure command lines.
 
 
4271
    # This happens at least with the AIX C compiler.
 
 
4273
    for i in 1 2 3 4 5 6; do
 
 
4274
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
 
4275
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
 
4276
      # Solaris 8's {/usr,}/bin/sh.
 
 
4277
      touch sub/conftst$i.h
 
 
4279
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
 
4281
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
 
4282
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
 
4283
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
 
4284
    # versions had trouble with output in subdirs
 
 
4285
    am__obj=sub/conftest.${OBJEXT-o}
 
 
4286
    am__minus_obj="-o $am__obj"
 
 
4289
      # This depmode causes a compiler race in universal mode.
 
 
4290
      test "$am__universal" = false || continue
 
 
4293
      # after this tag, mechanisms are not by side-effect, so they'll
 
 
4294
      # only be used when explicitly requested
 
 
4295
      if test "x$enable_dependency_tracking" = xyes; then
 
 
4301
    msvisualcpp | msvcmsys)
 
 
4302
      # This compiler won't grok `-c -o', but also, the minuso test has
 
 
4303
      # not run yet.  These depmodes are late enough in the game, and
 
 
4304
      # so weak that their functioning should not be impacted.
 
 
4305
      am__obj=conftest.${OBJEXT-o}
 
 
4310
    if depmode=$depmode \
 
 
4311
       source=sub/conftest.c object=$am__obj \
 
 
4312
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
 
4313
       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
 
 
4314
         >/dev/null 2>conftest.err &&
 
 
4315
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
 
 
4316
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
 
4317
       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
 
 
4318
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
 
4319
      # icc doesn't choke on unknown options, it will just issue warnings
 
 
4320
      # or remarks (even with -Werror).  So we grep stderr for any message
 
 
4321
      # that says an option was ignored or not supported.
 
 
4322
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
 
4323
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
 
4324
      # The diagnosis changed in icc 8.0:
 
 
4325
      #   icc: Command line remark: option '-MP' not supported
 
 
4326
      if (grep 'ignoring option' conftest.err ||
 
 
4327
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
 
4328
        am_cv_CC_dependencies_compiler_type=$depmode
 
 
4337
  am_cv_CC_dependencies_compiler_type=none
 
 
4341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
 
 
4342
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
 
 
4343
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
 
4346
  test "x$enable_dependency_tracking" != xno \
 
 
4347
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
 
4349
  am__fastdepCC_FALSE='#'
 
 
4351
  am__fastdepCC_TRUE='#'
 
 
4352
  am__fastdepCC_FALSE=
 
 
4356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 
 
4357
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
 
 
4358
if ${ac_cv_path_SED+:} false; then :
 
 
4359
  $as_echo_n "(cached) " >&6
 
 
4361
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
 
 
4362
     for ac_i in 1 2 3 4 5 6 7; do
 
 
4363
       ac_script="$ac_script$as_nl$ac_script"
 
 
4365
     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
 
 
4366
     { ac_script=; unset ac_script;}
 
 
4367
     if test -z "$SED"; then
 
 
4368
  ac_path_SED_found=false
 
 
4369
  # Loop through the user's path and test for each of PROGNAME-LIST
 
 
4370
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
4374
  test -z "$as_dir" && as_dir=.
 
 
4375
    for ac_prog in sed gsed; do
 
 
4376
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
4377
      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
 
 
4378
      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
 
 
4379
# Check for GNU ac_path_SED and select it if it is found.
 
 
4380
  # Check for GNU $ac_path_SED
 
 
4381
case `"$ac_path_SED" --version 2>&1` in
 
 
4383
  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
 
 
4386
  $as_echo_n 0123456789 >"conftest.in"
 
 
4389
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
 
4390
    mv "conftest.tmp" "conftest.in"
 
 
4391
    cp "conftest.in" "conftest.nl"
 
 
4392
    $as_echo '' >> "conftest.nl"
 
 
4393
    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
 
4394
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
 
4395
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
 
4396
    if test $ac_count -gt ${ac_path_SED_max-0}; then
 
 
4397
      # Best one so far, save it but keep looking for a better one
 
 
4398
      ac_cv_path_SED="$ac_path_SED"
 
 
4399
      ac_path_SED_max=$ac_count
 
 
4401
    # 10*(2^10) chars as input seems more than enough
 
 
4402
    test $ac_count -gt 10 && break
 
 
4404
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
 
4407
      $ac_path_SED_found && break 3
 
 
4412
  if test -z "$ac_cv_path_SED"; then
 
 
4413
    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
 
 
4420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
 
 
4421
$as_echo "$ac_cv_path_SED" >&6; }
 
 
4422
 SED="$ac_cv_path_SED"
 
 
4425
test -z "$SED" && SED=sed
 
 
4426
Xsed="$SED -e 1s/^X//"
 
 
4438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 
 
4439
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
 
 
4440
if ${ac_cv_path_GREP+:} false; then :
 
 
4441
  $as_echo_n "(cached) " >&6
 
 
4443
  if test -z "$GREP"; then
 
 
4444
  ac_path_GREP_found=false
 
 
4445
  # Loop through the user's path and test for each of PROGNAME-LIST
 
 
4446
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
4447
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
 
4450
  test -z "$as_dir" && as_dir=.
 
 
4451
    for ac_prog in grep ggrep; do
 
 
4452
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
4453
      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
 
 
4454
      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
 
 
4455
# Check for GNU ac_path_GREP and select it if it is found.
 
 
4456
  # Check for GNU $ac_path_GREP
 
 
4457
case `"$ac_path_GREP" --version 2>&1` in
 
 
4459
  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
 
 
4462
  $as_echo_n 0123456789 >"conftest.in"
 
 
4465
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
 
4466
    mv "conftest.tmp" "conftest.in"
 
 
4467
    cp "conftest.in" "conftest.nl"
 
 
4468
    $as_echo 'GREP' >> "conftest.nl"
 
 
4469
    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
 
4470
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
 
4471
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
 
4472
    if test $ac_count -gt ${ac_path_GREP_max-0}; then
 
 
4473
      # Best one so far, save it but keep looking for a better one
 
 
4474
      ac_cv_path_GREP="$ac_path_GREP"
 
 
4475
      ac_path_GREP_max=$ac_count
 
 
4477
    # 10*(2^10) chars as input seems more than enough
 
 
4478
    test $ac_count -gt 10 && break
 
 
4480
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
 
4483
      $ac_path_GREP_found && break 3
 
 
4488
  if test -z "$ac_cv_path_GREP"; then
 
 
4489
    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
 
4492
  ac_cv_path_GREP=$GREP
 
 
4496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
 
 
4497
$as_echo "$ac_cv_path_GREP" >&6; }
 
 
4498
 GREP="$ac_cv_path_GREP"
 
 
4501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 
 
4502
$as_echo_n "checking for egrep... " >&6; }
 
 
4503
if ${ac_cv_path_EGREP+:} false; then :
 
 
4504
  $as_echo_n "(cached) " >&6
 
 
4506
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
 
 
4507
   then ac_cv_path_EGREP="$GREP -E"
 
 
4509
     if test -z "$EGREP"; then
 
 
4510
  ac_path_EGREP_found=false
 
 
4511
  # Loop through the user's path and test for each of PROGNAME-LIST
 
 
4512
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
4513
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
 
4516
  test -z "$as_dir" && as_dir=.
 
 
4517
    for ac_prog in egrep; do
 
 
4518
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
4519
      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
 
 
4520
      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
 
 
4521
# Check for GNU ac_path_EGREP and select it if it is found.
 
 
4522
  # Check for GNU $ac_path_EGREP
 
 
4523
case `"$ac_path_EGREP" --version 2>&1` in
 
 
4525
  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
 
 
4528
  $as_echo_n 0123456789 >"conftest.in"
 
 
4531
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
 
4532
    mv "conftest.tmp" "conftest.in"
 
 
4533
    cp "conftest.in" "conftest.nl"
 
 
4534
    $as_echo 'EGREP' >> "conftest.nl"
 
 
4535
    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
 
4536
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
 
4537
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
 
4538
    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
 
 
4539
      # Best one so far, save it but keep looking for a better one
 
 
4540
      ac_cv_path_EGREP="$ac_path_EGREP"
 
 
4541
      ac_path_EGREP_max=$ac_count
 
 
4543
    # 10*(2^10) chars as input seems more than enough
 
 
4544
    test $ac_count -gt 10 && break
 
 
4546
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
 
4549
      $ac_path_EGREP_found && break 3
 
 
4554
  if test -z "$ac_cv_path_EGREP"; then
 
 
4555
    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
 
4558
  ac_cv_path_EGREP=$EGREP
 
 
4563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
 
 
4564
$as_echo "$ac_cv_path_EGREP" >&6; }
 
 
4565
 EGREP="$ac_cv_path_EGREP"
 
 
4568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 
 
4569
$as_echo_n "checking for fgrep... " >&6; }
 
 
4570
if ${ac_cv_path_FGREP+:} false; then :
 
 
4571
  $as_echo_n "(cached) " >&6
 
 
4573
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
 
 
4574
   then ac_cv_path_FGREP="$GREP -F"
 
 
4576
     if test -z "$FGREP"; then
 
 
4577
  ac_path_FGREP_found=false
 
 
4578
  # Loop through the user's path and test for each of PROGNAME-LIST
 
 
4579
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
4580
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
 
 
4583
  test -z "$as_dir" && as_dir=.
 
 
4584
    for ac_prog in fgrep; do
 
 
4585
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
4586
      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
 
 
4587
      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
 
 
4588
# Check for GNU ac_path_FGREP and select it if it is found.
 
 
4589
  # Check for GNU $ac_path_FGREP
 
 
4590
case `"$ac_path_FGREP" --version 2>&1` in
 
 
4592
  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
 
 
4595
  $as_echo_n 0123456789 >"conftest.in"
 
 
4598
    cat "conftest.in" "conftest.in" >"conftest.tmp"
 
 
4599
    mv "conftest.tmp" "conftest.in"
 
 
4600
    cp "conftest.in" "conftest.nl"
 
 
4601
    $as_echo 'FGREP' >> "conftest.nl"
 
 
4602
    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
 
 
4603
    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
 
 
4604
    as_fn_arith $ac_count + 1 && ac_count=$as_val
 
 
4605
    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
 
 
4606
      # Best one so far, save it but keep looking for a better one
 
 
4607
      ac_cv_path_FGREP="$ac_path_FGREP"
 
 
4608
      ac_path_FGREP_max=$ac_count
 
 
4610
    # 10*(2^10) chars as input seems more than enough
 
 
4611
    test $ac_count -gt 10 && break
 
 
4613
  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
 
 
4616
      $ac_path_FGREP_found && break 3
 
 
4621
  if test -z "$ac_cv_path_FGREP"; then
 
 
4622
    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
 
 
4625
  ac_cv_path_FGREP=$FGREP
 
 
4630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
 
 
4631
$as_echo "$ac_cv_path_FGREP" >&6; }
 
 
4632
 FGREP="$ac_cv_path_FGREP"
 
 
4635
test -z "$GREP" && GREP=grep
 
 
4655
# Check whether --with-gnu-ld was given.
 
 
4656
if test "${with_gnu_ld+set}" = set; then :
 
 
4657
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
 
4663
if test "$GCC" = yes; then
 
 
4664
  # Check if gcc -print-prog-name=ld gives a path.
 
 
4665
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
 
4666
$as_echo_n "checking for ld used by $CC... " >&6; }
 
 
4669
    # gcc leaves a trailing carriage return which upsets mingw
 
 
4670
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
 
4672
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
 
4675
    # Accept absolute paths.
 
 
4677
      re_direlt='/[^/][^/]*/\.\./'
 
 
4678
      # Canonicalize the pathname of ld
 
 
4679
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
 
4680
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
 
4681
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
 
4683
      test -z "$LD" && LD="$ac_prog"
 
 
4686
    # If it fails, then pretend we aren't using GCC.
 
 
4690
    # If it is relative, then search for the first ld in PATH.
 
 
4694
elif test "$with_gnu_ld" = yes; then
 
 
4695
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
 
4696
$as_echo_n "checking for GNU ld... " >&6; }
 
 
4698
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
 
4699
$as_echo_n "checking for non-GNU ld... " >&6; }
 
 
4701
if ${lt_cv_path_LD+:} false; then :
 
 
4702
  $as_echo_n "(cached) " >&6
 
 
4704
  if test -z "$LD"; then
 
 
4705
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
 
4706
  for ac_dir in $PATH; do
 
 
4708
    test -z "$ac_dir" && ac_dir=.
 
 
4709
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
 
4710
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
 
4711
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
 
4712
      # but apparently some variants of GNU ld only accept -v.
 
 
4713
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
 
4714
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
 
4715
      *GNU* | *'with BFD'*)
 
 
4716
        test "$with_gnu_ld" != no && break
 
 
4719
        test "$with_gnu_ld" != yes && break
 
 
4726
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
 
4731
if test -n "$LD"; then
 
 
4732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
 
4733
$as_echo "$LD" >&6; }
 
 
4735
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
4736
$as_echo "no" >&6; }
 
 
4738
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
 
4739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
 
4740
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
 
4741
if ${lt_cv_prog_gnu_ld+:} false; then :
 
 
4742
  $as_echo_n "(cached) " >&6
 
 
4744
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
 
4745
case `$LD -v 2>&1 </dev/null` in
 
 
4746
*GNU* | *'with BFD'*)
 
 
4747
  lt_cv_prog_gnu_ld=yes
 
 
4750
  lt_cv_prog_gnu_ld=no
 
 
4754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
 
4755
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
 
4756
with_gnu_ld=$lt_cv_prog_gnu_ld
 
 
4766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 
 
4767
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
 
 
4768
if ${lt_cv_path_NM+:} false; then :
 
 
4769
  $as_echo_n "(cached) " >&6
 
 
4771
  if test -n "$NM"; then
 
 
4772
  # Let the user override the test.
 
 
4775
  lt_nm_to_check="${ac_tool_prefix}nm"
 
 
4776
  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
 
 
4777
    lt_nm_to_check="$lt_nm_to_check nm"
 
 
4779
  for lt_tmp_nm in $lt_nm_to_check; do
 
 
4780
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
 
4781
    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
 
 
4783
      test -z "$ac_dir" && ac_dir=.
 
 
4784
      tmp_nm="$ac_dir/$lt_tmp_nm"
 
 
4785
      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
 
 
4786
        # Check to see if the nm accepts a BSD-compat flag.
 
 
4787
        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
 
 
4788
        #   nm: unknown option "B" ignored
 
 
4789
        # Tru64's nm complains that /dev/null is an invalid object file
 
 
4790
        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
 
 
4791
        */dev/null* | *'Invalid file or object type'*)
 
 
4792
          lt_cv_path_NM="$tmp_nm -B"
 
 
4796
          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
 
 
4798
            lt_cv_path_NM="$tmp_nm -p"
 
 
4802
            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
 
 
4803
            continue # so that we can try to find one that supports BSD flags
 
 
4812
  : ${lt_cv_path_NM=no}
 
 
4815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
 
 
4816
$as_echo "$lt_cv_path_NM" >&6; }
 
 
4817
if test "$lt_cv_path_NM" != "no"; then
 
 
4820
  # Didn't find any BSD compatible name lister, look for dumpbin.
 
 
4821
  if test -n "$DUMPBIN"; then :
 
 
4822
    # Let the user override the test.
 
 
4824
    if test -n "$ac_tool_prefix"; then
 
 
4825
  for ac_prog in dumpbin "link -dump"
 
 
4827
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
 
4828
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
 
4829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
4830
$as_echo_n "checking for $ac_word... " >&6; }
 
 
4831
if ${ac_cv_prog_DUMPBIN+:} false; then :
 
 
4832
  $as_echo_n "(cached) " >&6
 
 
4834
  if test -n "$DUMPBIN"; then
 
 
4835
  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
 
 
4837
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
4841
  test -z "$as_dir" && as_dir=.
 
 
4842
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
4843
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
4844
    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
 
 
4845
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
4854
DUMPBIN=$ac_cv_prog_DUMPBIN
 
 
4855
if test -n "$DUMPBIN"; then
 
 
4856
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
 
 
4857
$as_echo "$DUMPBIN" >&6; }
 
 
4859
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
4860
$as_echo "no" >&6; }
 
 
4864
    test -n "$DUMPBIN" && break
 
 
4867
if test -z "$DUMPBIN"; then
 
 
4868
  ac_ct_DUMPBIN=$DUMPBIN
 
 
4869
  for ac_prog in dumpbin "link -dump"
 
 
4871
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
 
4872
set dummy $ac_prog; ac_word=$2
 
 
4873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
4874
$as_echo_n "checking for $ac_word... " >&6; }
 
 
4875
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
 
 
4876
  $as_echo_n "(cached) " >&6
 
 
4878
  if test -n "$ac_ct_DUMPBIN"; then
 
 
4879
  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
 
 
4881
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
4885
  test -z "$as_dir" && as_dir=.
 
 
4886
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
4887
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
4888
    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
 
 
4889
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
4898
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
 
 
4899
if test -n "$ac_ct_DUMPBIN"; then
 
 
4900
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
 
 
4901
$as_echo "$ac_ct_DUMPBIN" >&6; }
 
 
4903
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
4904
$as_echo "no" >&6; }
 
 
4908
  test -n "$ac_ct_DUMPBIN" && break
 
 
4911
  if test "x$ac_ct_DUMPBIN" = x; then
 
 
4914
    case $cross_compiling:$ac_tool_warned in
 
 
4916
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
4917
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
4918
ac_tool_warned=yes ;;
 
 
4920
    DUMPBIN=$ac_ct_DUMPBIN
 
 
4924
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
 
4926
      DUMPBIN="$DUMPBIN -symbols"
 
 
4934
  if test "$DUMPBIN" != ":"; then
 
 
4938
test -z "$NM" && NM=nm
 
 
4945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 
 
4946
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
 
 
4947
if ${lt_cv_nm_interface+:} false; then :
 
 
4948
  $as_echo_n "(cached) " >&6
 
 
4950
  lt_cv_nm_interface="BSD nm"
 
 
4951
  echo "int some_variable = 0;" > conftest.$ac_ext
 
 
4952
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
 
 
4953
  (eval "$ac_compile" 2>conftest.err)
 
 
4954
  cat conftest.err >&5
 
 
4955
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
 
 
4956
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
 
 
4957
  cat conftest.err >&5
 
 
4958
  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
 
 
4959
  cat conftest.out >&5
 
 
4960
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
 
 
4961
    lt_cv_nm_interface="MS dumpbin"
 
 
4965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
 
 
4966
$as_echo "$lt_cv_nm_interface" >&6; }
 
 
4968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 
 
4969
$as_echo_n "checking whether ln -s works... " >&6; }
 
 
4971
if test "$LN_S" = "ln -s"; then
 
 
4972
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
 
4973
$as_echo "yes" >&6; }
 
 
4975
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
 
 
4976
$as_echo "no, using $LN_S" >&6; }
 
 
4979
# find the maximum length of command line arguments
 
 
4980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 
 
4981
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
 
 
4982
if ${lt_cv_sys_max_cmd_len+:} false; then :
 
 
4983
  $as_echo_n "(cached) " >&6
 
 
4990
    # On DJGPP, this test can blow up pretty badly due to problems in libc
 
 
4991
    # (any single argument exceeding 2000 bytes causes a buffer overrun
 
 
4992
    # during glob expansion).  Even if it were fixed, the result of this
 
 
4993
    # check would be larger than it should be.
 
 
4994
    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
 
 
4998
    # Under GNU Hurd, this test is not required because there is
 
 
4999
    # no limit to the length of command line arguments.
 
 
5000
    # Libtool will interpret -1 as no limit whatsoever
 
 
5001
    lt_cv_sys_max_cmd_len=-1;
 
 
5004
  cygwin* | mingw* | cegcc*)
 
 
5005
    # On Win9x/ME, this test blows up -- it succeeds, but takes
 
 
5006
    # about 5 minutes as the teststring grows exponentially.
 
 
5007
    # Worse, since 9x/ME are not pre-emptively multitasking,
 
 
5008
    # you end up with a "frozen" computer, even though with patience
 
 
5009
    # the test eventually succeeds (with a max line length of 256k).
 
 
5010
    # Instead, let's just punt: use the minimum linelength reported by
 
 
5011
    # all of the supported platforms: 8192 (on NT/2K/XP).
 
 
5012
    lt_cv_sys_max_cmd_len=8192;
 
 
5016
    # On MiNT this can take a long time and run out of memory.
 
 
5017
    lt_cv_sys_max_cmd_len=8192;
 
 
5021
    # On AmigaOS with pdksh, this test takes hours, literally.
 
 
5022
    # So we just punt and use a minimum line length of 8192.
 
 
5023
    lt_cv_sys_max_cmd_len=8192;
 
 
5026
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
 
5027
    # This has been around since 386BSD, at least.  Likely further.
 
 
5028
    if test -x /sbin/sysctl; then
 
 
5029
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
 
5030
    elif test -x /usr/sbin/sysctl; then
 
 
5031
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
 
5033
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
 
5035
    # And add a safety zone
 
 
5036
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
 
5037
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
 
5041
    # We know the value 262144 and hardcode it with a safety zone (like BSD)
 
 
5042
    lt_cv_sys_max_cmd_len=196608
 
 
5046
    # The test takes a long time on OS/2.
 
 
5047
    lt_cv_sys_max_cmd_len=8192
 
 
5051
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
 
5052
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
 
5053
    # nice to cause kernel panics so lets avoid the loop below.
 
 
5054
    # First set a reasonable default.
 
 
5055
    lt_cv_sys_max_cmd_len=16384
 
 
5057
    if test -x /sbin/sysconfig; then
 
 
5058
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
 
5059
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
 
5064
    lt_cv_sys_max_cmd_len=102400
 
 
5066
  sysv5* | sco5v6* | sysv4.2uw2*)
 
 
5067
    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
 
 
5068
    if test -n "$kargmax"; then
 
 
5069
      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
 
 
5071
      lt_cv_sys_max_cmd_len=32768
 
 
5075
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
 
5076
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
 
5077
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
 
5078
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
 
5080
      # Make teststring a little bigger before we do anything with it.
 
 
5081
      # a 1K string should be a reasonable start.
 
 
5082
      for i in 1 2 3 4 5 6 7 8 ; do
 
 
5083
        teststring=$teststring$teststring
 
 
5085
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
 
5086
      # If test is not a shell built-in, we'll probably end up computing a
 
 
5087
      # maximum length that is only half of the actual maximum length, but
 
 
5089
      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
 
 
5090
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
 
 
5091
              test $i != 17 # 1/2 MB should be enough
 
 
5094
        teststring=$teststring$teststring
 
 
5096
      # Only check the string length outside the loop.
 
 
5097
      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
 
 
5099
      # Add a significant safety factor because C++ compilers can tack on
 
 
5100
      # massive amounts of additional arguments before passing them to the
 
 
5101
      # linker.  It appears as though 1/2 is a usable value.
 
 
5102
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
 
5109
if test -n $lt_cv_sys_max_cmd_len ; then
 
 
5110
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
 
 
5111
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
 
 
5113
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
 
 
5114
$as_echo "none" >&6; }
 
 
5116
max_cmd_len=$lt_cv_sys_max_cmd_len
 
 
5127
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
 
 
5128
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
 
 
5129
# Try some XSI features
 
 
5132
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
 
5134
    && eval 'test $(( 1 + 1 )) -eq 2 \
 
 
5135
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
 
 
5137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
 
 
5138
$as_echo "$xsi_shell" >&6; }
 
 
5141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
 
 
5142
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
 
 
5144
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
 
 
5146
  && lt_shell_append=yes
 
 
5147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
 
 
5148
$as_echo "$lt_shell_append" >&6; }
 
 
5151
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 
 
5161
# test EBCDIC or ASCII
 
 
5162
case `echo X|tr X '\101'` in
 
 
5163
 A) # ASCII based system
 
 
5164
    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
 
 
5165
  lt_SP2NL='tr \040 \012'
 
 
5166
  lt_NL2SP='tr \015\012 \040\040'
 
 
5168
 *) # EBCDIC based system
 
 
5169
  lt_SP2NL='tr \100 \n'
 
 
5170
  lt_NL2SP='tr \r\n \100\100'
 
 
5182
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
 
5183
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
 
5184
if ${lt_cv_to_host_file_cmd+:} false; then :
 
 
5185
  $as_echo_n "(cached) " >&6
 
 
5190
      *-*-mingw* ) # actually msys
 
 
5191
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
 
5194
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
 
5196
      * ) # otherwise, assume *nix
 
 
5197
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
 
5203
      *-*-mingw* ) # actually msys
 
 
5204
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
 
5207
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
 
5209
      * ) # otherwise, assume *nix
 
 
5210
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
 
5214
  * ) # unhandled hosts (and "normal" native builds)
 
 
5215
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
 
5221
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
 
5222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
 
5223
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
 
5229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
 
5230
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
 
5231
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
 
5232
  $as_echo_n "(cached) " >&6
 
 
5234
  #assume ordinary cross tools, or native build.
 
 
5235
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
 
5239
      *-*-mingw* ) # actually msys
 
 
5240
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
 
5248
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
 
5249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
 
5250
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
 
5256
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 
 
5257
$as_echo_n "checking for $LD option to reload object files... " >&6; }
 
 
5258
if ${lt_cv_ld_reload_flag+:} false; then :
 
 
5259
  $as_echo_n "(cached) " >&6
 
 
5261
  lt_cv_ld_reload_flag='-r'
 
 
5263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
 
 
5264
$as_echo "$lt_cv_ld_reload_flag" >&6; }
 
 
5265
reload_flag=$lt_cv_ld_reload_flag
 
 
5266
case $reload_flag in
 
 
5268
*) reload_flag=" $reload_flag" ;;
 
 
5270
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
 
5272
  cygwin* | mingw* | pw32* | cegcc*)
 
 
5273
    if test "$GCC" != yes; then
 
 
5278
    if test "$GCC" = yes; then
 
 
5279
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
 
 
5281
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
 
5294
if test -n "$ac_tool_prefix"; then
 
 
5295
  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
 
 
5296
set dummy ${ac_tool_prefix}objdump; ac_word=$2
 
 
5297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5298
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5299
if ${ac_cv_prog_OBJDUMP+:} false; then :
 
 
5300
  $as_echo_n "(cached) " >&6
 
 
5302
  if test -n "$OBJDUMP"; then
 
 
5303
  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
 
 
5305
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5309
  test -z "$as_dir" && as_dir=.
 
 
5310
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5311
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5312
    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
 
 
5313
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5322
OBJDUMP=$ac_cv_prog_OBJDUMP
 
 
5323
if test -n "$OBJDUMP"; then
 
 
5324
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
 
 
5325
$as_echo "$OBJDUMP" >&6; }
 
 
5327
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5328
$as_echo "no" >&6; }
 
 
5333
if test -z "$ac_cv_prog_OBJDUMP"; then
 
 
5334
  ac_ct_OBJDUMP=$OBJDUMP
 
 
5335
  # Extract the first word of "objdump", so it can be a program name with args.
 
 
5336
set dummy objdump; ac_word=$2
 
 
5337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5338
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5339
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
 
 
5340
  $as_echo_n "(cached) " >&6
 
 
5342
  if test -n "$ac_ct_OBJDUMP"; then
 
 
5343
  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
 
 
5345
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5349
  test -z "$as_dir" && as_dir=.
 
 
5350
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5351
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5352
    ac_cv_prog_ac_ct_OBJDUMP="objdump"
 
 
5353
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5362
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
 
 
5363
if test -n "$ac_ct_OBJDUMP"; then
 
 
5364
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
 
 
5365
$as_echo "$ac_ct_OBJDUMP" >&6; }
 
 
5367
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5368
$as_echo "no" >&6; }
 
 
5371
  if test "x$ac_ct_OBJDUMP" = x; then
 
 
5374
    case $cross_compiling:$ac_tool_warned in
 
 
5376
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
5377
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
5378
ac_tool_warned=yes ;;
 
 
5380
    OBJDUMP=$ac_ct_OBJDUMP
 
 
5383
  OBJDUMP="$ac_cv_prog_OBJDUMP"
 
 
5386
test -z "$OBJDUMP" && OBJDUMP=objdump
 
 
5396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 
 
5397
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
 
 
5398
if ${lt_cv_deplibs_check_method+:} false; then :
 
 
5399
  $as_echo_n "(cached) " >&6
 
 
5401
  lt_cv_file_magic_cmd='$MAGIC_CMD'
 
 
5402
lt_cv_file_magic_test_file=
 
 
5403
lt_cv_deplibs_check_method='unknown'
 
 
5404
# Need to set the preceding variable on all platforms that support
 
 
5405
# interlibrary dependencies.
 
 
5406
# 'none' -- dependencies not supported.
 
 
5407
# `unknown' -- same as none, but documents that we really don't know.
 
 
5408
# 'pass_all' -- all dependencies passed with no checks.
 
 
5409
# 'test_compile' -- check by making test program.
 
 
5410
# 'file_magic [[regex]]' -- check by looking for files in library path
 
 
5411
# which responds to the $file_magic_cmd with a given extended regex.
 
 
5412
# If you have `file' or equivalent on your system and you're not sure
 
 
5413
# whether `pass_all' will *always* work, you probably want this one.
 
 
5417
  lt_cv_deplibs_check_method=pass_all
 
 
5421
  lt_cv_deplibs_check_method=pass_all
 
 
5425
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
 
 
5426
  lt_cv_file_magic_cmd='/usr/bin/file -L'
 
 
5427
  lt_cv_file_magic_test_file=/shlib/libc.so
 
 
5431
  # func_win32_libid is a shell function defined in ltmain.sh
 
 
5432
  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
 
5433
  lt_cv_file_magic_cmd='func_win32_libid'
 
 
5437
  # Base MSYS/MinGW do not provide the 'file' command needed by
 
 
5438
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
 
5439
  # unless we find 'file', for example because we are cross-compiling.
 
 
5440
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
 
5441
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
 
 
5442
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
 
5443
    lt_cv_file_magic_cmd='func_win32_libid'
 
 
5445
    # Keep this pattern in sync with the one in func_win32_libid.
 
 
5446
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
 
 
5447
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
 
5452
  # use the weaker test based on 'objdump'. See mingw*.
 
 
5453
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
 
 
5454
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
 
5457
darwin* | rhapsody*)
 
 
5458
  lt_cv_deplibs_check_method=pass_all
 
 
5461
freebsd* | dragonfly*)
 
 
5462
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
 
5465
      # Not sure whether the presence of OpenBSD here was a mistake.
 
 
5466
      # Let's accept both of them until this is cleared up.
 
 
5467
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
 
 
5468
      lt_cv_file_magic_cmd=/usr/bin/file
 
 
5469
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
 
 
5473
    lt_cv_deplibs_check_method=pass_all
 
 
5478
  lt_cv_deplibs_check_method=pass_all
 
 
5482
  lt_cv_deplibs_check_method=pass_all
 
 
5485
hpux10.20* | hpux11*)
 
 
5486
  lt_cv_file_magic_cmd=/usr/bin/file
 
 
5489
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
 
 
5490
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
 
 
5493
    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]'
 
 
5494
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
 
 
5497
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
 
 
5498
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
 
 
5504
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
 
 
5505
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
 
 
5508
irix5* | irix6* | nonstopux*)
 
 
5510
  *-32|*"-32 ") libmagic=32-bit;;
 
 
5511
  *-n32|*"-n32 ") libmagic=N32;;
 
 
5512
  *-64|*"-64 ") libmagic=64-bit;;
 
 
5513
  *) libmagic=never-match;;
 
 
5515
  lt_cv_deplibs_check_method=pass_all
 
 
5518
# This must be glibc/ELF.
 
 
5519
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
 
5520
  lt_cv_deplibs_check_method=pass_all
 
 
5523
netbsd* | netbsdelf*-gnu)
 
 
5524
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
 
 
5525
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
 
5527
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
 
 
5532
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
 
 
5533
  lt_cv_file_magic_cmd=/usr/bin/file
 
 
5534
  lt_cv_file_magic_test_file=/usr/lib/libnls.so
 
 
5538
  lt_cv_deplibs_check_method=pass_all
 
 
5542
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
 
5543
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
 
 
5545
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
 
 
5549
osf3* | osf4* | osf5*)
 
 
5550
  lt_cv_deplibs_check_method=pass_all
 
 
5554
  lt_cv_deplibs_check_method=pass_all
 
 
5558
  lt_cv_deplibs_check_method=pass_all
 
 
5561
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
 
5562
  lt_cv_deplibs_check_method=pass_all
 
 
5566
  case $host_vendor in
 
 
5568
    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]'
 
 
5569
    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
 
 
5572
    lt_cv_deplibs_check_method=pass_all
 
 
5575
    lt_cv_file_magic_cmd='/bin/file'
 
 
5576
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
 
 
5579
    lt_cv_file_magic_cmd='/bin/file'
 
 
5580
    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
 
 
5581
    lt_cv_file_magic_test_file=/lib/libc.so
 
 
5584
    lt_cv_deplibs_check_method=pass_all
 
 
5587
    lt_cv_deplibs_check_method=pass_all
 
 
5593
  lt_cv_deplibs_check_method=pass_all
 
 
5598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
 
 
5599
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
 
5603
if test "$build" = "$host"; then
 
 
5606
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
 
5609
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
 
5615
file_magic_cmd=$lt_cv_file_magic_cmd
 
 
5616
deplibs_check_method=$lt_cv_deplibs_check_method
 
 
5617
test -z "$deplibs_check_method" && deplibs_check_method=unknown
 
 
5640
if test -n "$ac_tool_prefix"; then
 
 
5641
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
 
5642
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
 
5643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5644
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5645
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
 
5646
  $as_echo_n "(cached) " >&6
 
 
5648
  if test -n "$DLLTOOL"; then
 
 
5649
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
 
5651
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5655
  test -z "$as_dir" && as_dir=.
 
 
5656
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5657
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5658
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
 
5659
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5668
DLLTOOL=$ac_cv_prog_DLLTOOL
 
 
5669
if test -n "$DLLTOOL"; then
 
 
5670
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
 
5671
$as_echo "$DLLTOOL" >&6; }
 
 
5673
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5674
$as_echo "no" >&6; }
 
 
5679
if test -z "$ac_cv_prog_DLLTOOL"; then
 
 
5680
  ac_ct_DLLTOOL=$DLLTOOL
 
 
5681
  # Extract the first word of "dlltool", so it can be a program name with args.
 
 
5682
set dummy dlltool; ac_word=$2
 
 
5683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5684
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5685
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
 
5686
  $as_echo_n "(cached) " >&6
 
 
5688
  if test -n "$ac_ct_DLLTOOL"; then
 
 
5689
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
 
5691
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5695
  test -z "$as_dir" && as_dir=.
 
 
5696
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5697
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5698
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
 
5699
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5708
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
 
5709
if test -n "$ac_ct_DLLTOOL"; then
 
 
5710
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
 
5711
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
 
5713
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5714
$as_echo "no" >&6; }
 
 
5717
  if test "x$ac_ct_DLLTOOL" = x; then
 
 
5720
    case $cross_compiling:$ac_tool_warned in
 
 
5722
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
5723
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
5724
ac_tool_warned=yes ;;
 
 
5726
    DLLTOOL=$ac_ct_DLLTOOL
 
 
5729
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
 
5732
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
 
5743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
 
5744
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
 
5745
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
 
5746
  $as_echo_n "(cached) " >&6
 
 
5748
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
 
5751
cygwin* | mingw* | pw32* | cegcc*)
 
 
5752
  # two different shell functions defined in ltmain.sh
 
 
5753
  # decide which to use based on capabilities of $DLLTOOL
 
 
5754
  case `$DLLTOOL --help 2>&1` in
 
 
5755
  *--identify-strict*)
 
 
5756
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
 
5759
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
 
5764
  # fallback: assume linklib IS sharedlib
 
 
5765
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
 
5770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
 
5771
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
 
5772
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
 
5773
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
 
5782
if test -n "$ac_tool_prefix"; then
 
 
5785
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
 
5786
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
 
5787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5788
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5789
if ${ac_cv_prog_AR+:} false; then :
 
 
5790
  $as_echo_n "(cached) " >&6
 
 
5792
  if test -n "$AR"; then
 
 
5793
  ac_cv_prog_AR="$AR" # Let the user override the test.
 
 
5795
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5799
  test -z "$as_dir" && as_dir=.
 
 
5800
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5801
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5802
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
 
 
5803
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5813
if test -n "$AR"; then
 
 
5814
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
 
 
5815
$as_echo "$AR" >&6; }
 
 
5817
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5818
$as_echo "no" >&6; }
 
 
5822
    test -n "$AR" && break
 
 
5825
if test -z "$AR"; then
 
 
5829
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
 
5830
set dummy $ac_prog; ac_word=$2
 
 
5831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5832
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5833
if ${ac_cv_prog_ac_ct_AR+:} false; then :
 
 
5834
  $as_echo_n "(cached) " >&6
 
 
5836
  if test -n "$ac_ct_AR"; then
 
 
5837
  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
 
 
5839
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5843
  test -z "$as_dir" && as_dir=.
 
 
5844
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5845
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5846
    ac_cv_prog_ac_ct_AR="$ac_prog"
 
 
5847
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5856
ac_ct_AR=$ac_cv_prog_ac_ct_AR
 
 
5857
if test -n "$ac_ct_AR"; then
 
 
5858
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
 
 
5859
$as_echo "$ac_ct_AR" >&6; }
 
 
5861
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5862
$as_echo "no" >&6; }
 
 
5866
  test -n "$ac_ct_AR" && break
 
 
5869
  if test "x$ac_ct_AR" = x; then
 
 
5872
    case $cross_compiling:$ac_tool_warned in
 
 
5874
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
5875
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
5876
ac_tool_warned=yes ;;
 
 
5895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
 
5896
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
 
5897
if ${lt_cv_ar_at_file+:} false; then :
 
 
5898
  $as_echo_n "(cached) " >&6
 
 
5901
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
5902
/* end confdefs.h.  */
 
 
5912
if ac_fn_c_try_compile "$LINENO"; then :
 
 
5913
  echo conftest.$ac_objext > conftest.lst
 
 
5914
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
 
5915
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
 
5916
  (eval $lt_ar_try) 2>&5
 
 
5918
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
5919
  test $ac_status = 0; }
 
 
5920
      if test "$ac_status" -eq 0; then
 
 
5921
        # Ensure the archiver fails upon bogus file names.
 
 
5922
        rm -f conftest.$ac_objext libconftest.a
 
 
5923
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
 
5924
  (eval $lt_ar_try) 2>&5
 
 
5926
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
5927
  test $ac_status = 0; }
 
 
5928
        if test "$ac_status" -ne 0; then
 
 
5932
      rm -f conftest.* libconftest.a
 
 
5935
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
5938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
 
5939
$as_echo "$lt_cv_ar_at_file" >&6; }
 
 
5941
if test "x$lt_cv_ar_at_file" = xno; then
 
 
5944
  archiver_list_spec=$lt_cv_ar_at_file
 
 
5953
if test -n "$ac_tool_prefix"; then
 
 
5954
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
 
5955
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
 
5956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5957
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5958
if ${ac_cv_prog_STRIP+:} false; then :
 
 
5959
  $as_echo_n "(cached) " >&6
 
 
5961
  if test -n "$STRIP"; then
 
 
5962
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
 
5964
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
5968
  test -z "$as_dir" && as_dir=.
 
 
5969
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
5970
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
5971
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
 
5972
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
5981
STRIP=$ac_cv_prog_STRIP
 
 
5982
if test -n "$STRIP"; then
 
 
5983
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
 
 
5984
$as_echo "$STRIP" >&6; }
 
 
5986
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
5987
$as_echo "no" >&6; }
 
 
5992
if test -z "$ac_cv_prog_STRIP"; then
 
 
5994
  # Extract the first word of "strip", so it can be a program name with args.
 
 
5995
set dummy strip; ac_word=$2
 
 
5996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
5997
$as_echo_n "checking for $ac_word... " >&6; }
 
 
5998
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
 
 
5999
  $as_echo_n "(cached) " >&6
 
 
6001
  if test -n "$ac_ct_STRIP"; then
 
 
6002
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
 
6004
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6008
  test -z "$as_dir" && as_dir=.
 
 
6009
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6010
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6011
    ac_cv_prog_ac_ct_STRIP="strip"
 
 
6012
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6021
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
 
6022
if test -n "$ac_ct_STRIP"; then
 
 
6023
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
 
 
6024
$as_echo "$ac_ct_STRIP" >&6; }
 
 
6026
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6027
$as_echo "no" >&6; }
 
 
6030
  if test "x$ac_ct_STRIP" = x; then
 
 
6033
    case $cross_compiling:$ac_tool_warned in
 
 
6035
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
6036
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
6037
ac_tool_warned=yes ;;
 
 
6042
  STRIP="$ac_cv_prog_STRIP"
 
 
6045
test -z "$STRIP" && STRIP=:
 
 
6052
if test -n "$ac_tool_prefix"; then
 
 
6053
  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
 
 
6054
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 
 
6055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6056
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6057
if ${ac_cv_prog_RANLIB+:} false; then :
 
 
6058
  $as_echo_n "(cached) " >&6
 
 
6060
  if test -n "$RANLIB"; then
 
 
6061
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
 
 
6063
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6067
  test -z "$as_dir" && as_dir=.
 
 
6068
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6069
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6070
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
 
 
6071
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6080
RANLIB=$ac_cv_prog_RANLIB
 
 
6081
if test -n "$RANLIB"; then
 
 
6082
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
 
 
6083
$as_echo "$RANLIB" >&6; }
 
 
6085
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6086
$as_echo "no" >&6; }
 
 
6091
if test -z "$ac_cv_prog_RANLIB"; then
 
 
6092
  ac_ct_RANLIB=$RANLIB
 
 
6093
  # Extract the first word of "ranlib", so it can be a program name with args.
 
 
6094
set dummy ranlib; ac_word=$2
 
 
6095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6096
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6097
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
 
 
6098
  $as_echo_n "(cached) " >&6
 
 
6100
  if test -n "$ac_ct_RANLIB"; then
 
 
6101
  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
 
 
6103
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6107
  test -z "$as_dir" && as_dir=.
 
 
6108
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6109
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6110
    ac_cv_prog_ac_ct_RANLIB="ranlib"
 
 
6111
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6120
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
 
 
6121
if test -n "$ac_ct_RANLIB"; then
 
 
6122
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
 
 
6123
$as_echo "$ac_ct_RANLIB" >&6; }
 
 
6125
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6126
$as_echo "no" >&6; }
 
 
6129
  if test "x$ac_ct_RANLIB" = x; then
 
 
6132
    case $cross_compiling:$ac_tool_warned in
 
 
6134
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
6135
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
6136
ac_tool_warned=yes ;;
 
 
6138
    RANLIB=$ac_ct_RANLIB
 
 
6141
  RANLIB="$ac_cv_prog_RANLIB"
 
 
6144
test -z "$RANLIB" && RANLIB=:
 
 
6151
# Determine commands to create old-style static archives.
 
 
6152
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
 
 
6153
old_postinstall_cmds='chmod 644 $oldlib'
 
 
6154
old_postuninstall_cmds=
 
 
6156
if test -n "$RANLIB"; then
 
 
6159
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
 
 
6162
    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
 
 
6165
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
 
 
6170
    lock_old_archive_extraction=yes ;;
 
 
6172
    lock_old_archive_extraction=no ;;
 
 
6213
# If no C compiler was specified, use CC.
 
 
6216
# If no C compiler flags were specified, use CFLAGS.
 
 
6217
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
 
6219
# Allow CC to be a program name with arguments.
 
 
6223
# Check for command to grab the raw symbol name followed by C symbol from nm.
 
 
6224
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 
 
6225
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
 
 
6226
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
 
 
6227
  $as_echo_n "(cached) " >&6
 
 
6230
# These are sane defaults that work on at least a few old systems.
 
 
6231
# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
 
 
6233
# Character class describing NM global symbol codes.
 
 
6234
symcode='[BCDEGRST]'
 
 
6236
# Regexp to match symbols that can be accessed directly from C.
 
 
6237
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
 
 
6239
# Define system-specific variables.
 
 
6244
cygwin* | mingw* | pw32* | cegcc*)
 
 
6245
  symcode='[ABCDGISTW]'
 
 
6248
  if test "$host_cpu" = ia64; then
 
 
6249
    symcode='[ABCDEGRST]'
 
 
6253
  symcode='[BCDEGRST]'
 
 
6256
  symcode='[BCDEGQRST]'
 
 
6267
sysv5* | sco5v6* | unixware* | OpenUNIX*)
 
 
6275
# If we're using GNU nm, then use its standard symbol codes.
 
 
6276
case `$NM -V 2>&1` in
 
 
6277
*GNU* | *'with BFD'*)
 
 
6278
  symcode='[ABCDGIRSTW]' ;;
 
 
6281
# Transform an extracted symbol line into a proper C declaration.
 
 
6282
# Some systems (esp. on ia64) link data and code symbols differently,
 
 
6283
# so use this general approach.
 
 
6284
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
 
6286
# Transform an extracted symbol line into symbol name and symbol address
 
 
6287
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
 
6288
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'"
 
 
6290
# Handle CRLF in mingw tool chain
 
 
6294
  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
 
 
6298
# Try without a prefix underscore, then with it.
 
 
6299
for ac_symprfx in "" "_"; do
 
 
6301
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
 
6302
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
 
6304
  # Write the raw and C identifiers.
 
 
6305
  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
 
6306
    # Fake it for dumpbin and say T for any non-static function
 
 
6307
    # and D for any global variable.
 
 
6308
    # Also find C++ and __fastcall symbols from MSVC++,
 
 
6309
    # which start with @ or ?.
 
 
6310
    lt_cv_sys_global_symbol_pipe="$AWK '"\
 
 
6311
"     {last_section=section; section=\$ 3};"\
 
 
6312
"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
 
 
6313
"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
 
 
6314
"     \$ 0!~/External *\|/{next};"\
 
 
6315
"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
 
 
6316
"     {if(hide[section]) next};"\
 
 
6317
"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
 
 
6318
"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
 
 
6319
"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
 
 
6320
"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
 
 
6321
"     ' prfx=^$ac_symprfx"
 
 
6323
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
 
 
6325
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
 
 
6327
  # Check to see that the pipe works correctly.
 
 
6331
  cat > conftest.$ac_ext <<_LT_EOF
 
 
6336
void nm_test_func(void);
 
 
6337
void nm_test_func(void){}
 
 
6341
int main(){nm_test_var='a';nm_test_func();return(0);}
 
 
6344
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
6345
  (eval $ac_compile) 2>&5
 
 
6347
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6348
  test $ac_status = 0; }; then
 
 
6349
    # Now try to grab the symbols.
 
 
6351
    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
 
 
6352
  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
 
 
6354
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6355
  test $ac_status = 0; } && test -s "$nlist"; then
 
 
6356
      # Try sorting and uniquifying the output.
 
 
6357
      if sort "$nlist" | uniq > "$nlist"T; then
 
 
6358
        mv -f "$nlist"T "$nlist"
 
 
6363
      # Make sure that we snagged all the symbols we need.
 
 
6364
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
 
 
6365
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
 
 
6366
          cat <<_LT_EOF > conftest.$ac_ext
 
 
6367
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
 
6368
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
 
6369
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
 
6370
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
 
6371
# define LT_DLSYM_CONST
 
 
6372
#elif defined(__osf__)
 
 
6373
/* This system does not cope well with relocations in const data.  */
 
 
6374
# define LT_DLSYM_CONST
 
 
6376
# define LT_DLSYM_CONST const
 
 
6384
          # Now generate the symbol file.
 
 
6385
          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
 
 
6387
          cat <<_LT_EOF >> conftest.$ac_ext
 
 
6389
/* The mapping between symbol names and symbols.  */
 
 
6390
LT_DLSYM_CONST struct {
 
 
6394
lt__PROGRAM__LTX_preloaded_symbols[] =
 
 
6396
  { "@PROGRAM@", (void *) 0 },
 
 
6398
          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
 
 
6399
          cat <<\_LT_EOF >> conftest.$ac_ext
 
 
6403
/* This works around a problem in FreeBSD linker */
 
 
6404
#ifdef FREEBSD_WORKAROUND
 
 
6405
static const void *lt_preloaded_setup() {
 
 
6406
  return lt__PROGRAM__LTX_preloaded_symbols;
 
 
6414
          # Now try linking the two files.
 
 
6415
          mv conftest.$ac_objext conftstm.$ac_objext
 
 
6416
          lt_globsym_save_LIBS=$LIBS
 
 
6417
          lt_globsym_save_CFLAGS=$CFLAGS
 
 
6418
          LIBS="conftstm.$ac_objext"
 
 
6419
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
 
 
6420
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
 
6421
  (eval $ac_link) 2>&5
 
 
6423
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6424
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
 
 
6427
          LIBS=$lt_globsym_save_LIBS
 
 
6428
          CFLAGS=$lt_globsym_save_CFLAGS
 
 
6430
          echo "cannot find nm_test_func in $nlist" >&5
 
 
6433
        echo "cannot find nm_test_var in $nlist" >&5
 
 
6436
      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
 
 
6439
    echo "$progname: failed program was:" >&5
 
 
6440
    cat conftest.$ac_ext >&5
 
 
6442
  rm -rf conftest* conftst*
 
 
6444
  # Do not use the global_symbol_pipe unless it works.
 
 
6445
  if test "$pipe_works" = yes; then
 
 
6448
    lt_cv_sys_global_symbol_pipe=
 
 
6454
if test -z "$lt_cv_sys_global_symbol_pipe"; then
 
 
6455
  lt_cv_sys_global_symbol_to_cdecl=
 
 
6457
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
 
 
6458
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
 
 
6459
$as_echo "failed" >&6; }
 
 
6461
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
 
 
6462
$as_echo "ok" >&6; }
 
 
6465
# Response file support.
 
 
6466
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
 
6467
  nm_file_list_spec='@'
 
 
6468
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
 
6469
  nm_file_list_spec='@'
 
 
6498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
 
6499
$as_echo_n "checking for sysroot... " >&6; }
 
 
6501
# Check whether --with-sysroot was given.
 
 
6502
if test "${with_sysroot+set}" = set; then :
 
 
6503
  withval=$with_sysroot;
 
 
6510
case ${with_sysroot} in #(
 
 
6512
   if test "$GCC" = yes; then
 
 
6513
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
 
6517
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
 
6522
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
 
6523
$as_echo "${with_sysroot}" >&6; }
 
 
6524
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
 
6528
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
 
6529
$as_echo "${lt_sysroot:-no}" >&6; }
 
 
6535
# Check whether --enable-libtool-lock was given.
 
 
6536
if test "${enable_libtool_lock+set}" = set; then :
 
 
6537
  enableval=$enable_libtool_lock;
 
 
6540
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
 
 
6542
# Some flags need to be propagated to the compiler or linker for good
 
 
6546
  # Find out which ABI we are using.
 
 
6547
  echo 'int i;' > conftest.$ac_ext
 
 
6548
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
6549
  (eval $ac_compile) 2>&5
 
 
6551
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6552
  test $ac_status = 0; }; then
 
 
6553
    case `/usr/bin/file conftest.$ac_objext` in
 
 
6565
  # Find out which ABI we are using.
 
 
6566
  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
 
 
6567
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
6568
  (eval $ac_compile) 2>&5
 
 
6570
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6571
  test $ac_status = 0; }; then
 
 
6572
    if test "$lt_cv_prog_gnu_ld" = yes; then
 
 
6573
      case `/usr/bin/file conftest.$ac_objext` in
 
 
6575
          LD="${LD-ld} -melf32bsmip"
 
 
6578
          LD="${LD-ld} -melf32bmipn32"
 
 
6581
          LD="${LD-ld} -melf64bmip"
 
 
6585
      case `/usr/bin/file conftest.$ac_objext` in
 
 
6601
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
 
6602
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
 
 
6603
  # Find out which ABI we are using.
 
 
6604
  echo 'int i;' > conftest.$ac_ext
 
 
6605
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
6606
  (eval $ac_compile) 2>&5
 
 
6608
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6609
  test $ac_status = 0; }; then
 
 
6610
    case `/usr/bin/file conftest.o` in
 
 
6613
          x86_64-*kfreebsd*-gnu)
 
 
6614
            LD="${LD-ld} -m elf_i386_fbsd"
 
 
6617
            LD="${LD-ld} -m elf_i386"
 
 
6619
          ppc64-*linux*|powerpc64-*linux*)
 
 
6620
            LD="${LD-ld} -m elf32ppclinux"
 
 
6623
            LD="${LD-ld} -m elf_s390"
 
 
6626
            LD="${LD-ld} -m elf32_sparc"
 
 
6632
          x86_64-*kfreebsd*-gnu)
 
 
6633
            LD="${LD-ld} -m elf_x86_64_fbsd"
 
 
6636
            LD="${LD-ld} -m elf_x86_64"
 
 
6638
          ppc*-*linux*|powerpc*-*linux*)
 
 
6639
            LD="${LD-ld} -m elf64ppc"
 
 
6641
          s390*-*linux*|s390*-*tpf*)
 
 
6642
            LD="${LD-ld} -m elf64_s390"
 
 
6645
            LD="${LD-ld} -m elf64_sparc"
 
 
6655
  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
 
 
6656
  SAVE_CFLAGS="$CFLAGS"
 
 
6657
  CFLAGS="$CFLAGS -belf"
 
 
6658
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 
 
6659
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
 
 
6660
if ${lt_cv_cc_needs_belf+:} false; then :
 
 
6661
  $as_echo_n "(cached) " >&6
 
 
6664
ac_cpp='$CPP $CPPFLAGS'
 
 
6665
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
6666
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
6667
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
6669
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
6670
/* end confdefs.h.  */
 
 
6680
if ac_fn_c_try_link "$LINENO"; then :
 
 
6681
  lt_cv_cc_needs_belf=yes
 
 
6683
  lt_cv_cc_needs_belf=no
 
 
6685
rm -f core conftest.err conftest.$ac_objext \
 
 
6686
    conftest$ac_exeext conftest.$ac_ext
 
 
6688
ac_cpp='$CPP $CPPFLAGS'
 
 
6689
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
6690
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
6691
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
6694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
 
 
6695
$as_echo "$lt_cv_cc_needs_belf" >&6; }
 
 
6696
  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
 
 
6697
    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
 
 
6698
    CFLAGS="$SAVE_CFLAGS"
 
 
6702
  # Find out which ABI we are using.
 
 
6703
  echo 'int i;' > conftest.$ac_ext
 
 
6704
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
6705
  (eval $ac_compile) 2>&5
 
 
6707
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
6708
  test $ac_status = 0; }; then
 
 
6709
    case `/usr/bin/file conftest.o` in
 
 
6711
      case $lt_cv_prog_gnu_ld in
 
 
6715
          LD="${LD-ld} -m elf_x86_64"
 
 
6718
          LD="${LD-ld} -m elf64_sparc"
 
 
6721
        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
 
 
6722
        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
 
 
6727
        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
 
 
6739
need_locks="$enable_libtool_lock"
 
 
6741
if test -n "$ac_tool_prefix"; then
 
 
6742
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
 
6743
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
 
6744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6745
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6746
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
 
6747
  $as_echo_n "(cached) " >&6
 
 
6749
  if test -n "$MANIFEST_TOOL"; then
 
 
6750
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
 
6752
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6756
  test -z "$as_dir" && as_dir=.
 
 
6757
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6758
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6759
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
 
6760
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6769
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
 
6770
if test -n "$MANIFEST_TOOL"; then
 
 
6771
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
 
6772
$as_echo "$MANIFEST_TOOL" >&6; }
 
 
6774
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6775
$as_echo "no" >&6; }
 
 
6780
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
 
6781
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
 
6782
  # Extract the first word of "mt", so it can be a program name with args.
 
 
6783
set dummy mt; ac_word=$2
 
 
6784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6785
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6786
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
 
6787
  $as_echo_n "(cached) " >&6
 
 
6789
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
 
6790
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
 
6792
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6796
  test -z "$as_dir" && as_dir=.
 
 
6797
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6798
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6799
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
 
6800
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6809
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
 
6810
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
 
6811
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
 
6812
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
 
6814
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6815
$as_echo "no" >&6; }
 
 
6818
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
 
6821
    case $cross_compiling:$ac_tool_warned in
 
 
6823
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
6824
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
6825
ac_tool_warned=yes ;;
 
 
6827
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
 
6830
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
 
6833
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
 
6834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
 
6835
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
 
6836
if ${lt_cv_path_mainfest_tool+:} false; then :
 
 
6837
  $as_echo_n "(cached) " >&6
 
 
6839
  lt_cv_path_mainfest_tool=no
 
 
6840
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
 
6841
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
 
6842
  cat conftest.err >&5
 
 
6843
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
 
6844
    lt_cv_path_mainfest_tool=yes
 
 
6848
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
 
6849
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
 
6850
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
 
6860
    rhapsody* | darwin*)
 
 
6861
    if test -n "$ac_tool_prefix"; then
 
 
6862
  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
 
 
6863
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 
 
6864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6865
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6866
if ${ac_cv_prog_DSYMUTIL+:} false; then :
 
 
6867
  $as_echo_n "(cached) " >&6
 
 
6869
  if test -n "$DSYMUTIL"; then
 
 
6870
  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
 
 
6872
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6876
  test -z "$as_dir" && as_dir=.
 
 
6877
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6878
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6879
    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
 
 
6880
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6889
DSYMUTIL=$ac_cv_prog_DSYMUTIL
 
 
6890
if test -n "$DSYMUTIL"; then
 
 
6891
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
 
 
6892
$as_echo "$DSYMUTIL" >&6; }
 
 
6894
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6895
$as_echo "no" >&6; }
 
 
6900
if test -z "$ac_cv_prog_DSYMUTIL"; then
 
 
6901
  ac_ct_DSYMUTIL=$DSYMUTIL
 
 
6902
  # Extract the first word of "dsymutil", so it can be a program name with args.
 
 
6903
set dummy dsymutil; ac_word=$2
 
 
6904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6905
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6906
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
 
 
6907
  $as_echo_n "(cached) " >&6
 
 
6909
  if test -n "$ac_ct_DSYMUTIL"; then
 
 
6910
  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
 
 
6912
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6916
  test -z "$as_dir" && as_dir=.
 
 
6917
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6918
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6919
    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
 
 
6920
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6929
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
 
 
6930
if test -n "$ac_ct_DSYMUTIL"; then
 
 
6931
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
 
 
6932
$as_echo "$ac_ct_DSYMUTIL" >&6; }
 
 
6934
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6935
$as_echo "no" >&6; }
 
 
6938
  if test "x$ac_ct_DSYMUTIL" = x; then
 
 
6941
    case $cross_compiling:$ac_tool_warned in
 
 
6943
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
6944
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
6945
ac_tool_warned=yes ;;
 
 
6947
    DSYMUTIL=$ac_ct_DSYMUTIL
 
 
6950
  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
 
 
6953
    if test -n "$ac_tool_prefix"; then
 
 
6954
  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
 
 
6955
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 
 
6956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6957
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6958
if ${ac_cv_prog_NMEDIT+:} false; then :
 
 
6959
  $as_echo_n "(cached) " >&6
 
 
6961
  if test -n "$NMEDIT"; then
 
 
6962
  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
 
 
6964
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
6968
  test -z "$as_dir" && as_dir=.
 
 
6969
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
6970
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
6971
    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
 
 
6972
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
6981
NMEDIT=$ac_cv_prog_NMEDIT
 
 
6982
if test -n "$NMEDIT"; then
 
 
6983
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
 
 
6984
$as_echo "$NMEDIT" >&6; }
 
 
6986
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
6987
$as_echo "no" >&6; }
 
 
6992
if test -z "$ac_cv_prog_NMEDIT"; then
 
 
6993
  ac_ct_NMEDIT=$NMEDIT
 
 
6994
  # Extract the first word of "nmedit", so it can be a program name with args.
 
 
6995
set dummy nmedit; ac_word=$2
 
 
6996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
6997
$as_echo_n "checking for $ac_word... " >&6; }
 
 
6998
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
 
 
6999
  $as_echo_n "(cached) " >&6
 
 
7001
  if test -n "$ac_ct_NMEDIT"; then
 
 
7002
  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
 
 
7004
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
7008
  test -z "$as_dir" && as_dir=.
 
 
7009
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
7010
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
7011
    ac_cv_prog_ac_ct_NMEDIT="nmedit"
 
 
7012
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
7021
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
 
 
7022
if test -n "$ac_ct_NMEDIT"; then
 
 
7023
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
 
 
7024
$as_echo "$ac_ct_NMEDIT" >&6; }
 
 
7026
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
7027
$as_echo "no" >&6; }
 
 
7030
  if test "x$ac_ct_NMEDIT" = x; then
 
 
7033
    case $cross_compiling:$ac_tool_warned in
 
 
7035
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
7036
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
7037
ac_tool_warned=yes ;;
 
 
7039
    NMEDIT=$ac_ct_NMEDIT
 
 
7042
  NMEDIT="$ac_cv_prog_NMEDIT"
 
 
7045
    if test -n "$ac_tool_prefix"; then
 
 
7046
  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
 
 
7047
set dummy ${ac_tool_prefix}lipo; ac_word=$2
 
 
7048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
7049
$as_echo_n "checking for $ac_word... " >&6; }
 
 
7050
if ${ac_cv_prog_LIPO+:} false; then :
 
 
7051
  $as_echo_n "(cached) " >&6
 
 
7053
  if test -n "$LIPO"; then
 
 
7054
  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
 
 
7056
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
7060
  test -z "$as_dir" && as_dir=.
 
 
7061
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
7062
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
7063
    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
 
 
7064
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
7073
LIPO=$ac_cv_prog_LIPO
 
 
7074
if test -n "$LIPO"; then
 
 
7075
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
 
 
7076
$as_echo "$LIPO" >&6; }
 
 
7078
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
7079
$as_echo "no" >&6; }
 
 
7084
if test -z "$ac_cv_prog_LIPO"; then
 
 
7086
  # Extract the first word of "lipo", so it can be a program name with args.
 
 
7087
set dummy lipo; ac_word=$2
 
 
7088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
7089
$as_echo_n "checking for $ac_word... " >&6; }
 
 
7090
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
 
 
7091
  $as_echo_n "(cached) " >&6
 
 
7093
  if test -n "$ac_ct_LIPO"; then
 
 
7094
  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
 
 
7096
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
7100
  test -z "$as_dir" && as_dir=.
 
 
7101
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
7102
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
7103
    ac_cv_prog_ac_ct_LIPO="lipo"
 
 
7104
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
7113
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
 
 
7114
if test -n "$ac_ct_LIPO"; then
 
 
7115
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
 
 
7116
$as_echo "$ac_ct_LIPO" >&6; }
 
 
7118
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
7119
$as_echo "no" >&6; }
 
 
7122
  if test "x$ac_ct_LIPO" = x; then
 
 
7125
    case $cross_compiling:$ac_tool_warned in
 
 
7127
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
7128
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
7129
ac_tool_warned=yes ;;
 
 
7134
  LIPO="$ac_cv_prog_LIPO"
 
 
7137
    if test -n "$ac_tool_prefix"; then
 
 
7138
  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
 
 
7139
set dummy ${ac_tool_prefix}otool; ac_word=$2
 
 
7140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
7141
$as_echo_n "checking for $ac_word... " >&6; }
 
 
7142
if ${ac_cv_prog_OTOOL+:} false; then :
 
 
7143
  $as_echo_n "(cached) " >&6
 
 
7145
  if test -n "$OTOOL"; then
 
 
7146
  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
 
 
7148
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
7152
  test -z "$as_dir" && as_dir=.
 
 
7153
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
7154
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
7155
    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
 
 
7156
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
7165
OTOOL=$ac_cv_prog_OTOOL
 
 
7166
if test -n "$OTOOL"; then
 
 
7167
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
 
 
7168
$as_echo "$OTOOL" >&6; }
 
 
7170
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
7171
$as_echo "no" >&6; }
 
 
7176
if test -z "$ac_cv_prog_OTOOL"; then
 
 
7178
  # Extract the first word of "otool", so it can be a program name with args.
 
 
7179
set dummy otool; ac_word=$2
 
 
7180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
7181
$as_echo_n "checking for $ac_word... " >&6; }
 
 
7182
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
 
 
7183
  $as_echo_n "(cached) " >&6
 
 
7185
  if test -n "$ac_ct_OTOOL"; then
 
 
7186
  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
 
 
7188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
7192
  test -z "$as_dir" && as_dir=.
 
 
7193
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
7194
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
7195
    ac_cv_prog_ac_ct_OTOOL="otool"
 
 
7196
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
7205
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
 
 
7206
if test -n "$ac_ct_OTOOL"; then
 
 
7207
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
 
 
7208
$as_echo "$ac_ct_OTOOL" >&6; }
 
 
7210
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
7211
$as_echo "no" >&6; }
 
 
7214
  if test "x$ac_ct_OTOOL" = x; then
 
 
7217
    case $cross_compiling:$ac_tool_warned in
 
 
7219
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
7220
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
7221
ac_tool_warned=yes ;;
 
 
7226
  OTOOL="$ac_cv_prog_OTOOL"
 
 
7229
    if test -n "$ac_tool_prefix"; then
 
 
7230
  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
 
 
7231
set dummy ${ac_tool_prefix}otool64; ac_word=$2
 
 
7232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
7233
$as_echo_n "checking for $ac_word... " >&6; }
 
 
7234
if ${ac_cv_prog_OTOOL64+:} false; then :
 
 
7235
  $as_echo_n "(cached) " >&6
 
 
7237
  if test -n "$OTOOL64"; then
 
 
7238
  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
 
 
7240
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
7244
  test -z "$as_dir" && as_dir=.
 
 
7245
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
7246
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
7247
    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
 
 
7248
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
7257
OTOOL64=$ac_cv_prog_OTOOL64
 
 
7258
if test -n "$OTOOL64"; then
 
 
7259
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
 
 
7260
$as_echo "$OTOOL64" >&6; }
 
 
7262
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
7263
$as_echo "no" >&6; }
 
 
7268
if test -z "$ac_cv_prog_OTOOL64"; then
 
 
7269
  ac_ct_OTOOL64=$OTOOL64
 
 
7270
  # Extract the first word of "otool64", so it can be a program name with args.
 
 
7271
set dummy otool64; ac_word=$2
 
 
7272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
 
7273
$as_echo_n "checking for $ac_word... " >&6; }
 
 
7274
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
 
 
7275
  $as_echo_n "(cached) " >&6
 
 
7277
  if test -n "$ac_ct_OTOOL64"; then
 
 
7278
  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
 
 
7280
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
7284
  test -z "$as_dir" && as_dir=.
 
 
7285
    for ac_exec_ext in '' $ac_executable_extensions; do
 
 
7286
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
 
7287
    ac_cv_prog_ac_ct_OTOOL64="otool64"
 
 
7288
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
 
7297
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
 
 
7298
if test -n "$ac_ct_OTOOL64"; then
 
 
7299
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
 
 
7300
$as_echo "$ac_ct_OTOOL64" >&6; }
 
 
7302
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
7303
$as_echo "no" >&6; }
 
 
7306
  if test "x$ac_ct_OTOOL64" = x; then
 
 
7309
    case $cross_compiling:$ac_tool_warned in
 
 
7311
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
 
7312
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
 
7313
ac_tool_warned=yes ;;
 
 
7315
    OTOOL64=$ac_ct_OTOOL64
 
 
7318
  OTOOL64="$ac_cv_prog_OTOOL64"
 
 
7347
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 
 
7348
$as_echo_n "checking for -single_module linker flag... " >&6; }
 
 
7349
if ${lt_cv_apple_cc_single_mod+:} false; then :
 
 
7350
  $as_echo_n "(cached) " >&6
 
 
7352
  lt_cv_apple_cc_single_mod=no
 
 
7353
      if test -z "${LT_MULTI_MODULE}"; then
 
 
7354
        # By default we will add the -single_module flag. You can override
 
 
7355
        # by either setting the environment variable LT_MULTI_MODULE
 
 
7356
        # non-empty at configure time, or by adding -multi_module to the
 
 
7358
        rm -rf libconftest.dylib*
 
 
7359
        echo "int foo(void){return 1;}" > conftest.c
 
 
7360
        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
 
7361
-dynamiclib -Wl,-single_module conftest.c" >&5
 
 
7362
        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 
 
7363
          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 
 
7365
        # If there is a non-empty error log, and "single_module"
 
 
7366
        # appears in it, assume the flag caused a linker warning
 
 
7367
        if test -s conftest.err && $GREP single_module conftest.err; then
 
 
7368
          cat conftest.err >&5
 
 
7369
        # Otherwise, if the output was created with a 0 exit code from
 
 
7370
        # the compiler, it worked.
 
 
7371
        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
 
 
7372
          lt_cv_apple_cc_single_mod=yes
 
 
7374
          cat conftest.err >&5
 
 
7376
        rm -rf libconftest.dylib*
 
 
7380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
 
 
7381
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
 
 
7383
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 
 
7384
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
 
 
7385
if ${lt_cv_ld_exported_symbols_list+:} false; then :
 
 
7386
  $as_echo_n "(cached) " >&6
 
 
7388
  lt_cv_ld_exported_symbols_list=no
 
 
7389
      save_LDFLAGS=$LDFLAGS
 
 
7390
      echo "_main" > conftest.sym
 
 
7391
      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 
 
7392
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7393
/* end confdefs.h.  */
 
 
7403
if ac_fn_c_try_link "$LINENO"; then :
 
 
7404
  lt_cv_ld_exported_symbols_list=yes
 
 
7406
  lt_cv_ld_exported_symbols_list=no
 
 
7408
rm -f core conftest.err conftest.$ac_objext \
 
 
7409
    conftest$ac_exeext conftest.$ac_ext
 
 
7410
        LDFLAGS="$save_LDFLAGS"
 
 
7413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
 
 
7414
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
 
 
7416
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 
 
7417
$as_echo_n "checking for -force_load linker flag... " >&6; }
 
 
7418
if ${lt_cv_ld_force_load+:} false; then :
 
 
7419
  $as_echo_n "(cached) " >&6
 
 
7421
  lt_cv_ld_force_load=no
 
 
7422
      cat > conftest.c << _LT_EOF
 
 
7423
int forced_loaded() { return 2;}
 
 
7425
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
 
 
7426
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
 
 
7427
      echo "$AR cru libconftest.a conftest.o" >&5
 
 
7428
      $AR cru libconftest.a conftest.o 2>&5
 
 
7429
      echo "$RANLIB libconftest.a" >&5
 
 
7430
      $RANLIB libconftest.a 2>&5
 
 
7431
      cat > conftest.c << _LT_EOF
 
 
7432
int main() { return 0;}
 
 
7434
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
 
 
7435
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
 
7437
      if test -s conftest.err && $GREP force_load conftest.err; then
 
 
7438
        cat conftest.err >&5
 
 
7439
      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
 
 
7440
        lt_cv_ld_force_load=yes
 
 
7442
        cat conftest.err >&5
 
 
7444
        rm -f conftest.err libconftest.a conftest conftest.c
 
 
7445
        rm -rf conftest.dSYM
 
 
7448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
 
 
7449
$as_echo "$lt_cv_ld_force_load" >&6; }
 
 
7451
    rhapsody* | darwin1.[012])
 
 
7452
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 
 
7454
      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
 
7455
    darwin*) # darwin 5.x on
 
 
7456
      # if running on 10.5 or later, the deployment target defaults
 
 
7457
      # to the OS version, if on x86, and 10.4, the deployment
 
 
7458
      # target defaults to 10.4. Don't you love it?
 
 
7459
      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 
 
7460
        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
 
 
7461
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
 
7463
          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 
 
7465
          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 
 
7469
    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 
 
7470
      _lt_dar_single_mod='$single_module'
 
 
7472
    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 
 
7473
      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 
 
7475
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
 
7477
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
 
 
7478
      _lt_dsymutil='~$DSYMUTIL $lib || :'
 
 
7486
ac_cpp='$CPP $CPPFLAGS'
 
 
7487
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
7488
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
7489
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
7490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
 
 
7491
$as_echo_n "checking how to run the C preprocessor... " >&6; }
 
 
7492
# On Suns, sometimes $CPP names a directory.
 
 
7493
if test -n "$CPP" && test -d "$CPP"; then
 
 
7496
if test -z "$CPP"; then
 
 
7497
  if ${ac_cv_prog_CPP+:} false; then :
 
 
7498
  $as_echo_n "(cached) " >&6
 
 
7500
      # Double quotes because CPP needs to be expanded
 
 
7501
    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
 
 
7504
for ac_c_preproc_warn_flag in '' yes
 
 
7506
  # Use a header file that comes with gcc, so configuring glibc
 
 
7507
  # with a fresh cross-compiler works.
 
 
7508
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
 
7509
  # <limits.h> exists even on freestanding compilers.
 
 
7510
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
 
7511
  # not just through cpp. "Syntax error" is here to catch this case.
 
 
7512
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7513
/* end confdefs.h.  */
 
 
7515
# include <limits.h>
 
 
7517
# include <assert.h>
 
 
7521
if ac_fn_c_try_cpp "$LINENO"; then :
 
 
7524
  # Broken: fails on valid input.
 
 
7527
rm -f conftest.err conftest.i conftest.$ac_ext
 
 
7529
  # OK, works on sane cases.  Now check whether nonexistent headers
 
 
7530
  # can be detected and how.
 
 
7531
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7532
/* end confdefs.h.  */
 
 
7533
#include <ac_nonexistent.h>
 
 
7535
if ac_fn_c_try_cpp "$LINENO"; then :
 
 
7536
  # Broken: success on invalid input.
 
 
7539
  # Passes both tests.
 
 
7543
rm -f conftest.err conftest.i conftest.$ac_ext
 
 
7546
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
 
7547
rm -f conftest.i conftest.err conftest.$ac_ext
 
 
7548
if $ac_preproc_ok; then :
 
 
7560
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
 
 
7561
$as_echo "$CPP" >&6; }
 
 
7563
for ac_c_preproc_warn_flag in '' yes
 
 
7565
  # Use a header file that comes with gcc, so configuring glibc
 
 
7566
  # with a fresh cross-compiler works.
 
 
7567
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
 
7568
  # <limits.h> exists even on freestanding compilers.
 
 
7569
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
 
7570
  # not just through cpp. "Syntax error" is here to catch this case.
 
 
7571
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7572
/* end confdefs.h.  */
 
 
7574
# include <limits.h>
 
 
7576
# include <assert.h>
 
 
7580
if ac_fn_c_try_cpp "$LINENO"; then :
 
 
7583
  # Broken: fails on valid input.
 
 
7586
rm -f conftest.err conftest.i conftest.$ac_ext
 
 
7588
  # OK, works on sane cases.  Now check whether nonexistent headers
 
 
7589
  # can be detected and how.
 
 
7590
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7591
/* end confdefs.h.  */
 
 
7592
#include <ac_nonexistent.h>
 
 
7594
if ac_fn_c_try_cpp "$LINENO"; then :
 
 
7595
  # Broken: success on invalid input.
 
 
7598
  # Passes both tests.
 
 
7602
rm -f conftest.err conftest.i conftest.$ac_ext
 
 
7605
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
 
7606
rm -f conftest.i conftest.err conftest.$ac_ext
 
 
7607
if $ac_preproc_ok; then :
 
 
7610
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
7611
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
7612
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
 
 
7613
See \`config.log' for more details" "$LINENO" 5; }
 
 
7617
ac_cpp='$CPP $CPPFLAGS'
 
 
7618
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
7619
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
7620
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
7623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
 
7624
$as_echo_n "checking for ANSI C header files... " >&6; }
 
 
7625
if ${ac_cv_header_stdc+:} false; then :
 
 
7626
  $as_echo_n "(cached) " >&6
 
 
7628
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7629
/* end confdefs.h.  */
 
 
7643
if ac_fn_c_try_compile "$LINENO"; then :
 
 
7644
  ac_cv_header_stdc=yes
 
 
7646
  ac_cv_header_stdc=no
 
 
7648
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
7650
if test $ac_cv_header_stdc = yes; then
 
 
7651
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
 
7652
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7653
/* end confdefs.h.  */
 
 
7657
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
 
7658
  $EGREP "memchr" >/dev/null 2>&1; then :
 
 
7661
  ac_cv_header_stdc=no
 
 
7667
if test $ac_cv_header_stdc = yes; then
 
 
7668
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
 
7669
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7670
/* end confdefs.h.  */
 
 
7674
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
 
7675
  $EGREP "free" >/dev/null 2>&1; then :
 
 
7678
  ac_cv_header_stdc=no
 
 
7684
if test $ac_cv_header_stdc = yes; then
 
 
7685
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
 
7686
  if test "$cross_compiling" = yes; then :
 
 
7689
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
7690
/* end confdefs.h.  */
 
 
7693
#if ((' ' & 0x0FF) == 0x020)
 
 
7694
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
 
7695
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
 
7697
# define ISLOWER(c) \
 
 
7698
                   (('a' <= (c) && (c) <= 'i') \
 
 
7699
                     || ('j' <= (c) && (c) <= 'r') \
 
 
7700
                     || ('s' <= (c) && (c) <= 'z'))
 
 
7701
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
 
7704
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
 
7709
  for (i = 0; i < 256; i++)
 
 
7710
    if (XOR (islower (i), ISLOWER (i))
 
 
7711
        || toupper (i) != TOUPPER (i))
 
 
7716
if ac_fn_c_try_run "$LINENO"; then :
 
 
7719
  ac_cv_header_stdc=no
 
 
7721
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
 
7722
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
 
7727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
 
7728
$as_echo "$ac_cv_header_stdc" >&6; }
 
 
7729
if test $ac_cv_header_stdc = yes; then
 
 
7731
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
 
7735
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
 
 
7736
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
 
 
7737
                  inttypes.h stdint.h unistd.h
 
 
7739
  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
 
7740
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 
 
7742
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
 
 
7743
  cat >>confdefs.h <<_ACEOF
 
 
7744
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
 
7752
for ac_header in dlfcn.h
 
 
7754
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 
 
7756
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
 
 
7757
  cat >>confdefs.h <<_ACEOF
 
 
7758
#define HAVE_DLFCN_H 1
 
 
7768
func_stripname_cnf ()
 
 
7771
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
 
7772
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
 
7774
} # func_stripname_cnf
 
 
7790
            # Check whether --enable-shared was given.
 
 
7791
if test "${enable_shared+set}" = set; then :
 
 
7792
  enableval=$enable_shared; p=${PACKAGE-default}
 
 
7794
    yes) enable_shared=yes ;;
 
 
7795
    no) enable_shared=no ;;
 
 
7798
      # Look at the argument we got.  We use all the common list separators.
 
 
7799
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
 
7800
      for pkg in $enableval; do
 
 
7802
        if test "X$pkg" = "X$p"; then
 
 
7821
  # Check whether --enable-static was given.
 
 
7822
if test "${enable_static+set}" = set; then :
 
 
7823
  enableval=$enable_static; p=${PACKAGE-default}
 
 
7825
    yes) enable_static=yes ;;
 
 
7826
    no) enable_static=no ;;
 
 
7829
      # Look at the argument we got.  We use all the common list separators.
 
 
7830
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
 
7831
      for pkg in $enableval; do
 
 
7833
        if test "X$pkg" = "X$p"; then
 
 
7853
# Check whether --with-pic was given.
 
 
7854
if test "${with_pic+set}" = set; then :
 
 
7855
  withval=$with_pic; lt_p=${PACKAGE-default}
 
 
7857
    yes|no) pic_mode=$withval ;;
 
 
7860
      # Look at the argument we got.  We use all the common list separators.
 
 
7861
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
 
7862
      for lt_pkg in $withval; do
 
 
7864
        if test "X$lt_pkg" = "X$lt_p"; then
 
 
7876
test -z "$pic_mode" && pic_mode=default
 
 
7884
  # Check whether --enable-fast-install was given.
 
 
7885
if test "${enable_fast_install+set}" = set; then :
 
 
7886
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
 
7888
    yes) enable_fast_install=yes ;;
 
 
7889
    no) enable_fast_install=no ;;
 
 
7891
      enable_fast_install=no
 
 
7892
      # Look at the argument we got.  We use all the common list separators.
 
 
7893
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
 
7894
      for pkg in $enableval; do
 
 
7896
        if test "X$pkg" = "X$p"; then
 
 
7897
          enable_fast_install=yes
 
 
7904
  enable_fast_install=yes
 
 
7917
# This can be used to rebuild libtool when needed
 
 
7918
LIBTOOL_DEPS="$ltmain"
 
 
7920
# Always use our own libtool.
 
 
7921
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 
 
7952
test -z "$LN_S" && LN_S="ln -s"
 
 
7967
if test -n "${ZSH_VERSION+set}" ; then
 
 
7968
   setopt NO_GLOB_SUBST
 
 
7971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 
 
7972
$as_echo_n "checking for objdir... " >&6; }
 
 
7973
if ${lt_cv_objdir+:} false; then :
 
 
7974
  $as_echo_n "(cached) " >&6
 
 
7976
  rm -f .libs 2>/dev/null
 
 
7977
mkdir .libs 2>/dev/null
 
 
7978
if test -d .libs; then
 
 
7981
  # MS-DOS does not allow filenames that begin with a dot.
 
 
7984
rmdir .libs 2>/dev/null
 
 
7986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
 
 
7987
$as_echo "$lt_cv_objdir" >&6; }
 
 
7988
objdir=$lt_cv_objdir
 
 
7994
cat >>confdefs.h <<_ACEOF
 
 
7995
#define LT_OBJDIR "$lt_cv_objdir/"
 
 
8003
  # AIX sometimes has problems with the GCC collect2 program.  For some
 
 
8004
  # reason, if we set the COLLECT_NAMES environment variable, the problems
 
 
8005
  # vanish in a puff of smoke.
 
 
8006
  if test "X${COLLECT_NAMES+set}" != Xset; then
 
 
8008
    export COLLECT_NAMES
 
 
8015
can_build_shared=yes
 
 
8017
# All known linkers require a `.a' archive for static linking (except MSVC,
 
 
8018
# which needs '.lib').
 
 
8021
with_gnu_ld="$lt_cv_prog_gnu_ld"
 
 
8024
old_CFLAGS="$CFLAGS"
 
 
8026
# Set sane defaults for various variables
 
 
8027
test -z "$CC" && CC=cc
 
 
8028
test -z "$LTCC" && LTCC=$CC
 
 
8029
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 
 
8030
test -z "$LD" && LD=ld
 
 
8031
test -z "$ac_objext" && ac_objext=o
 
 
8033
for cc_temp in $compiler""; do
 
 
8035
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
 
8036
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
 
8041
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
 
8044
# Only perform the check for file, if the check method requires it
 
 
8045
test -z "$MAGIC_CMD" && MAGIC_CMD=file
 
 
8046
case $deplibs_check_method in
 
 
8048
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 
 
8049
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 
 
8050
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
 
 
8051
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
 
8052
  $as_echo_n "(cached) " >&6
 
 
8056
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
 
8059
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
 
8060
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
 
8061
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
 
8062
  for ac_dir in $ac_dummy; do
 
 
8064
    test -z "$ac_dir" && ac_dir=.
 
 
8065
    if test -f $ac_dir/${ac_tool_prefix}file; then
 
 
8066
      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
 
 
8067
      if test -n "$file_magic_test_file"; then
 
 
8068
        case $deplibs_check_method in
 
 
8070
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
 
8071
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
 
8072
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
 
8073
            $EGREP "$file_magic_regex" > /dev/null; then
 
 
8078
*** Warning: the command libtool uses to detect shared libraries,
 
 
8079
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
 
8080
*** The result is that libtool may fail to recognize shared libraries
 
 
8081
*** as such.  This will affect the creation of libtool libraries that
 
 
8082
*** depend on shared libraries, but programs linked with such libtool
 
 
8083
*** libraries will work regardless of this problem.  Nevertheless, you
 
 
8084
*** may want to report the problem to your system manager and/or to
 
 
8085
*** bug-libtool@gnu.org
 
 
8095
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
 
8100
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
 
8101
if test -n "$MAGIC_CMD"; then
 
 
8102
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
 
8103
$as_echo "$MAGIC_CMD" >&6; }
 
 
8105
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
8106
$as_echo "no" >&6; }
 
 
8113
if test -z "$lt_cv_path_MAGIC_CMD"; then
 
 
8114
  if test -n "$ac_tool_prefix"; then
 
 
8115
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 
 
8116
$as_echo_n "checking for file... " >&6; }
 
 
8117
if ${lt_cv_path_MAGIC_CMD+:} false; then :
 
 
8118
  $as_echo_n "(cached) " >&6
 
 
8122
  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
 
 
8125
  lt_save_MAGIC_CMD="$MAGIC_CMD"
 
 
8126
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
 
8127
  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
 
 
8128
  for ac_dir in $ac_dummy; do
 
 
8130
    test -z "$ac_dir" && ac_dir=.
 
 
8131
    if test -f $ac_dir/file; then
 
 
8132
      lt_cv_path_MAGIC_CMD="$ac_dir/file"
 
 
8133
      if test -n "$file_magic_test_file"; then
 
 
8134
        case $deplibs_check_method in
 
 
8136
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
 
 
8137
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
 
8138
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
 
 
8139
            $EGREP "$file_magic_regex" > /dev/null; then
 
 
8144
*** Warning: the command libtool uses to detect shared libraries,
 
 
8145
*** $file_magic_cmd, produces output that libtool cannot recognize.
 
 
8146
*** The result is that libtool may fail to recognize shared libraries
 
 
8147
*** as such.  This will affect the creation of libtool libraries that
 
 
8148
*** depend on shared libraries, but programs linked with such libtool
 
 
8149
*** libraries will work regardless of this problem.  Nevertheless, you
 
 
8150
*** may want to report the problem to your system manager and/or to
 
 
8151
*** bug-libtool@gnu.org
 
 
8161
  MAGIC_CMD="$lt_save_MAGIC_CMD"
 
 
8166
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
 
 
8167
if test -n "$MAGIC_CMD"; then
 
 
8168
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
 
 
8169
$as_echo "$MAGIC_CMD" >&6; }
 
 
8171
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
8172
$as_echo "no" >&6; }
 
 
8185
# Use C for the default configuration in the libtool script
 
 
8189
ac_cpp='$CPP $CPPFLAGS'
 
 
8190
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
8191
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
8192
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
8195
# Source file extension for C test sources.
 
 
8198
# Object file extension for compiled C test sources.
 
 
8202
# Code to be used in simple compile tests
 
 
8203
lt_simple_compile_test_code="int some_variable = 0;"
 
 
8205
# Code to be used in simple link tests
 
 
8206
lt_simple_link_test_code='int main(){return(0);}'
 
 
8214
# If no C compiler was specified, use CC.
 
 
8217
# If no C compiler flags were specified, use CFLAGS.
 
 
8218
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
 
8220
# Allow CC to be a program name with arguments.
 
 
8223
# Save the default compiler, since it gets overwritten when the other
 
 
8224
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
 
 
8225
compiler_DEFAULT=$CC
 
 
8227
# save warnings/boilerplate of simple test code
 
 
8228
ac_outfile=conftest.$ac_objext
 
 
8229
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
 
8230
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
 
8231
_lt_compiler_boilerplate=`cat conftest.err`
 
 
8234
ac_outfile=conftest.$ac_objext
 
 
8235
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
 
8236
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
 
8237
_lt_linker_boilerplate=`cat conftest.err`
 
 
8242
## There is no encapsulation within the following macros, do not change
 
 
8243
## the running order or otherwise move them around unless you know exactly
 
 
8244
## what you are doing...
 
 
8245
if test -n "$compiler"; then
 
 
8247
lt_prog_compiler_no_builtin_flag=
 
 
8249
if test "$GCC" = yes; then
 
 
8250
  case $cc_basename in
 
 
8252
    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
 
 
8254
    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
 
 
8257
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 
 
8258
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 
 
8259
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
 
 
8260
  $as_echo_n "(cached) " >&6
 
 
8262
  lt_cv_prog_compiler_rtti_exceptions=no
 
 
8263
   ac_outfile=conftest.$ac_objext
 
 
8264
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
8265
   lt_compiler_flag="-fno-rtti -fno-exceptions"
 
 
8266
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
8267
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
8268
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
8269
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
8270
   # The option is referenced via a variable to avoid confusing sed.
 
 
8271
   lt_compile=`echo "$ac_compile" | $SED \
 
 
8272
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
8273
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
8274
   -e 's:$: $lt_compiler_flag:'`
 
 
8275
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
 
8276
   (eval "$lt_compile" 2>conftest.err)
 
 
8278
   cat conftest.err >&5
 
 
8279
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
 
8280
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
 
8281
     # The compiler can only warn and ignore the option if not recognized
 
 
8282
     # So say no if there are warnings other than the usual output.
 
 
8283
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
 
8284
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
 
8285
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
 
8286
       lt_cv_prog_compiler_rtti_exceptions=yes
 
 
8292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 
 
8293
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 
 
8295
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 
 
8296
    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
 
 
8308
  lt_prog_compiler_wl=
 
 
8309
lt_prog_compiler_pic=
 
 
8310
lt_prog_compiler_static=
 
 
8313
  if test "$GCC" = yes; then
 
 
8314
    lt_prog_compiler_wl='-Wl,'
 
 
8315
    lt_prog_compiler_static='-static'
 
 
8319
      # All AIX code is PIC.
 
 
8320
      if test "$host_cpu" = ia64; then
 
 
8321
        # AIX 5 now supports IA64 processor
 
 
8322
        lt_prog_compiler_static='-Bstatic'
 
 
8329
            # see comment about AmigaOS4 .so support
 
 
8330
            lt_prog_compiler_pic='-fPIC'
 
 
8333
            # FIXME: we need at least 68020 code to build shared libraries, but
 
 
8334
            # adding the `-m68020' flag to GCC prevents building anything better,
 
 
8336
            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
 
 
8341
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
 
8342
      # PIC is the default for these OSes.
 
 
8345
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
 
8346
      # This hack is so that the source file can tell whether it is being
 
 
8347
      # built for inclusion in a dll (and should export symbols for example).
 
 
8348
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
 
8349
      # (--disable-auto-import) libraries
 
 
8350
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
 
8353
    darwin* | rhapsody*)
 
 
8354
      # PIC is the default on this platform
 
 
8355
      # Common symbols not allowed in MH_DYLIB files
 
 
8356
      lt_prog_compiler_pic='-fno-common'
 
 
8360
      # PIC is the default for Haiku.
 
 
8361
      # The "-static" flag exists, but is broken.
 
 
8362
      lt_prog_compiler_static=
 
 
8366
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
 
8367
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
 
8368
      # sets the default TLS model and affects inlining.
 
 
8374
        lt_prog_compiler_pic='-fPIC'
 
 
8380
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
 
8381
      # Instead, we relocate shared libraries at runtime.
 
 
8385
      # Just because we use GCC doesn't mean we suddenly get shared libraries
 
 
8386
      # on systems that don't support them.
 
 
8387
      lt_prog_compiler_can_build_shared=no
 
 
8392
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
 
8394
      lt_prog_compiler_pic='-fPIC -shared'
 
 
8398
      if test -d /usr/nec; then
 
 
8399
        lt_prog_compiler_pic=-Kconform_pic
 
 
8404
      lt_prog_compiler_pic='-fPIC'
 
 
8408
    case $cc_basename in
 
 
8409
    nvcc*) # Cuda Compiler Driver 2.2
 
 
8410
      lt_prog_compiler_wl='-Xlinker '
 
 
8411
      if test -n "$lt_prog_compiler_pic"; then
 
 
8412
        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
 
 
8417
    # PORTME Check for flag to pass linker flags through the system compiler.
 
 
8420
      lt_prog_compiler_wl='-Wl,'
 
 
8421
      if test "$host_cpu" = ia64; then
 
 
8422
        # AIX 5 now supports IA64 processor
 
 
8423
        lt_prog_compiler_static='-Bstatic'
 
 
8425
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
 
 
8429
    mingw* | cygwin* | pw32* | os2* | cegcc*)
 
 
8430
      # This hack is so that the source file can tell whether it is being
 
 
8431
      # built for inclusion in a dll (and should export symbols for example).
 
 
8432
      lt_prog_compiler_pic='-DDLL_EXPORT'
 
 
8435
    hpux9* | hpux10* | hpux11*)
 
 
8436
      lt_prog_compiler_wl='-Wl,'
 
 
8437
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 
 
8444
        lt_prog_compiler_pic='+Z'
 
 
8447
      # Is there a better lt_prog_compiler_static that works with the bundled CC?
 
 
8448
      lt_prog_compiler_static='${wl}-a ${wl}archive'
 
 
8451
    irix5* | irix6* | nonstopux*)
 
 
8452
      lt_prog_compiler_wl='-Wl,'
 
 
8453
      # PIC (with -KPIC) is the default.
 
 
8454
      lt_prog_compiler_static='-non_shared'
 
 
8457
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
 
8458
      case $cc_basename in
 
 
8459
      # old Intel for x86_64 which still supported -KPIC.
 
 
8461
        lt_prog_compiler_wl='-Wl,'
 
 
8462
        lt_prog_compiler_pic='-KPIC'
 
 
8463
        lt_prog_compiler_static='-static'
 
 
8465
      # icc used to be incompatible with GCC.
 
 
8466
      # ICC 10 doesn't accept -KPIC any more.
 
 
8468
        lt_prog_compiler_wl='-Wl,'
 
 
8469
        lt_prog_compiler_pic='-fPIC'
 
 
8470
        lt_prog_compiler_static='-static'
 
 
8472
      # Lahey Fortran 8.1.
 
 
8474
        lt_prog_compiler_wl='-Wl,'
 
 
8475
        lt_prog_compiler_pic='--shared'
 
 
8476
        lt_prog_compiler_static='--static'
 
 
8479
        # NAG Fortran compiler
 
 
8480
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
 
8481
        lt_prog_compiler_pic='-PIC'
 
 
8482
        lt_prog_compiler_static='-Bstatic'
 
 
8484
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
 
 
8485
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
 
8486
        # which looks to be a dead project)
 
 
8487
        lt_prog_compiler_wl='-Wl,'
 
 
8488
        lt_prog_compiler_pic='-fpic'
 
 
8489
        lt_prog_compiler_static='-Bstatic'
 
 
8492
        lt_prog_compiler_wl='-Wl,'
 
 
8493
        # All Alpha code is PIC.
 
 
8494
        lt_prog_compiler_static='-non_shared'
 
 
8496
      xl* | bgxl* | bgf* | mpixl*)
 
 
8497
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
 
 
8498
        lt_prog_compiler_wl='-Wl,'
 
 
8499
        lt_prog_compiler_pic='-qpic'
 
 
8500
        lt_prog_compiler_static='-qstaticlink'
 
 
8503
        case `$CC -V 2>&1 | sed 5q` in
 
 
8504
        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
 
 
8505
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
 
8506
          lt_prog_compiler_pic='-KPIC'
 
 
8507
          lt_prog_compiler_static='-Bstatic'
 
 
8508
          lt_prog_compiler_wl=''
 
 
8510
        *Sun\ F* | *Sun*Fortran*)
 
 
8511
          lt_prog_compiler_pic='-KPIC'
 
 
8512
          lt_prog_compiler_static='-Bstatic'
 
 
8513
          lt_prog_compiler_wl='-Qoption ld '
 
 
8517
          lt_prog_compiler_pic='-KPIC'
 
 
8518
          lt_prog_compiler_static='-Bstatic'
 
 
8519
          lt_prog_compiler_wl='-Wl,'
 
 
8521
        *Intel*\ [CF]*Compiler*)
 
 
8522
          lt_prog_compiler_wl='-Wl,'
 
 
8523
          lt_prog_compiler_pic='-fPIC'
 
 
8524
          lt_prog_compiler_static='-static'
 
 
8527
          lt_prog_compiler_wl='-Wl,'
 
 
8528
          lt_prog_compiler_pic='-fpic'
 
 
8529
          lt_prog_compiler_static='-Bstatic'
 
 
8537
      lt_prog_compiler_pic='-KPIC'
 
 
8538
      lt_prog_compiler_static='-Bstatic'
 
 
8542
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
 
8544
      lt_prog_compiler_pic='-fPIC -shared'
 
 
8547
    osf3* | osf4* | osf5*)
 
 
8548
      lt_prog_compiler_wl='-Wl,'
 
 
8549
      # All OSF/1 code is PIC.
 
 
8550
      lt_prog_compiler_static='-non_shared'
 
 
8554
      lt_prog_compiler_static='-non_shared'
 
 
8558
      lt_prog_compiler_pic='-KPIC'
 
 
8559
      lt_prog_compiler_static='-Bstatic'
 
 
8560
      case $cc_basename in
 
 
8561
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
 
 
8562
        lt_prog_compiler_wl='-Qoption ld ';;
 
 
8564
        lt_prog_compiler_wl='-Wl,';;
 
 
8569
      lt_prog_compiler_wl='-Qoption ld '
 
 
8570
      lt_prog_compiler_pic='-PIC'
 
 
8571
      lt_prog_compiler_static='-Bstatic'
 
 
8574
    sysv4 | sysv4.2uw2* | sysv4.3*)
 
 
8575
      lt_prog_compiler_wl='-Wl,'
 
 
8576
      lt_prog_compiler_pic='-KPIC'
 
 
8577
      lt_prog_compiler_static='-Bstatic'
 
 
8581
      if test -d /usr/nec ;then
 
 
8582
        lt_prog_compiler_pic='-Kconform_pic'
 
 
8583
        lt_prog_compiler_static='-Bstatic'
 
 
8587
    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
 
8588
      lt_prog_compiler_wl='-Wl,'
 
 
8589
      lt_prog_compiler_pic='-KPIC'
 
 
8590
      lt_prog_compiler_static='-Bstatic'
 
 
8594
      lt_prog_compiler_wl='-Wl,'
 
 
8595
      lt_prog_compiler_can_build_shared=no
 
 
8599
      lt_prog_compiler_pic='-pic'
 
 
8600
      lt_prog_compiler_static='-Bstatic'
 
 
8604
      lt_prog_compiler_can_build_shared=no
 
 
8610
  # For platforms which do not support PIC, -DPIC is meaningless:
 
 
8612
    lt_prog_compiler_pic=
 
 
8615
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
 
 
8619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
 
8620
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
 
8621
if ${lt_cv_prog_compiler_pic+:} false; then :
 
 
8622
  $as_echo_n "(cached) " >&6
 
 
8624
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
 
8626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
 
8627
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
 
8628
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
 
 
8631
# Check to make sure the PIC flag actually works.
 
 
8633
if test -n "$lt_prog_compiler_pic"; then
 
 
8634
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 
 
8635
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
 
 
8636
if ${lt_cv_prog_compiler_pic_works+:} false; then :
 
 
8637
  $as_echo_n "(cached) " >&6
 
 
8639
  lt_cv_prog_compiler_pic_works=no
 
 
8640
   ac_outfile=conftest.$ac_objext
 
 
8641
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
8642
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
 
 
8643
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
8644
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
8645
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
8646
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
8647
   # The option is referenced via a variable to avoid confusing sed.
 
 
8648
   lt_compile=`echo "$ac_compile" | $SED \
 
 
8649
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
8650
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
8651
   -e 's:$: $lt_compiler_flag:'`
 
 
8652
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
 
8653
   (eval "$lt_compile" 2>conftest.err)
 
 
8655
   cat conftest.err >&5
 
 
8656
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
 
8657
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
 
8658
     # The compiler can only warn and ignore the option if not recognized
 
 
8659
     # So say no if there are warnings other than the usual output.
 
 
8660
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
 
8661
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
 
8662
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
 
8663
       lt_cv_prog_compiler_pic_works=yes
 
 
8669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
 
 
8670
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
 
 
8672
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
 
 
8673
    case $lt_prog_compiler_pic in
 
 
8675
     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
 
 
8678
    lt_prog_compiler_pic=
 
 
8679
     lt_prog_compiler_can_build_shared=no
 
 
8695
# Check to make sure the static flag actually works.
 
 
8697
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 
 
8698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
 
8699
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
 
8700
if ${lt_cv_prog_compiler_static_works+:} false; then :
 
 
8701
  $as_echo_n "(cached) " >&6
 
 
8703
  lt_cv_prog_compiler_static_works=no
 
 
8704
   save_LDFLAGS="$LDFLAGS"
 
 
8705
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
 
8706
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
 
8707
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
 
8708
     # The linker can only warn and ignore the option if not recognized
 
 
8709
     # So say no if there are warnings
 
 
8710
     if test -s conftest.err; then
 
 
8711
       # Append any errors to the config.log.
 
 
8712
       cat conftest.err 1>&5
 
 
8713
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
 
8714
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
 
8715
       if diff conftest.exp conftest.er2 >/dev/null; then
 
 
8716
         lt_cv_prog_compiler_static_works=yes
 
 
8719
       lt_cv_prog_compiler_static_works=yes
 
 
8723
   LDFLAGS="$save_LDFLAGS"
 
 
8726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
 
 
8727
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
 
 
8729
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
 
 
8732
    lt_prog_compiler_static=
 
 
8741
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
 
8742
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
 
8743
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
 
8744
  $as_echo_n "(cached) " >&6
 
 
8746
  lt_cv_prog_compiler_c_o=no
 
 
8747
   $RM -r conftest 2>/dev/null
 
 
8751
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
8753
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
 
8754
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
8755
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
8756
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
8757
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
8758
   lt_compile=`echo "$ac_compile" | $SED \
 
 
8759
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
8760
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
8761
   -e 's:$: $lt_compiler_flag:'`
 
 
8762
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
 
8763
   (eval "$lt_compile" 2>out/conftest.err)
 
 
8765
   cat out/conftest.err >&5
 
 
8766
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
 
8767
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
 
8769
     # The compiler can only warn and ignore the option if not recognized
 
 
8770
     # So say no if there are warnings
 
 
8771
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
 
8772
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
 
8773
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
 
8774
       lt_cv_prog_compiler_c_o=yes
 
 
8779
   # SGI C++ compiler will create directory out/ii_files/ for
 
 
8780
   # template instantiation
 
 
8781
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
 
8782
   $RM out/* && rmdir out
 
 
8788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
 
8789
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
 
8796
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
 
8797
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
 
8798
if ${lt_cv_prog_compiler_c_o+:} false; then :
 
 
8799
  $as_echo_n "(cached) " >&6
 
 
8801
  lt_cv_prog_compiler_c_o=no
 
 
8802
   $RM -r conftest 2>/dev/null
 
 
8806
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
8808
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
 
8809
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
8810
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
8811
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
8812
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
8813
   lt_compile=`echo "$ac_compile" | $SED \
 
 
8814
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
8815
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
8816
   -e 's:$: $lt_compiler_flag:'`
 
 
8817
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
 
8818
   (eval "$lt_compile" 2>out/conftest.err)
 
 
8820
   cat out/conftest.err >&5
 
 
8821
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
 
8822
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
 
8824
     # The compiler can only warn and ignore the option if not recognized
 
 
8825
     # So say no if there are warnings
 
 
8826
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
 
8827
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
 
8828
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
 
8829
       lt_cv_prog_compiler_c_o=yes
 
 
8834
   # SGI C++ compiler will create directory out/ii_files/ for
 
 
8835
   # template instantiation
 
 
8836
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
 
8837
   $RM out/* && rmdir out
 
 
8843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
 
 
8844
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
 
8849
hard_links="nottested"
 
 
8850
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
 
 
8851
  # do not overwrite the value of need_locks provided by the user
 
 
8852
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
 
8853
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
 
8856
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
 
8858
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
 
8859
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
 
8860
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
 
8861
$as_echo "$hard_links" >&6; }
 
 
8862
  if test "$hard_links" = no; then
 
 
8863
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
 
8864
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
 
8876
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
 
8877
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
 
8880
  allow_undefined_flag=
 
 
8881
  always_export_symbols=no
 
 
8883
  archive_expsym_cmds=
 
 
8884
  compiler_needs_object=no
 
 
8885
  enable_shared_with_static_runtimes=no
 
 
8886
  export_dynamic_flag_spec=
 
 
8887
  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
 
8888
  hardcode_automatic=no
 
 
8890
  hardcode_direct_absolute=no
 
 
8891
  hardcode_libdir_flag_spec=
 
 
8892
  hardcode_libdir_separator=
 
 
8894
  hardcode_shlibpath_var=unsupported
 
 
8896
  link_all_deplibs=unknown
 
 
8899
  old_archive_from_new_cmds=
 
 
8900
  old_archive_from_expsyms_cmds=
 
 
8901
  thread_safe_flag_spec=
 
 
8902
  whole_archive_flag_spec=
 
 
8903
  # include_expsyms should be a list of space-separated symbols to be *always*
 
 
8904
  # included in the symbol list
 
 
8906
  # exclude_expsyms can be an extended regexp of symbols to exclude
 
 
8907
  # it will be wrapped by ` (' and `)$', so one must not match beginning or
 
 
8908
  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 
 
8909
  # as well as any symbol that contains `d'.
 
 
8910
  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
 
8911
  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 
 
8912
  # platforms (ab)use it in PIC code, but their linkers get confused if
 
 
8913
  # the symbol is explicitly referenced.  Since portable code cannot
 
 
8914
  # rely on this symbol name, it's probably fine to never include it in
 
 
8915
  # preloaded symbol tables.
 
 
8916
  # Exclude shared library initialization/finalization symbols.
 
 
8917
  extract_expsyms_cmds=
 
 
8920
  cygwin* | mingw* | pw32* | cegcc*)
 
 
8921
    # FIXME: the MSVC++ port hasn't been tested in a loooong time
 
 
8922
    # When not using gcc, we currently assume that we are using
 
 
8923
    # Microsoft Visual C++.
 
 
8924
    if test "$GCC" != yes; then
 
 
8929
    # we just hope/assume this is gcc and not c89 (= MSVC++)
 
 
8935
  linux* | k*bsd*-gnu | gnu*)
 
 
8942
  # On some targets, GNU ld is compatible enough with the native linker
 
 
8943
  # that we're better off using the native interface for both.
 
 
8944
  lt_use_gnu_ld_interface=no
 
 
8945
  if test "$with_gnu_ld" = yes; then
 
 
8948
        # The AIX port of GNU ld has always aspired to compatibility
 
 
8949
        # with the native linker.  However, as the warning in the GNU ld
 
 
8950
        # block says, versions before 2.19.5* couldn't really create working
 
 
8951
        # shared libraries, regardless of the interface used.
 
 
8952
        case `$LD -v 2>&1` in
 
 
8953
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
 
8954
          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
 
 
8955
          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
 
 
8957
            lt_use_gnu_ld_interface=yes
 
 
8962
        lt_use_gnu_ld_interface=yes
 
 
8967
  if test "$lt_use_gnu_ld_interface" = yes; then
 
 
8968
    # If archive_cmds runs LD, not CC, wlarc should be empty
 
 
8971
    # Set some defaults for GNU ld with shared library support. These
 
 
8972
    # are reset later if shared libraries are not supported. Putting them
 
 
8973
    # here allows them to be overridden if necessary.
 
 
8974
    runpath_var=LD_RUN_PATH
 
 
8975
    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
 
8976
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
 
8977
    # ancient GNU ld didn't support --whole-archive et. al.
 
 
8978
    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
 
 
8979
      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
 
8981
      whole_archive_flag_spec=
 
 
8983
    supports_anon_versioning=no
 
 
8984
    case `$LD -v 2>&1` in
 
 
8985
      *GNU\ gold*) supports_anon_versioning=yes ;;
 
 
8986
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
 
8987
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
 
8988
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
 
8989
      *\ 2.11.*) ;; # other 2.11 versions
 
 
8990
      *) supports_anon_versioning=yes ;;
 
 
8993
    # See if GNU ld supports shared libraries.
 
 
8996
      # On AIX/PPC, the GNU linker is very broken
 
 
8997
      if test "$host_cpu" != ia64; then
 
 
9001
*** Warning: the GNU linker, at least up to release 2.19, is reported
 
 
9002
*** to be unable to reliably create shared libraries on AIX.
 
 
9003
*** Therefore, libtool is disabling shared libraries support.  If you
 
 
9004
*** really care for shared libraries, you may want to install binutils
 
 
9005
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
 
9006
*** You will then need to restart the configuration process.
 
 
9015
            # see comment about AmigaOS4 .so support
 
 
9016
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9017
            archive_expsym_cmds=''
 
 
9020
            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)'
 
 
9021
            hardcode_libdir_flag_spec='-L$libdir'
 
 
9022
            hardcode_minus_L=yes
 
 
9028
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
 
9029
        allow_undefined_flag=unsupported
 
 
9030
        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
 
9031
        # support --undefined.  This deserves some investigation.  FIXME
 
 
9032
        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9038
    cygwin* | mingw* | pw32* | cegcc*)
 
 
9039
      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
 
 
9040
      # as there is no search path for DLLs.
 
 
9041
      hardcode_libdir_flag_spec='-L$libdir'
 
 
9042
      export_dynamic_flag_spec='${wl}--export-all-symbols'
 
 
9043
      allow_undefined_flag=unsupported
 
 
9044
      always_export_symbols=no
 
 
9045
      enable_shared_with_static_runtimes=yes
 
 
9046
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
 
9047
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
 
9049
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
 
9050
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
 
9051
        # If the export-symbols file already is a .def file (1st line
 
 
9052
        # is EXPORTS), use it as is; otherwise, prepend...
 
 
9053
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
 
9054
          cp $export_symbols $output_objdir/$soname.def;
 
 
9056
          echo EXPORTS > $output_objdir/$soname.def;
 
 
9057
          cat $export_symbols >> $output_objdir/$soname.def;
 
 
9059
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
 
9066
      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9067
      link_all_deplibs=yes
 
 
9072
      hardcode_shlibpath_var=no
 
 
9073
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
 
9074
      export_dynamic_flag_spec='${wl}-E'
 
 
9075
      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
 
9076
      # Instead, shared libraries are loaded at an image base (0x10000000 by
 
 
9077
      # default) and relocated if they conflict, which is a slow very memory
 
 
9078
      # consuming and fragmenting process.  To avoid this, we pick a random,
 
 
9079
      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
 
9080
      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
 
9081
      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
 
9082
      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'
 
 
9085
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
 
 
9087
      if test "$host_os" = linux-dietlibc; then
 
 
9088
        case $cc_basename in
 
 
9089
          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
 
 
9092
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
 
 
9093
         && test "$tmp_diet" = no
 
 
9095
        tmp_addflag=' $pic_flag'
 
 
9096
        tmp_sharedflag='-shared'
 
 
9097
        case $cc_basename,$host_cpu in
 
 
9098
        pgcc*)                          # Portland Group C compiler
 
 
9099
          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'
 
 
9100
          tmp_addflag=' $pic_flag'
 
 
9102
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
 
9103
                                        # Portland Group f77 and f90 compilers
 
 
9104
          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'
 
 
9105
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
 
9106
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
 
 
9107
          tmp_addflag=' -i_dynamic' ;;
 
 
9108
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
 
9109
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
 
9110
        ifc* | ifort*)                  # Intel Fortran compiler
 
 
9111
          tmp_addflag=' -nofor_main' ;;
 
 
9112
        lf95*)                          # Lahey Fortran 8.1
 
 
9113
          whole_archive_flag_spec=
 
 
9114
          tmp_sharedflag='--shared' ;;
 
 
9115
        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
 
 
9116
          tmp_sharedflag='-qmkshrobj'
 
 
9118
        nvcc*)  # Cuda Compiler Driver 2.2
 
 
9119
          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'
 
 
9120
          compiler_needs_object=yes
 
 
9123
        case `$CC -V 2>&1 | sed 5q` in
 
 
9124
        *Sun\ C*)                       # Sun C 5.9
 
 
9125
          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'
 
 
9126
          compiler_needs_object=yes
 
 
9127
          tmp_sharedflag='-G' ;;
 
 
9128
        *Sun\ F*)                       # Sun Fortran 8.3
 
 
9129
          tmp_sharedflag='-G' ;;
 
 
9131
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9133
        if test "x$supports_anon_versioning" = xyes; then
 
 
9134
          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
 
9135
            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
 
9136
            echo "local: *; };" >> $output_objdir/$libname.ver~
 
 
9137
            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
 
9140
        case $cc_basename in
 
 
9141
        xlf* | bgf* | bgxlf* | mpixlf*)
 
 
9142
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
 
 
9143
          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
 
 
9144
          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
 
9145
          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
 
 
9146
          if test "x$supports_anon_versioning" = xyes; then
 
 
9147
            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
 
 
9148
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
 
9149
              echo "local: *; };" >> $output_objdir/$libname.ver~
 
 
9150
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
 
9159
    netbsd* | netbsdelf*-gnu)
 
 
9160
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
 
9161
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 
 
9164
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9165
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
 
9170
      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
 
 
9174
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
 
 
9175
*** create shared libraries on Solaris systems.  Therefore, libtool
 
 
9176
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
 
9177
*** binutils to release 2.9.1 or newer.  Another option is to modify
 
 
9178
*** your PATH or compiler configuration so that the native linker is
 
 
9179
*** used, and then restart.
 
 
9182
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
 
9183
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9184
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
 
9190
    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 
 
9191
      case `$LD -v 2>&1` in
 
 
9192
        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 
 
9196
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 
 
9197
*** reliably create shared libraries on SCO systems.  Therefore, libtool
 
 
9198
*** is disabling shared libraries support.  We urge you to upgrade GNU
 
 
9199
*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 
 
9200
*** your PATH or compiler configuration so that the native linker is
 
 
9201
*** used, and then restart.
 
 
9206
          # For security reasons, it is highly recommended that you always
 
 
9207
          # use absolute paths for naming shared libraries, and exclude the
 
 
9208
          # DT_RUNPATH tag from executables and libraries.  But doing so
 
 
9209
          # requires that you compile everything twice, which is a pain.
 
 
9210
          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
 
9211
            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
 
9212
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9213
            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
 
9222
      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
 
9225
      hardcode_shlibpath_var=no
 
 
9229
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
 
9230
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9231
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
 
9238
    if test "$ld_shlibs" = no; then
 
 
9240
      hardcode_libdir_flag_spec=
 
 
9241
      export_dynamic_flag_spec=
 
 
9242
      whole_archive_flag_spec=
 
 
9245
    # PORTME fill in a description of your system's linker (not GNU ld)
 
 
9248
      allow_undefined_flag=unsupported
 
 
9249
      always_export_symbols=yes
 
 
9250
      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'
 
 
9251
      # Note: this linker hardcodes the directories in LIBPATH if there
 
 
9252
      # are no directories specified by -L.
 
 
9253
      hardcode_minus_L=yes
 
 
9254
      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 
 
9255
        # Neither direct hardcoding nor static linking is supported with a
 
 
9257
        hardcode_direct=unsupported
 
 
9262
      if test "$host_cpu" = ia64; then
 
 
9263
        # On IA64, the linker does run time linking by default, so we don't
 
 
9264
        # have to do anything special.
 
 
9265
        aix_use_runtimelinking=no
 
 
9266
        exp_sym_flag='-Bexport'
 
 
9269
        # If we're using GNU nm, then we don't want the "-C" option.
 
 
9270
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
 
9271
        # Also, AIX nm treats weak defined symbols like other global
 
 
9272
        # defined symbols, whereas GNU nm marks them as "W".
 
 
9273
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
 
9274
          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'
 
 
9276
          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'
 
 
9278
        aix_use_runtimelinking=no
 
 
9280
        # Test if we are trying to use run time linking or normal
 
 
9281
        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
 
9282
        # need to do runtime linking.
 
 
9283
        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
 
9284
          for ld_flag in $LDFLAGS; do
 
 
9285
          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 
 
9286
            aix_use_runtimelinking=yes
 
 
9293
        exp_sym_flag='-bexport'
 
 
9294
        no_entry_flag='-bnoentry'
 
 
9297
      # When large executables or shared objects are built, AIX ld can
 
 
9298
      # have problems creating the table of contents.  If linking a library
 
 
9299
      # or program results in "error TOC overflow" add -mminimal-toc to
 
 
9300
      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
 
9301
      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
 
9305
      hardcode_direct_absolute=yes
 
 
9306
      hardcode_libdir_separator=':'
 
 
9307
      link_all_deplibs=yes
 
 
9308
      file_list_spec='${wl}-f,'
 
 
9310
      if test "$GCC" = yes; then
 
 
9311
        case $host_os in aix4.[012]|aix4.[012].*)
 
 
9312
        # We only want to do this on AIX 4.2 and lower, the check
 
 
9313
        # below for broken collect2 doesn't work under 4.3+
 
 
9314
          collect2name=`${CC} -print-prog-name=collect2`
 
 
9315
          if test -f "$collect2name" &&
 
 
9316
           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
 
9318
          # We have reworked collect2
 
 
9321
          # We have old collect2
 
 
9322
          hardcode_direct=unsupported
 
 
9323
          # It fails to find uninstalled libraries when the uninstalled
 
 
9324
          # path is not listed in the libpath.  Setting hardcode_minus_L
 
 
9325
          # to unsupported forces relinking
 
 
9326
          hardcode_minus_L=yes
 
 
9327
          hardcode_libdir_flag_spec='-L$libdir'
 
 
9328
          hardcode_libdir_separator=
 
 
9332
        shared_flag='-shared'
 
 
9333
        if test "$aix_use_runtimelinking" = yes; then
 
 
9334
          shared_flag="$shared_flag "'${wl}-G'
 
 
9339
        if test "$host_cpu" = ia64; then
 
 
9340
        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
 
9341
        # chokes on -Wl,-G. The following line is correct:
 
 
9344
          if test "$aix_use_runtimelinking" = yes; then
 
 
9345
            shared_flag='${wl}-G'
 
 
9347
            shared_flag='${wl}-bM:SRE'
 
 
9352
      export_dynamic_flag_spec='${wl}-bexpall'
 
 
9353
      # It seems that -bexpall does not export symbols beginning with
 
 
9354
      # underscore (_), so it is better to generate a list of symbols to export.
 
 
9355
      always_export_symbols=yes
 
 
9356
      if test "$aix_use_runtimelinking" = yes; then
 
 
9357
        # Warning - without using the other runtime loading flags (-brtl),
 
 
9358
        # -berok will link without error, but may produce a broken library.
 
 
9359
        allow_undefined_flag='-berok'
 
 
9360
        # Determine the default libpath from the value encoded in an
 
 
9362
        if test "${lt_cv_aix_libpath+set}" = set; then
 
 
9363
  aix_libpath=$lt_cv_aix_libpath
 
 
9365
  if ${lt_cv_aix_libpath_+:} false; then :
 
 
9366
  $as_echo_n "(cached) " >&6
 
 
9368
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
9369
/* end confdefs.h.  */
 
 
9379
if ac_fn_c_try_link "$LINENO"; then :
 
 
9381
  lt_aix_libpath_sed='
 
 
9382
      /Import File Strings/,/^$/ {
 
 
9384
              s/^0  *\([^ ]*\) *$/\1/
 
 
9388
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
9389
  # Check for a 64-bit object if we didn't find anything.
 
 
9390
  if test -z "$lt_cv_aix_libpath_"; then
 
 
9391
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
9394
rm -f core conftest.err conftest.$ac_objext \
 
 
9395
    conftest$ac_exeext conftest.$ac_ext
 
 
9396
  if test -z "$lt_cv_aix_libpath_"; then
 
 
9397
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
 
9402
  aix_libpath=$lt_cv_aix_libpath_
 
 
9405
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
 
9406
        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"
 
 
9408
        if test "$host_cpu" = ia64; then
 
 
9409
          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
 
 
9410
          allow_undefined_flag="-z nodefs"
 
 
9411
          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"
 
 
9413
         # Determine the default libpath from the value encoded in an
 
 
9415
         if test "${lt_cv_aix_libpath+set}" = set; then
 
 
9416
  aix_libpath=$lt_cv_aix_libpath
 
 
9418
  if ${lt_cv_aix_libpath_+:} false; then :
 
 
9419
  $as_echo_n "(cached) " >&6
 
 
9421
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
9422
/* end confdefs.h.  */
 
 
9432
if ac_fn_c_try_link "$LINENO"; then :
 
 
9434
  lt_aix_libpath_sed='
 
 
9435
      /Import File Strings/,/^$/ {
 
 
9437
              s/^0  *\([^ ]*\) *$/\1/
 
 
9441
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
9442
  # Check for a 64-bit object if we didn't find anything.
 
 
9443
  if test -z "$lt_cv_aix_libpath_"; then
 
 
9444
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
9447
rm -f core conftest.err conftest.$ac_objext \
 
 
9448
    conftest$ac_exeext conftest.$ac_ext
 
 
9449
  if test -z "$lt_cv_aix_libpath_"; then
 
 
9450
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
 
9455
  aix_libpath=$lt_cv_aix_libpath_
 
 
9458
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
 
 
9459
          # Warning - without using the other run time loading flags,
 
 
9460
          # -berok will link without error, but may produce a broken library.
 
 
9461
          no_undefined_flag=' ${wl}-bernotok'
 
 
9462
          allow_undefined_flag=' ${wl}-berok'
 
 
9463
          if test "$with_gnu_ld" = yes; then
 
 
9464
            # We only use this code for GNU lds that support --whole-archive.
 
 
9465
            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
 
9467
            # Exported symbols can be pulled into shared objects from archives
 
 
9468
            whole_archive_flag_spec='$convenience'
 
 
9470
          archive_cmds_need_lc=yes
 
 
9471
          # This is similar to how AIX traditionally builds its shared libraries.
 
 
9472
          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'
 
 
9480
            # see comment about AmigaOS4 .so support
 
 
9481
            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
9482
            archive_expsym_cmds=''
 
 
9485
            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)'
 
 
9486
            hardcode_libdir_flag_spec='-L$libdir'
 
 
9487
            hardcode_minus_L=yes
 
 
9493
      export_dynamic_flag_spec=-rdynamic
 
 
9496
    cygwin* | mingw* | pw32* | cegcc*)
 
 
9497
      # When not using gcc, we currently assume that we are using
 
 
9498
      # Microsoft Visual C++.
 
 
9499
      # hardcode_libdir_flag_spec is actually meaningless, as there is
 
 
9500
      # no search path for DLLs.
 
 
9501
      case $cc_basename in
 
 
9504
        hardcode_libdir_flag_spec=' '
 
 
9505
        allow_undefined_flag=unsupported
 
 
9506
        always_export_symbols=yes
 
 
9508
        # Tell ltmain to make .lib files, not .a files.
 
 
9510
        # Tell ltmain to make .dll files, not .so files.
 
 
9512
        # FIXME: Setting linknames here is a bad hack.
 
 
9513
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
 
9514
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
 
9515
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
 
9517
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
 
9519
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
 
9521
        # The linker will not automatically build a static lib if we build a DLL.
 
 
9522
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
 
9523
        enable_shared_with_static_runtimes=yes
 
 
9524
        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
 
9525
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
 
9527
        old_postinstall_cmds='chmod 644 $oldlib'
 
 
9528
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
 
9529
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
 
9530
          case $lt_outputfile in
 
 
9533
              lt_outputfile="$lt_outputfile.exe"
 
 
9534
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
 
9537
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
 
9538
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
 
9539
            $RM "$lt_outputfile.manifest";
 
 
9543
        # Assume MSVC wrapper
 
 
9544
        hardcode_libdir_flag_spec=' '
 
 
9545
        allow_undefined_flag=unsupported
 
 
9546
        # Tell ltmain to make .lib files, not .a files.
 
 
9548
        # Tell ltmain to make .dll files, not .so files.
 
 
9550
        # FIXME: Setting linknames here is a bad hack.
 
 
9551
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
 
9552
        # The linker will automatically build a .lib file if we build a DLL.
 
 
9553
        old_archive_from_new_cmds='true'
 
 
9554
        # FIXME: Should let the user specify the lib program.
 
 
9555
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
 
9556
        enable_shared_with_static_runtimes=yes
 
 
9561
    darwin* | rhapsody*)
 
 
9564
  archive_cmds_need_lc=no
 
 
9566
  hardcode_automatic=yes
 
 
9567
  hardcode_shlibpath_var=unsupported
 
 
9568
  if test "$lt_cv_ld_force_load" = "yes"; then
 
 
9569
    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\"`'
 
 
9572
    whole_archive_flag_spec=''
 
 
9574
  link_all_deplibs=yes
 
 
9575
  allow_undefined_flag="$_lt_dar_allow_undefined"
 
 
9576
  case $cc_basename in
 
 
9577
     ifort*) _lt_dar_can_shared=yes ;;
 
 
9578
     *) _lt_dar_can_shared=$GCC ;;
 
 
9580
  if test "$_lt_dar_can_shared" = "yes"; then
 
 
9581
    output_verbose_link_cmd=func_echo_all
 
 
9582
    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
 
9583
    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
 
9584
    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}"
 
 
9585
    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}"
 
 
9594
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9595
      hardcode_libdir_flag_spec='-L$libdir'
 
 
9596
      hardcode_shlibpath_var=no
 
 
9599
    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 
 
9600
    # support.  Future versions do this automatically, but an explicit c++rt0.o
 
 
9601
    # does not break anything, and helps significantly (at the cost of a little
 
 
9604
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 
 
9605
      hardcode_libdir_flag_spec='-R$libdir'
 
 
9607
      hardcode_shlibpath_var=no
 
 
9610
    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 
 
9612
      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
 
9614
      hardcode_minus_L=yes
 
 
9615
      hardcode_shlibpath_var=no
 
 
9618
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 
 
9619
    freebsd* | dragonfly*)
 
 
9620
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
 
9621
      hardcode_libdir_flag_spec='-R$libdir'
 
 
9623
      hardcode_shlibpath_var=no
 
 
9627
      if test "$GCC" = yes; then
 
 
9628
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
 
9630
        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'
 
 
9632
      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
 
9633
      hardcode_libdir_separator=:
 
 
9636
      # hardcode_minus_L: Not really in the search PATH,
 
 
9637
      # but as the default location of the library.
 
 
9638
      hardcode_minus_L=yes
 
 
9639
      export_dynamic_flag_spec='${wl}-E'
 
 
9643
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
 
9644
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
 
9646
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
 
9648
      if test "$with_gnu_ld" = no; then
 
 
9649
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
 
9650
        hardcode_libdir_separator=:
 
 
9652
        hardcode_direct_absolute=yes
 
 
9653
        export_dynamic_flag_spec='${wl}-E'
 
 
9654
        # hardcode_minus_L: Not really in the search PATH,
 
 
9655
        # but as the default location of the library.
 
 
9656
        hardcode_minus_L=yes
 
 
9661
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
 
 
9664
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9667
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
 
9670
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
 
9676
          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9679
          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
 
9683
          # Older versions of the 11.00 compiler do not understand -b yet
 
 
9684
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
 
9685
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 
 
9686
$as_echo_n "checking if $CC understands -b... " >&6; }
 
 
9687
if ${lt_cv_prog_compiler__b+:} false; then :
 
 
9688
  $as_echo_n "(cached) " >&6
 
 
9690
  lt_cv_prog_compiler__b=no
 
 
9691
   save_LDFLAGS="$LDFLAGS"
 
 
9692
   LDFLAGS="$LDFLAGS -b"
 
 
9693
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
 
9694
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
 
9695
     # The linker can only warn and ignore the option if not recognized
 
 
9696
     # So say no if there are warnings
 
 
9697
     if test -s conftest.err; then
 
 
9698
       # Append any errors to the config.log.
 
 
9699
       cat conftest.err 1>&5
 
 
9700
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
 
9701
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
 
9702
       if diff conftest.exp conftest.er2 >/dev/null; then
 
 
9703
         lt_cv_prog_compiler__b=yes
 
 
9706
       lt_cv_prog_compiler__b=yes
 
 
9710
   LDFLAGS="$save_LDFLAGS"
 
 
9713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
 
 
9714
$as_echo "$lt_cv_prog_compiler__b" >&6; }
 
 
9716
if test x"$lt_cv_prog_compiler__b" = xyes; then
 
 
9717
    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
 
9719
    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 
 
9725
      if test "$with_gnu_ld" = no; then
 
 
9726
        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 
 
9727
        hardcode_libdir_separator=:
 
 
9732
          hardcode_shlibpath_var=no
 
 
9736
          hardcode_direct_absolute=yes
 
 
9737
          export_dynamic_flag_spec='${wl}-E'
 
 
9739
          # hardcode_minus_L: Not really in the search PATH,
 
 
9740
          # but as the default location of the library.
 
 
9741
          hardcode_minus_L=yes
 
 
9747
    irix5* | irix6* | nonstopux*)
 
 
9748
      if test "$GCC" = yes; then
 
 
9749
        archive_cmds='$CC -shared $pic_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'
 
 
9750
        # Try to use the -exported_symbol ld option, if it does not
 
 
9751
        # work, assume that -exports_file does not work either and
 
 
9752
        # implicitly export all symbols.
 
 
9753
        # This should be the same for all languages, so no per-tag cache variable.
 
 
9754
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
 
9755
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
 
9756
if ${lt_cv_irix_exported_symbol+:} false; then :
 
 
9757
  $as_echo_n "(cached) " >&6
 
 
9759
  save_LDFLAGS="$LDFLAGS"
 
 
9760
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
 
9761
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
9762
/* end confdefs.h.  */
 
 
9763
int foo (void) { return 0; }
 
 
9765
if ac_fn_c_try_link "$LINENO"; then :
 
 
9766
  lt_cv_irix_exported_symbol=yes
 
 
9768
  lt_cv_irix_exported_symbol=no
 
 
9770
rm -f core conftest.err conftest.$ac_objext \
 
 
9771
    conftest$ac_exeext conftest.$ac_ext
 
 
9772
           LDFLAGS="$save_LDFLAGS"
 
 
9774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
 
9775
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
 
9776
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
 
9777
          archive_expsym_cmds='$CC -shared $pic_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 ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
 
9780
        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'
 
 
9781
        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'
 
 
9783
      archive_cmds_need_lc='no'
 
 
9784
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
 
9785
      hardcode_libdir_separator=:
 
 
9787
      link_all_deplibs=yes
 
 
9790
    netbsd* | netbsdelf*-gnu)
 
 
9791
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
 
9792
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 
 
9794
        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 
 
9796
      hardcode_libdir_flag_spec='-R$libdir'
 
 
9798
      hardcode_shlibpath_var=no
 
 
9802
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9804
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
 
9805
      hardcode_libdir_separator=:
 
 
9806
      hardcode_shlibpath_var=no
 
 
9813
      if test -f /usr/libexec/ld.so; then
 
 
9815
        hardcode_shlibpath_var=no
 
 
9816
        hardcode_direct_absolute=yes
 
 
9817
        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
 
9818
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
 
9819
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
 
9820
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
 
9821
          export_dynamic_flag_spec='${wl}-E'
 
 
9824
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
 
9825
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
 
9826
             hardcode_libdir_flag_spec='-R$libdir'
 
 
9829
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
 
9830
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
 
9840
      hardcode_libdir_flag_spec='-L$libdir'
 
 
9841
      hardcode_minus_L=yes
 
 
9842
      allow_undefined_flag=unsupported
 
 
9843
      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'
 
 
9844
      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 
 
9848
      if test "$GCC" = yes; then
 
 
9849
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
 
9850
        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'
 
 
9852
        allow_undefined_flag=' -expect_unresolved \*'
 
 
9853
        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'
 
 
9855
      archive_cmds_need_lc='no'
 
 
9856
      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
 
9857
      hardcode_libdir_separator=:
 
 
9860
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
 
 
9861
      if test "$GCC" = yes; then
 
 
9862
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 
 
9863
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_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'
 
 
9864
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 
 
9866
        allow_undefined_flag=' -expect_unresolved \*'
 
 
9867
        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'
 
 
9868
        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~
 
 
9869
        $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'
 
 
9871
        # Both c and cxx compiler support -rpath directly
 
 
9872
        hardcode_libdir_flag_spec='-rpath $libdir'
 
 
9874
      archive_cmds_need_lc='no'
 
 
9875
      hardcode_libdir_separator=:
 
 
9879
      no_undefined_flag=' -z defs'
 
 
9880
      if test "$GCC" = yes; then
 
 
9882
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9883
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
 
9884
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
 
9886
        case `$CC -V 2>&1` in
 
 
9889
          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9890
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
 
9891
          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 
 
9895
          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9896
          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
 
9897
          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
 
9901
      hardcode_libdir_flag_spec='-R$libdir'
 
 
9902
      hardcode_shlibpath_var=no
 
 
9904
      solaris2.[0-5] | solaris2.[0-5].*) ;;
 
 
9906
        # The compiler driver will combine and reorder linker options,
 
 
9907
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
 
9908
        # but is careful enough not to reorder.
 
 
9909
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
 
9910
        if test "$GCC" = yes; then
 
 
9911
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
 
9913
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
 
9917
      link_all_deplibs=yes
 
 
9921
      if test "x$host_vendor" = xsequent; then
 
 
9922
        # Use $CC to link under sequent, because it throws in some extra .o
 
 
9923
        # files that make .init and .fini sections work.
 
 
9924
        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9926
        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 
 
9928
      hardcode_libdir_flag_spec='-L$libdir'
 
 
9930
      hardcode_minus_L=yes
 
 
9931
      hardcode_shlibpath_var=no
 
 
9935
      case $host_vendor in
 
 
9937
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9938
          hardcode_direct=yes # is this really true???
 
 
9941
          ## LD is ld it makes a PLAMLIB
 
 
9942
          ## CC just makes a GrossModule.
 
 
9943
          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 
 
9944
          reload_cmds='$CC -r -o $output$reload_objs'
 
 
9948
          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9949
          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 
 
9952
      runpath_var='LD_RUN_PATH'
 
 
9953
      hardcode_shlibpath_var=no
 
 
9957
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9958
      hardcode_shlibpath_var=no
 
 
9959
      export_dynamic_flag_spec='-Bexport'
 
 
9963
      if test -d /usr/nec; then
 
 
9964
        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
9965
        hardcode_shlibpath_var=no
 
 
9966
        runpath_var=LD_RUN_PATH
 
 
9967
        hardcode_runpath_var=yes
 
 
9972
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
 
9973
      no_undefined_flag='${wl}-z,text'
 
 
9974
      archive_cmds_need_lc=no
 
 
9975
      hardcode_shlibpath_var=no
 
 
9976
      runpath_var='LD_RUN_PATH'
 
 
9978
      if test "$GCC" = yes; then
 
 
9979
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9980
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9982
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9983
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
9987
    sysv5* | sco3.2v5* | sco5v6*)
 
 
9988
      # Note: We can NOT use -z defs as we might desire, because we do not
 
 
9989
      # link with -lc, and that would cause any symbols used from libc to
 
 
9990
      # always be unresolved, which means just about no library would
 
 
9991
      # ever link correctly.  If we're not using GNU ld we use -z text
 
 
9992
      # though, which does catch some bad symbols but isn't as heavy-handed
 
 
9994
      no_undefined_flag='${wl}-z,text'
 
 
9995
      allow_undefined_flag='${wl}-z,nodefs'
 
 
9996
      archive_cmds_need_lc=no
 
 
9997
      hardcode_shlibpath_var=no
 
 
9998
      hardcode_libdir_flag_spec='${wl}-R,$libdir'
 
 
9999
      hardcode_libdir_separator=':'
 
 
10000
      link_all_deplibs=yes
 
 
10001
      export_dynamic_flag_spec='${wl}-Bexport'
 
 
10002
      runpath_var='LD_RUN_PATH'
 
 
10004
      if test "$GCC" = yes; then
 
 
10005
        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
10006
        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
10008
        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
10009
        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
10014
      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 
 
10015
      hardcode_libdir_flag_spec='-L$libdir'
 
 
10016
      hardcode_shlibpath_var=no
 
 
10024
    if test x$host_vendor = xsni; then
 
 
10026
      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 
 
10027
        export_dynamic_flag_spec='${wl}-Blargedynsym'
 
 
10033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
 
 
10034
$as_echo "$ld_shlibs" >&6; }
 
 
10035
test "$ld_shlibs" = no && can_build_shared=no
 
 
10037
with_gnu_ld=$with_gnu_ld
 
 
10054
# Do we need to explicitly link libc?
 
 
10056
case "x$archive_cmds_need_lc" in
 
 
10058
  # Assume -lc should be added
 
 
10059
  archive_cmds_need_lc=yes
 
 
10061
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
 
10062
    case $archive_cmds in
 
 
10064
      # FIXME: we may have to deal with multi-command sequences.
 
 
10067
      # Test whether the compiler implicitly links with -lc since on some
 
 
10068
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
 
10069
      # to ld, don't add -lc before -lgcc.
 
 
10070
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
 
10071
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
 
10072
if ${lt_cv_archive_cmds_need_lc+:} false; then :
 
 
10073
  $as_echo_n "(cached) " >&6
 
 
10076
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
10078
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
10079
  (eval $ac_compile) 2>&5
 
 
10081
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
10082
  test $ac_status = 0; } 2>conftest.err; then
 
 
10085
          libobjs=conftest.$ac_objext
 
 
10087
          wl=$lt_prog_compiler_wl
 
 
10088
          pic_flag=$lt_prog_compiler_pic
 
 
10094
          lt_save_allow_undefined_flag=$allow_undefined_flag
 
 
10095
          allow_undefined_flag=
 
 
10096
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
 
10097
  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
 
10099
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
10100
  test $ac_status = 0; }
 
 
10102
            lt_cv_archive_cmds_need_lc=no
 
 
10104
            lt_cv_archive_cmds_need_lc=yes
 
 
10106
          allow_undefined_flag=$lt_save_allow_undefined_flag
 
 
10108
          cat conftest.err 1>&5
 
 
10113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
 
 
10114
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
 
 
10115
      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
 
 
10273
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
 
10274
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
 
10276
if test "$GCC" = yes; then
 
 
10278
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
 
10279
    *) lt_awk_arg="/^libraries:/" ;;
 
 
10282
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 
 
10283
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
 
10285
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
 
10286
  case $lt_search_path_spec in
 
 
10288
    # if the path contains ";" then we assume it to be the separator
 
 
10289
    # otherwise default to the standard path separator (i.e. ":") - it is
 
 
10290
    # assumed that no part of a normal pathname contains ";" but that should
 
 
10291
    # okay in the real world where ";" in dirpaths is itself problematic.
 
 
10292
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
 
10295
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
 
10298
  # Ok, now we have the path, separated by spaces, we can step through it
 
 
10299
  # and add multilib dir if necessary.
 
 
10300
  lt_tmp_lt_search_path_spec=
 
 
10301
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
 
10302
  for lt_sys_path in $lt_search_path_spec; do
 
 
10303
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
 
10304
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
 
10306
      test -d "$lt_sys_path" && \
 
 
10307
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
 
10310
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 
 
10311
BEGIN {RS=" "; FS="/|\n";} {
 
 
10314
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
 
10315
    if ($lt_i != "" && $lt_i != ".") {
 
 
10316
      if ($lt_i == "..") {
 
 
10319
        if (lt_count == 0) {
 
 
10320
          lt_foo="/" $lt_i lt_foo;
 
 
10327
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
 
10328
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
 
10330
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
 
10333
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
 
10334
      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 
 
10336
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 
 
10338
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 
 
10340
library_names_spec=
 
 
10341
libname_spec='lib$name'
 
 
10345
postuninstall_cmds=
 
 
10349
shlibpath_overrides_runpath=unknown
 
 
10351
dynamic_linker="$host_os ld.so"
 
 
10352
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
 
10353
need_lib_prefix=unknown
 
 
10354
hardcode_into_libs=no
 
 
10356
# when you set need_version to no, make sure it does not cause -set_version
 
 
10357
# flags to be left without arguments
 
 
10358
need_version=unknown
 
 
10362
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
10363
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
 
10364
  shlibpath_var=LIBPATH
 
 
10366
  # AIX 3 has no versioning support, so we append a major version to the name.
 
 
10367
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10371
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
10374
  hardcode_into_libs=yes
 
 
10375
  if test "$host_cpu" = ia64; then
 
 
10376
    # AIX 5 supports IA64
 
 
10377
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
 
10378
    shlibpath_var=LD_LIBRARY_PATH
 
 
10380
    # With GCC up to 2.95.x, collect2 would create an import file
 
 
10381
    # for dependence libraries.  The import file would start with
 
 
10382
    # the line `#! .'.  This would cause the generated library to
 
 
10383
    # depend on `.', always an invalid library.  This was fixed in
 
 
10384
    # development snapshots of GCC prior to 3.0.
 
 
10386
      aix4 | aix4.[01] | aix4.[01].*)
 
 
10387
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
 
10389
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
 
10392
        can_build_shared=no
 
 
10396
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
 
10397
    # soname into executable. Probably we can add versioning support to
 
 
10398
    # collect2, so additional links can be useful in future.
 
 
10399
    if test "$aix_use_runtimelinking" = yes; then
 
 
10400
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
 
10401
      # instead of lib<name>.a to let people know that these are not
 
 
10402
      # typical AIX shared libraries.
 
 
10403
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10405
      # We preserve .a as extension for shared libraries through AIX4.2
 
 
10406
      # and later when we are not doing run time linking.
 
 
10407
      library_names_spec='${libname}${release}.a $libname.a'
 
 
10408
      soname_spec='${libname}${release}${shared_ext}$major'
 
 
10410
    shlibpath_var=LIBPATH
 
 
10417
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
 
10418
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
 
10419
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10422
    library_names_spec='$libname.ixlibrary $libname.a'
 
 
10423
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
 
10424
    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'
 
 
10430
  library_names_spec='${libname}${shared_ext}'
 
 
10431
  dynamic_linker="$host_os ld.so"
 
 
10432
  shlibpath_var=LIBRARY_PATH
 
 
10436
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
10438
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10439
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10440
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
 
10441
  shlibpath_var=LD_LIBRARY_PATH
 
 
10442
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
 
10443
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
 
10444
  # the default ld.so.conf also contains /usr/contrib/lib and
 
 
10445
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
 
10446
  # libtool to hard-code these into programs
 
 
10449
cygwin* | mingw* | pw32* | cegcc*)
 
 
10450
  version_type=windows
 
 
10455
  case $GCC,$cc_basename in
 
 
10458
    library_names_spec='$libname.dll.a'
 
 
10459
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
 
10460
    postinstall_cmds='base_file=`basename \${file}`~
 
 
10461
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
 
10462
      dldir=$destdir/`dirname \$dlpath`~
 
 
10463
      test -d \$dldir || mkdir -p \$dldir~
 
 
10464
      $install_prog $dir/$dlname \$dldir/$dlname~
 
 
10465
      chmod a+x \$dldir/$dlname~
 
 
10466
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
 
10467
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
 
10469
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
 
10470
      dlpath=$dir/\$dldll~
 
 
10472
    shlibpath_overrides_runpath=yes
 
 
10476
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
 
10477
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
10479
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 
 
10482
      # MinGW DLLs use traditional 'lib' prefix
 
 
10483
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
10486
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
 
10487
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
10490
    dynamic_linker='Win32 ld.exe'
 
 
10495
    libname_spec='$name'
 
 
10496
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
10497
    library_names_spec='${libname}.dll.lib'
 
 
10501
      sys_lib_search_path_spec=
 
 
10504
      for lt_path in $LIB
 
 
10507
        # Let DOS variable expansion print the short 8.3 style file name.
 
 
10508
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
 
10509
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
 
10512
      # Convert to MSYS style.
 
 
10513
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
 
10516
      # Convert to unix form, then to dos form, then back to unix form
 
 
10517
      # but this time dos style (no spaces!) so that the unix form looks
 
 
10518
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
 
10519
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
 
10520
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
 
10521
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
 
10524
      sys_lib_search_path_spec="$LIB"
 
 
10525
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
 
10526
        # It is most probably a Windows format PATH.
 
 
10527
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
 
10529
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
 
10531
      # FIXME: find the short name or the path components, as spaces are
 
 
10532
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
 
10536
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
 
10537
    postinstall_cmds='base_file=`basename \${file}`~
 
 
10538
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
 
10539
      dldir=$destdir/`dirname \$dlpath`~
 
 
10540
      test -d \$dldir || mkdir -p \$dldir~
 
 
10541
      $install_prog $dir/$dlname \$dldir/$dlname'
 
 
10542
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
 
10543
      dlpath=$dir/\$dldll~
 
 
10545
    shlibpath_overrides_runpath=yes
 
 
10546
    dynamic_linker='Win32 link.exe'
 
 
10550
    # Assume MSVC wrapper
 
 
10551
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
 
10552
    dynamic_linker='Win32 ld.exe'
 
 
10555
  # FIXME: first we should search . and the directory the executable is in
 
 
10559
darwin* | rhapsody*)
 
 
10560
  dynamic_linker="$host_os dyld"
 
 
10561
  version_type=darwin
 
 
10564
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
 
10565
  soname_spec='${libname}${release}${major}$shared_ext'
 
 
10566
  shlibpath_overrides_runpath=yes
 
 
10567
  shlibpath_var=DYLD_LIBRARY_PATH
 
 
10568
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
 
10570
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 
 
10571
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
 
10575
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
10578
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
 
10579
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10580
  shlibpath_var=LD_LIBRARY_PATH
 
 
10583
freebsd* | dragonfly*)
 
 
10584
  # DragonFly does not have aout.  When/if they implement a new
 
 
10585
  # versioning mechanism, adjust this.
 
 
10586
  if test -x /usr/bin/objformat; then
 
 
10587
    objformat=`/usr/bin/objformat`
 
 
10590
    freebsd[23].*) objformat=aout ;;
 
 
10591
    *) objformat=elf ;;
 
 
10594
  version_type=freebsd-$objformat
 
 
10595
  case $version_type in
 
 
10597
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
 
10602
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
 
10606
  shlibpath_var=LD_LIBRARY_PATH
 
 
10609
    shlibpath_overrides_runpath=yes
 
 
10611
  freebsd3.[01]* | freebsdelf3.[01]*)
 
 
10612
    shlibpath_overrides_runpath=yes
 
 
10613
    hardcode_into_libs=yes
 
 
10615
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
 
10616
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
 
10617
    shlibpath_overrides_runpath=no
 
 
10618
    hardcode_into_libs=yes
 
 
10620
  *) # from 4.6 on, and DragonFly
 
 
10621
    shlibpath_overrides_runpath=yes
 
 
10622
    hardcode_into_libs=yes
 
 
10628
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
10631
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
 
10632
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10633
  shlibpath_var=LD_LIBRARY_PATH
 
 
10634
  shlibpath_overrides_runpath=no
 
 
10635
  hardcode_into_libs=yes
 
 
10639
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
10642
  dynamic_linker="$host_os runtime_loader"
 
 
10643
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
 
10644
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10645
  shlibpath_var=LIBRARY_PATH
 
 
10646
  shlibpath_overrides_runpath=yes
 
 
10647
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
 
10648
  hardcode_into_libs=yes
 
 
10651
hpux9* | hpux10* | hpux11*)
 
 
10652
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
 
10653
  # link against other versions.
 
 
10660
    hardcode_into_libs=yes
 
 
10661
    dynamic_linker="$host_os dld.so"
 
 
10662
    shlibpath_var=LD_LIBRARY_PATH
 
 
10663
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
 
10664
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10665
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
10666
    if test "X$HPUX_IA64_MODE" = X32; then
 
 
10667
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
 
10669
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
 
10671
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
 
10675
    hardcode_into_libs=yes
 
 
10676
    dynamic_linker="$host_os dld.sl"
 
 
10677
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
 
10678
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
 
10679
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10680
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
10681
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
 
10682
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
 
10686
    dynamic_linker="$host_os dld.sl"
 
 
10687
    shlibpath_var=SHLIB_PATH
 
 
10688
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
 
10689
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10690
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
10693
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
 
10694
  postinstall_cmds='chmod 555 $lib'
 
 
10695
  # or fails outright, so override atomically:
 
 
10696
  install_override_mode=555
 
 
10700
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
10703
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
 
10704
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10705
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
 
10706
  shlibpath_var=LD_LIBRARY_PATH
 
 
10707
  shlibpath_overrides_runpath=no
 
 
10708
  hardcode_into_libs=yes
 
 
10711
irix5* | irix6* | nonstopux*)
 
 
10713
    nonstopux*) version_type=nonstopux ;;
 
 
10715
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
 
10716
                version_type=linux # correct to gnu/linux during the next big refactor
 
 
10723
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10724
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
 
10726
  irix5* | nonstopux*)
 
 
10727
    libsuff= shlibsuff=
 
 
10730
    case $LD in # libtool.m4 will add one of these switches to LD
 
 
10731
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
 
10732
      libsuff= shlibsuff= libmagic=32-bit;;
 
 
10733
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
 
10734
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
 
10735
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
 
10736
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
 
10737
    *) libsuff= shlibsuff= libmagic=never-match;;
 
 
10741
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
 
10742
  shlibpath_overrides_runpath=no
 
 
10743
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
 
10744
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
 
10745
  hardcode_into_libs=yes
 
 
10748
# No shared lib support for Linux oldld, aout, or coff.
 
 
10749
linux*oldld* | linux*aout* | linux*coff*)
 
 
10753
# This must be glibc/ELF.
 
 
10754
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
 
10755
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
10758
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10759
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10760
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
 
10761
  shlibpath_var=LD_LIBRARY_PATH
 
 
10762
  shlibpath_overrides_runpath=no
 
 
10764
  # Some binutils ld are patched to set DT_RUNPATH
 
 
10765
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
 
10766
  $as_echo_n "(cached) " >&6
 
 
10768
  lt_cv_shlibpath_overrides_runpath=no
 
 
10769
    save_LDFLAGS=$LDFLAGS
 
 
10770
    save_libdir=$libdir
 
 
10771
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 
 
10772
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 
 
10773
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
10774
/* end confdefs.h.  */
 
 
10784
if ac_fn_c_try_link "$LINENO"; then :
 
 
10785
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
 
10786
  lt_cv_shlibpath_overrides_runpath=yes
 
 
10789
rm -f core conftest.err conftest.$ac_objext \
 
 
10790
    conftest$ac_exeext conftest.$ac_ext
 
 
10791
    LDFLAGS=$save_LDFLAGS
 
 
10792
    libdir=$save_libdir
 
 
10796
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
 
10798
  # This implies no fast_install, which is unacceptable.
 
 
10799
  # Some rework will be needed to allow for fast_install
 
 
10800
  # before this can be enabled.
 
 
10801
  hardcode_into_libs=yes
 
 
10803
  # Append ld.so.conf contents to the search path
 
 
10804
  if test -f /etc/ld.so.conf; then
 
 
10805
    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' ' '`
 
 
10806
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
 
10809
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
 
10810
  # powerpc, because MkLinux only supported shared libraries with the
 
 
10811
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
 
10812
  # most powerpc-linux boxes support dynamic linking these days and
 
 
10813
  # people can always --disable-shared, the test was removed, and we
 
 
10814
  # assume the GNU/Linux dynamic linker is in use.
 
 
10815
  dynamic_linker='GNU/Linux ld.so'
 
 
10822
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
 
10823
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10824
  shlibpath_var=LD_LIBRARY_PATH
 
 
10825
  shlibpath_overrides_runpath=no
 
 
10826
  hardcode_into_libs=yes
 
 
10827
  dynamic_linker='NetBSD ld.elf_so'
 
 
10834
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
 
10835
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
 
10836
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
 
10837
    dynamic_linker='NetBSD (a.out) ld.so'
 
 
10839
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
 
10840
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
10841
    dynamic_linker='NetBSD ld.elf_so'
 
 
10843
  shlibpath_var=LD_LIBRARY_PATH
 
 
10844
  shlibpath_overrides_runpath=yes
 
 
10845
  hardcode_into_libs=yes
 
 
10849
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
10850
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10851
  shlibpath_var=LD_LIBRARY_PATH
 
 
10852
  shlibpath_overrides_runpath=yes
 
 
10859
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10860
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10861
  shlibpath_var=LD_LIBRARY_PATH
 
 
10862
  shlibpath_overrides_runpath=no
 
 
10863
  hardcode_into_libs=yes
 
 
10864
  dynamic_linker='ldqnx.so'
 
 
10869
  sys_lib_dlsearch_path_spec="/usr/lib"
 
 
10871
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
 
10873
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
 
10874
    *)                          need_version=no  ;;
 
 
10876
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
 
10877
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
 
10878
  shlibpath_var=LD_LIBRARY_PATH
 
 
10879
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
 
10881
      openbsd2.[89] | openbsd2.[89].*)
 
 
10882
        shlibpath_overrides_runpath=no
 
 
10885
        shlibpath_overrides_runpath=yes
 
 
10889
    shlibpath_overrides_runpath=yes
 
 
10894
  libname_spec='$name'
 
 
10897
  library_names_spec='$libname${shared_ext} $libname.a'
 
 
10898
  dynamic_linker='OS/2 ld.exe'
 
 
10899
  shlibpath_var=LIBPATH
 
 
10902
osf3* | osf4* | osf5*)
 
 
10906
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10907
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10908
  shlibpath_var=LD_LIBRARY_PATH
 
 
10909
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
 
10910
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
 
10918
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
10921
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10922
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10923
  shlibpath_var=LD_LIBRARY_PATH
 
 
10924
  shlibpath_overrides_runpath=yes
 
 
10925
  hardcode_into_libs=yes
 
 
10926
  # ldd complains unless libraries are executable
 
 
10927
  postinstall_cmds='chmod +x $lib'
 
 
10932
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
 
10933
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
 
10934
  shlibpath_var=LD_LIBRARY_PATH
 
 
10935
  shlibpath_overrides_runpath=yes
 
 
10936
  if test "$with_gnu_ld" = yes; then
 
 
10943
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
10944
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
10945
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10946
  shlibpath_var=LD_LIBRARY_PATH
 
 
10947
  case $host_vendor in
 
 
10949
      shlibpath_overrides_runpath=no
 
 
10951
      runpath_var=LD_RUN_PATH
 
 
10959
      shlibpath_overrides_runpath=no
 
 
10960
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
 
10966
  if test -d /usr/nec ;then
 
 
10967
    version_type=linux # correct to gnu/linux during the next big refactor
 
 
10968
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
 
10969
    soname_spec='$libname${shared_ext}.$major'
 
 
10970
    shlibpath_var=LD_LIBRARY_PATH
 
 
10974
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
 
10975
  version_type=freebsd-elf
 
 
10978
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
 
10979
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
10980
  shlibpath_var=LD_LIBRARY_PATH
 
 
10981
  shlibpath_overrides_runpath=yes
 
 
10982
  hardcode_into_libs=yes
 
 
10983
  if test "$with_gnu_ld" = yes; then
 
 
10984
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
 
10986
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
 
10989
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
 
10993
  sys_lib_dlsearch_path_spec='/usr/lib'
 
 
10997
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
 
10998
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
11001
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
11002
  shlibpath_var=LD_LIBRARY_PATH
 
 
11003
  shlibpath_overrides_runpath=no
 
 
11004
  hardcode_into_libs=yes
 
 
11008
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
11009
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
11010
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
11011
  shlibpath_var=LD_LIBRARY_PATH
 
 
11018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
 
11019
$as_echo "$dynamic_linker" >&6; }
 
 
11020
test "$dynamic_linker" = no && can_build_shared=no
 
 
11022
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
 
11023
if test "$GCC" = yes; then
 
 
11024
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
 
11027
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
 
11028
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
 
11030
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
 
11031
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
 
11125
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
 
11126
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
 
11128
if test -n "$hardcode_libdir_flag_spec" ||
 
 
11129
   test -n "$runpath_var" ||
 
 
11130
   test "X$hardcode_automatic" = "Xyes" ; then
 
 
11132
  # We can hardcode non-existent directories.
 
 
11133
  if test "$hardcode_direct" != no &&
 
 
11134
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
 
11135
     # have to relink, otherwise we might link with an installed library
 
 
11136
     # when we should be linking with a yet-to-be-installed one
 
 
11137
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 
 
11138
     test "$hardcode_minus_L" != no; then
 
 
11139
    # Linking always hardcodes the temporary library directory.
 
 
11140
    hardcode_action=relink
 
 
11142
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
 
11143
    hardcode_action=immediate
 
 
11146
  # We cannot hardcode anything, or else we can only hardcode existing
 
 
11148
  hardcode_action=unsupported
 
 
11150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 
 
11151
$as_echo "$hardcode_action" >&6; }
 
 
11153
if test "$hardcode_action" = relink ||
 
 
11154
   test "$inherit_rpath" = yes; then
 
 
11155
  # Fast installation is not supported
 
 
11156
  enable_fast_install=no
 
 
11157
elif test "$shlibpath_overrides_runpath" = yes ||
 
 
11158
     test "$enable_shared" = no; then
 
 
11159
  # Fast installation is not necessary
 
 
11160
  enable_fast_install=needless
 
 
11168
  if test "x$enable_dlopen" != xyes; then
 
 
11169
  enable_dlopen=unknown
 
 
11170
  enable_dlopen_self=unknown
 
 
11171
  enable_dlopen_self_static=unknown
 
 
11178
    lt_cv_dlopen="load_add_on"
 
 
11180
    lt_cv_dlopen_self=yes
 
 
11183
  mingw* | pw32* | cegcc*)
 
 
11184
    lt_cv_dlopen="LoadLibrary"
 
 
11189
    lt_cv_dlopen="dlopen"
 
 
11194
  # if libdl is installed we need to link against it
 
 
11195
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
 
11196
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
 
11197
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
 
11198
  $as_echo_n "(cached) " >&6
 
 
11200
  ac_check_lib_save_LIBS=$LIBS
 
 
11202
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
11203
/* end confdefs.h.  */
 
 
11205
/* Override any GCC internal prototype to avoid an error.
 
 
11206
   Use char because int might match the return type of a GCC
 
 
11207
   builtin and then its argument prototype would still apply.  */
 
 
11220
if ac_fn_c_try_link "$LINENO"; then :
 
 
11221
  ac_cv_lib_dl_dlopen=yes
 
 
11223
  ac_cv_lib_dl_dlopen=no
 
 
11225
rm -f core conftest.err conftest.$ac_objext \
 
 
11226
    conftest$ac_exeext conftest.$ac_ext
 
 
11227
LIBS=$ac_check_lib_save_LIBS
 
 
11229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
 
11230
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
 
11231
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
 
11232
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
 
11235
    lt_cv_dlopen="dyld"
 
 
11237
    lt_cv_dlopen_self=yes
 
 
11244
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 
 
11245
if test "x$ac_cv_func_shl_load" = xyes; then :
 
 
11246
  lt_cv_dlopen="shl_load"
 
 
11248
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 
 
11249
$as_echo_n "checking for shl_load in -ldld... " >&6; }
 
 
11250
if ${ac_cv_lib_dld_shl_load+:} false; then :
 
 
11251
  $as_echo_n "(cached) " >&6
 
 
11253
  ac_check_lib_save_LIBS=$LIBS
 
 
11255
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
11256
/* end confdefs.h.  */
 
 
11258
/* Override any GCC internal prototype to avoid an error.
 
 
11259
   Use char because int might match the return type of a GCC
 
 
11260
   builtin and then its argument prototype would still apply.  */
 
 
11268
return shl_load ();
 
 
11273
if ac_fn_c_try_link "$LINENO"; then :
 
 
11274
  ac_cv_lib_dld_shl_load=yes
 
 
11276
  ac_cv_lib_dld_shl_load=no
 
 
11278
rm -f core conftest.err conftest.$ac_objext \
 
 
11279
    conftest$ac_exeext conftest.$ac_ext
 
 
11280
LIBS=$ac_check_lib_save_LIBS
 
 
11282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 
 
11283
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 
 
11284
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
 
 
11285
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 
 
11287
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 
 
11288
if test "x$ac_cv_func_dlopen" = xyes; then :
 
 
11289
  lt_cv_dlopen="dlopen"
 
 
11291
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 
 
11292
$as_echo_n "checking for dlopen in -ldl... " >&6; }
 
 
11293
if ${ac_cv_lib_dl_dlopen+:} false; then :
 
 
11294
  $as_echo_n "(cached) " >&6
 
 
11296
  ac_check_lib_save_LIBS=$LIBS
 
 
11298
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
11299
/* end confdefs.h.  */
 
 
11301
/* Override any GCC internal prototype to avoid an error.
 
 
11302
   Use char because int might match the return type of a GCC
 
 
11303
   builtin and then its argument prototype would still apply.  */
 
 
11316
if ac_fn_c_try_link "$LINENO"; then :
 
 
11317
  ac_cv_lib_dl_dlopen=yes
 
 
11319
  ac_cv_lib_dl_dlopen=no
 
 
11321
rm -f core conftest.err conftest.$ac_objext \
 
 
11322
    conftest$ac_exeext conftest.$ac_ext
 
 
11323
LIBS=$ac_check_lib_save_LIBS
 
 
11325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 
 
11326
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 
 
11327
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
 
 
11328
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 
 
11330
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 
 
11331
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
 
 
11332
if ${ac_cv_lib_svld_dlopen+:} false; then :
 
 
11333
  $as_echo_n "(cached) " >&6
 
 
11335
  ac_check_lib_save_LIBS=$LIBS
 
 
11336
LIBS="-lsvld  $LIBS"
 
 
11337
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
11338
/* end confdefs.h.  */
 
 
11340
/* Override any GCC internal prototype to avoid an error.
 
 
11341
   Use char because int might match the return type of a GCC
 
 
11342
   builtin and then its argument prototype would still apply.  */
 
 
11355
if ac_fn_c_try_link "$LINENO"; then :
 
 
11356
  ac_cv_lib_svld_dlopen=yes
 
 
11358
  ac_cv_lib_svld_dlopen=no
 
 
11360
rm -f core conftest.err conftest.$ac_objext \
 
 
11361
    conftest$ac_exeext conftest.$ac_ext
 
 
11362
LIBS=$ac_check_lib_save_LIBS
 
 
11364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 
 
11365
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 
 
11366
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
 
 
11367
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 
 
11369
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 
 
11370
$as_echo_n "checking for dld_link in -ldld... " >&6; }
 
 
11371
if ${ac_cv_lib_dld_dld_link+:} false; then :
 
 
11372
  $as_echo_n "(cached) " >&6
 
 
11374
  ac_check_lib_save_LIBS=$LIBS
 
 
11376
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
11377
/* end confdefs.h.  */
 
 
11379
/* Override any GCC internal prototype to avoid an error.
 
 
11380
   Use char because int might match the return type of a GCC
 
 
11381
   builtin and then its argument prototype would still apply.  */
 
 
11389
return dld_link ();
 
 
11394
if ac_fn_c_try_link "$LINENO"; then :
 
 
11395
  ac_cv_lib_dld_dld_link=yes
 
 
11397
  ac_cv_lib_dld_dld_link=no
 
 
11399
rm -f core conftest.err conftest.$ac_objext \
 
 
11400
    conftest$ac_exeext conftest.$ac_ext
 
 
11401
LIBS=$ac_check_lib_save_LIBS
 
 
11403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 
 
11404
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 
 
11405
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
 
 
11406
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 
 
11427
  if test "x$lt_cv_dlopen" != xno; then
 
 
11433
  case $lt_cv_dlopen in
 
 
11435
    save_CPPFLAGS="$CPPFLAGS"
 
 
11436
    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 
 
11438
    save_LDFLAGS="$LDFLAGS"
 
 
11439
    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 
 
11442
    LIBS="$lt_cv_dlopen_libs $LIBS"
 
 
11444
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 
 
11445
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
 
 
11446
if ${lt_cv_dlopen_self+:} false; then :
 
 
11447
  $as_echo_n "(cached) " >&6
 
 
11449
          if test "$cross_compiling" = yes; then :
 
 
11450
  lt_cv_dlopen_self=cross
 
 
11452
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
 
11453
  lt_status=$lt_dlunknown
 
 
11454
  cat > conftest.$ac_ext <<_LT_EOF
 
 
11455
#line $LINENO "configure"
 
 
11456
#include "confdefs.h"
 
 
11465
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
 
11468
#    define LT_DLGLOBAL         DL_GLOBAL
 
 
11470
#    define LT_DLGLOBAL         0
 
 
11474
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
 
11475
   find out it does not work in some platform. */
 
 
11476
#ifndef LT_DLLAZY_OR_NOW
 
 
11478
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
 
11481
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
 
11484
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
 
11487
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
 
11489
#          define LT_DLLAZY_OR_NOW      0
 
 
11496
/* When -fvisbility=hidden is used, assume the code has been annotated
 
 
11497
   correspondingly for the symbols needed.  */
 
 
11498
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
 
11499
int fnord () __attribute__((visibility("default")));
 
 
11502
int fnord () { return 42; }
 
 
11505
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
 
11506
  int status = $lt_dlunknown;
 
 
11510
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
 
11513
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
 
11514
          else puts (dlerror ());
 
 
11516
      /* dlclose (self); */
 
 
11524
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
 
11525
  (eval $ac_link) 2>&5
 
 
11527
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
11528
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
 
11529
    (./conftest; exit; ) >&5 2>/dev/null
 
 
11531
    case x$lt_status in
 
 
11532
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 
 
11533
      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 
 
11534
      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 
 
11537
    # compilation failed
 
 
11538
    lt_cv_dlopen_self=no
 
 
11545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 
 
11546
$as_echo "$lt_cv_dlopen_self" >&6; }
 
 
11548
    if test "x$lt_cv_dlopen_self" = xyes; then
 
 
11549
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 
 
11550
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 
 
11551
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 
 
11552
if ${lt_cv_dlopen_self_static+:} false; then :
 
 
11553
  $as_echo_n "(cached) " >&6
 
 
11555
          if test "$cross_compiling" = yes; then :
 
 
11556
  lt_cv_dlopen_self_static=cross
 
 
11558
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 
 
11559
  lt_status=$lt_dlunknown
 
 
11560
  cat > conftest.$ac_ext <<_LT_EOF
 
 
11561
#line $LINENO "configure"
 
 
11562
#include "confdefs.h"
 
 
11571
#  define LT_DLGLOBAL           RTLD_GLOBAL
 
 
11574
#    define LT_DLGLOBAL         DL_GLOBAL
 
 
11576
#    define LT_DLGLOBAL         0
 
 
11580
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 
 
11581
   find out it does not work in some platform. */
 
 
11582
#ifndef LT_DLLAZY_OR_NOW
 
 
11584
#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
 
 
11587
#      define LT_DLLAZY_OR_NOW          DL_LAZY
 
 
11590
#        define LT_DLLAZY_OR_NOW        RTLD_NOW
 
 
11593
#          define LT_DLLAZY_OR_NOW      DL_NOW
 
 
11595
#          define LT_DLLAZY_OR_NOW      0
 
 
11602
/* When -fvisbility=hidden is used, assume the code has been annotated
 
 
11603
   correspondingly for the symbols needed.  */
 
 
11604
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
 
11605
int fnord () __attribute__((visibility("default")));
 
 
11608
int fnord () { return 42; }
 
 
11611
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 
 
11612
  int status = $lt_dlunknown;
 
 
11616
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 
 
11619
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
 
11620
          else puts (dlerror ());
 
 
11622
      /* dlclose (self); */
 
 
11630
  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 
 
11631
  (eval $ac_link) 2>&5
 
 
11633
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
11634
  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 
 
11635
    (./conftest; exit; ) >&5 2>/dev/null
 
 
11637
    case x$lt_status in
 
 
11638
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 
 
11639
      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 
 
11640
      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 
 
11643
    # compilation failed
 
 
11644
    lt_cv_dlopen_self_static=no
 
 
11651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 
 
11652
$as_echo "$lt_cv_dlopen_self_static" >&6; }
 
 
11655
    CPPFLAGS="$save_CPPFLAGS"
 
 
11656
    LDFLAGS="$save_LDFLAGS"
 
 
11661
  case $lt_cv_dlopen_self in
 
 
11662
  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 
 
11663
  *) enable_dlopen_self=unknown ;;
 
 
11666
  case $lt_cv_dlopen_self_static in
 
 
11667
  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 
 
11668
  *) enable_dlopen_self_static=unknown ;;
 
 
11690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 
 
11691
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
 
 
11692
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 
 
11693
  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 
 
11694
  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 
 
11695
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
 
11696
$as_echo "yes" >&6; }
 
 
11698
# FIXME - insert some real tests, host_os isn't really good enough
 
 
11701
    if test -n "$STRIP" ; then
 
 
11702
      striplib="$STRIP -x"
 
 
11703
      old_striplib="$STRIP -S"
 
 
11704
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
 
11705
$as_echo "yes" >&6; }
 
 
11707
      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
11708
$as_echo "no" >&6; }
 
 
11712
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
11713
$as_echo "no" >&6; }
 
 
11729
  # Report which library types will actually be built
 
 
11730
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 
 
11731
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
 
 
11732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 
 
11733
$as_echo "$can_build_shared" >&6; }
 
 
11735
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 
 
11736
$as_echo_n "checking whether to build shared libraries... " >&6; }
 
 
11737
  test "$can_build_shared" = "no" && enable_shared=no
 
 
11739
  # On AIX, shared libraries and static libraries use the same namespace, and
 
 
11740
  # are all built from PIC.
 
 
11743
    test "$enable_shared" = yes && enable_static=no
 
 
11744
    if test -n "$RANLIB"; then
 
 
11745
      archive_cmds="$archive_cmds~\$RANLIB \$lib"
 
 
11746
      postinstall_cmds='$RANLIB $lib'
 
 
11751
    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
 
11752
      test "$enable_shared" = yes && enable_static=no
 
 
11756
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 
 
11757
$as_echo "$enable_shared" >&6; }
 
 
11759
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 
 
11760
$as_echo_n "checking whether to build static libraries... " >&6; }
 
 
11761
  # Make sure either enable_shared or enable_static is yes.
 
 
11762
  test "$enable_shared" = yes || enable_static=yes
 
 
11763
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 
 
11764
$as_echo "$enable_static" >&6; }
 
 
11771
ac_cpp='$CPP $CPPFLAGS'
 
 
11772
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
11773
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
11774
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
11778
      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
 
11779
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
 
11780
    (test "X$CXX" != "Xg++"))) ; then
 
 
11782
ac_cpp='$CXXCPP $CPPFLAGS'
 
 
11783
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
11784
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
11785
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
11786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 
 
11787
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 
 
11788
if test -z "$CXXCPP"; then
 
 
11789
  if ${ac_cv_prog_CXXCPP+:} false; then :
 
 
11790
  $as_echo_n "(cached) " >&6
 
 
11792
      # Double quotes because CXXCPP needs to be expanded
 
 
11793
    for CXXCPP in "$CXX -E" "/lib/cpp"
 
 
11795
      ac_preproc_ok=false
 
 
11796
for ac_cxx_preproc_warn_flag in '' yes
 
 
11798
  # Use a header file that comes with gcc, so configuring glibc
 
 
11799
  # with a fresh cross-compiler works.
 
 
11800
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
 
11801
  # <limits.h> exists even on freestanding compilers.
 
 
11802
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
 
11803
  # not just through cpp. "Syntax error" is here to catch this case.
 
 
11804
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
11805
/* end confdefs.h.  */
 
 
11807
# include <limits.h>
 
 
11809
# include <assert.h>
 
 
11813
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
 
11816
  # Broken: fails on valid input.
 
 
11819
rm -f conftest.err conftest.i conftest.$ac_ext
 
 
11821
  # OK, works on sane cases.  Now check whether nonexistent headers
 
 
11822
  # can be detected and how.
 
 
11823
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
11824
/* end confdefs.h.  */
 
 
11825
#include <ac_nonexistent.h>
 
 
11827
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
 
11828
  # Broken: success on invalid input.
 
 
11831
  # Passes both tests.
 
 
11835
rm -f conftest.err conftest.i conftest.$ac_ext
 
 
11838
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
 
11839
rm -f conftest.i conftest.err conftest.$ac_ext
 
 
11840
if $ac_preproc_ok; then :
 
 
11845
    ac_cv_prog_CXXCPP=$CXXCPP
 
 
11848
  CXXCPP=$ac_cv_prog_CXXCPP
 
 
11850
  ac_cv_prog_CXXCPP=$CXXCPP
 
 
11852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
 
 
11853
$as_echo "$CXXCPP" >&6; }
 
 
11854
ac_preproc_ok=false
 
 
11855
for ac_cxx_preproc_warn_flag in '' yes
 
 
11857
  # Use a header file that comes with gcc, so configuring glibc
 
 
11858
  # with a fresh cross-compiler works.
 
 
11859
  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
 
11860
  # <limits.h> exists even on freestanding compilers.
 
 
11861
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
 
11862
  # not just through cpp. "Syntax error" is here to catch this case.
 
 
11863
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
11864
/* end confdefs.h.  */
 
 
11866
# include <limits.h>
 
 
11868
# include <assert.h>
 
 
11872
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
 
11875
  # Broken: fails on valid input.
 
 
11878
rm -f conftest.err conftest.i conftest.$ac_ext
 
 
11880
  # OK, works on sane cases.  Now check whether nonexistent headers
 
 
11881
  # can be detected and how.
 
 
11882
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
11883
/* end confdefs.h.  */
 
 
11884
#include <ac_nonexistent.h>
 
 
11886
if ac_fn_cxx_try_cpp "$LINENO"; then :
 
 
11887
  # Broken: success on invalid input.
 
 
11890
  # Passes both tests.
 
 
11894
rm -f conftest.err conftest.i conftest.$ac_ext
 
 
11897
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
 
 
11898
rm -f conftest.i conftest.err conftest.$ac_ext
 
 
11899
if $ac_preproc_ok; then :
 
 
11902
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
 
11903
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
 
11904
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
 
 
11905
See \`config.log' for more details" "$LINENO" 5; }
 
 
11909
ac_cpp='$CPP $CPPFLAGS'
 
 
11910
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
11911
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
11912
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
11915
  _lt_caught_CXX_error=yes
 
 
11919
ac_cpp='$CXXCPP $CPPFLAGS'
 
 
11920
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
11921
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
11922
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
11924
archive_cmds_need_lc_CXX=no
 
 
11925
allow_undefined_flag_CXX=
 
 
11926
always_export_symbols_CXX=no
 
 
11927
archive_expsym_cmds_CXX=
 
 
11928
compiler_needs_object_CXX=no
 
 
11929
export_dynamic_flag_spec_CXX=
 
 
11930
hardcode_direct_CXX=no
 
 
11931
hardcode_direct_absolute_CXX=no
 
 
11932
hardcode_libdir_flag_spec_CXX=
 
 
11933
hardcode_libdir_separator_CXX=
 
 
11934
hardcode_minus_L_CXX=no
 
 
11935
hardcode_shlibpath_var_CXX=unsupported
 
 
11936
hardcode_automatic_CXX=no
 
 
11937
inherit_rpath_CXX=no
 
 
11939
module_expsym_cmds_CXX=
 
 
11940
link_all_deplibs_CXX=unknown
 
 
11941
old_archive_cmds_CXX=$old_archive_cmds
 
 
11942
reload_flag_CXX=$reload_flag
 
 
11943
reload_cmds_CXX=$reload_cmds
 
 
11944
no_undefined_flag_CXX=
 
 
11945
whole_archive_flag_spec_CXX=
 
 
11946
enable_shared_with_static_runtimes_CXX=no
 
 
11948
# Source file extension for C++ test sources.
 
 
11951
# Object file extension for compiled C++ test sources.
 
 
11955
# No sense in running all these tests if we already determined that
 
 
11956
# the CXX compiler isn't working.  Some variables (like enable_shared)
 
 
11957
# are currently assumed to apply to all compilers on this platform,
 
 
11958
# and will be corrupted by setting them based on a non-working compiler.
 
 
11959
if test "$_lt_caught_CXX_error" != yes; then
 
 
11960
  # Code to be used in simple compile tests
 
 
11961
  lt_simple_compile_test_code="int some_variable = 0;"
 
 
11963
  # Code to be used in simple link tests
 
 
11964
  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 
 
11966
  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 
 
11973
# If no C compiler was specified, use CC.
 
 
11976
# If no C compiler flags were specified, use CFLAGS.
 
 
11977
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 
 
11979
# Allow CC to be a program name with arguments.
 
 
11983
  # save warnings/boilerplate of simple test code
 
 
11984
  ac_outfile=conftest.$ac_objext
 
 
11985
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 
 
11986
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
 
11987
_lt_compiler_boilerplate=`cat conftest.err`
 
 
11990
  ac_outfile=conftest.$ac_objext
 
 
11991
echo "$lt_simple_link_test_code" >conftest.$ac_ext
 
 
11992
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 
 
11993
_lt_linker_boilerplate=`cat conftest.err`
 
 
11997
  # Allow CC to be a program name with arguments.
 
 
11999
  lt_save_CFLAGS=$CFLAGS
 
 
12003
  lt_save_with_gnu_ld=$with_gnu_ld
 
 
12004
  lt_save_path_LD=$lt_cv_path_LD
 
 
12005
  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 
 
12006
    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 
 
12008
    $as_unset lt_cv_prog_gnu_ld
 
 
12010
  if test -n "${lt_cv_path_LDCXX+set}"; then
 
 
12011
    lt_cv_path_LD=$lt_cv_path_LDCXX
 
 
12013
    $as_unset lt_cv_path_LD
 
 
12015
  test -z "${LDCXX+set}" || LD=$LDCXX
 
 
12020
  for cc_temp in $compiler""; do
 
 
12022
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
 
12023
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
 
12028
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
 
 
12031
  if test -n "$compiler"; then
 
 
12032
    # We don't want -fno-exception when compiling C++ code, so set the
 
 
12033
    # no_builtin_flag separately
 
 
12034
    if test "$GXX" = yes; then
 
 
12035
      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 
 
12037
      lt_prog_compiler_no_builtin_flag_CXX=
 
 
12040
    if test "$GXX" = yes; then
 
 
12041
      # Set up default GNU C++ configuration
 
 
12045
# Check whether --with-gnu-ld was given.
 
 
12046
if test "${with_gnu_ld+set}" = set; then :
 
 
12047
  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 
 
12053
if test "$GCC" = yes; then
 
 
12054
  # Check if gcc -print-prog-name=ld gives a path.
 
 
12055
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
 
 
12056
$as_echo_n "checking for ld used by $CC... " >&6; }
 
 
12059
    # gcc leaves a trailing carriage return which upsets mingw
 
 
12060
    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 
 
12062
    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 
 
12065
    # Accept absolute paths.
 
 
12067
      re_direlt='/[^/][^/]*/\.\./'
 
 
12068
      # Canonicalize the pathname of ld
 
 
12069
      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 
 
12070
      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 
 
12071
        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 
 
12073
      test -z "$LD" && LD="$ac_prog"
 
 
12076
    # If it fails, then pretend we aren't using GCC.
 
 
12080
    # If it is relative, then search for the first ld in PATH.
 
 
12081
    with_gnu_ld=unknown
 
 
12084
elif test "$with_gnu_ld" = yes; then
 
 
12085
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
 
 
12086
$as_echo_n "checking for GNU ld... " >&6; }
 
 
12088
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 
 
12089
$as_echo_n "checking for non-GNU ld... " >&6; }
 
 
12091
if ${lt_cv_path_LD+:} false; then :
 
 
12092
  $as_echo_n "(cached) " >&6
 
 
12094
  if test -z "$LD"; then
 
 
12095
  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 
 
12096
  for ac_dir in $PATH; do
 
 
12098
    test -z "$ac_dir" && ac_dir=.
 
 
12099
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 
 
12100
      lt_cv_path_LD="$ac_dir/$ac_prog"
 
 
12101
      # Check to see if the program is GNU ld.  I'd rather use --version,
 
 
12102
      # but apparently some variants of GNU ld only accept -v.
 
 
12103
      # Break only if it was the GNU/non-GNU ld that we prefer.
 
 
12104
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 
 
12105
      *GNU* | *'with BFD'*)
 
 
12106
        test "$with_gnu_ld" != no && break
 
 
12109
        test "$with_gnu_ld" != yes && break
 
 
12116
  lt_cv_path_LD="$LD" # Let the user override the test with a path.
 
 
12120
LD="$lt_cv_path_LD"
 
 
12121
if test -n "$LD"; then
 
 
12122
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
 
 
12123
$as_echo "$LD" >&6; }
 
 
12125
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
 
12126
$as_echo "no" >&6; }
 
 
12128
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 
 
12129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 
 
12130
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 
 
12131
if ${lt_cv_prog_gnu_ld+:} false; then :
 
 
12132
  $as_echo_n "(cached) " >&6
 
 
12134
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
 
 
12135
case `$LD -v 2>&1 </dev/null` in
 
 
12136
*GNU* | *'with BFD'*)
 
 
12137
  lt_cv_prog_gnu_ld=yes
 
 
12140
  lt_cv_prog_gnu_ld=no
 
 
12144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
 
 
12145
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
 
 
12146
with_gnu_ld=$lt_cv_prog_gnu_ld
 
 
12154
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
 
 
12155
      # archiving commands below assume that GNU ld is being used.
 
 
12156
      if test "$with_gnu_ld" = yes; then
 
 
12157
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
12158
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
 
12160
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
 
12161
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
 
12163
        # If archive_cmds runs LD, not CC, wlarc should be empty
 
 
12164
        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 
 
12165
        #     investigate it a little bit more. (MM)
 
 
12168
        # ancient GNU ld didn't support --whole-archive et. al.
 
 
12169
        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 
 
12170
          $GREP 'no-whole-archive' > /dev/null; then
 
 
12171
          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
 
12173
          whole_archive_flag_spec_CXX=
 
 
12179
        # A generic and very simple default shared library creation
 
 
12180
        # command for GNU C++ for the case where it uses the native
 
 
12181
        # linker, instead of GNU ld.  If possible, this setting should
 
 
12182
        # overridden to take advantage of the native linker features on
 
 
12183
        # the platform it is being used on.
 
 
12184
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
 
12187
      # Commands to make compiler produce verbose output that lists
 
 
12188
      # what "hidden" libraries, object files and flags are used when
 
 
12189
      # linking a shared library.
 
 
12190
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
 
12198
    # PORTME: fill in a description of your system's C++ link characteristics
 
 
12199
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
 
12200
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
 
12204
        # FIXME: insert proper C++ library support
 
 
12208
        if test "$host_cpu" = ia64; then
 
 
12209
          # On IA64, the linker does run time linking by default, so we don't
 
 
12210
          # have to do anything special.
 
 
12211
          aix_use_runtimelinking=no
 
 
12212
          exp_sym_flag='-Bexport'
 
 
12215
          aix_use_runtimelinking=no
 
 
12217
          # Test if we are trying to use run time linking or normal
 
 
12218
          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 
 
12219
          # need to do runtime linking.
 
 
12220
          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 
 
12221
            for ld_flag in $LDFLAGS; do
 
 
12224
                aix_use_runtimelinking=yes
 
 
12232
          exp_sym_flag='-bexport'
 
 
12233
          no_entry_flag='-bnoentry'
 
 
12236
        # When large executables or shared objects are built, AIX ld can
 
 
12237
        # have problems creating the table of contents.  If linking a library
 
 
12238
        # or program results in "error TOC overflow" add -mminimal-toc to
 
 
12239
        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 
 
12240
        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 
 
12242
        archive_cmds_CXX=''
 
 
12243
        hardcode_direct_CXX=yes
 
 
12244
        hardcode_direct_absolute_CXX=yes
 
 
12245
        hardcode_libdir_separator_CXX=':'
 
 
12246
        link_all_deplibs_CXX=yes
 
 
12247
        file_list_spec_CXX='${wl}-f,'
 
 
12249
        if test "$GXX" = yes; then
 
 
12250
          case $host_os in aix4.[012]|aix4.[012].*)
 
 
12251
          # We only want to do this on AIX 4.2 and lower, the check
 
 
12252
          # below for broken collect2 doesn't work under 4.3+
 
 
12253
          collect2name=`${CC} -print-prog-name=collect2`
 
 
12254
          if test -f "$collect2name" &&
 
 
12255
             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 
 
12257
            # We have reworked collect2
 
 
12260
            # We have old collect2
 
 
12261
            hardcode_direct_CXX=unsupported
 
 
12262
            # It fails to find uninstalled libraries when the uninstalled
 
 
12263
            # path is not listed in the libpath.  Setting hardcode_minus_L
 
 
12264
            # to unsupported forces relinking
 
 
12265
            hardcode_minus_L_CXX=yes
 
 
12266
            hardcode_libdir_flag_spec_CXX='-L$libdir'
 
 
12267
            hardcode_libdir_separator_CXX=
 
 
12270
          shared_flag='-shared'
 
 
12271
          if test "$aix_use_runtimelinking" = yes; then
 
 
12272
            shared_flag="$shared_flag "'${wl}-G'
 
 
12276
          if test "$host_cpu" = ia64; then
 
 
12277
          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 
 
12278
          # chokes on -Wl,-G. The following line is correct:
 
 
12281
            if test "$aix_use_runtimelinking" = yes; then
 
 
12282
              shared_flag='${wl}-G'
 
 
12284
              shared_flag='${wl}-bM:SRE'
 
 
12289
        export_dynamic_flag_spec_CXX='${wl}-bexpall'
 
 
12290
        # It seems that -bexpall does not export symbols beginning with
 
 
12291
        # underscore (_), so it is better to generate a list of symbols to
 
 
12293
        always_export_symbols_CXX=yes
 
 
12294
        if test "$aix_use_runtimelinking" = yes; then
 
 
12295
          # Warning - without using the other runtime loading flags (-brtl),
 
 
12296
          # -berok will link without error, but may produce a broken library.
 
 
12297
          allow_undefined_flag_CXX='-berok'
 
 
12298
          # Determine the default libpath from the value encoded in an empty
 
 
12300
          if test "${lt_cv_aix_libpath+set}" = set; then
 
 
12301
  aix_libpath=$lt_cv_aix_libpath
 
 
12303
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
 
12304
  $as_echo_n "(cached) " >&6
 
 
12306
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
12307
/* end confdefs.h.  */
 
 
12317
if ac_fn_cxx_try_link "$LINENO"; then :
 
 
12319
  lt_aix_libpath_sed='
 
 
12320
      /Import File Strings/,/^$/ {
 
 
12322
              s/^0  *\([^ ]*\) *$/\1/
 
 
12326
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
12327
  # Check for a 64-bit object if we didn't find anything.
 
 
12328
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
 
12329
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
12332
rm -f core conftest.err conftest.$ac_objext \
 
 
12333
    conftest$ac_exeext conftest.$ac_ext
 
 
12334
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
 
12335
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
 
12340
  aix_libpath=$lt_cv_aix_libpath__CXX
 
 
12343
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
 
12345
          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
 
12347
          if test "$host_cpu" = ia64; then
 
 
12348
            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 
 
12349
            allow_undefined_flag_CXX="-z nodefs"
 
 
12350
            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
 
 
12352
            # Determine the default libpath from the value encoded in an
 
 
12353
            # empty executable.
 
 
12354
            if test "${lt_cv_aix_libpath+set}" = set; then
 
 
12355
  aix_libpath=$lt_cv_aix_libpath
 
 
12357
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
 
12358
  $as_echo_n "(cached) " >&6
 
 
12360
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
12361
/* end confdefs.h.  */
 
 
12371
if ac_fn_cxx_try_link "$LINENO"; then :
 
 
12373
  lt_aix_libpath_sed='
 
 
12374
      /Import File Strings/,/^$/ {
 
 
12376
              s/^0  *\([^ ]*\) *$/\1/
 
 
12380
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
12381
  # Check for a 64-bit object if we didn't find anything.
 
 
12382
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
 
12383
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
 
12386
rm -f core conftest.err conftest.$ac_objext \
 
 
12387
    conftest$ac_exeext conftest.$ac_ext
 
 
12388
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
 
12389
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
 
12394
  aix_libpath=$lt_cv_aix_libpath__CXX
 
 
12397
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 
 
12398
            # Warning - without using the other run time loading flags,
 
 
12399
            # -berok will link without error, but may produce a broken library.
 
 
12400
            no_undefined_flag_CXX=' ${wl}-bernotok'
 
 
12401
            allow_undefined_flag_CXX=' ${wl}-berok'
 
 
12402
            if test "$with_gnu_ld" = yes; then
 
 
12403
              # We only use this code for GNU lds that support --whole-archive.
 
 
12404
              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
 
12406
              # Exported symbols can be pulled into shared objects from archives
 
 
12407
              whole_archive_flag_spec_CXX='$convenience'
 
 
12409
            archive_cmds_need_lc_CXX=yes
 
 
12410
            # This is similar to how AIX traditionally builds its shared
 
 
12412
            archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
 
 
12418
        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 
 
12419
          allow_undefined_flag_CXX=unsupported
 
 
12420
          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 
 
12421
          # support --undefined.  This deserves some investigation.  FIXME
 
 
12422
          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
12429
        case $cc_basename in
 
 
12431
          # FIXME: insert proper C++ library support
 
 
12437
      cygwin* | mingw* | pw32* | cegcc*)
 
 
12438
        case $GXX,$cc_basename in
 
 
12441
          # hardcode_libdir_flag_spec is actually meaningless, as there is
 
 
12442
          # no search path for DLLs.
 
 
12443
          hardcode_libdir_flag_spec_CXX=' '
 
 
12444
          allow_undefined_flag_CXX=unsupported
 
 
12445
          always_export_symbols_CXX=yes
 
 
12446
          file_list_spec_CXX='@'
 
 
12447
          # Tell ltmain to make .lib files, not .a files.
 
 
12449
          # Tell ltmain to make .dll files, not .so files.
 
 
12451
          # FIXME: Setting linknames here is a bad hack.
 
 
12452
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
 
12453
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
 
12454
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
 
12456
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
 
12458
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
 
12460
          # The linker will not automatically build a static lib if we build a DLL.
 
 
12461
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
 
 
12462
          enable_shared_with_static_runtimes_CXX=yes
 
 
12464
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
 
 
12465
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
 
 
12466
            lt_tool_outputfile="@TOOL_OUTPUT@"~
 
 
12467
            case $lt_outputfile in
 
 
12470
                lt_outputfile="$lt_outputfile.exe"
 
 
12471
                lt_tool_outputfile="$lt_tool_outputfile.exe"
 
 
12474
            func_to_tool_file "$lt_outputfile"~
 
 
12475
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
 
12476
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
 
12477
              $RM "$lt_outputfile.manifest";
 
 
12482
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
 
12483
          # as there is no search path for DLLs.
 
 
12484
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
 
12485
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
 
 
12486
          allow_undefined_flag_CXX=unsupported
 
 
12487
          always_export_symbols_CXX=no
 
 
12488
          enable_shared_with_static_runtimes_CXX=yes
 
 
12490
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
 
12491
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
 
12492
            # If the export-symbols file already is a .def file (1st line
 
 
12493
            # is EXPORTS), use it as is; otherwise, prepend...
 
 
12494
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
 
12495
              cp $export_symbols $output_objdir/$soname.def;
 
 
12497
              echo EXPORTS > $output_objdir/$soname.def;
 
 
12498
              cat $export_symbols >> $output_objdir/$soname.def;
 
 
12500
            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
 
12507
      darwin* | rhapsody*)
 
 
12510
  archive_cmds_need_lc_CXX=no
 
 
12511
  hardcode_direct_CXX=no
 
 
12512
  hardcode_automatic_CXX=yes
 
 
12513
  hardcode_shlibpath_var_CXX=unsupported
 
 
12514
  if test "$lt_cv_ld_force_load" = "yes"; then
 
 
12515
    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
 
12518
    whole_archive_flag_spec_CXX=''
 
 
12520
  link_all_deplibs_CXX=yes
 
 
12521
  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 
 
12522
  case $cc_basename in
 
 
12523
     ifort*) _lt_dar_can_shared=yes ;;
 
 
12524
     *) _lt_dar_can_shared=$GCC ;;
 
 
12526
  if test "$_lt_dar_can_shared" = "yes"; then
 
 
12527
    output_verbose_link_cmd=func_echo_all
 
 
12528
    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
 
 
12529
    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 
 
12530
    archive_expsym_cmds_CXX="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}"
 
 
12531
    module_expsym_cmds_CXX="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}"
 
 
12532
       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 
 
12533
      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
 
 
12534
      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
 
 
12544
        case $cc_basename in
 
 
12546
            # FIXME: insert proper C++ library support
 
 
12550
            # Green Hills C++ Compiler
 
 
12551
            # FIXME: insert proper C++ library support
 
 
12555
            # FIXME: insert proper C++ library support
 
 
12562
        # C++ shared libraries reported to be fairly broken before
 
 
12568
        archive_cmds_need_lc_CXX=no
 
 
12571
      freebsd* | dragonfly*)
 
 
12572
        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 
 
12581
        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
12582
        link_all_deplibs_CXX=yes
 
 
12586
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
 
12587
        hardcode_libdir_separator_CXX=:
 
 
12588
        export_dynamic_flag_spec_CXX='${wl}-E'
 
 
12589
        hardcode_direct_CXX=yes
 
 
12590
        hardcode_minus_L_CXX=yes # Not in the search PATH,
 
 
12591
                                             # but as the default
 
 
12592
                                             # location of the library.
 
 
12594
        case $cc_basename in
 
 
12596
            # FIXME: insert proper C++ library support
 
 
12600
            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
 
12601
            # Commands to make compiler produce verbose output that lists
 
 
12602
            # what "hidden" libraries, object files and flags are used when
 
 
12603
            # linking a shared library.
 
 
12605
            # There doesn't appear to be a way to prevent this compiler from
 
 
12606
            # explicitly linking system object files so we need to strip them
 
 
12607
            # from the output so that they don't get included in the library
 
 
12609
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
 
12612
            if test "$GXX" = yes; then
 
 
12613
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
 
12615
              # FIXME: insert proper C++ library support
 
 
12623
        if test $with_gnu_ld = no; then
 
 
12624
          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 
 
12625
          hardcode_libdir_separator_CXX=:
 
 
12631
              export_dynamic_flag_spec_CXX='${wl}-E'
 
 
12637
            hardcode_direct_CXX=no
 
 
12638
            hardcode_shlibpath_var_CXX=no
 
 
12641
            hardcode_direct_CXX=yes
 
 
12642
            hardcode_direct_absolute_CXX=yes
 
 
12643
            hardcode_minus_L_CXX=yes # Not in the search PATH,
 
 
12644
                                                 # but as the default
 
 
12645
                                                 # location of the library.
 
 
12649
        case $cc_basename in
 
 
12651
            # FIXME: insert proper C++ library support
 
 
12657
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12660
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12663
                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12666
            # Commands to make compiler produce verbose output that lists
 
 
12667
            # what "hidden" libraries, object files and flags are used when
 
 
12668
            # linking a shared library.
 
 
12670
            # There doesn't appear to be a way to prevent this compiler from
 
 
12671
            # explicitly linking system object files so we need to strip them
 
 
12672
            # from the output so that they don't get included in the library
 
 
12674
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
 
12677
            if test "$GXX" = yes; then
 
 
12678
              if test $with_gnu_ld = no; then
 
 
12681
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12684
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12687
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12692
              # FIXME: insert proper C++ library support
 
 
12700
        hardcode_direct_CXX=no
 
 
12701
        hardcode_shlibpath_var_CXX=no
 
 
12702
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
 
12703
        export_dynamic_flag_spec_CXX='${wl}-E'
 
 
12704
        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 
 
12705
        # Instead, shared libraries are loaded at an image base (0x10000000 by
 
 
12706
        # default) and relocated if they conflict, which is a slow very memory
 
 
12707
        # consuming and fragmenting process.  To avoid this, we pick a random,
 
 
12708
        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 
 
12709
        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 
 
12710
        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
 
12711
        archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
 
 
12714
        case $cc_basename in
 
 
12717
            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
 
12719
            # Archives containing C++ object files must be created using
 
 
12720
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 
 
12721
            # necessary to make sure instantiated templates are included
 
 
12723
            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 
 
12726
            if test "$GXX" = yes; then
 
 
12727
              if test "$with_gnu_ld" = no; then
 
 
12728
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
 
 
12730
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
 
 
12733
            link_all_deplibs_CXX=yes
 
 
12736
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
 
12737
        hardcode_libdir_separator_CXX=:
 
 
12738
        inherit_rpath_CXX=yes
 
 
12741
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
 
12742
        case $cc_basename in
 
 
12744
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
 
12746
            # KCC will only create a shared library if the output file
 
 
12747
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
 
12748
            # to its proper name (with version) after linking.
 
 
12749
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
 
12750
            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
 
 
12751
            # Commands to make compiler produce verbose output that lists
 
 
12752
            # what "hidden" libraries, object files and flags are used when
 
 
12753
            # linking a shared library.
 
 
12755
            # There doesn't appear to be a way to prevent this compiler from
 
 
12756
            # explicitly linking system object files so we need to strip them
 
 
12757
            # from the output so that they don't get included in the library
 
 
12759
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
 
12761
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
 
12762
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
 
12764
            # Archives containing C++ object files must be created using
 
 
12765
            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 
 
12766
            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 
 
12771
            # version 8.0 and above of icpc choke on multiply defined symbols
 
 
12772
            # if we add $predep_objects and $postdep_objects, however 7.1 and
 
 
12773
            # earlier do not add the objects themselves.
 
 
12774
            case `$CC -V 2>&1` in
 
 
12776
                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
12777
                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
 
12779
              *)  # Version 8.0 or newer
 
 
12782
                  ia64*) tmp_idyn=' -i_dynamic';;
 
 
12784
                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
12785
                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
 
12788
            archive_cmds_need_lc_CXX=no
 
 
12789
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
 
12790
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
 
12791
            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
 
12794
            # Portland Group C++ compiler
 
 
12796
            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
 
 
12797
              prelink_cmds_CXX='tpldir=Template.dir~
 
 
12799
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 
 
12800
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
 
 
12801
              old_archive_cmds_CXX='tpldir=Template.dir~
 
 
12803
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 
 
12804
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
 
 
12806
              archive_cmds_CXX='tpldir=Template.dir~
 
 
12808
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
 
12809
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
 
12810
              archive_expsym_cmds_CXX='tpldir=Template.dir~
 
 
12812
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 
 
12813
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
 
12815
            *) # Version 6 and above use weak symbols
 
 
12816
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
 
12817
              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 
 
12821
            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
 
12822
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
 
12823
            whole_archive_flag_spec_CXX='${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'
 
 
12827
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
12828
            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
 
 
12830
            runpath_var=LD_RUN_PATH
 
 
12831
            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
 
12832
            hardcode_libdir_separator_CXX=:
 
 
12834
            # Commands to make compiler produce verbose output that lists
 
 
12835
            # what "hidden" libraries, object files and flags are used when
 
 
12836
            # linking a shared library.
 
 
12838
            # There doesn't appear to be a way to prevent this compiler from
 
 
12839
            # explicitly linking system object files so we need to strip them
 
 
12840
            # from the output so that they don't get included in the library
 
 
12842
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
 
 
12844
          xl* | mpixl* | bgxl*)
 
 
12845
            # IBM XL 8.0 on PPC, with GNU ld
 
 
12846
            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
 
12847
            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
 
12848
            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
 
12849
            if test "x$supports_anon_versioning" = xyes; then
 
 
12850
              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 
 
12851
                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
 
12852
                echo "local: *; };" >> $output_objdir/$libname.ver~
 
 
12853
                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
 
12857
            case `$CC -V 2>&1 | sed 5q` in
 
 
12860
              no_undefined_flag_CXX=' -zdefs'
 
 
12861
              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
12862
              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
 
12863
              hardcode_libdir_flag_spec_CXX='-R$libdir'
 
 
12864
              whole_archive_flag_spec_CXX='${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'
 
 
12865
              compiler_needs_object_CXX=yes
 
 
12867
              # Not sure whether something based on
 
 
12868
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
 
12870
              output_verbose_link_cmd='func_echo_all'
 
 
12872
              # Archives containing C++ object files must be created using
 
 
12873
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
 
12874
              # necessary to make sure instantiated templates are included
 
 
12876
              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
 
12884
        # FIXME: insert proper C++ library support
 
 
12889
        # FIXME: insert proper C++ library support
 
 
12894
        case $cc_basename in
 
 
12896
            # FIXME: insert proper C++ library support
 
 
12900
            # FIXME: insert proper C++ library support
 
 
12907
        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
 
12908
          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 
 
12910
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
 
12911
          hardcode_direct_CXX=yes
 
 
12912
          hardcode_shlibpath_var_CXX=no
 
 
12914
        # Workaround some broken pre-1.5 toolchains
 
 
12915
        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 
 
12923
        # C++ shared libraries are fairly broken
 
 
12928
        if test -f /usr/libexec/ld.so; then
 
 
12929
          hardcode_direct_CXX=yes
 
 
12930
          hardcode_shlibpath_var_CXX=no
 
 
12931
          hardcode_direct_absolute_CXX=yes
 
 
12932
          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
 
12933
          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
 
12934
          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
 
12935
            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
 
12936
            export_dynamic_flag_spec_CXX='${wl}-E'
 
 
12937
            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
 
12939
          output_verbose_link_cmd=func_echo_all
 
 
12945
      osf3* | osf4* | osf5*)
 
 
12946
        case $cc_basename in
 
 
12948
            # Kuck and Associates, Inc. (KAI) C++ Compiler
 
 
12950
            # KCC will only create a shared library if the output file
 
 
12951
            # ends with ".so" (or ".sl" for HP-UX), so rename the library
 
 
12952
            # to its proper name (with version) after linking.
 
 
12953
            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
 
 
12955
            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
 
12956
            hardcode_libdir_separator_CXX=:
 
 
12958
            # Archives containing C++ object files must be created using
 
 
12959
            # the KAI C++ compiler.
 
 
12961
              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 
 
12962
              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 
 
12966
            # Rational C++ 2.4.1
 
 
12967
            # FIXME: insert proper C++ library support
 
 
12973
                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
 
12974
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
 
12975
                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
 
12978
                allow_undefined_flag_CXX=' -expect_unresolved \*'
 
 
12979
                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
 
 
12980
                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 
 
12981
                  echo "-hidden">> $lib.exp~
 
 
12982
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
 
 
12984
                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 
 
12988
            hardcode_libdir_separator_CXX=:
 
 
12990
            # Commands to make compiler produce verbose output that lists
 
 
12991
            # what "hidden" libraries, object files and flags are used when
 
 
12992
            # linking a shared library.
 
 
12994
            # There doesn't appear to be a way to prevent this compiler from
 
 
12995
            # explicitly linking system object files so we need to strip them
 
 
12996
            # from the output so that they don't get included in the library
 
 
12998
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
 
 
13001
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
 
13002
              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 
 
13005
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
 
 
13008
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
 
 
13012
              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 
 
13013
              hardcode_libdir_separator_CXX=:
 
 
13015
              # Commands to make compiler produce verbose output that lists
 
 
13016
              # what "hidden" libraries, object files and flags are used when
 
 
13017
              # linking a shared library.
 
 
13018
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
 
13021
              # FIXME: insert proper C++ library support
 
 
13029
        # FIXME: insert proper C++ library support
 
 
13034
        case $cc_basename in
 
 
13037
            # FIXME: insert proper C++ library support
 
 
13042
            # FIXME: insert proper C++ library support
 
 
13046
            # FIXME: insert proper C++ library support
 
 
13053
        case $cc_basename in
 
 
13055
            # Sun C++ 4.2, 5.x and Centerline C++
 
 
13056
            archive_cmds_need_lc_CXX=yes
 
 
13057
            no_undefined_flag_CXX=' -zdefs'
 
 
13058
            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
 
13059
            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
 
13060
              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
 
13062
            hardcode_libdir_flag_spec_CXX='-R$libdir'
 
 
13063
            hardcode_shlibpath_var_CXX=no
 
 
13065
              solaris2.[0-5] | solaris2.[0-5].*) ;;
 
 
13067
                # The compiler driver will combine and reorder linker options,
 
 
13068
                # but understands `-z linker_flag'.
 
 
13069
                # Supported since Solaris 2.6 (maybe 2.5.1?)
 
 
13070
                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 
 
13073
            link_all_deplibs_CXX=yes
 
 
13075
            output_verbose_link_cmd='func_echo_all'
 
 
13077
            # Archives containing C++ object files must be created using
 
 
13078
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
 
13079
            # necessary to make sure instantiated templates are included
 
 
13081
            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
 
13084
            # Green Hills C++ Compiler
 
 
13085
            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
 
13087
            # The C++ compiler must be used to create the archive.
 
 
13088
            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 
 
13091
            # GNU C++ compiler with Solaris linker
 
 
13092
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 
 
13093
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 
 
13094
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 
 
13095
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
 
13096
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
 
13097
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
 
13099
                # Commands to make compiler produce verbose output that lists
 
 
13100
                # what "hidden" libraries, object files and flags are used when
 
 
13101
                # linking a shared library.
 
 
13102
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
 
13104
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
 
 
13106
                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
 
13107
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 
 
13108
                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
 
13110
                # Commands to make compiler produce verbose output that lists
 
 
13111
                # what "hidden" libraries, object files and flags are used when
 
 
13112
                # linking a shared library.
 
 
13113
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
 
 
13116
              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
 
13118
                solaris2.[0-5] | solaris2.[0-5].*) ;;
 
 
13120
                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
 
13128
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 
 
13129
      no_undefined_flag_CXX='${wl}-z,text'
 
 
13130
      archive_cmds_need_lc_CXX=no
 
 
13131
      hardcode_shlibpath_var_CXX=no
 
 
13132
      runpath_var='LD_RUN_PATH'
 
 
13134
      case $cc_basename in
 
 
13136
          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
13137
          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
13140
          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
13141
          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
13146
      sysv5* | sco3.2v5* | sco5v6*)
 
 
13147
        # Note: We can NOT use -z defs as we might desire, because we do not
 
 
13148
        # link with -lc, and that would cause any symbols used from libc to
 
 
13149
        # always be unresolved, which means just about no library would
 
 
13150
        # ever link correctly.  If we're not using GNU ld we use -z text
 
 
13151
        # though, which does catch some bad symbols but isn't as heavy-handed
 
 
13153
        no_undefined_flag_CXX='${wl}-z,text'
 
 
13154
        allow_undefined_flag_CXX='${wl}-z,nodefs'
 
 
13155
        archive_cmds_need_lc_CXX=no
 
 
13156
        hardcode_shlibpath_var_CXX=no
 
 
13157
        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 
 
13158
        hardcode_libdir_separator_CXX=':'
 
 
13159
        link_all_deplibs_CXX=yes
 
 
13160
        export_dynamic_flag_spec_CXX='${wl}-Bexport'
 
 
13161
        runpath_var='LD_RUN_PATH'
 
 
13163
        case $cc_basename in
 
 
13165
            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
13166
            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
13167
            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
 
 
13168
              '"$old_archive_cmds_CXX"
 
 
13169
            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
 
 
13170
              '"$reload_cmds_CXX"
 
 
13173
            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
13174
            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
 
13180
        case $cc_basename in
 
 
13182
            # NonStop-UX NCC 3.20
 
 
13183
            # FIXME: insert proper C++ library support
 
 
13187
            # FIXME: insert proper C++ library support
 
 
13194
        # FIXME: insert proper C++ library support
 
 
13199
        # FIXME: insert proper C++ library support
 
 
13204
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
 
13205
$as_echo "$ld_shlibs_CXX" >&6; }
 
 
13206
    test "$ld_shlibs_CXX" = no && can_build_shared=no
 
 
13212
    ## There is no encapsulation within the following macros, do not change
 
 
13213
    ## the running order or otherwise move them around unless you know exactly
 
 
13214
    ## what you are doing...
 
 
13215
    # Dependencies to place before and after the object being linked:
 
 
13216
predep_objects_CXX=
 
 
13217
postdep_objects_CXX=
 
 
13220
compiler_lib_search_path_CXX=
 
 
13222
cat > conftest.$ac_ext <<_LT_EOF
 
 
13226
  Foo (void) { a = 0; }
 
 
13233
_lt_libdeps_save_CFLAGS=$CFLAGS
 
 
13234
case "$CC $CFLAGS " in #(
 
 
13235
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
 
13236
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
 
13237
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
 
 
13240
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
13241
  (eval $ac_compile) 2>&5
 
 
13243
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
13244
  test $ac_status = 0; }; then
 
 
13245
  # Parse the compiler output and extract the necessary
 
 
13246
  # objects, libraries and library flags.
 
 
13248
  # Sentinel used to keep track of whether or not we are before
 
 
13249
  # the conftest object file.
 
 
13250
  pre_test_object_deps_done=no
 
 
13252
  for p in `eval "$output_verbose_link_cmd"`; do
 
 
13253
    case ${prev}${p} in
 
 
13256
       # Some compilers place space between "-{L,R}" and the path.
 
 
13257
       # Remove the space.
 
 
13258
       if test $p = "-L" ||
 
 
13259
          test $p = "-R"; then
 
 
13264
       # Expand the sysroot to ease extracting the directories later.
 
 
13265
       if test -z "$prev"; then
 
 
13267
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
 
13268
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
 
13269
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
 
13273
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
 
13275
       if test "$pre_test_object_deps_done" = no; then
 
 
13278
           # Internal compiler library paths should come after those
 
 
13279
           # provided the user.  The postdeps already come after the
 
 
13280
           # user supplied libs so there is no need to process them.
 
 
13281
           if test -z "$compiler_lib_search_path_CXX"; then
 
 
13282
             compiler_lib_search_path_CXX="${prev}${p}"
 
 
13284
             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 
 
13287
         # The "-l" case would never come before the object being
 
 
13288
         # linked, so don't bother handling this case.
 
 
13291
         if test -z "$postdeps_CXX"; then
 
 
13292
           postdeps_CXX="${prev}${p}"
 
 
13294
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 
 
13300
    *.lto.$objext) ;; # Ignore GCC LTO objects
 
 
13302
       # This assumes that the test object file only shows up
 
 
13303
       # once in the compiler output.
 
 
13304
       if test "$p" = "conftest.$objext"; then
 
 
13305
         pre_test_object_deps_done=yes
 
 
13309
       if test "$pre_test_object_deps_done" = no; then
 
 
13310
         if test -z "$predep_objects_CXX"; then
 
 
13311
           predep_objects_CXX="$p"
 
 
13313
           predep_objects_CXX="$predep_objects_CXX $p"
 
 
13316
         if test -z "$postdep_objects_CXX"; then
 
 
13317
           postdep_objects_CXX="$p"
 
 
13319
           postdep_objects_CXX="$postdep_objects_CXX $p"
 
 
13324
    *) ;; # Ignore the rest.
 
 
13332
  echo "libtool.m4: error: problem compiling CXX test program"
 
 
13335
$RM -f confest.$objext
 
 
13336
CFLAGS=$_lt_libdeps_save_CFLAGS
 
 
13338
# PORTME: override above test on systems where it is broken
 
 
13341
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
 
 
13342
  # hack all around it, let's just trust "g++" to DTRT.
 
 
13343
  predep_objects_CXX=
 
 
13344
  postdep_objects_CXX=
 
 
13349
  case `$CC -V 2>&1 | sed 5q` in
 
 
13353
    # The more standards-conforming stlport4 library is
 
 
13354
    # incompatible with the Cstd library. Avoid specifying
 
 
13355
    # it if it's in CXXFLAGS. Ignore libCrun as
 
 
13356
    # -library=stlport4 depends on it.
 
 
13357
    case " $CXX $CXXFLAGS " in
 
 
13358
    *" -library=stlport4 "*)
 
 
13359
      solaris_use_stlport4=yes
 
 
13363
    if test "$solaris_use_stlport4" != yes; then
 
 
13364
      postdeps_CXX='-library=Cstd -library=Crun'
 
 
13371
  case $cc_basename in
 
 
13373
    # The more standards-conforming stlport4 library is
 
 
13374
    # incompatible with the Cstd library. Avoid specifying
 
 
13375
    # it if it's in CXXFLAGS. Ignore libCrun as
 
 
13376
    # -library=stlport4 depends on it.
 
 
13377
    case " $CXX $CXXFLAGS " in
 
 
13378
    *" -library=stlport4 "*)
 
 
13379
      solaris_use_stlport4=yes
 
 
13383
    # Adding this requires a known-good setup of shared libraries for
 
 
13384
    # Sun compiler versions before 5.6, else PIC objects from an old
 
 
13385
    # archive will be linked into the output, leading to subtle bugs.
 
 
13386
    if test "$solaris_use_stlport4" != yes; then
 
 
13387
      postdeps_CXX='-library=Cstd -library=Crun'
 
 
13395
case " $postdeps_CXX " in
 
 
13396
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
 
 
13398
 compiler_lib_search_dirs_CXX=
 
 
13399
if test -n "${compiler_lib_search_path_CXX}"; then
 
 
13400
 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 
 
13433
    lt_prog_compiler_wl_CXX=
 
 
13434
lt_prog_compiler_pic_CXX=
 
 
13435
lt_prog_compiler_static_CXX=
 
 
13438
  # C++ specific cases for pic, static, wl, etc.
 
 
13439
  if test "$GXX" = yes; then
 
 
13440
    lt_prog_compiler_wl_CXX='-Wl,'
 
 
13441
    lt_prog_compiler_static_CXX='-static'
 
 
13445
      # All AIX code is PIC.
 
 
13446
      if test "$host_cpu" = ia64; then
 
 
13447
        # AIX 5 now supports IA64 processor
 
 
13448
        lt_prog_compiler_static_CXX='-Bstatic'
 
 
13455
            # see comment about AmigaOS4 .so support
 
 
13456
            lt_prog_compiler_pic_CXX='-fPIC'
 
 
13459
            # FIXME: we need at least 68020 code to build shared libraries, but
 
 
13460
            # adding the `-m68020' flag to GCC prevents building anything better,
 
 
13462
            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 
 
13467
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
 
13468
      # PIC is the default for these OSes.
 
 
13470
    mingw* | cygwin* | os2* | pw32* | cegcc*)
 
 
13471
      # This hack is so that the source file can tell whether it is being
 
 
13472
      # built for inclusion in a dll (and should export symbols for example).
 
 
13473
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
 
13474
      # (--disable-auto-import) libraries
 
 
13475
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
 
13477
    darwin* | rhapsody*)
 
 
13478
      # PIC is the default on this platform
 
 
13479
      # Common symbols not allowed in MH_DYLIB files
 
 
13480
      lt_prog_compiler_pic_CXX='-fno-common'
 
 
13483
      # DJGPP does not support shared libraries at all
 
 
13484
      lt_prog_compiler_pic_CXX=
 
 
13487
      # PIC is the default for Haiku.
 
 
13488
      # The "-static" flag exists, but is broken.
 
 
13489
      lt_prog_compiler_static_CXX=
 
 
13492
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 
 
13493
      # Instead, we relocate shared libraries at runtime.
 
 
13496
      if test -d /usr/nec; then
 
 
13497
        lt_prog_compiler_pic_CXX=-Kconform_pic
 
 
13501
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 
 
13502
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 
 
13503
      # sets the default TLS model and affects inlining.
 
 
13508
        lt_prog_compiler_pic_CXX='-fPIC'
 
 
13513
      # QNX uses GNU C++, but need to define -shared option too, otherwise
 
 
13514
      # it will coredump.
 
 
13515
      lt_prog_compiler_pic_CXX='-fPIC -shared'
 
 
13518
      lt_prog_compiler_pic_CXX='-fPIC'
 
 
13524
        # All AIX code is PIC.
 
 
13525
        if test "$host_cpu" = ia64; then
 
 
13526
          # AIX 5 now supports IA64 processor
 
 
13527
          lt_prog_compiler_static_CXX='-Bstatic'
 
 
13529
          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 
 
13533
        case $cc_basename in
 
 
13535
          # Green Hills C++ Compiler
 
 
13536
          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
 
 
13540
      mingw* | cygwin* | os2* | pw32* | cegcc*)
 
 
13541
        # This hack is so that the source file can tell whether it is being
 
 
13542
        # built for inclusion in a dll (and should export symbols for example).
 
 
13543
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
 
13546
        case $cc_basename in
 
 
13548
            lt_prog_compiler_pic_CXX='-KPIC'
 
 
13551
            # Green Hills C++ Compiler
 
 
13552
            lt_prog_compiler_pic_CXX='-pic'
 
 
13558
      freebsd* | dragonfly*)
 
 
13559
        # FreeBSD uses GNU C++
 
 
13561
      hpux9* | hpux10* | hpux11*)
 
 
13562
        case $cc_basename in
 
 
13564
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
13565
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
 
13566
            if test "$host_cpu" != ia64; then
 
 
13567
              lt_prog_compiler_pic_CXX='+Z'
 
 
13571
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
13572
            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 
 
13578
              lt_prog_compiler_pic_CXX='+Z'
 
 
13587
        # This is c89, which is MS Visual C++ (no shared libs)
 
 
13588
        # Anyone wants to do a port?
 
 
13590
      irix5* | irix6* | nonstopux*)
 
 
13591
        case $cc_basename in
 
 
13593
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
13594
            lt_prog_compiler_static_CXX='-non_shared'
 
 
13595
            # CC pic flag -KPIC is the default.
 
 
13601
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
 
13602
        case $cc_basename in
 
 
13605
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
 
13606
            lt_prog_compiler_pic_CXX='-fPIC'
 
 
13609
            # old Intel C++ for x86_64 which still supported -KPIC.
 
 
13610
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
13611
            lt_prog_compiler_pic_CXX='-KPIC'
 
 
13612
            lt_prog_compiler_static_CXX='-static'
 
 
13615
            # Intel C++, used to be incompatible with GCC.
 
 
13616
            # ICC 10 doesn't accept -KPIC any more.
 
 
13617
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
13618
            lt_prog_compiler_pic_CXX='-fPIC'
 
 
13619
            lt_prog_compiler_static_CXX='-static'
 
 
13622
            # Portland Group C++ compiler
 
 
13623
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
13624
            lt_prog_compiler_pic_CXX='-fpic'
 
 
13625
            lt_prog_compiler_static_CXX='-Bstatic'
 
 
13629
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
 
13630
            # Linux and Compaq Tru64 Unix objects are PIC.
 
 
13631
            lt_prog_compiler_pic_CXX=
 
 
13632
            lt_prog_compiler_static_CXX='-non_shared'
 
 
13634
          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
 
 
13635
            # IBM XL 8.0, 9.0 on PPC and BlueGene
 
 
13636
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
13637
            lt_prog_compiler_pic_CXX='-qpic'
 
 
13638
            lt_prog_compiler_static_CXX='-qstaticlink'
 
 
13641
            case `$CC -V 2>&1 | sed 5q` in
 
 
13644
              lt_prog_compiler_pic_CXX='-KPIC'
 
 
13645
              lt_prog_compiler_static_CXX='-Bstatic'
 
 
13646
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
 
13657
        case $cc_basename in
 
 
13659
            lt_prog_compiler_pic_CXX='-W c,exportall'
 
 
13665
      netbsd* | netbsdelf*-gnu)
 
 
13668
        # QNX uses GNU C++, but need to define -shared option too, otherwise
 
 
13669
        # it will coredump.
 
 
13670
        lt_prog_compiler_pic_CXX='-fPIC -shared'
 
 
13672
      osf3* | osf4* | osf5*)
 
 
13673
        case $cc_basename in
 
 
13675
            lt_prog_compiler_wl_CXX='--backend -Wl,'
 
 
13678
            # Rational C++ 2.4.1
 
 
13679
            lt_prog_compiler_pic_CXX='-pic'
 
 
13682
            # Digital/Compaq C++
 
 
13683
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
13684
            # Make sure the PIC flag is empty.  It appears that all Alpha
 
 
13685
            # Linux and Compaq Tru64 Unix objects are PIC.
 
 
13686
            lt_prog_compiler_pic_CXX=
 
 
13687
            lt_prog_compiler_static_CXX='-non_shared'
 
 
13696
        case $cc_basename in
 
 
13698
            # Sun C++ 4.2, 5.x and Centerline C++
 
 
13699
            lt_prog_compiler_pic_CXX='-KPIC'
 
 
13700
            lt_prog_compiler_static_CXX='-Bstatic'
 
 
13701
            lt_prog_compiler_wl_CXX='-Qoption ld '
 
 
13704
            # Green Hills C++ Compiler
 
 
13705
            lt_prog_compiler_pic_CXX='-PIC'
 
 
13712
        case $cc_basename in
 
 
13715
            lt_prog_compiler_pic_CXX='-pic'
 
 
13716
            lt_prog_compiler_static_CXX='-Bstatic'
 
 
13720
            lt_prog_compiler_pic_CXX='-pic'
 
 
13726
      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 
 
13727
        case $cc_basename in
 
 
13729
            lt_prog_compiler_wl_CXX='-Wl,'
 
 
13730
            lt_prog_compiler_pic_CXX='-KPIC'
 
 
13731
            lt_prog_compiler_static_CXX='-Bstatic'
 
 
13736
        case $cc_basename in
 
 
13738
            # NonStop-UX NCC 3.20
 
 
13739
            lt_prog_compiler_pic_CXX='-KPIC'
 
 
13748
        lt_prog_compiler_can_build_shared_CXX=no
 
 
13754
  # For platforms which do not support PIC, -DPIC is meaningless:
 
 
13756
    lt_prog_compiler_pic_CXX=
 
 
13759
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 
 
13763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
 
13764
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
 
13765
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
 
 
13766
  $as_echo_n "(cached) " >&6
 
 
13768
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
 
 
13770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
 
 
13771
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
 
 
13772
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
 
 
13775
# Check to make sure the PIC flag actually works.
 
 
13777
if test -n "$lt_prog_compiler_pic_CXX"; then
 
 
13778
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 
 
13779
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 
 
13780
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
 
 
13781
  $as_echo_n "(cached) " >&6
 
 
13783
  lt_cv_prog_compiler_pic_works_CXX=no
 
 
13784
   ac_outfile=conftest.$ac_objext
 
 
13785
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
13786
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
 
 
13787
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
13788
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
13789
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
13790
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
13791
   # The option is referenced via a variable to avoid confusing sed.
 
 
13792
   lt_compile=`echo "$ac_compile" | $SED \
 
 
13793
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
13794
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
13795
   -e 's:$: $lt_compiler_flag:'`
 
 
13796
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
 
13797
   (eval "$lt_compile" 2>conftest.err)
 
 
13799
   cat conftest.err >&5
 
 
13800
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
 
13801
   if (exit $ac_status) && test -s "$ac_outfile"; then
 
 
13802
     # The compiler can only warn and ignore the option if not recognized
 
 
13803
     # So say no if there are warnings other than the usual output.
 
 
13804
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
 
 
13805
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
 
13806
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 
 
13807
       lt_cv_prog_compiler_pic_works_CXX=yes
 
 
13813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 
 
13814
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 
 
13816
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
 
 
13817
    case $lt_prog_compiler_pic_CXX in
 
 
13819
     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 
 
13822
    lt_prog_compiler_pic_CXX=
 
 
13823
     lt_prog_compiler_can_build_shared_CXX=no
 
 
13833
# Check to make sure the static flag actually works.
 
 
13835
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 
 
13836
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 
 
13837
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 
 
13838
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
 
 
13839
  $as_echo_n "(cached) " >&6
 
 
13841
  lt_cv_prog_compiler_static_works_CXX=no
 
 
13842
   save_LDFLAGS="$LDFLAGS"
 
 
13843
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 
 
13844
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
 
 
13845
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 
 
13846
     # The linker can only warn and ignore the option if not recognized
 
 
13847
     # So say no if there are warnings
 
 
13848
     if test -s conftest.err; then
 
 
13849
       # Append any errors to the config.log.
 
 
13850
       cat conftest.err 1>&5
 
 
13851
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
 
 
13852
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 
 
13853
       if diff conftest.exp conftest.er2 >/dev/null; then
 
 
13854
         lt_cv_prog_compiler_static_works_CXX=yes
 
 
13857
       lt_cv_prog_compiler_static_works_CXX=yes
 
 
13861
   LDFLAGS="$save_LDFLAGS"
 
 
13864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 
 
13865
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
 
 
13867
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
 
 
13870
    lt_prog_compiler_static_CXX=
 
 
13876
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
 
13877
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
 
13878
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
 
 
13879
  $as_echo_n "(cached) " >&6
 
 
13881
  lt_cv_prog_compiler_c_o_CXX=no
 
 
13882
   $RM -r conftest 2>/dev/null
 
 
13886
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
13888
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
 
13889
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
13890
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
13891
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
13892
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
13893
   lt_compile=`echo "$ac_compile" | $SED \
 
 
13894
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
13895
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
13896
   -e 's:$: $lt_compiler_flag:'`
 
 
13897
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
 
13898
   (eval "$lt_compile" 2>out/conftest.err)
 
 
13900
   cat out/conftest.err >&5
 
 
13901
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
 
13902
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
 
13904
     # The compiler can only warn and ignore the option if not recognized
 
 
13905
     # So say no if there are warnings
 
 
13906
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
 
13907
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
 
13908
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
 
13909
       lt_cv_prog_compiler_c_o_CXX=yes
 
 
13914
   # SGI C++ compiler will create directory out/ii_files/ for
 
 
13915
   # template instantiation
 
 
13916
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
 
13917
   $RM out/* && rmdir out
 
 
13923
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
 
13924
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
 
13928
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 
 
13929
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 
 
13930
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
 
 
13931
  $as_echo_n "(cached) " >&6
 
 
13933
  lt_cv_prog_compiler_c_o_CXX=no
 
 
13934
   $RM -r conftest 2>/dev/null
 
 
13938
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
13940
   lt_compiler_flag="-o out/conftest2.$ac_objext"
 
 
13941
   # Insert the option either (1) after the last *FLAGS variable, or
 
 
13942
   # (2) before a word containing "conftest.", or (3) at the end.
 
 
13943
   # Note that $ac_compile itself does not contain backslashes and begins
 
 
13944
   # with a dollar sign (not a hyphen), so the echo should work correctly.
 
 
13945
   lt_compile=`echo "$ac_compile" | $SED \
 
 
13946
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 
 
13947
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 
 
13948
   -e 's:$: $lt_compiler_flag:'`
 
 
13949
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
 
 
13950
   (eval "$lt_compile" 2>out/conftest.err)
 
 
13952
   cat out/conftest.err >&5
 
 
13953
   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
 
13954
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
 
 
13956
     # The compiler can only warn and ignore the option if not recognized
 
 
13957
     # So say no if there are warnings
 
 
13958
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
 
 
13959
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 
 
13960
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 
 
13961
       lt_cv_prog_compiler_c_o_CXX=yes
 
 
13966
   # SGI C++ compiler will create directory out/ii_files/ for
 
 
13967
   # template instantiation
 
 
13968
   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 
 
13969
   $RM out/* && rmdir out
 
 
13975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 
 
13976
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
 
13981
hard_links="nottested"
 
 
13982
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 
 
13983
  # do not overwrite the value of need_locks provided by the user
 
 
13984
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
 
 
13985
$as_echo_n "checking if we can lock with hard links... " >&6; }
 
 
13988
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
 
13990
  ln conftest.a conftest.b 2>&5 || hard_links=no
 
 
13991
  ln conftest.a conftest.b 2>/dev/null && hard_links=no
 
 
13992
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
 
 
13993
$as_echo "$hard_links" >&6; }
 
 
13994
  if test "$hard_links" = no; then
 
 
13995
    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 
 
13996
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 
 
14005
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 
 
14006
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 
 
14008
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
 
14009
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 
 
14012
    # If we're using GNU nm, then we don't want the "-C" option.
 
 
14013
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
 
14014
    # Also, AIX nm treats weak defined symbols like other global defined
 
 
14015
    # symbols, whereas GNU nm marks them as "W".
 
 
14016
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 
 
14017
      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
 
14019
      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
 
 
14023
    export_symbols_cmds_CXX="$ltdll_cmds"
 
 
14025
  cygwin* | mingw* | cegcc*)
 
 
14026
    case $cc_basename in
 
 
14028
      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
 
 
14031
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
 
14032
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
 
14036
  linux* | k*bsd*-gnu | gnu*)
 
 
14037
    link_all_deplibs_CXX=no
 
 
14040
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
 
14044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
 
 
14045
$as_echo "$ld_shlibs_CXX" >&6; }
 
 
14046
test "$ld_shlibs_CXX" = no && can_build_shared=no
 
 
14048
with_gnu_ld_CXX=$with_gnu_ld
 
 
14056
# Do we need to explicitly link libc?
 
 
14058
case "x$archive_cmds_need_lc_CXX" in
 
 
14060
  # Assume -lc should be added
 
 
14061
  archive_cmds_need_lc_CXX=yes
 
 
14063
  if test "$enable_shared" = yes && test "$GCC" = yes; then
 
 
14064
    case $archive_cmds_CXX in
 
 
14066
      # FIXME: we may have to deal with multi-command sequences.
 
 
14069
      # Test whether the compiler implicitly links with -lc since on some
 
 
14070
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
 
 
14071
      # to ld, don't add -lc before -lgcc.
 
 
14072
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 
 
14073
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 
 
14074
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
 
 
14075
  $as_echo_n "(cached) " >&6
 
 
14078
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
 
14080
        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
 
 
14081
  (eval $ac_compile) 2>&5
 
 
14083
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
14084
  test $ac_status = 0; } 2>conftest.err; then
 
 
14087
          libobjs=conftest.$ac_objext
 
 
14089
          wl=$lt_prog_compiler_wl_CXX
 
 
14090
          pic_flag=$lt_prog_compiler_pic_CXX
 
 
14096
          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 
 
14097
          allow_undefined_flag_CXX=
 
 
14098
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
 
 
14099
  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 
 
14101
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
 
14102
  test $ac_status = 0; }
 
 
14104
            lt_cv_archive_cmds_need_lc_CXX=no
 
 
14106
            lt_cv_archive_cmds_need_lc_CXX=yes
 
 
14108
          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 
 
14110
          cat conftest.err 1>&5
 
 
14115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
 
 
14116
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
 
 
14117
      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
 
 
14185
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 
 
14186
$as_echo_n "checking dynamic linker characteristics... " >&6; }
 
 
14188
library_names_spec=
 
 
14189
libname_spec='lib$name'
 
 
14193
postuninstall_cmds=
 
 
14197
shlibpath_overrides_runpath=unknown
 
 
14199
dynamic_linker="$host_os ld.so"
 
 
14200
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
 
14201
need_lib_prefix=unknown
 
 
14202
hardcode_into_libs=no
 
 
14204
# when you set need_version to no, make sure it does not cause -set_version
 
 
14205
# flags to be left without arguments
 
 
14206
need_version=unknown
 
 
14210
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
14211
  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 
 
14212
  shlibpath_var=LIBPATH
 
 
14214
  # AIX 3 has no versioning support, so we append a major version to the name.
 
 
14215
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14219
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
14222
  hardcode_into_libs=yes
 
 
14223
  if test "$host_cpu" = ia64; then
 
 
14224
    # AIX 5 supports IA64
 
 
14225
    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 
 
14226
    shlibpath_var=LD_LIBRARY_PATH
 
 
14228
    # With GCC up to 2.95.x, collect2 would create an import file
 
 
14229
    # for dependence libraries.  The import file would start with
 
 
14230
    # the line `#! .'.  This would cause the generated library to
 
 
14231
    # depend on `.', always an invalid library.  This was fixed in
 
 
14232
    # development snapshots of GCC prior to 3.0.
 
 
14234
      aix4 | aix4.[01] | aix4.[01].*)
 
 
14235
      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 
 
14237
           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 
 
14240
        can_build_shared=no
 
 
14244
    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 
 
14245
    # soname into executable. Probably we can add versioning support to
 
 
14246
    # collect2, so additional links can be useful in future.
 
 
14247
    if test "$aix_use_runtimelinking" = yes; then
 
 
14248
      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 
 
14249
      # instead of lib<name>.a to let people know that these are not
 
 
14250
      # typical AIX shared libraries.
 
 
14251
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14253
      # We preserve .a as extension for shared libraries through AIX4.2
 
 
14254
      # and later when we are not doing run time linking.
 
 
14255
      library_names_spec='${libname}${release}.a $libname.a'
 
 
14256
      soname_spec='${libname}${release}${shared_ext}$major'
 
 
14258
    shlibpath_var=LIBPATH
 
 
14265
    # Since July 2007 AmigaOS4 officially supports .so libraries.
 
 
14266
    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 
 
14267
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14270
    library_names_spec='$libname.ixlibrary $libname.a'
 
 
14271
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
 
 
14272
    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'
 
 
14278
  library_names_spec='${libname}${shared_ext}'
 
 
14279
  dynamic_linker="$host_os ld.so"
 
 
14280
  shlibpath_var=LIBRARY_PATH
 
 
14284
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
14286
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14287
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14288
  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 
 
14289
  shlibpath_var=LD_LIBRARY_PATH
 
 
14290
  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 
 
14291
  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 
 
14292
  # the default ld.so.conf also contains /usr/contrib/lib and
 
 
14293
  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 
 
14294
  # libtool to hard-code these into programs
 
 
14297
cygwin* | mingw* | pw32* | cegcc*)
 
 
14298
  version_type=windows
 
 
14303
  case $GCC,$cc_basename in
 
 
14306
    library_names_spec='$libname.dll.a'
 
 
14307
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
 
14308
    postinstall_cmds='base_file=`basename \${file}`~
 
 
14309
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
 
14310
      dldir=$destdir/`dirname \$dlpath`~
 
 
14311
      test -d \$dldir || mkdir -p \$dldir~
 
 
14312
      $install_prog $dir/$dlname \$dldir/$dlname~
 
 
14313
      chmod a+x \$dldir/$dlname~
 
 
14314
      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 
 
14315
        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 
 
14317
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
 
14318
      dlpath=$dir/\$dldll~
 
 
14320
    shlibpath_overrides_runpath=yes
 
 
14324
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 
 
14325
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
14329
      # MinGW DLLs use traditional 'lib' prefix
 
 
14330
      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
14333
      # pw32 DLLs use 'pw' prefix rather than 'lib'
 
 
14334
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
14337
    dynamic_linker='Win32 ld.exe'
 
 
14342
    libname_spec='$name'
 
 
14343
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
 
14344
    library_names_spec='${libname}.dll.lib'
 
 
14348
      sys_lib_search_path_spec=
 
 
14351
      for lt_path in $LIB
 
 
14354
        # Let DOS variable expansion print the short 8.3 style file name.
 
 
14355
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
 
14356
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
 
14359
      # Convert to MSYS style.
 
 
14360
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
 
14363
      # Convert to unix form, then to dos form, then back to unix form
 
 
14364
      # but this time dos style (no spaces!) so that the unix form looks
 
 
14365
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
 
14366
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
 
14367
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
 
14368
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
 
14371
      sys_lib_search_path_spec="$LIB"
 
 
14372
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
 
14373
        # It is most probably a Windows format PATH.
 
 
14374
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
 
14376
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
 
14378
      # FIXME: find the short name or the path components, as spaces are
 
 
14379
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
 
14383
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
 
14384
    postinstall_cmds='base_file=`basename \${file}`~
 
 
14385
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
 
14386
      dldir=$destdir/`dirname \$dlpath`~
 
 
14387
      test -d \$dldir || mkdir -p \$dldir~
 
 
14388
      $install_prog $dir/$dlname \$dldir/$dlname'
 
 
14389
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
 
14390
      dlpath=$dir/\$dldll~
 
 
14392
    shlibpath_overrides_runpath=yes
 
 
14393
    dynamic_linker='Win32 link.exe'
 
 
14397
    # Assume MSVC wrapper
 
 
14398
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
 
14399
    dynamic_linker='Win32 ld.exe'
 
 
14402
  # FIXME: first we should search . and the directory the executable is in
 
 
14406
darwin* | rhapsody*)
 
 
14407
  dynamic_linker="$host_os dyld"
 
 
14408
  version_type=darwin
 
 
14411
  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 
 
14412
  soname_spec='${libname}${release}${major}$shared_ext'
 
 
14413
  shlibpath_overrides_runpath=yes
 
 
14414
  shlibpath_var=DYLD_LIBRARY_PATH
 
 
14415
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 
 
14417
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 
 
14421
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
14424
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 
 
14425
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14426
  shlibpath_var=LD_LIBRARY_PATH
 
 
14429
freebsd* | dragonfly*)
 
 
14430
  # DragonFly does not have aout.  When/if they implement a new
 
 
14431
  # versioning mechanism, adjust this.
 
 
14432
  if test -x /usr/bin/objformat; then
 
 
14433
    objformat=`/usr/bin/objformat`
 
 
14436
    freebsd[23].*) objformat=aout ;;
 
 
14437
    *) objformat=elf ;;
 
 
14440
  version_type=freebsd-$objformat
 
 
14441
  case $version_type in
 
 
14443
      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
 
14448
      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 
 
14452
  shlibpath_var=LD_LIBRARY_PATH
 
 
14455
    shlibpath_overrides_runpath=yes
 
 
14457
  freebsd3.[01]* | freebsdelf3.[01]*)
 
 
14458
    shlibpath_overrides_runpath=yes
 
 
14459
    hardcode_into_libs=yes
 
 
14461
  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 
 
14462
  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 
 
14463
    shlibpath_overrides_runpath=no
 
 
14464
    hardcode_into_libs=yes
 
 
14466
  *) # from 4.6 on, and DragonFly
 
 
14467
    shlibpath_overrides_runpath=yes
 
 
14468
    hardcode_into_libs=yes
 
 
14474
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
14477
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
 
14478
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14479
  shlibpath_var=LD_LIBRARY_PATH
 
 
14480
  shlibpath_overrides_runpath=no
 
 
14481
  hardcode_into_libs=yes
 
 
14485
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
14488
  dynamic_linker="$host_os runtime_loader"
 
 
14489
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
 
14490
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14491
  shlibpath_var=LIBRARY_PATH
 
 
14492
  shlibpath_overrides_runpath=yes
 
 
14493
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
 
14494
  hardcode_into_libs=yes
 
 
14497
hpux9* | hpux10* | hpux11*)
 
 
14498
  # Give a soname corresponding to the major version so that dld.sl refuses to
 
 
14499
  # link against other versions.
 
 
14506
    hardcode_into_libs=yes
 
 
14507
    dynamic_linker="$host_os dld.so"
 
 
14508
    shlibpath_var=LD_LIBRARY_PATH
 
 
14509
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
 
14510
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14511
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
14512
    if test "X$HPUX_IA64_MODE" = X32; then
 
 
14513
      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 
 
14515
      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 
 
14517
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
 
14521
    hardcode_into_libs=yes
 
 
14522
    dynamic_linker="$host_os dld.sl"
 
 
14523
    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 
 
14524
    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 
 
14525
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14526
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
14527
    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 
 
14528
    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 
 
14532
    dynamic_linker="$host_os dld.sl"
 
 
14533
    shlibpath_var=SHLIB_PATH
 
 
14534
    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 
 
14535
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14536
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
14539
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 
 
14540
  postinstall_cmds='chmod 555 $lib'
 
 
14541
  # or fails outright, so override atomically:
 
 
14542
  install_override_mode=555
 
 
14546
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
14549
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
 
14550
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14551
  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 
 
14552
  shlibpath_var=LD_LIBRARY_PATH
 
 
14553
  shlibpath_overrides_runpath=no
 
 
14554
  hardcode_into_libs=yes
 
 
14557
irix5* | irix6* | nonstopux*)
 
 
14559
    nonstopux*) version_type=nonstopux ;;
 
 
14561
        if test "$lt_cv_prog_gnu_ld" = yes; then
 
 
14562
                version_type=linux # correct to gnu/linux during the next big refactor
 
 
14569
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14570
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 
 
14572
  irix5* | nonstopux*)
 
 
14573
    libsuff= shlibsuff=
 
 
14576
    case $LD in # libtool.m4 will add one of these switches to LD
 
 
14577
    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 
 
14578
      libsuff= shlibsuff= libmagic=32-bit;;
 
 
14579
    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 
 
14580
      libsuff=32 shlibsuff=N32 libmagic=N32;;
 
 
14581
    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 
 
14582
      libsuff=64 shlibsuff=64 libmagic=64-bit;;
 
 
14583
    *) libsuff= shlibsuff= libmagic=never-match;;
 
 
14587
  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 
 
14588
  shlibpath_overrides_runpath=no
 
 
14589
  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 
 
14590
  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 
 
14591
  hardcode_into_libs=yes
 
 
14594
# No shared lib support for Linux oldld, aout, or coff.
 
 
14595
linux*oldld* | linux*aout* | linux*coff*)
 
 
14599
# This must be glibc/ELF.
 
 
14600
linux* | k*bsd*-gnu | kopensolaris*-gnu)
 
 
14601
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
14604
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14605
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14606
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 
 
14607
  shlibpath_var=LD_LIBRARY_PATH
 
 
14608
  shlibpath_overrides_runpath=no
 
 
14610
  # Some binutils ld are patched to set DT_RUNPATH
 
 
14611
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
 
 
14612
  $as_echo_n "(cached) " >&6
 
 
14614
  lt_cv_shlibpath_overrides_runpath=no
 
 
14615
    save_LDFLAGS=$LDFLAGS
 
 
14616
    save_libdir=$libdir
 
 
14617
    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 
 
14618
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 
 
14619
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
14620
/* end confdefs.h.  */
 
 
14630
if ac_fn_cxx_try_link "$LINENO"; then :
 
 
14631
  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 
 
14632
  lt_cv_shlibpath_overrides_runpath=yes
 
 
14635
rm -f core conftest.err conftest.$ac_objext \
 
 
14636
    conftest$ac_exeext conftest.$ac_ext
 
 
14637
    LDFLAGS=$save_LDFLAGS
 
 
14638
    libdir=$save_libdir
 
 
14642
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 
 
14644
  # This implies no fast_install, which is unacceptable.
 
 
14645
  # Some rework will be needed to allow for fast_install
 
 
14646
  # before this can be enabled.
 
 
14647
  hardcode_into_libs=yes
 
 
14649
  # Append ld.so.conf contents to the search path
 
 
14650
  if test -f /etc/ld.so.conf; then
 
 
14651
    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' ' '`
 
 
14652
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
 
14655
  # We used to test for /lib/ld.so.1 and disable shared libraries on
 
 
14656
  # powerpc, because MkLinux only supported shared libraries with the
 
 
14657
  # GNU dynamic linker.  Since this was broken with cross compilers,
 
 
14658
  # most powerpc-linux boxes support dynamic linking these days and
 
 
14659
  # people can always --disable-shared, the test was removed, and we
 
 
14660
  # assume the GNU/Linux dynamic linker is in use.
 
 
14661
  dynamic_linker='GNU/Linux ld.so'
 
 
14668
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
 
14669
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14670
  shlibpath_var=LD_LIBRARY_PATH
 
 
14671
  shlibpath_overrides_runpath=no
 
 
14672
  hardcode_into_libs=yes
 
 
14673
  dynamic_linker='NetBSD ld.elf_so'
 
 
14680
  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 
 
14681
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
 
14682
    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
 
14683
    dynamic_linker='NetBSD (a.out) ld.so'
 
 
14685
    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
 
14686
    soname_spec='${libname}${release}${shared_ext}$major'
 
 
14687
    dynamic_linker='NetBSD ld.elf_so'
 
 
14689
  shlibpath_var=LD_LIBRARY_PATH
 
 
14690
  shlibpath_overrides_runpath=yes
 
 
14691
  hardcode_into_libs=yes
 
 
14695
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
14696
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14697
  shlibpath_var=LD_LIBRARY_PATH
 
 
14698
  shlibpath_overrides_runpath=yes
 
 
14705
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14706
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14707
  shlibpath_var=LD_LIBRARY_PATH
 
 
14708
  shlibpath_overrides_runpath=no
 
 
14709
  hardcode_into_libs=yes
 
 
14710
  dynamic_linker='ldqnx.so'
 
 
14715
  sys_lib_dlsearch_path_spec="/usr/lib"
 
 
14717
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
 
14719
    openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
 
 
14720
    *)                          need_version=no  ;;
 
 
14722
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
 
14723
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 
 
14724
  shlibpath_var=LD_LIBRARY_PATH
 
 
14725
  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
 
14727
      openbsd2.[89] | openbsd2.[89].*)
 
 
14728
        shlibpath_overrides_runpath=no
 
 
14731
        shlibpath_overrides_runpath=yes
 
 
14735
    shlibpath_overrides_runpath=yes
 
 
14740
  libname_spec='$name'
 
 
14743
  library_names_spec='$libname${shared_ext} $libname.a'
 
 
14744
  dynamic_linker='OS/2 ld.exe'
 
 
14745
  shlibpath_var=LIBPATH
 
 
14748
osf3* | osf4* | osf5*)
 
 
14752
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14753
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14754
  shlibpath_var=LD_LIBRARY_PATH
 
 
14755
  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 
 
14756
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 
 
14764
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
14767
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14768
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14769
  shlibpath_var=LD_LIBRARY_PATH
 
 
14770
  shlibpath_overrides_runpath=yes
 
 
14771
  hardcode_into_libs=yes
 
 
14772
  # ldd complains unless libraries are executable
 
 
14773
  postinstall_cmds='chmod +x $lib'
 
 
14778
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 
 
14779
  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 
 
14780
  shlibpath_var=LD_LIBRARY_PATH
 
 
14781
  shlibpath_overrides_runpath=yes
 
 
14782
  if test "$with_gnu_ld" = yes; then
 
 
14789
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
14790
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14791
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14792
  shlibpath_var=LD_LIBRARY_PATH
 
 
14793
  case $host_vendor in
 
 
14795
      shlibpath_overrides_runpath=no
 
 
14797
      runpath_var=LD_RUN_PATH
 
 
14805
      shlibpath_overrides_runpath=no
 
 
14806
      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 
 
14812
  if test -d /usr/nec ;then
 
 
14813
    version_type=linux # correct to gnu/linux during the next big refactor
 
 
14814
    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 
 
14815
    soname_spec='$libname${shared_ext}.$major'
 
 
14816
    shlibpath_var=LD_LIBRARY_PATH
 
 
14820
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 
 
14821
  version_type=freebsd-elf
 
 
14824
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 
 
14825
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14826
  shlibpath_var=LD_LIBRARY_PATH
 
 
14827
  shlibpath_overrides_runpath=yes
 
 
14828
  hardcode_into_libs=yes
 
 
14829
  if test "$with_gnu_ld" = yes; then
 
 
14830
    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 
 
14832
    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 
 
14835
        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 
 
14839
  sys_lib_dlsearch_path_spec='/usr/lib'
 
 
14843
  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 
 
14844
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
14847
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14848
  shlibpath_var=LD_LIBRARY_PATH
 
 
14849
  shlibpath_overrides_runpath=no
 
 
14850
  hardcode_into_libs=yes
 
 
14854
  version_type=linux # correct to gnu/linux during the next big refactor
 
 
14855
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 
 
14856
  soname_spec='${libname}${release}${shared_ext}$major'
 
 
14857
  shlibpath_var=LD_LIBRARY_PATH
 
 
14864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 
 
14865
$as_echo "$dynamic_linker" >&6; }
 
 
14866
test "$dynamic_linker" = no && can_build_shared=no
 
 
14868
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 
 
14869
if test "$GCC" = yes; then
 
 
14870
  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 
 
14873
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 
 
14874
  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 
 
14876
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 
 
14877
  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 
 
14917
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 
 
14918
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 
 
14919
hardcode_action_CXX=
 
 
14920
if test -n "$hardcode_libdir_flag_spec_CXX" ||
 
 
14921
   test -n "$runpath_var_CXX" ||
 
 
14922
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
 
 
14924
  # We can hardcode non-existent directories.
 
 
14925
  if test "$hardcode_direct_CXX" != no &&
 
 
14926
     # If the only mechanism to avoid hardcoding is shlibpath_var, we
 
 
14927
     # have to relink, otherwise we might link with an installed library
 
 
14928
     # when we should be linking with a yet-to-be-installed one
 
 
14929
     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 
 
14930
     test "$hardcode_minus_L_CXX" != no; then
 
 
14931
    # Linking always hardcodes the temporary library directory.
 
 
14932
    hardcode_action_CXX=relink
 
 
14934
    # We can link without hardcoding, and we can hardcode nonexisting dirs.
 
 
14935
    hardcode_action_CXX=immediate
 
 
14938
  # We cannot hardcode anything, or else we can only hardcode existing
 
 
14940
  hardcode_action_CXX=unsupported
 
 
14942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
 
 
14943
$as_echo "$hardcode_action_CXX" >&6; }
 
 
14945
if test "$hardcode_action_CXX" = relink ||
 
 
14946
   test "$inherit_rpath_CXX" = yes; then
 
 
14947
  # Fast installation is not supported
 
 
14948
  enable_fast_install=no
 
 
14949
elif test "$shlibpath_overrides_runpath" = yes ||
 
 
14950
     test "$enable_shared" = no; then
 
 
14951
  # Fast installation is not necessary
 
 
14952
  enable_fast_install=needless
 
 
14961
  fi # test -n "$compiler"
 
 
14964
  CFLAGS=$lt_save_CFLAGS
 
 
14968
  with_gnu_ld=$lt_save_with_gnu_ld
 
 
14969
  lt_cv_path_LDCXX=$lt_cv_path_LD
 
 
14970
  lt_cv_path_LD=$lt_save_path_LD
 
 
14971
  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 
 
14972
  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 
 
14973
fi # test "$_lt_caught_CXX_error" != yes
 
 
14976
ac_cpp='$CPP $CPPFLAGS'
 
 
14977
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 
 
14978
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 
 
14979
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
14995
        ac_config_commands="$ac_config_commands libtool"
 
 
15000
# Only expand once:
 
 
15004
# checks for libraries.
 
 
15005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_filesystem-mt" >&5
 
 
15006
$as_echo_n "checking for main in -lboost_filesystem-mt... " >&6; }
 
 
15007
if ${ac_cv_lib_boost_filesystem_mt_main+:} false; then :
 
 
15008
  $as_echo_n "(cached) " >&6
 
 
15010
  ac_check_lib_save_LIBS=$LIBS
 
 
15011
LIBS="-lboost_filesystem-mt  $LIBS"
 
 
15012
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
15013
/* end confdefs.h.  */
 
 
15024
if ac_fn_c_try_link "$LINENO"; then :
 
 
15025
  ac_cv_lib_boost_filesystem_mt_main=yes
 
 
15027
  ac_cv_lib_boost_filesystem_mt_main=no
 
 
15029
rm -f core conftest.err conftest.$ac_objext \
 
 
15030
    conftest$ac_exeext conftest.$ac_ext
 
 
15031
LIBS=$ac_check_lib_save_LIBS
 
 
15033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_filesystem_mt_main" >&5
 
 
15034
$as_echo "$ac_cv_lib_boost_filesystem_mt_main" >&6; }
 
 
15035
if test "x$ac_cv_lib_boost_filesystem_mt_main" = xyes; then :
 
 
15036
  cat >>confdefs.h <<_ACEOF
 
 
15037
#define HAVE_LIBBOOST_FILESYSTEM_MT 1
 
 
15040
  LIBS="-lboost_filesystem-mt $LIBS"
 
 
15043
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&5
 
 
15044
$as_echo "$as_me: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&2;}
 
 
15047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_thread-mt" >&5
 
 
15048
$as_echo_n "checking for main in -lboost_thread-mt... " >&6; }
 
 
15049
if ${ac_cv_lib_boost_thread_mt_main+:} false; then :
 
 
15050
  $as_echo_n "(cached) " >&6
 
 
15052
  ac_check_lib_save_LIBS=$LIBS
 
 
15053
LIBS="-lboost_thread-mt  $LIBS"
 
 
15054
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
15055
/* end confdefs.h.  */
 
 
15066
if ac_fn_c_try_link "$LINENO"; then :
 
 
15067
  ac_cv_lib_boost_thread_mt_main=yes
 
 
15069
  ac_cv_lib_boost_thread_mt_main=no
 
 
15071
rm -f core conftest.err conftest.$ac_objext \
 
 
15072
    conftest$ac_exeext conftest.$ac_ext
 
 
15073
LIBS=$ac_check_lib_save_LIBS
 
 
15075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_thread_mt_main" >&5
 
 
15076
$as_echo "$ac_cv_lib_boost_thread_mt_main" >&6; }
 
 
15077
if test "x$ac_cv_lib_boost_thread_mt_main" = xyes; then :
 
 
15078
  cat >>confdefs.h <<_ACEOF
 
 
15079
#define HAVE_LIBBOOST_THREAD_MT 1
 
 
15082
  LIBS="-lboost_thread-mt $LIBS"
 
 
15085
  as_fn_error $? "Unable to find Boost Thread library" "$LINENO" 5
 
 
15088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5
 
 
15089
$as_echo_n "checking for sqlite3_initialize in -lsqlite3... " >&6; }
 
 
15090
if ${ac_cv_lib_sqlite3_sqlite3_initialize+:} false; then :
 
 
15091
  $as_echo_n "(cached) " >&6
 
 
15093
  ac_check_lib_save_LIBS=$LIBS
 
 
15094
LIBS="-lsqlite3  $LIBS"
 
 
15095
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
15096
/* end confdefs.h.  */
 
 
15098
/* Override any GCC internal prototype to avoid an error.
 
 
15099
   Use char because int might match the return type of a GCC
 
 
15100
   builtin and then its argument prototype would still apply.  */
 
 
15104
char sqlite3_initialize ();
 
 
15108
return sqlite3_initialize ();
 
 
15113
if ac_fn_c_try_link "$LINENO"; then :
 
 
15114
  ac_cv_lib_sqlite3_sqlite3_initialize=yes
 
 
15116
  ac_cv_lib_sqlite3_sqlite3_initialize=no
 
 
15118
rm -f core conftest.err conftest.$ac_objext \
 
 
15119
    conftest$ac_exeext conftest.$ac_ext
 
 
15120
LIBS=$ac_check_lib_save_LIBS
 
 
15122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5
 
 
15123
$as_echo "$ac_cv_lib_sqlite3_sqlite3_initialize" >&6; }
 
 
15124
if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = xyes; then :
 
 
15125
  cat >>confdefs.h <<_ACEOF
 
 
15126
#define HAVE_LIBSQLITE3 1
 
 
15129
  LIBS="-lsqlite3 $LIBS"
 
 
15132
  as_fn_error $? "Unable to find SQLite3 library" "$LINENO" 5
 
 
15136
# checks for header files.
 
 
15137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 
 
15138
$as_echo_n "checking for ANSI C header files... " >&6; }
 
 
15139
if ${ac_cv_header_stdc+:} false; then :
 
 
15140
  $as_echo_n "(cached) " >&6
 
 
15142
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
15143
/* end confdefs.h.  */
 
 
15144
#include <stdlib.h>
 
 
15145
#include <stdarg.h>
 
 
15146
#include <string.h>
 
 
15157
if ac_fn_c_try_compile "$LINENO"; then :
 
 
15158
  ac_cv_header_stdc=yes
 
 
15160
  ac_cv_header_stdc=no
 
 
15162
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
 
15164
if test $ac_cv_header_stdc = yes; then
 
 
15165
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
 
15166
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
15167
/* end confdefs.h.  */
 
 
15168
#include <string.h>
 
 
15171
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
 
15172
  $EGREP "memchr" >/dev/null 2>&1; then :
 
 
15175
  ac_cv_header_stdc=no
 
 
15181
if test $ac_cv_header_stdc = yes; then
 
 
15182
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
 
15183
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
15184
/* end confdefs.h.  */
 
 
15185
#include <stdlib.h>
 
 
15188
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
 
15189
  $EGREP "free" >/dev/null 2>&1; then :
 
 
15192
  ac_cv_header_stdc=no
 
 
15198
if test $ac_cv_header_stdc = yes; then
 
 
15199
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
 
15200
  if test "$cross_compiling" = yes; then :
 
 
15203
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
 
15204
/* end confdefs.h.  */
 
 
15206
#include <stdlib.h>
 
 
15207
#if ((' ' & 0x0FF) == 0x020)
 
 
15208
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
 
15209
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
 
15211
# define ISLOWER(c) \
 
 
15212
                   (('a' <= (c) && (c) <= 'i') \
 
 
15213
                     || ('j' <= (c) && (c) <= 'r') \
 
 
15214
                     || ('s' <= (c) && (c) <= 'z'))
 
 
15215
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 
 
15218
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
 
15223
  for (i = 0; i < 256; i++)
 
 
15224
    if (XOR (islower (i), ISLOWER (i))
 
 
15225
        || toupper (i) != TOUPPER (i))
 
 
15230
if ac_fn_c_try_run "$LINENO"; then :
 
 
15233
  ac_cv_header_stdc=no
 
 
15235
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
 
15236
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
 
15241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
 
 
15242
$as_echo "$ac_cv_header_stdc" >&6; }
 
 
15243
if test $ac_cv_header_stdc = yes; then
 
 
15245
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
 
 
15249
for ac_header in string.h
 
 
15251
  ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
 
 
15252
if test "x$ac_cv_header_string_h" = xyes; then :
 
 
15253
  cat >>confdefs.h <<_ACEOF
 
 
15254
#define HAVE_STRING_H 1
 
 
15262
# checks for typedefs, structures, and compiler characteristics.
 
 
15264
# checks for library functions.
 
 
15266
ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile test/Makefile"
 
 
15268
cat >confcache <<\_ACEOF
 
 
15269
# This file is a shell script that caches the results of configure
 
 
15270
# tests run on this system so they can be shared between configure
 
 
15271
# scripts and configure runs, see configure's option --config-cache.
 
 
15272
# It is not useful on other systems.  If it contains results you don't
 
 
15273
# want to keep, you may remove or edit it.
 
 
15275
# config.status only pays attention to the cache file if you give it
 
 
15276
# the --recheck option to rerun configure.
 
 
15278
# `ac_cv_env_foo' variables (set or unset) will be overridden when
 
 
15279
# loading this file, other *unset* `ac_cv_foo' will be assigned the
 
 
15280
# following values.
 
 
15284
# The following way of writing the cache mishandles newlines in values,
 
 
15285
# but we know of no workaround that is simple, portable, and efficient.
 
 
15286
# So, we kill variables containing newlines.
 
 
15287
# Ultrix sh set writes to stderr and can't be redirected directly,
 
 
15288
# and sets the high bit in the cache file unless we assign to the vars.
 
 
15290
  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 
 
15291
    eval ac_val=\$$ac_var
 
 
15295
      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 
 
15296
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 
 
15299
      _ | IFS | as_nl) ;; #(
 
 
15300
      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 
 
15301
      *) { eval $ac_var=; unset $ac_var;} ;;
 
 
15307
    case $as_nl`(ac_space=' '; set) 2>&1` in #(
 
 
15308
    *${as_nl}ac_space=\ *)
 
 
15309
      # `set' does not quote correctly, so add quotes: double-quote
 
 
15310
      # substitution turns \\\\ into \\, and sed turns \\ into \.
 
 
15313
          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 
 
15316
      # `set' quotes correctly as required by POSIX, so do not add quotes.
 
 
15317
      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 
 
15326
     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 
 
15328
     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 
 
15330
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 
 
15331
  if test -w "$cache_file"; then
 
 
15332
    if test "x$cache_file" != "x/dev/null"; then
 
 
15333
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 
 
15334
$as_echo "$as_me: updating cache $cache_file" >&6;}
 
 
15335
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
 
15336
        cat confcache >"$cache_file"
 
 
15338
        case $cache_file in #(
 
 
15340
          mv -f confcache "$cache_file"$$ &&
 
 
15341
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
 
15343
          mv -f confcache "$cache_file" ;;
 
 
15348
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 
 
15349
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 
 
15354
test "x$prefix" = xNONE && prefix=$ac_default_prefix
 
 
15355
# Let make expand exec_prefix.
 
 
15356
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 
 
15358
DEFS=-DHAVE_CONFIG_H
 
 
15363
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 
 
15364
  # 1. Remove the extension, and $U if already installed.
 
 
15365
  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 
 
15366
  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 
 
15367
  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 
 
15368
  #    will be set to the directory where LIBOBJS objects are built.
 
 
15369
  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 
 
15370
  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 
 
15372
LIBOBJS=$ac_libobjs
 
 
15374
LTLIBOBJS=$ac_ltlibobjs
 
 
15377
 if test -n "$EXEEXT"; then
 
 
15379
  am__EXEEXT_FALSE='#'
 
 
15381
  am__EXEEXT_TRUE='#'
 
 
15385
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
 
15386
  as_fn_error $? "conditional \"AMDEP\" was never defined.
 
 
15387
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
 
15389
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
 
15390
  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
 
 
15391
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
 
15393
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
 
15394
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
 
 
15395
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
 
15398
: "${CONFIG_STATUS=./config.status}"
 
 
15400
ac_clean_files_save=$ac_clean_files
 
 
15401
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 
 
15402
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 
 
15403
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 
 
15405
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 
 
15407
# Generated by $as_me.
 
 
15408
# Run this file to recreate the current configuration.
 
 
15409
# Compiler output produced by configure, useful for debugging
 
 
15410
# configure, is in config.log if it exists.
 
 
15413
ac_cs_recheck=false
 
 
15416
SHELL=\${CONFIG_SHELL-$SHELL}
 
 
15419
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 
 
15420
## -------------------- ##
 
 
15421
## M4sh Initialization. ##
 
 
15422
## -------------------- ##
 
 
15424
# Be more Bourne compatible
 
 
15425
DUALCASE=1; export DUALCASE # for MKS sh
 
 
15426
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 
 
15429
  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 
 
15430
  # is contrary to our usage.  Disable this feature.
 
 
15431
  alias -g '${1+"$@"}'='"$@"'
 
 
15432
  setopt NO_GLOB_SUBST
 
 
15434
  case `(set -o) 2>/dev/null` in #(
 
 
15446
# Printing a long string crashes Solaris 7 /usr/bin/printf.
 
 
15447
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
 
15448
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 
 
15449
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 
 
15450
# Prefer a ksh shell builtin over an external printf program on Solaris,
 
 
15451
# but without wasting forks for bash or zsh.
 
 
15452
if test -z "$BASH_VERSION$ZSH_VERSION" \
 
 
15453
    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 
 
15454
  as_echo='print -r --'
 
 
15455
  as_echo_n='print -rn --'
 
 
15456
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 
 
15457
  as_echo='printf %s\n'
 
 
15458
  as_echo_n='printf %s'
 
 
15460
  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 
 
15461
    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 
 
15462
    as_echo_n='/usr/ucb/echo -n'
 
 
15464
    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 
 
15465
    as_echo_n_body='eval
 
 
15469
        expr "X$arg" : "X\\(.*\\)$as_nl";
 
 
15470
        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 
 
15472
      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 
 
15474
    export as_echo_n_body
 
 
15475
    as_echo_n='sh -c $as_echo_n_body as_echo'
 
 
15477
  export as_echo_body
 
 
15478
  as_echo='sh -c $as_echo_body as_echo'
 
 
15481
# The user is always right.
 
 
15482
if test "${PATH_SEPARATOR+set}" != set; then
 
 
15484
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 
 
15485
    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 
 
15492
# We need space, tab and new line, in precisely that order.  Quoting is
 
 
15493
# there to prevent editors from complaining about space-tab.
 
 
15494
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
 
 
15495
# splitting by setting IFS to empty value.)
 
 
15498
# Find who we are.  Look in the path if we contain no directory separator.
 
 
15501
  *[\\/]* ) as_myself=$0 ;;
 
 
15502
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
 
15503
for as_dir in $PATH
 
 
15506
  test -z "$as_dir" && as_dir=.
 
 
15507
    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 
 
15513
# We did not find ourselves, most probably we were run as `sh COMMAND'
 
 
15514
# in which case we are not to be found in the path.
 
 
15515
if test "x$as_myself" = x; then
 
 
15518
if test ! -f "$as_myself"; then
 
 
15519
  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 
 
15523
# Unset variables that we do not need and which cause bugs (e.g. in
 
 
15524
# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 
 
15525
# suppresses any "Segmentation fault" message there.  '((' could
 
 
15526
# trigger a bug in pdksh 5.2.14.
 
 
15527
for as_var in BASH_ENV ENV MAIL MAILPATH
 
 
15528
do eval test x\${$as_var+set} = xset \
 
 
15529
  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 
 
15542
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 
15545
# as_fn_error STATUS ERROR [LINENO LOG_FD]
 
 
15546
# ----------------------------------------
 
 
15547
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 
 
15548
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 
 
15549
# script with STATUS, using 1 if that was 0.
 
 
15552
  as_status=$1; test $as_status -eq 0 && as_status=1
 
 
15554
    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
 
15555
    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
 
 
15557
  $as_echo "$as_me: error: $2" >&2
 
 
15558
  as_fn_exit $as_status
 
 
15562
# as_fn_set_status STATUS
 
 
15563
# -----------------------
 
 
15564
# Set $? to STATUS, without forking.
 
 
15565
as_fn_set_status ()
 
 
15568
} # as_fn_set_status
 
 
15570
# as_fn_exit STATUS
 
 
15571
# -----------------
 
 
15572
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 
 
15576
  as_fn_set_status $1
 
 
15582
# Portably unset VAR.
 
 
15585
  { eval $1=; unset $1;}
 
 
15587
as_unset=as_fn_unset
 
 
15588
# as_fn_append VAR VALUE
 
 
15589
# ----------------------
 
 
15590
# Append the text in VALUE to the end of the definition contained in VAR. Take
 
 
15591
# advantage of any shell optimizations that allow amortized linear growth over
 
 
15592
# repeated appends, instead of the typical quadratic growth present in naive
 
 
15594
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 
 
15595
  eval 'as_fn_append ()
 
 
15606
# as_fn_arith ARG...
 
 
15607
# ------------------
 
 
15608
# Perform arithmetic evaluation on the ARGs, and store the result in the
 
 
15609
# global $as_val. Take advantage of shells that can avoid forks. The arguments
 
 
15610
# must be portable across $(()) and expr.
 
 
15611
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 
 
15612
  eval 'as_fn_arith ()
 
 
15619
    as_val=`expr "$@" || test $? -eq 1`
 
 
15624
if expr a : '\(a\)' >/dev/null 2>&1 &&
 
 
15625
   test "X`expr 00001 : '.*\(...\)'`" = X001; then
 
 
15631
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 
 
15632
  as_basename=basename
 
 
15637
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 
 
15643
as_me=`$as_basename -- "$0" ||
 
 
15644
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 
 
15645
         X"$0" : 'X\(//\)$' \| \
 
 
15646
         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 
 
15648
    sed '/^.*\/\([^/][^/]*\)\/*$/{
 
 
15662
# Avoid depending upon Character Ranges.
 
 
15663
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 
 
15664
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 
 
15665
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 
 
15666
as_cr_digits='0123456789'
 
 
15667
as_cr_alnum=$as_cr_Letters$as_cr_digits
 
 
15669
ECHO_C= ECHO_N= ECHO_T=
 
 
15670
case `echo -n x` in #(((((
 
 
15672
  case `echo 'xy\c'` in
 
 
15673
  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
 
 
15675
  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 
 
15682
rm -f conf$$ conf$$.exe conf$$.file
 
 
15683
if test -d conf$$.dir; then
 
 
15684
  rm -f conf$$.dir/conf$$.file
 
 
15687
  mkdir conf$$.dir 2>/dev/null
 
 
15689
if (echo >conf$$.file) 2>/dev/null; then
 
 
15690
  if ln -s conf$$.file conf$$ 2>/dev/null; then
 
 
15692
    # ... but there are two gotchas:
 
 
15693
    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 
 
15694
    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 
 
15695
    # In both cases, we have to default to `cp -p'.
 
 
15696
    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 
 
15698
  elif ln conf$$.file conf$$ 2>/dev/null; then
 
 
15706
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 
 
15707
rmdir conf$$.dir 2>/dev/null
 
 
15712
# Create "$as_dir" as a directory, including parents if necessary.
 
 
15717
  -*) as_dir=./$as_dir;;
 
 
15719
  test -d "$as_dir" || eval $as_mkdir_p || {
 
 
15723
      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 
 
15724
      *) as_qdir=$as_dir;;
 
 
15726
      as_dirs="'$as_qdir' $as_dirs"
 
 
15727
      as_dir=`$as_dirname -- "$as_dir" ||
 
 
15728
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
15729
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
 
15730
         X"$as_dir" : 'X\(//\)$' \| \
 
 
15731
         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 
 
15732
$as_echo X"$as_dir" |
 
 
15733
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
15737
          /^X\(\/\/\)[^/].*/{
 
 
15750
      test -d "$as_dir" && break
 
 
15752
    test -z "$as_dirs" || eval "mkdir $as_dirs"
 
 
15753
  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
 
15757
if mkdir -p . 2>/dev/null; then
 
 
15758
  as_mkdir_p='mkdir -p "$as_dir"'
 
 
15760
  test -d ./-p && rmdir ./-p
 
 
15764
if test -x / >/dev/null 2>&1; then
 
 
15765
  as_test_x='test -x'
 
 
15767
  if ls -dL / >/dev/null 2>&1; then
 
 
15774
      if test -d "$1"; then
 
 
15780
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 
 
15781
        ???[sx]*):;;*)false;;esac;fi
 
 
15785
as_executable_p=$as_test_x
 
 
15787
# Sed expression to map a string onto a valid CPP name.
 
 
15788
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 
 
15790
# Sed expression to map a string onto a valid variable name.
 
 
15791
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 
 
15795
## ----------------------------------- ##
 
 
15796
## Main body of $CONFIG_STATUS script. ##
 
 
15797
## ----------------------------------- ##
 
 
15799
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 
 
15801
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
15802
# Save the log message, to keep $0 and so on meaningful, and to
 
 
15803
# report actual input values of CONFIG_FILES etc. instead of their
 
 
15804
# values after options handling.
 
 
15806
This file was extended by sqlite3cc $as_me 0.1.0, which was
 
 
15807
generated by GNU Autoconf 2.68.  Invocation command line was
 
 
15809
  CONFIG_FILES    = $CONFIG_FILES
 
 
15810
  CONFIG_HEADERS  = $CONFIG_HEADERS
 
 
15811
  CONFIG_LINKS    = $CONFIG_LINKS
 
 
15812
  CONFIG_COMMANDS = $CONFIG_COMMANDS
 
 
15815
on `(hostname || uname -n) 2>/dev/null | sed 1q`
 
 
15820
case $ac_config_files in *"
 
 
15821
"*) set x $ac_config_files; shift; ac_config_files=$*;;
 
 
15824
case $ac_config_headers in *"
 
 
15825
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 
 
15829
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
15830
# Files that config.status was made for.
 
 
15831
config_files="$ac_config_files"
 
 
15832
config_headers="$ac_config_headers"
 
 
15833
config_commands="$ac_config_commands"
 
 
15837
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
15839
\`$as_me' instantiates files and other configuration actions
 
 
15840
from templates according to the current configuration.  Unless the files
 
 
15841
and actions are specified as TAGs, all are instantiated by default.
 
 
15843
Usage: $0 [OPTION]... [TAG]...
 
 
15845
  -h, --help       print this help, then exit
 
 
15846
  -V, --version    print version number and configuration settings, then exit
 
 
15847
      --config     print configuration, then exit
 
 
15848
  -q, --quiet, --silent
 
 
15849
                   do not print progress messages
 
 
15850
  -d, --debug      don't remove temporary files
 
 
15851
      --recheck    update $as_me by reconfiguring in the same conditions
 
 
15852
      --file=FILE[:TEMPLATE]
 
 
15853
                   instantiate the configuration file FILE
 
 
15854
      --header=FILE[:TEMPLATE]
 
 
15855
                   instantiate the configuration header FILE
 
 
15857
Configuration files:
 
 
15860
Configuration headers:
 
 
15863
Configuration commands:
 
 
15866
Report bugs to <tim@ed.am>.
 
 
15867
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>."
 
 
15870
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
15871
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 
 
15873
sqlite3cc config.status 0.1.0
 
 
15874
configured by $0, generated by GNU Autoconf 2.68,
 
 
15875
  with options \\"\$ac_cs_config\\"
 
 
15877
Copyright (C) 2010 Free Software Foundation, Inc.
 
 
15878
This config.status script is free software; the Free Software Foundation
 
 
15879
gives unlimited permission to copy, distribute and modify it."
 
 
15886
test -n "\$AWK" || AWK=awk
 
 
15889
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
15890
# The default lists apply if the user does not specify any file.
 
 
15896
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
 
15897
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 
 
15901
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
 
15913
  # Handling of the options.
 
 
15914
  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 
 
15916
  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 
 
15917
    $as_echo "$ac_cs_version"; exit ;;
 
 
15918
  --config | --confi | --conf | --con | --co | --c )
 
 
15919
    $as_echo "$ac_cs_config"; exit ;;
 
 
15920
  --debug | --debu | --deb | --de | --d | -d )
 
 
15922
  --file | --fil | --fi | --f )
 
 
15925
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
 
15926
    '') as_fn_error $? "missing file argument" ;;
 
 
15928
    as_fn_append CONFIG_FILES " '$ac_optarg'"
 
 
15929
    ac_need_defaults=false;;
 
 
15930
  --header | --heade | --head | --hea )
 
 
15933
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
 
15935
    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 
 
15936
    ac_need_defaults=false;;
 
 
15938
    # Conflict between --help and --header
 
 
15939
    as_fn_error $? "ambiguous option: \`$1'
 
 
15940
Try \`$0 --help' for more information.";;
 
 
15941
  --help | --hel | -h )
 
 
15942
    $as_echo "$ac_cs_usage"; exit ;;
 
 
15943
  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 
 
15944
  | -silent | --silent | --silen | --sile | --sil | --si | --s)
 
 
15947
  # This is an error.
 
 
15948
  -*) as_fn_error $? "unrecognized option: \`$1'
 
 
15949
Try \`$0 --help' for more information." ;;
 
 
15951
  *) as_fn_append ac_config_targets " $1"
 
 
15952
     ac_need_defaults=false ;;
 
 
15958
ac_configure_extra_args=
 
 
15960
if $ac_cs_silent; then
 
 
15962
  ac_configure_extra_args="$ac_configure_extra_args --silent"
 
 
15966
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
15967
if \$ac_cs_recheck; then
 
 
15968
  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 
 
15970
  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 
 
15971
  CONFIG_SHELL='$SHELL'
 
 
15972
  export CONFIG_SHELL
 
 
15977
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
15981
  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 
 
15982
## Running $as_me. ##
 
 
15988
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
15992
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 
 
15995
# The HP-UX ksh and POSIX shell print the target directory to stdout
 
 
15996
# if CDPATH is set.
 
 
15997
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 
15999
sed_quote_subst='$sed_quote_subst'
 
 
16000
double_quote_subst='$double_quote_subst'
 
 
16001
delay_variable_subst='$delay_variable_subst'
 
 
16002
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 
 
16003
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 
 
16004
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 
 
16005
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 
 
16006
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 
 
16007
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 
 
16008
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 
 
16009
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 
 
16010
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
 
 
16011
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 
 
16012
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 
 
16013
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 
 
16014
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 
 
16015
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 
 
16016
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 
 
16017
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 
 
16018
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 
 
16019
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 
 
16020
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 
 
16021
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 
 
16022
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 
 
16023
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 
 
16024
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 
 
16025
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 
 
16026
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 
 
16027
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 
 
16028
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 
 
16029
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 
 
16030
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
 
16031
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
 
16032
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
 
 
16033
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 
 
16034
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16035
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 
 
16036
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 
 
16037
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
 
16038
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
 
16039
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
 
16040
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
 
16041
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
 
 
16042
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 
 
16043
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
 
16044
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
 
 
16045
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 
 
16046
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 
 
16047
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16048
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16049
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16050
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 
 
16051
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 
 
16052
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 
 
16053
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 
 
16054
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 
 
16055
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 
 
16056
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 
 
16057
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 
 
16058
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"`'
 
 
16059
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
 
16060
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
 
 
16061
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 
 
16062
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 
 
16063
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
 
16064
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 
 
16065
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 
 
16066
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 
 
16067
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 
 
16068
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
 
16069
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
 
 
16070
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 
 
16071
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 
 
16072
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 
 
16073
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 
 
16074
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 
 
16075
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 
 
16076
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16077
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16078
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 
 
16079
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 
 
16080
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 
 
16081
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 
 
16082
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 
 
16083
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16084
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16085
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16086
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16087
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16088
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16089
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 
 
16090
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
 
16091
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 
 
16092
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 
 
16093
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 
 
16094
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 
 
16095
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 
 
16096
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 
 
16097
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
 
16098
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 
 
16099
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 
 
16100
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 
 
16101
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 
 
16102
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16103
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 
 
16104
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 
 
16105
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16106
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16107
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 
 
16108
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 
 
16109
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
 
16110
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 
 
16111
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 
 
16112
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 
 
16113
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 
 
16114
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 
 
16115
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 
 
16116
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 
 
16117
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 
 
16118
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 
 
16119
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16120
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16121
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 
 
16122
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 
 
16123
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 
 
16124
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 
 
16125
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 
 
16126
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 
 
16127
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 
 
16128
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 
 
16129
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 
 
16130
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 
 
16131
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 
 
16132
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
 
 
16133
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
 
 
16134
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
 
 
16135
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
 
 
16136
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
 
 
16137
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
 
 
16138
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16139
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16140
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16141
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16142
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16143
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16144
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16145
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16146
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16147
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16148
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16149
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16150
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16151
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16152
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16153
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16154
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16155
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16156
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16157
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16158
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16159
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16160
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16161
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16162
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16163
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16164
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16165
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16166
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16167
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16168
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16169
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16170
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16171
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16172
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16173
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16174
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16175
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16176
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16177
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16178
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16179
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16180
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16181
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16182
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16183
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16184
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16185
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
 
 
16188
LTCFLAGS='$LTCFLAGS'
 
 
16189
compiler='$compiler_DEFAULT'
 
 
16191
# A function that is used when there is no print builtin or printf.
 
 
16192
func_fallback_echo ()
 
 
16194
  eval 'cat <<_LTECHO_EOF
 
 
16199
# Quote evaled strings.
 
 
16214
deplibs_check_method \
 
 
16219
sharedlib_from_linklib_cmd \
 
 
16222
archiver_list_spec \
 
 
16228
lt_cv_sys_global_symbol_pipe \
 
 
16229
lt_cv_sys_global_symbol_to_cdecl \
 
 
16230
lt_cv_sys_global_symbol_to_c_name_address \
 
 
16231
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
 
16232
nm_file_list_spec \
 
 
16233
lt_prog_compiler_no_builtin_flag \
 
 
16234
lt_prog_compiler_pic \
 
 
16235
lt_prog_compiler_wl \
 
 
16236
lt_prog_compiler_static \
 
 
16237
lt_cv_prog_compiler_c_o \
 
 
16246
export_dynamic_flag_spec \
 
 
16247
whole_archive_flag_spec \
 
 
16248
compiler_needs_object \
 
 
16250
allow_undefined_flag \
 
 
16251
no_undefined_flag \
 
 
16252
hardcode_libdir_flag_spec \
 
 
16253
hardcode_libdir_separator \
 
 
16257
variables_saved_for_relink \
 
 
16259
library_names_spec \
 
 
16261
install_override_mode \
 
 
16265
compiler_lib_search_dirs \
 
 
16270
compiler_lib_search_path \
 
 
16274
lt_prog_compiler_no_builtin_flag_CXX \
 
 
16275
lt_prog_compiler_pic_CXX \
 
 
16276
lt_prog_compiler_wl_CXX \
 
 
16277
lt_prog_compiler_static_CXX \
 
 
16278
lt_cv_prog_compiler_c_o_CXX \
 
 
16279
export_dynamic_flag_spec_CXX \
 
 
16280
whole_archive_flag_spec_CXX \
 
 
16281
compiler_needs_object_CXX \
 
 
16283
allow_undefined_flag_CXX \
 
 
16284
no_undefined_flag_CXX \
 
 
16285
hardcode_libdir_flag_spec_CXX \
 
 
16286
hardcode_libdir_separator_CXX \
 
 
16287
exclude_expsyms_CXX \
 
 
16288
include_expsyms_CXX \
 
 
16289
file_list_spec_CXX \
 
 
16290
compiler_lib_search_dirs_CXX \
 
 
16291
predep_objects_CXX \
 
 
16292
postdep_objects_CXX \
 
 
16295
compiler_lib_search_path_CXX; do
 
 
16296
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
 
16297
    *[\\\\\\\`\\"\\\$]*)
 
 
16298
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
 
16301
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
 
16306
# Double-quote double-evaled strings.
 
 
16307
for var in reload_cmds \
 
 
16308
old_postinstall_cmds \
 
 
16309
old_postuninstall_cmds \
 
 
16311
extract_expsyms_cmds \
 
 
16312
old_archive_from_new_cmds \
 
 
16313
old_archive_from_expsyms_cmds \
 
 
16315
archive_expsym_cmds \
 
 
16317
module_expsym_cmds \
 
 
16318
export_symbols_cmds \
 
 
16322
postuninstall_cmds \
 
 
16324
sys_lib_search_path_spec \
 
 
16325
sys_lib_dlsearch_path_spec \
 
 
16327
old_archive_cmds_CXX \
 
 
16328
old_archive_from_new_cmds_CXX \
 
 
16329
old_archive_from_expsyms_cmds_CXX \
 
 
16331
archive_expsym_cmds_CXX \
 
 
16333
module_expsym_cmds_CXX \
 
 
16334
export_symbols_cmds_CXX \
 
 
16336
postlink_cmds_CXX; do
 
 
16337
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 
 
16338
    *[\\\\\\\`\\"\\\$]*)
 
 
16339
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
 
16342
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 
 
16347
ac_aux_dir='$ac_aux_dir'
 
 
16348
xsi_shell='$xsi_shell'
 
 
16349
lt_shell_append='$lt_shell_append'
 
 
16351
# See if we are running on zsh, and set the options which allow our
 
 
16352
# commands through without removal of \ escapes INIT.
 
 
16353
if test -n "\${ZSH_VERSION+set}" ; then
 
 
16354
   setopt NO_GLOB_SUBST
 
 
16360
    TIMESTAMP='$TIMESTAMP'
 
 
16371
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
16373
# Handling of arguments.
 
 
16374
for ac_config_target in $ac_config_targets
 
 
16376
  case $ac_config_target in
 
 
16377
    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 
 
16378
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 
 
16379
    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 
 
16380
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 
 
16381
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 
 
16382
    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
 
 
16383
    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 
 
16385
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 
 
16390
# If the user did not use the arguments to specify the items to instantiate,
 
 
16391
# then the envvar interface is used.  Set only those that are not.
 
 
16392
# We use the long form for the default assignment because of an extremely
 
 
16393
# bizarre bug on SunOS 4.1.3.
 
 
16394
if $ac_need_defaults; then
 
 
16395
  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 
 
16396
  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 
 
16397
  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 
 
16400
# Have a temporary directory for convenience.  Make it in the build tree
 
 
16401
# simply because there is no reason against having it here, and in addition,
 
 
16402
# creating and moving files from /tmp can sometimes cause problems.
 
 
16403
# Hook for its removal unless debugging.
 
 
16404
# Note that there is a small window in which the directory will not be cleaned:
 
 
16405
# after its creation but before its name has been assigned to `$tmp'.
 
 
16409
  trap 'exit_status=$?
 
 
16410
  : "${ac_tmp:=$tmp}"
 
 
16411
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 
 
16413
  trap 'as_fn_exit 1' 1 2 13 15
 
 
16415
# Create a (secure) tmp directory for tmp files.
 
 
16418
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 
 
16422
  tmp=./conf$$-$RANDOM
 
 
16423
  (umask 077 && mkdir "$tmp")
 
 
16424
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
 
16427
# Set up the scripts for CONFIG_FILES section.
 
 
16428
# No need to generate them if there are no CONFIG_FILES.
 
 
16429
# This happens for instance with `./config.status config.h'.
 
 
16430
if test -n "$CONFIG_FILES"; then
 
 
16433
ac_cr=`echo X | tr X '\015'`
 
 
16434
# On cygwin, bash can eat \r inside `` if the user requested igncr.
 
 
16435
# But we know of no other shell where ac_cr would be empty at this
 
 
16436
# point, so we can use a bashism as a fallback.
 
 
16437
if test "x$ac_cr" = x; then
 
 
16438
  eval ac_cr=\$\'\\r\'
 
 
16440
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 
 
16441
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 
 
16444
  ac_cs_awk_cr=$ac_cr
 
 
16447
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 
 
16452
  echo "cat >conf$$subs.awk <<_ACEOF" &&
 
 
16453
  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 
 
16455
} >conf$$subs.sh ||
 
 
16456
  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
 
16457
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 
 
16459
for ac_last_try in false false false false false :; do
 
 
16460
  . ./conf$$subs.sh ||
 
 
16461
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
 
16463
  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 
 
16464
  if test $ac_delim_n = $ac_delim_num; then
 
 
16466
  elif $ac_last_try; then
 
 
16467
    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
 
16469
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
 
16472
rm -f conf$$subs.sh
 
 
16474
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
16475
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 
 
16479
s/^/S["/; s/!.*/"]=/
 
 
16489
s/\(.\{148\}\)..*/\1/
 
 
16491
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 
 
16496
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
 
16503
s/\(.\{148\}\)..*/\1/
 
 
16505
s/["\\]/\\&/g; s/^/"/; s/$/"/
 
 
16509
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 
 
16514
' <conf$$subs.awk | sed '
 
 
16519
' >>$CONFIG_STATUS || ac_write_fail=1
 
 
16520
rm -f conf$$subs.awk
 
 
16521
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
16523
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
 
 
16524
  for (key in S) S_is_set[key] = 1
 
 
16530
  nfields = split(line, field, "@")
 
 
16532
  len = length(field[1])
 
 
16533
  for (i = 2; i < nfields; i++) {
 
 
16535
    keylen = length(key)
 
 
16536
    if (S_is_set[key]) {
 
 
16538
      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 
 
16539
      len += length(value) + length(field[++i])
 
 
16550
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
16551
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 
 
16552
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 
 
16555
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
 
 
16556
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 
 
16559
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
 
 
16560
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 
 
16561
# trailing colons and then remove the whole line if VPATH becomes empty
 
 
16562
# (actually we leave an empty line to preserve line numbers).
 
 
16563
if test "x$srcdir" = x.; then
 
 
16564
  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
 
 
16582
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
16583
fi # test -n "$CONFIG_FILES"
 
 
16585
# Set up the scripts for CONFIG_HEADERS section.
 
 
16586
# No need to generate them if there are no CONFIG_HEADERS.
 
 
16587
# This happens for instance with `./config.status Makefile'.
 
 
16588
if test -n "$CONFIG_HEADERS"; then
 
 
16589
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 
 
16593
# Transform confdefs.h into an awk script `defines.awk', embedded as
 
 
16594
# here-document in config.status, that substitutes the proper values into
 
 
16595
# config.h.in to produce config.h.
 
 
16597
# Create a delimiter string that does not exist in confdefs.h, to ease
 
 
16598
# handling of long lines.
 
 
16600
for ac_last_try in false false :; do
 
 
16601
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
 
16602
  if test -z "$ac_tt"; then
 
 
16604
  elif $ac_last_try; then
 
 
16605
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
 
 
16607
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
 
16611
# For the awk script, D is an array of macro values keyed by name,
 
 
16612
# likewise P contains macro parameters if any.  Preserve backslash
 
 
16613
# newline sequences.
 
 
16615
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 
 
16617
s/.\{148\}/&'"$ac_delim"'/g
 
 
16620
s/^[     ]*#[    ]*define[       ][      ]*/ /
 
 
16627
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
 
16629
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
 
 
16633
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
 
 
16634
D["\1"]=" \3\\\\\\n"\\/p
 
 
16636
s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 
 
16641
s/.\{148\}/&'"$ac_delim"'/g
 
 
16646
s/["\\]/\\&/g; s/^/"/; s/$/"/p
 
 
16649
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 
 
16651
' <confdefs.h | sed '
 
 
16652
s/'"$ac_delim"'/"\\\
 
 
16653
"/g' >>$CONFIG_STATUS || ac_write_fail=1
 
 
16655
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
16656
  for (key in D) D_is_set[key] = 1
 
 
16659
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 
 
16661
  split(line, arg, " ")
 
 
16662
  if (arg[1] == "#") {
 
 
16666
    defundef = substr(arg[1], 2)
 
 
16669
  split(mac1, mac2, "(") #)
 
 
16671
  prefix = substr(line, 1, index(line, defundef) - 1)
 
 
16672
  if (D_is_set[macro]) {
 
 
16673
    # Preserve the white space surrounding the "#".
 
 
16674
    print prefix "define", macro P[macro] D[macro]
 
 
16677
    # Replace #undef with comments.  This is necessary, for example,
 
 
16678
    # in the case of _POSIX_SOURCE, which is predefined and required
 
 
16679
    # on some systems where configure will not decide to define it.
 
 
16680
    if (defundef == "undef") {
 
 
16681
      print "/*", prefix defundef, macro, "*/"
 
 
16689
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
16690
  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 
 
16691
fi # test -n "$CONFIG_HEADERS"
 
 
16694
eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 
 
16699
  :[FHLC]) ac_mode=$ac_tag; continue;;
 
 
16701
  case $ac_mode$ac_tag in
 
 
16703
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
 
 
16704
  :[FH]-) ac_tag=-:-;;
 
 
16705
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 
 
16722
      -) ac_f="$ac_tmp/stdin";;
 
 
16723
      *) # Look for the file first in the build tree, then in the source tree
 
 
16724
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
 
 
16725
         # because $ac_f cannot contain `:'.
 
 
16729
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 
 
16731
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 
 
16733
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 
 
16734
      as_fn_append ac_file_inputs " '$ac_f'"
 
 
16737
    # Let's still pretend it is `configure' which instantiates (i.e., don't
 
 
16738
    # use $as_me), people would be surprised to read:
 
 
16739
    #    /* config.h.  Generated by config.status.  */
 
 
16740
    configure_input='Generated from '`
 
 
16741
          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 
 
16743
    if test x"$ac_file" != x-; then
 
 
16744
      configure_input="$ac_file.  $configure_input"
 
 
16745
      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 
 
16746
$as_echo "$as_me: creating $ac_file" >&6;}
 
 
16748
    # Neutralize special characters interpreted by sed in replacement strings.
 
 
16749
    case $configure_input in #(
 
 
16750
    *\&* | *\|* | *\\* )
 
 
16751
       ac_sed_conf_input=`$as_echo "$configure_input" |
 
 
16752
       sed 's/[\\\\&|]/\\\\&/g'`;; #(
 
 
16753
    *) ac_sed_conf_input=$configure_input;;
 
 
16757
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
 
16758
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
 
 
16763
  ac_dir=`$as_dirname -- "$ac_file" ||
 
 
16764
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
16765
         X"$ac_file" : 'X\(//\)[^/]' \| \
 
 
16766
         X"$ac_file" : 'X\(//\)$' \| \
 
 
16767
         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 
 
16768
$as_echo X"$ac_file" |
 
 
16769
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
16773
          /^X\(\/\/\)[^/].*/{
 
 
16786
  as_dir="$ac_dir"; as_fn_mkdir_p
 
 
16790
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
 
16792
  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 
 
16793
  # A ".." for each directory in $ac_dir_suffix.
 
 
16794
  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 
 
16795
  case $ac_top_builddir_sub in
 
 
16796
  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 
 
16797
  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 
 
16800
ac_abs_top_builddir=$ac_pwd
 
 
16801
ac_abs_builddir=$ac_pwd$ac_dir_suffix
 
 
16802
# for backward compatibility:
 
 
16803
ac_top_builddir=$ac_top_build_prefix
 
 
16806
  .)  # We are building in place.
 
 
16808
    ac_top_srcdir=$ac_top_builddir_sub
 
 
16809
    ac_abs_top_srcdir=$ac_pwd ;;
 
 
16810
  [\\/]* | ?:[\\/]* )  # Absolute name.
 
 
16811
    ac_srcdir=$srcdir$ac_dir_suffix;
 
 
16812
    ac_top_srcdir=$srcdir
 
 
16813
    ac_abs_top_srcdir=$srcdir ;;
 
 
16814
  *) # Relative name.
 
 
16815
    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 
 
16816
    ac_top_srcdir=$ac_top_build_prefix$srcdir
 
 
16817
    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 
 
16819
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 
 
16829
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 
 
16830
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 
 
16832
  ac_MKDIR_P=$MKDIR_P
 
 
16834
  [\\/$]* | ?:[\\/]* ) ;;
 
 
16835
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
 
16839
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
16840
# If the template does not know about datarootdir, expand it.
 
 
16841
# FIXME: This hack should be removed a few years after 2.60.
 
 
16842
ac_datarootdir_hack=; ac_datarootdir_seen=
 
 
16853
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 
 
16854
*datarootdir*) ac_datarootdir_seen=yes;;
 
 
16855
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 
 
16856
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 
 
16857
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 
 
16859
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
16860
  ac_datarootdir_hack='
 
 
16861
  s&@datadir@&$datadir&g
 
 
16862
  s&@docdir@&$docdir&g
 
 
16863
  s&@infodir@&$infodir&g
 
 
16864
  s&@localedir@&$localedir&g
 
 
16865
  s&@mandir@&$mandir&g
 
 
16866
  s&\\\${datarootdir}&$datarootdir&g' ;;
 
 
16870
# Neutralize VPATH when `$srcdir' = `.'.
 
 
16871
# Shell code in configure.ac might set extrasub.
 
 
16872
# FIXME: do we really want to maintain this feature?
 
 
16873
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 
 
16874
ac_sed_extra="$ac_vpsub
 
 
16877
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 
 
16879
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
 
16880
s|@configure_input@|$ac_sed_conf_input|;t t
 
 
16881
s&@top_builddir@&$ac_top_builddir_sub&;t t
 
 
16882
s&@top_build_prefix@&$ac_top_build_prefix&;t t
 
 
16883
s&@srcdir@&$ac_srcdir&;t t
 
 
16884
s&@abs_srcdir@&$ac_abs_srcdir&;t t
 
 
16885
s&@top_srcdir@&$ac_top_srcdir&;t t
 
 
16886
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 
 
16887
s&@builddir@&$ac_builddir&;t t
 
 
16888
s&@abs_builddir@&$ac_abs_builddir&;t t
 
 
16889
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 
 
16890
s&@INSTALL@&$ac_INSTALL&;t t
 
 
16891
s&@MKDIR_P@&$ac_MKDIR_P&;t t
 
 
16892
$ac_datarootdir_hack
 
 
16894
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
 
16895
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
 
16897
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 
 
16898
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
 
16899
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
 
16900
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
 
 
16901
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
 
16902
which seems to be undefined.  Please make sure it is defined" >&5
 
 
16903
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 
 
16904
which seems to be undefined.  Please make sure it is defined" >&2;}
 
 
16906
  rm -f "$ac_tmp/stdin"
 
 
16908
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
 
16909
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
 
 
16911
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
 
16917
  if test x"$ac_file" != x-; then
 
 
16919
      $as_echo "/* $configure_input  */" \
 
 
16920
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
 
16921
    } >"$ac_tmp/config.h" \
 
 
16922
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
 
16923
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
 
 
16924
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 
 
16925
$as_echo "$as_me: $ac_file is unchanged" >&6;}
 
 
16928
      mv "$ac_tmp/config.h" "$ac_file" \
 
 
16929
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
 
16932
    $as_echo "/* $configure_input  */" \
 
 
16933
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
 
 
16934
      || as_fn_error $? "could not create -" "$LINENO" 5
 
 
16936
# Compute "$ac_file"'s index in $config_headers.
 
 
16939
for _am_header in $config_headers :; do
 
 
16940
  case $_am_header in
 
 
16941
    $_am_arg | $_am_arg:* )
 
 
16944
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
 
16947
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 
 
16948
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
16949
         X"$_am_arg" : 'X\(//\)[^/]' \| \
 
 
16950
         X"$_am_arg" : 'X\(//\)$' \| \
 
 
16951
         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 
 
16952
$as_echo X"$_am_arg" |
 
 
16953
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
16957
          /^X\(\/\/\)[^/].*/{
 
 
16969
          s/.*/./; q'`/stamp-h$_am_stamp_count
 
 
16972
  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 
 
16973
$as_echo "$as_me: executing $ac_file commands" >&6;}
 
 
16978
  case $ac_file$ac_mode in
 
 
16979
    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 
 
16980
  # Autoconf 2.62 quotes --file arguments for eval, but not when files
 
 
16981
  # are listed without --file.  Let's play safe and only enable the eval
 
 
16982
  # if we detect the quoting.
 
 
16983
  case $CONFIG_FILES in
 
 
16984
  *\'*) eval set x "$CONFIG_FILES" ;;
 
 
16985
  *)   set x $CONFIG_FILES ;;
 
 
16990
    # Strip MF so we end up with the name of the file.
 
 
16991
    mf=`echo "$mf" | sed -e 's/:.*$//'`
 
 
16992
    # Check whether this is an Automake generated Makefile or not.
 
 
16993
    # We used to match only the files named `Makefile.in', but
 
 
16994
    # some people rename them; so instead we look at the file content.
 
 
16995
    # Grep'ing the first line is not enough: some people post-process
 
 
16996
    # each Makefile.in and add a new line on top of each file to say so.
 
 
16997
    # Grep'ing the whole file is not good either: AIX grep has a line
 
 
16998
    # limit of 2048, but all sed's we know have understand at least 4000.
 
 
16999
    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 
 
17000
      dirpart=`$as_dirname -- "$mf" ||
 
 
17001
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
17002
         X"$mf" : 'X\(//\)[^/]' \| \
 
 
17003
         X"$mf" : 'X\(//\)$' \| \
 
 
17004
         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 
 
17006
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
17010
          /^X\(\/\/\)[^/].*/{
 
 
17026
    # Extract the definition of DEPDIR, am__include, and am__quote
 
 
17027
    # from the Makefile without running `make'.
 
 
17028
    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
 
17029
    test -z "$DEPDIR" && continue
 
 
17030
    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
 
17031
    test -z "am__include" && continue
 
 
17032
    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
 
17033
    # When using ansi2knr, U may be empty or an underscore; expand it
 
 
17034
    U=`sed -n 's/^U = //p' < "$mf"`
 
 
17035
    # Find all dependency output files, they are included files with
 
 
17036
    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
 
17037
    # simplest approach to changing $(DEPDIR) to its actual value in the
 
 
17039
    for file in `sed -n "
 
 
17040
      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
 
17041
         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
 
17042
      # Make sure the directory exists.
 
 
17043
      test -f "$dirpart/$file" && continue
 
 
17044
      fdir=`$as_dirname -- "$file" ||
 
 
17045
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
 
17046
         X"$file" : 'X\(//\)[^/]' \| \
 
 
17047
         X"$file" : 'X\(//\)$' \| \
 
 
17048
         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 
 
17049
$as_echo X"$file" |
 
 
17050
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 
 
17054
          /^X\(\/\/\)[^/].*/{
 
 
17067
      as_dir=$dirpart/$fdir; as_fn_mkdir_p
 
 
17068
      # echo "creating $dirpart/$file"
 
 
17069
      echo '# dummy' > "$dirpart/$file"
 
 
17076
    # See if we are running on zsh, and set the options which allow our
 
 
17077
    # commands through without removal of \ escapes.
 
 
17078
    if test -n "${ZSH_VERSION+set}" ; then
 
 
17079
      setopt NO_GLOB_SUBST
 
 
17082
    cfgfile="${ofile}T"
 
 
17083
    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 
 
17086
    cat <<_LT_EOF >> "$cfgfile"
 
 
17089
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 
 
17090
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 
 
17091
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 
 
17092
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 
 
17094
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 
 
17095
#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
 
 
17097
#   Written by Gordon Matzigkeit, 1996
 
 
17099
#   This file is part of GNU Libtool.
 
 
17101
# GNU Libtool is free software; you can redistribute it and/or
 
 
17102
# modify it under the terms of the GNU General Public License as
 
 
17103
# published by the Free Software Foundation; either version 2 of
 
 
17104
# the License, or (at your option) any later version.
 
 
17106
# As a special exception to the GNU General Public License,
 
 
17107
# if you distribute this file as part of a program or library that
 
 
17108
# is built using GNU Libtool, you may include this file under the
 
 
17109
# same distribution terms that you use for the rest of that program.
 
 
17111
# GNU Libtool is distributed in the hope that it will be useful,
 
 
17112
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
 
17113
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
 
17114
# GNU General Public License for more details.
 
 
17116
# You should have received a copy of the GNU General Public License
 
 
17117
# along with GNU Libtool; see the file COPYING.  If not, a copy
 
 
17118
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 
 
17119
# obtained by writing to the Free Software Foundation, Inc.,
 
 
17120
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
 
17123
# The names of the tagged configurations supported by this script.
 
 
17124
available_tags="CXX "
 
 
17126
# ### BEGIN LIBTOOL CONFIG
 
 
17128
# Which release of libtool.m4 was used?
 
 
17129
macro_version=$macro_version
 
 
17130
macro_revision=$macro_revision
 
 
17132
# Whether or not to build shared libraries.
 
 
17133
build_libtool_libs=$enable_shared
 
 
17135
# Whether or not to build static libraries.
 
 
17136
build_old_libs=$enable_static
 
 
17138
# What type of objects to build.
 
 
17141
# Whether or not to optimize for fast installation.
 
 
17142
fast_install=$enable_fast_install
 
 
17144
# Shell to use when invoking shell scripts.
 
 
17147
# An echo program that protects backslashes.
 
 
17150
# The PATH separator for the build system.
 
 
17151
PATH_SEPARATOR=$lt_PATH_SEPARATOR
 
 
17154
host_alias=$host_alias
 
 
17158
# The build system.
 
 
17159
build_alias=$build_alias
 
 
17163
# A sed program that does not truncate output.
 
 
17166
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
 
 
17167
Xsed="\$SED -e 1s/^X//"
 
 
17169
# A grep program that handles long lines.
 
 
17175
# A literal string matcher.
 
 
17178
# A BSD- or MS-compatible name lister.
 
 
17181
# Whether we need soft or hard links.
 
 
17184
# What is the maximum length of a command?
 
 
17185
max_cmd_len=$max_cmd_len
 
 
17187
# Object file suffix (normally "o").
 
 
17190
# Executable file suffix (normally "").
 
 
17193
# whether the shell understands "unset".
 
 
17196
# turn spaces into newlines.
 
 
17199
# turn newlines into spaces.
 
 
17202
# convert \$build file names to \$host format.
 
 
17203
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
 
17205
# convert \$build files to toolchain format.
 
 
17206
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
 
17208
# An object symbol dumper.
 
 
17209
OBJDUMP=$lt_OBJDUMP
 
 
17211
# Method to check whether dependent libraries are shared objects.
 
 
17212
deplibs_check_method=$lt_deplibs_check_method
 
 
17214
# Command to use when deplibs_check_method = "file_magic".
 
 
17215
file_magic_cmd=$lt_file_magic_cmd
 
 
17217
# How to find potential files when deplibs_check_method = "file_magic".
 
 
17218
file_magic_glob=$lt_file_magic_glob
 
 
17220
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
 
17221
want_nocaseglob=$lt_want_nocaseglob
 
 
17223
# DLL creation program.
 
 
17224
DLLTOOL=$lt_DLLTOOL
 
 
17226
# Command to associate shared and link libraries.
 
 
17227
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
 
17232
# Flags to create an archive.
 
 
17233
AR_FLAGS=$lt_AR_FLAGS
 
 
17235
# How to feed a file listing to the archiver.
 
 
17236
archiver_list_spec=$lt_archiver_list_spec
 
 
17238
# A symbol stripping program.
 
 
17241
# Commands used to install an old-style archive.
 
 
17243
old_postinstall_cmds=$lt_old_postinstall_cmds
 
 
17244
old_postuninstall_cmds=$lt_old_postuninstall_cmds
 
 
17246
# Whether to use a lock for old archive extraction.
 
 
17247
lock_old_archive_extraction=$lock_old_archive_extraction
 
 
17252
# LTCC compiler flags.
 
 
17253
LTCFLAGS=$lt_CFLAGS
 
 
17255
# Take the output of nm and produce a listing of raw symbols and C names.
 
 
17256
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 
 
17258
# Transform the output of nm in a proper C declaration.
 
 
17259
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 
 
17261
# Transform the output of nm in a C name address pair.
 
 
17262
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 
 
17264
# Transform the output of nm in a C name address pair when lib prefix is needed.
 
 
17265
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 
 
17267
# Specify filename containing input files for \$NM.
 
 
17268
nm_file_list_spec=$lt_nm_file_list_spec
 
 
17270
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
 
17271
lt_sysroot=$lt_sysroot
 
 
17273
# The name of the directory that contains temporary libtool files.
 
 
17276
# Used to examine libraries when file_magic_cmd begins with "file".
 
 
17277
MAGIC_CMD=$MAGIC_CMD
 
 
17279
# Must we lock files when doing compilation?
 
 
17280
need_locks=$lt_need_locks
 
 
17283
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
 
17285
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 
 
17286
DSYMUTIL=$lt_DSYMUTIL
 
 
17288
# Tool to change global to local symbols on Mac OS X.
 
 
17291
# Tool to manipulate fat objects and archives on Mac OS X.
 
 
17294
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
 
 
17297
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 
 
17298
OTOOL64=$lt_OTOOL64
 
 
17300
# Old archive suffix (normally "a").
 
 
17303
# Shared library suffix (normally ".so").
 
 
17304
shrext_cmds=$lt_shrext_cmds
 
 
17306
# The commands to extract the exported symbol list from a shared archive.
 
 
17307
extract_expsyms_cmds=$lt_extract_expsyms_cmds
 
 
17309
# Variables whose values should be saved in libtool wrapper scripts and
 
 
17310
# restored at link time.
 
 
17311
variables_saved_for_relink=$lt_variables_saved_for_relink
 
 
17313
# Do we need the "lib" prefix for modules?
 
 
17314
need_lib_prefix=$need_lib_prefix
 
 
17316
# Do we need a version for libraries?
 
 
17317
need_version=$need_version
 
 
17319
# Library versioning type.
 
 
17320
version_type=$version_type
 
 
17322
# Shared library runtime path variable.
 
 
17323
runpath_var=$runpath_var
 
 
17325
# Shared library path variable.
 
 
17326
shlibpath_var=$shlibpath_var
 
 
17328
# Is shlibpath searched before the hard-coded library search path?
 
 
17329
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 
 
17331
# Format of library name prefix.
 
 
17332
libname_spec=$lt_libname_spec
 
 
17334
# List of archive names.  First name is the real one, the rest are links.
 
 
17335
# The last name is the one that the linker finds with -lNAME
 
 
17336
library_names_spec=$lt_library_names_spec
 
 
17338
# The coded name of the library, if different from the real name.
 
 
17339
soname_spec=$lt_soname_spec
 
 
17341
# Permission mode override for installation of shared libraries.
 
 
17342
install_override_mode=$lt_install_override_mode
 
 
17344
# Command to use after installation of a shared archive.
 
 
17345
postinstall_cmds=$lt_postinstall_cmds
 
 
17347
# Command to use after uninstallation of a shared archive.
 
 
17348
postuninstall_cmds=$lt_postuninstall_cmds
 
 
17350
# Commands used to finish a libtool library installation in a directory.
 
 
17351
finish_cmds=$lt_finish_cmds
 
 
17353
# As "finish_cmds", except a single script fragment to be evaled but
 
 
17355
finish_eval=$lt_finish_eval
 
 
17357
# Whether we should hardcode library paths into libraries.
 
 
17358
hardcode_into_libs=$hardcode_into_libs
 
 
17360
# Compile-time system search path for libraries.
 
 
17361
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 
 
17363
# Run-time system search path for libraries.
 
 
17364
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 
 
17366
# Whether dlopen is supported.
 
 
17367
dlopen_support=$enable_dlopen
 
 
17369
# Whether dlopen of programs is supported.
 
 
17370
dlopen_self=$enable_dlopen_self
 
 
17372
# Whether dlopen of statically linked programs is supported.
 
 
17373
dlopen_self_static=$enable_dlopen_self_static
 
 
17375
# Commands to strip libraries.
 
 
17376
old_striplib=$lt_old_striplib
 
 
17377
striplib=$lt_striplib
 
 
17380
# The linker used to build libraries.
 
 
17383
# How to create reloadable object files.
 
 
17384
reload_flag=$lt_reload_flag
 
 
17385
reload_cmds=$lt_reload_cmds
 
 
17387
# Commands used to build an old-style archive.
 
 
17388
old_archive_cmds=$lt_old_archive_cmds
 
 
17390
# A language specific compiler.
 
 
17393
# Is the compiler the GNU compiler?
 
 
17396
# Compiler flag to turn off builtin functions.
 
 
17397
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 
 
17399
# Additional compiler flags for building library objects.
 
 
17400
pic_flag=$lt_lt_prog_compiler_pic
 
 
17402
# How to pass a linker flag through the compiler.
 
 
17403
wl=$lt_lt_prog_compiler_wl
 
 
17405
# Compiler flag to prevent dynamic linking.
 
 
17406
link_static_flag=$lt_lt_prog_compiler_static
 
 
17408
# Does compiler simultaneously support -c and -o options?
 
 
17409
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 
 
17411
# Whether or not to add -lc for building shared libraries.
 
 
17412
build_libtool_need_lc=$archive_cmds_need_lc
 
 
17414
# Whether or not to disallow shared libs when runtime libs are static.
 
 
17415
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 
 
17417
# Compiler flag to allow reflexive dlopens.
 
 
17418
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 
 
17420
# Compiler flag to generate shared objects directly from archives.
 
 
17421
whole_archive_flag_spec=$lt_whole_archive_flag_spec
 
 
17423
# Whether the compiler copes with passing no objects directly.
 
 
17424
compiler_needs_object=$lt_compiler_needs_object
 
 
17426
# Create an old-style archive from a shared archive.
 
 
17427
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 
 
17429
# Create a temporary old-style archive to link instead of a shared archive.
 
 
17430
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 
 
17432
# Commands used to build a shared archive.
 
 
17433
archive_cmds=$lt_archive_cmds
 
 
17434
archive_expsym_cmds=$lt_archive_expsym_cmds
 
 
17436
# Commands used to build a loadable module if different from building
 
 
17437
# a shared archive.
 
 
17438
module_cmds=$lt_module_cmds
 
 
17439
module_expsym_cmds=$lt_module_expsym_cmds
 
 
17441
# Whether we are building with GNU ld or not.
 
 
17442
with_gnu_ld=$lt_with_gnu_ld
 
 
17444
# Flag that allows shared libraries with undefined symbols to be built.
 
 
17445
allow_undefined_flag=$lt_allow_undefined_flag
 
 
17447
# Flag that enforces no undefined symbols.
 
 
17448
no_undefined_flag=$lt_no_undefined_flag
 
 
17450
# Flag to hardcode \$libdir into a binary during linking.
 
 
17451
# This must work even if \$libdir does not exist
 
 
17452
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 
 
17454
# Whether we need a single "-rpath" flag with a separated argument.
 
 
17455
hardcode_libdir_separator=$lt_hardcode_libdir_separator
 
 
17457
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
 
17458
# DIR into the resulting binary.
 
 
17459
hardcode_direct=$hardcode_direct
 
 
17461
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
 
17462
# DIR into the resulting binary and the resulting library dependency is
 
 
17463
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
 
17464
# library is relocated.
 
 
17465
hardcode_direct_absolute=$hardcode_direct_absolute
 
 
17467
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
 
17468
# into the resulting binary.
 
 
17469
hardcode_minus_L=$hardcode_minus_L
 
 
17471
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
 
17472
# into the resulting binary.
 
 
17473
hardcode_shlibpath_var=$hardcode_shlibpath_var
 
 
17475
# Set to "yes" if building a shared library automatically hardcodes DIR
 
 
17476
# into the library and all subsequent libraries and executables linked
 
 
17478
hardcode_automatic=$hardcode_automatic
 
 
17480
# Set to yes if linker adds runtime paths of dependent libraries
 
 
17481
# to runtime path list.
 
 
17482
inherit_rpath=$inherit_rpath
 
 
17484
# Whether libtool must link a program against all its dependency libraries.
 
 
17485
link_all_deplibs=$link_all_deplibs
 
 
17487
# Set to "yes" if exported symbols are required.
 
 
17488
always_export_symbols=$always_export_symbols
 
 
17490
# The commands to list exported symbols.
 
 
17491
export_symbols_cmds=$lt_export_symbols_cmds
 
 
17493
# Symbols that should not be listed in the preloaded symbols.
 
 
17494
exclude_expsyms=$lt_exclude_expsyms
 
 
17496
# Symbols that must always be exported.
 
 
17497
include_expsyms=$lt_include_expsyms
 
 
17499
# Commands necessary for linking programs (against libraries) with templates.
 
 
17500
prelink_cmds=$lt_prelink_cmds
 
 
17502
# Commands necessary for finishing linking programs.
 
 
17503
postlink_cmds=$lt_postlink_cmds
 
 
17505
# Specify filename containing input files.
 
 
17506
file_list_spec=$lt_file_list_spec
 
 
17508
# How to hardcode a shared library path into an executable.
 
 
17509
hardcode_action=$hardcode_action
 
 
17511
# The directories searched by this compiler when creating a shared library.
 
 
17512
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 
 
17514
# Dependencies to place before and after the objects being linked to
 
 
17515
# create a shared library.
 
 
17516
predep_objects=$lt_predep_objects
 
 
17517
postdep_objects=$lt_postdep_objects
 
 
17518
predeps=$lt_predeps
 
 
17519
postdeps=$lt_postdeps
 
 
17521
# The library search path used internally by the compiler when linking
 
 
17522
# a shared library.
 
 
17523
compiler_lib_search_path=$lt_compiler_lib_search_path
 
 
17525
# ### END LIBTOOL CONFIG
 
 
17531
    cat <<\_LT_EOF >> "$cfgfile"
 
 
17532
# AIX sometimes has problems with the GCC collect2 program.  For some
 
 
17533
# reason, if we set the COLLECT_NAMES environment variable, the problems
 
 
17534
# vanish in a puff of smoke.
 
 
17535
if test "X${COLLECT_NAMES+set}" != Xset; then
 
 
17537
  export COLLECT_NAMES
 
 
17544
ltmain="$ac_aux_dir/ltmain.sh"
 
 
17547
  # We use sed instead of cat because bash on DJGPP gets confused if
 
 
17548
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 
 
17549
  # text mode, it properly converts lines to CR/LF.  This bash problem
 
 
17550
  # is reportedly fixed, but why not run on old versions too?
 
 
17551
  sed '$q' "$ltmain" >> "$cfgfile" \
 
 
17552
     || (rm -f "$cfgfile"; exit 1)
 
 
17554
  if test x"$xsi_shell" = xyes; then
 
 
17555
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
 
17559
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
 
17560
\      *  ) func_dirname_result="${3}" ;;\
 
 
17562
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
 
17563
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17564
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17565
test 0 -eq $? || _lt_function_replace_fail=:
 
 
17568
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
 
17571
\    func_basename_result="${1##*/}"\
 
 
17572
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
 
17573
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17574
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17575
test 0 -eq $? || _lt_function_replace_fail=:
 
 
17578
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
 
17579
func_dirname_and_basename ()\
 
 
17582
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
 
17583
\      *  ) func_dirname_result="${3}" ;;\
 
 
17585
\    func_basename_result="${1##*/}"\
 
 
17586
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
 
17587
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17588
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17589
test 0 -eq $? || _lt_function_replace_fail=:
 
 
17592
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
 
17595
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
 
17596
\    # positional parameters, so assign one to ordinary parameter first.\
 
 
17597
\    func_stripname_result=${3}\
 
 
17598
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
 
17599
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
 
17600
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
 
17601
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17602
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17603
test 0 -eq $? || _lt_function_replace_fail=:
 
 
17606
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
 
17607
func_split_long_opt ()\
 
 
17609
\    func_split_long_opt_name=${1%%=*}\
 
 
17610
\    func_split_long_opt_arg=${1#*=}\
 
 
17611
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
 
17612
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17613
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17614
test 0 -eq $? || _lt_function_replace_fail=:
 
 
17617
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
 
17618
func_split_short_opt ()\
 
 
17620
\    func_split_short_opt_arg=${1#??}\
 
 
17621
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
 
17622
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
 
17623
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17624
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17625
test 0 -eq $? || _lt_function_replace_fail=:
 
 
17628
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
 
17632
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
 
17633
\      *)    func_lo2o_result=${1} ;;\
 
 
17635
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
 
17636
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17637
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17638
test 0 -eq $? || _lt_function_replace_fail=:
 
 
17641
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
 
17644
    func_xform_result=${1%.*}.lo\
 
 
17645
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
 
17646
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17647
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17648
test 0 -eq $? || _lt_function_replace_fail=:
 
 
17651
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
 
17654
    func_arith_result=$(( $* ))\
 
 
17655
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
 
17656
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17657
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17658
test 0 -eq $? || _lt_function_replace_fail=:
 
 
17661
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
 
17664
    func_len_result=${#1}\
 
 
17665
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
 
17666
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17667
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17668
test 0 -eq $? || _lt_function_replace_fail=:
 
 
17672
if test x"$lt_shell_append" = xyes; then
 
 
17673
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
 
17676
    eval "${1}+=\\${2}"\
 
 
17677
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
 
17678
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17679
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17680
test 0 -eq $? || _lt_function_replace_fail=:
 
 
17683
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
 
17684
func_append_quoted ()\
 
 
17686
\    func_quote_for_eval "${2}"\
 
 
17687
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
 
17688
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
 
17689
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17690
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17691
test 0 -eq $? || _lt_function_replace_fail=:
 
 
17694
  # Save a `func_append' function call where possible by direct use of '+='
 
 
17695
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
 
17696
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17697
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17698
  test 0 -eq $? || _lt_function_replace_fail=:
 
 
17700
  # Save a `func_append' function call even when '+=' is not available
 
 
17701
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
 
17702
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
 
17703
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
 
17704
  test 0 -eq $? || _lt_function_replace_fail=:
 
 
17707
if test x"$_lt_function_replace_fail" = x":"; then
 
 
17708
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
 
17709
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
 
17713
   mv -f "$cfgfile" "$ofile" ||
 
 
17714
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 
 
17718
    cat <<_LT_EOF >> "$ofile"
 
 
17720
# ### BEGIN LIBTOOL TAG CONFIG: CXX
 
 
17722
# The linker used to build libraries.
 
 
17725
# How to create reloadable object files.
 
 
17726
reload_flag=$lt_reload_flag_CXX
 
 
17727
reload_cmds=$lt_reload_cmds_CXX
 
 
17729
# Commands used to build an old-style archive.
 
 
17730
old_archive_cmds=$lt_old_archive_cmds_CXX
 
 
17732
# A language specific compiler.
 
 
17733
CC=$lt_compiler_CXX
 
 
17735
# Is the compiler the GNU compiler?
 
 
17738
# Compiler flag to turn off builtin functions.
 
 
17739
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 
 
17741
# Additional compiler flags for building library objects.
 
 
17742
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
 
17744
# How to pass a linker flag through the compiler.
 
 
17745
wl=$lt_lt_prog_compiler_wl_CXX
 
 
17747
# Compiler flag to prevent dynamic linking.
 
 
17748
link_static_flag=$lt_lt_prog_compiler_static_CXX
 
 
17750
# Does compiler simultaneously support -c and -o options?
 
 
17751
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 
 
17753
# Whether or not to add -lc for building shared libraries.
 
 
17754
build_libtool_need_lc=$archive_cmds_need_lc_CXX
 
 
17756
# Whether or not to disallow shared libs when runtime libs are static.
 
 
17757
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 
 
17759
# Compiler flag to allow reflexive dlopens.
 
 
17760
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 
 
17762
# Compiler flag to generate shared objects directly from archives.
 
 
17763
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 
 
17765
# Whether the compiler copes with passing no objects directly.
 
 
17766
compiler_needs_object=$lt_compiler_needs_object_CXX
 
 
17768
# Create an old-style archive from a shared archive.
 
 
17769
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 
 
17771
# Create a temporary old-style archive to link instead of a shared archive.
 
 
17772
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 
 
17774
# Commands used to build a shared archive.
 
 
17775
archive_cmds=$lt_archive_cmds_CXX
 
 
17776
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 
 
17778
# Commands used to build a loadable module if different from building
 
 
17779
# a shared archive.
 
 
17780
module_cmds=$lt_module_cmds_CXX
 
 
17781
module_expsym_cmds=$lt_module_expsym_cmds_CXX
 
 
17783
# Whether we are building with GNU ld or not.
 
 
17784
with_gnu_ld=$lt_with_gnu_ld_CXX
 
 
17786
# Flag that allows shared libraries with undefined symbols to be built.
 
 
17787
allow_undefined_flag=$lt_allow_undefined_flag_CXX
 
 
17789
# Flag that enforces no undefined symbols.
 
 
17790
no_undefined_flag=$lt_no_undefined_flag_CXX
 
 
17792
# Flag to hardcode \$libdir into a binary during linking.
 
 
17793
# This must work even if \$libdir does not exist
 
 
17794
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 
 
17796
# Whether we need a single "-rpath" flag with a separated argument.
 
 
17797
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 
 
17799
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
 
17800
# DIR into the resulting binary.
 
 
17801
hardcode_direct=$hardcode_direct_CXX
 
 
17803
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 
 
17804
# DIR into the resulting binary and the resulting library dependency is
 
 
17805
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 
 
17806
# library is relocated.
 
 
17807
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 
 
17809
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 
 
17810
# into the resulting binary.
 
 
17811
hardcode_minus_L=$hardcode_minus_L_CXX
 
 
17813
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 
 
17814
# into the resulting binary.
 
 
17815
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 
 
17817
# Set to "yes" if building a shared library automatically hardcodes DIR
 
 
17818
# into the library and all subsequent libraries and executables linked
 
 
17820
hardcode_automatic=$hardcode_automatic_CXX
 
 
17822
# Set to yes if linker adds runtime paths of dependent libraries
 
 
17823
# to runtime path list.
 
 
17824
inherit_rpath=$inherit_rpath_CXX
 
 
17826
# Whether libtool must link a program against all its dependency libraries.
 
 
17827
link_all_deplibs=$link_all_deplibs_CXX
 
 
17829
# Set to "yes" if exported symbols are required.
 
 
17830
always_export_symbols=$always_export_symbols_CXX
 
 
17832
# The commands to list exported symbols.
 
 
17833
export_symbols_cmds=$lt_export_symbols_cmds_CXX
 
 
17835
# Symbols that should not be listed in the preloaded symbols.
 
 
17836
exclude_expsyms=$lt_exclude_expsyms_CXX
 
 
17838
# Symbols that must always be exported.
 
 
17839
include_expsyms=$lt_include_expsyms_CXX
 
 
17841
# Commands necessary for linking programs (against libraries) with templates.
 
 
17842
prelink_cmds=$lt_prelink_cmds_CXX
 
 
17844
# Commands necessary for finishing linking programs.
 
 
17845
postlink_cmds=$lt_postlink_cmds_CXX
 
 
17847
# Specify filename containing input files.
 
 
17848
file_list_spec=$lt_file_list_spec_CXX
 
 
17850
# How to hardcode a shared library path into an executable.
 
 
17851
hardcode_action=$hardcode_action_CXX
 
 
17853
# The directories searched by this compiler when creating a shared library.
 
 
17854
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 
 
17856
# Dependencies to place before and after the objects being linked to
 
 
17857
# create a shared library.
 
 
17858
predep_objects=$lt_predep_objects_CXX
 
 
17859
postdep_objects=$lt_postdep_objects_CXX
 
 
17860
predeps=$lt_predeps_CXX
 
 
17861
postdeps=$lt_postdeps_CXX
 
 
17863
# The library search path used internally by the compiler when linking
 
 
17864
# a shared library.
 
 
17865
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 
 
17867
# ### END LIBTOOL TAG CONFIG: CXX
 
 
17878
ac_clean_files=$ac_clean_files_save
 
 
17880
test $ac_write_fail = 0 ||
 
 
17881
  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
 
17884
# configure is writing to config.log, and then calls config.status.
 
 
17885
# config.status does its own redirection, appending to config.log.
 
 
17886
# Unfortunately, on DOS this fails, as config.log is still kept open
 
 
17887
# by configure, so config.status won't be able to write to it; its
 
 
17888
# output is simply discarded.  So we exec the FD to /dev/null,
 
 
17889
# effectively closing config.log, so it can be properly (re)opened and
 
 
17890
# appended to by config.status.  When coming back to configure, we
 
 
17891
# need to make the FD available again.
 
 
17892
if test "$no_create" != yes; then
 
 
17894
  ac_config_status_args=
 
 
17895
  test "$silent" = yes &&
 
 
17896
    ac_config_status_args="$ac_config_status_args --quiet"
 
 
17898
  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 
 
17900
  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 
 
17901
  # would make configure fail if this is the last instruction.
 
 
17902
  $ac_cs_success || as_fn_exit 1
 
 
17904
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 
 
17905
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 
 
17906
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}