Changeset 107b01a for configure


Ignore:
Timestamp:
Dec 19, 2018, 1:47:03 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
84b4d607
Parents:
a2dbcff1
Message:

Several changes to the makefiles

  • change .c tests to .cfa
  • add require for libtool in configure
  • libtoolize to fix some warnings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    ra2dbcff1 r107b01a  
    199199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     201
     202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
     203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
     205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
     206    PATH=/empty FPATH=/empty; export PATH FPATH
     207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
     208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    201209test \$(( 1 + 1 )) = 2 || exit 1"
    202210  if (eval "$as_required") 2>/dev/null; then :
     
    557565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    558566
     567SHELL=${CONFIG_SHELL-/bin/sh}
     568
    559569
    560570test -n "$DJDIR" || exec 7<&0 </dev/null
     
    628638CFA_BACKEND_CC
    629639ALLOCA
     640WITH_LIBFIBRE_FALSE
     641WITH_LIBFIBRE_TRUE
     642CXXCPP
     643CPP
     644LT_SYS_LIBRARY_PATH
     645OTOOL64
     646OTOOL
     647LIPO
     648NMEDIT
     649DSYMUTIL
     650MANIFEST_TOOL
     651RANLIB
     652ac_ct_AR
     653AR
     654DLLTOOL
     655OBJDUMP
     656LN_S
     657NM
     658ac_ct_DUMPBIN
     659DUMPBIN
     660LD
     661FGREP
    630662EGREP
    631663GREP
    632 CPP
    633 WITH_LIBFIBRE_FALSE
    634 WITH_LIBFIBRE_TRUE
    635 RANLIB
     664SED
     665LIBTOOL
    636666LEXLIB
    637667LEX_OUTPUT_ROOT
     
    764794with_target_hosts
    765795enable_dependency_tracking
     796enable_shared
     797enable_static
     798with_pic
     799enable_fast_install
     800with_aix_soname
     801with_gnu_ld
     802with_sysroot
     803enable_libtool_lock
    766804'
    767805      ac_precious_vars='build_alias
     
    780818YACC
    781819YFLAGS
    782 CPP'
     820LT_SYS_LIBRARY_PATH
     821CPP
     822CXXCPP'
    783823
    784824
     
    14161456  --disable-dependency-tracking
    14171457                          speeds up one-time build
     1458  --enable-shared[=PKGS]  build shared libraries [default=yes]
     1459  --enable-static[=PKGS]  build static libraries [default=yes]
     1460  --enable-fast-install[=PKGS]
     1461                          optimize for fast installation [default=yes]
     1462  --disable-libtool-lock  avoid locking (might break parallel builds)
    14181463
    14191464Optional Packages:
     
    14221467  --with-cfa-name=NAME     NAME too which cfa will be installed
    14231468  --with-target-hosts=HOSTS     HOSTS comma seperated list of hosts to build for, format ARCH:debug|nodebug|nolib
     1469  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
     1470                          both]
     1471  --with-aix-soname=aix|svr4|both
     1472                          shared library versioning (aka "SONAME") variant to
     1473                          provide on AIX, [default=aix].
     1474  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
     1475  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
     1476                          compiler's sysroot if not specified).
    14241477
    14251478Some influential environment variables:
     
    14411494              This script will default YFLAGS to the empty string to avoid a
    14421495              default value of `-d' given by some make applications.
     1496  LT_SYS_LIBRARY_PATH
     1497              User-defined run-time library search path.
    14431498  CPP         C preprocessor
     1499  CXXCPP      C++ preprocessor
    14441500
    14451501Use these variables to override the choices made by `configure' or to help
     
    16451701} # ac_fn_c_try_link
    16461702
    1647 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
    1648 # -------------------------------------------
    1649 # Tests whether TYPE exists after having included INCLUDES, setting cache
    1650 # variable VAR accordingly.
    1651 ac_fn_c_check_type ()
     1703# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1704# -------------------------------------------------------
     1705# Tests whether HEADER exists and can be compiled using the include files in
     1706# INCLUDES, setting the cache variable VAR accordingly.
     1707ac_fn_c_check_header_compile ()
    16521708{
    16531709  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     
    16571713  $as_echo_n "(cached) " >&6
    16581714else
    1659   eval "$3=no"
    16601715  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16611716/* end confdefs.h.  */
    16621717$4
    1663 int
    1664 main ()
    1665 {
    1666 if (sizeof ($2))
    1667          return 0;
    1668   ;
    1669   return 0;
    1670 }
     1718#include <$2>
    16711719_ACEOF
    16721720if ac_fn_c_try_compile "$LINENO"; then :
    1673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1674 /* end confdefs.h.  */
    1675 $4
    1676 int
    1677 main ()
    1678 {
    1679 if (sizeof (($2)))
    1680             return 0;
    1681   ;
    1682   return 0;
    1683 }
    1684 _ACEOF
    1685 if ac_fn_c_try_compile "$LINENO"; then :
    1686 
    1687 else
    16881721  eval "$3=yes"
    1689 fi
    1690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1722else
     1723  eval "$3=no"
    16911724fi
    16921725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     
    16971730  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    16981731
    1699 } # ac_fn_c_check_type
     1732} # ac_fn_c_check_header_compile
    17001733
    17011734# ac_fn_c_try_cpp LINENO
     
    17781811} # ac_fn_c_try_run
    17791812
    1780 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1781 # -------------------------------------------------------
    1782 # Tests whether HEADER exists and can be compiled using the include files in
    1783 # INCLUDES, setting the cache variable VAR accordingly.
    1784 ac_fn_c_check_header_compile ()
    1785 {
    1786   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1788 $as_echo_n "checking for $2... " >&6; }
    1789 if eval \${$3+:} false; then :
    1790   $as_echo_n "(cached) " >&6
    1791 else
    1792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1793 /* end confdefs.h.  */
    1794 $4
    1795 #include <$2>
    1796 _ACEOF
    1797 if ac_fn_c_try_compile "$LINENO"; then :
    1798   eval "$3=yes"
    1799 else
    1800   eval "$3=no"
    1801 fi
    1802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1803 fi
    1804 eval ac_res=\$$3
    1805                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1806 $as_echo "$ac_res" >&6; }
    1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1808 
    1809 } # ac_fn_c_check_header_compile
    1810 
    18111813# ac_fn_c_check_func LINENO FUNC VAR
    18121814# ----------------------------------
     
    18751877
    18761878} # ac_fn_c_check_func
     1879
     1880# ac_fn_cxx_try_cpp LINENO
     1881# ------------------------
     1882# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1883ac_fn_cxx_try_cpp ()
     1884{
     1885  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1886  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1887case "(($ac_try" in
     1888  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1889  *) ac_try_echo=$ac_try;;
     1890esac
     1891eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1892$as_echo "$ac_try_echo"; } >&5
     1893  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1894  ac_status=$?
     1895  if test -s conftest.err; then
     1896    grep -v '^ *+' conftest.err >conftest.er1
     1897    cat conftest.er1 >&5
     1898    mv -f conftest.er1 conftest.err
     1899  fi
     1900  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1901  test $ac_status = 0; } > conftest.i && {
     1902         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1903         test ! -s conftest.err
     1904       }; then :
     1905  ac_retval=0
     1906else
     1907  $as_echo "$as_me: failed program was:" >&5
     1908sed 's/^/| /' conftest.$ac_ext >&5
     1909
     1910    ac_retval=1
     1911fi
     1912  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1913  as_fn_set_status $ac_retval
     1914
     1915} # ac_fn_cxx_try_cpp
     1916
     1917# ac_fn_cxx_try_link LINENO
     1918# -------------------------
     1919# Try to link conftest.$ac_ext, and return whether this succeeded.
     1920ac_fn_cxx_try_link ()
     1921{
     1922  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1923  rm -f conftest.$ac_objext conftest$ac_exeext
     1924  if { { ac_try="$ac_link"
     1925case "(($ac_try" in
     1926  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1927  *) ac_try_echo=$ac_try;;
     1928esac
     1929eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1930$as_echo "$ac_try_echo"; } >&5
     1931  (eval "$ac_link") 2>conftest.err
     1932  ac_status=$?
     1933  if test -s conftest.err; then
     1934    grep -v '^ *+' conftest.err >conftest.er1
     1935    cat conftest.er1 >&5
     1936    mv -f conftest.er1 conftest.err
     1937  fi
     1938  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1939  test $ac_status = 0; } && {
     1940         test -z "$ac_cxx_werror_flag" ||
     1941         test ! -s conftest.err
     1942       } && test -s conftest$ac_exeext && {
     1943         test "$cross_compiling" = yes ||
     1944         test -x conftest$ac_exeext
     1945       }; then :
     1946  ac_retval=0
     1947else
     1948  $as_echo "$as_me: failed program was:" >&5
     1949sed 's/^/| /' conftest.$ac_ext >&5
     1950
     1951        ac_retval=1
     1952fi
     1953  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1954  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1955  # interfere with the next link command; also delete a directory that is
     1956  # left behind by Apple's compiler.  We do this before executing the actions.
     1957  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1958  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1959  as_fn_set_status $ac_retval
     1960
     1961} # ac_fn_cxx_try_link
     1962
     1963# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
     1964# -------------------------------------------
     1965# Tests whether TYPE exists after having included INCLUDES, setting cache
     1966# variable VAR accordingly.
     1967ac_fn_c_check_type ()
     1968{
     1969  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1970  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1971$as_echo_n "checking for $2... " >&6; }
     1972if eval \${$3+:} false; then :
     1973  $as_echo_n "(cached) " >&6
     1974else
     1975  eval "$3=no"
     1976  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1977/* end confdefs.h.  */
     1978$4
     1979int
     1980main ()
     1981{
     1982if (sizeof ($2))
     1983         return 0;
     1984  ;
     1985  return 0;
     1986}
     1987_ACEOF
     1988if ac_fn_c_try_compile "$LINENO"; then :
     1989  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1990/* end confdefs.h.  */
     1991$4
     1992int
     1993main ()
     1994{
     1995if (sizeof (($2)))
     1996            return 0;
     1997  ;
     1998  return 0;
     1999}
     2000_ACEOF
     2001if ac_fn_c_try_compile "$LINENO"; then :
     2002
     2003else
     2004  eval "$3=yes"
     2005fi
     2006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2007fi
     2008rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2009fi
     2010eval ac_res=\$$3
     2011               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2012$as_echo "$ac_res" >&6; }
     2013  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2014
     2015} # ac_fn_c_check_type
    18772016
    18782017# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     
    24772616
    24782617
     2618
    24792619#AC_CONFIG_SRCDIR([src/main.cc])
    24802620ac_config_headers="$ac_config_headers config.h:src/config.h.in"
     
    52485388fi
    52495389if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi
    5250 
    5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    5252 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    5253 set x ${MAKE-make}
    5254 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    5255 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     5390case `pwd` in
     5391  *\ * | *\     *)
     5392    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
     5393$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
     5394esac
     5395
     5396
     5397
     5398macro_version='2.4.6'
     5399macro_revision='2.4.6'
     5400
     5401
     5402
     5403
     5404
     5405
     5406
     5407
     5408
     5409
     5410
     5411
     5412
     5413ltmain=$ac_aux_dir/ltmain.sh
     5414
     5415# Backslashify metacharacters that are still active within
     5416# double-quoted strings.
     5417sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
     5418
     5419# Same as above, but do not quote variable references.
     5420double_quote_subst='s/\(["`\\]\)/\\\1/g'
     5421
     5422# Sed substitution to delay expansion of an escaped shell variable in a
     5423# double_quote_subst'ed string.
     5424delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     5425
     5426# Sed substitution to delay expansion of an escaped single quote.
     5427delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
     5428
     5429# Sed substitution to avoid accidental globbing in evaled expressions
     5430no_glob_subst='s/\*/\\\*/g'
     5431
     5432ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     5433ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
     5434ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
     5435
     5436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
     5437$as_echo_n "checking how to print strings... " >&6; }
     5438# Test print first, because it will be a builtin if present.
     5439if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
     5440   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
     5441  ECHO='print -r --'
     5442elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
     5443  ECHO='printf %s\n'
     5444else
     5445  # Use this function as a fallback that always works.
     5446  func_fallback_echo ()
     5447  {
     5448    eval 'cat <<_LTECHO_EOF
     5449$1
     5450_LTECHO_EOF'
     5451  }
     5452  ECHO='func_fallback_echo'
     5453fi
     5454
     5455# func_echo_all arg...
     5456# Invoke $ECHO with all args, space-separated.
     5457func_echo_all ()
     5458{
     5459    $ECHO ""
     5460}
     5461
     5462case $ECHO in
     5463  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
     5464$as_echo "printf" >&6; } ;;
     5465  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
     5466$as_echo "print -r" >&6; } ;;
     5467  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
     5468$as_echo "cat" >&6; } ;;
     5469esac
     5470
     5471
     5472
     5473
     5474
     5475
     5476
     5477
     5478
     5479
     5480
     5481
     5482
     5483
     5484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
     5485$as_echo_n "checking for a sed that does not truncate output... " >&6; }
     5486if ${ac_cv_path_SED+:} false; then :
    52565487  $as_echo_n "(cached) " >&6
    52575488else
    5258   cat >conftest.make <<\_ACEOF
    5259 SHELL = /bin/sh
    5260 all:
    5261         @echo '@@@%%%=$(MAKE)=@@@%%%'
    5262 _ACEOF
    5263 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    5264 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    5265   *@@@%%%=?*=@@@%%%*)
    5266     eval ac_cv_prog_make_${ac_make}_set=yes;;
    5267   *)
    5268     eval ac_cv_prog_make_${ac_make}_set=no;;
    5269 esac
    5270 rm -f conftest.make
    5271 fi
    5272 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    5273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    5274 $as_echo "yes" >&6; }
    5275   SET_MAKE=
    5276 else
    5277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5278 $as_echo "no" >&6; }
    5279   SET_MAKE="MAKE=${MAKE-make}"
    5280 fi
    5281 
    5282 if test -n "$ac_tool_prefix"; then
    5283   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    5284 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5286 $as_echo_n "checking for $ac_word... " >&6; }
    5287 if ${ac_cv_prog_RANLIB+:} false; then :
    5288   $as_echo_n "(cached) " >&6
    5289 else
    5290   if test -n "$RANLIB"; then
    5291   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    5292 else
    5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5489            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
     5490     for ac_i in 1 2 3 4 5 6 7; do
     5491       ac_script="$ac_script$as_nl$ac_script"
     5492     done
     5493     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
     5494     { ac_script=; unset ac_script;}
     5495     if test -z "$SED"; then
     5496  ac_path_SED_found=false
     5497  # Loop through the user's path and test for each of PROGNAME-LIST
     5498  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    52945499for as_dir in $PATH
    52955500do
    52965501  IFS=$as_save_IFS
    52975502  test -z "$as_dir" && as_dir=.
     5503    for ac_prog in sed gsed; do
    52985504    for ac_exec_ext in '' $ac_executable_extensions; do
    5299   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5300     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    5301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5302     break 2
    5303   fi
    5304 done
     5505      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
     5506      as_fn_executable_p "$ac_path_SED" || continue
     5507# Check for GNU ac_path_SED and select it if it is found.
     5508  # Check for GNU $ac_path_SED
     5509case `"$ac_path_SED" --version 2>&1` in
     5510*GNU*)
     5511  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
     5512*)
     5513  ac_count=0
     5514  $as_echo_n 0123456789 >"conftest.in"
     5515  while :
     5516  do
     5517    cat "conftest.in" "conftest.in" >"conftest.tmp"
     5518    mv "conftest.tmp" "conftest.in"
     5519    cp "conftest.in" "conftest.nl"
     5520    $as_echo '' >> "conftest.nl"
     5521    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
     5522    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     5523    as_fn_arith $ac_count + 1 && ac_count=$as_val
     5524    if test $ac_count -gt ${ac_path_SED_max-0}; then
     5525      # Best one so far, save it but keep looking for a better one
     5526      ac_cv_path_SED="$ac_path_SED"
     5527      ac_path_SED_max=$ac_count
     5528    fi
     5529    # 10*(2^10) chars as input seems more than enough
     5530    test $ac_count -gt 10 && break
     5531  done
     5532  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     5533esac
     5534
     5535      $ac_path_SED_found && break 3
     5536    done
     5537  done
    53055538  done
    53065539IFS=$as_save_IFS
    5307 
    5308 fi
    5309 fi
    5310 RANLIB=$ac_cv_prog_RANLIB
    5311 if test -n "$RANLIB"; then
    5312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    5313 $as_echo "$RANLIB" >&6; }
    5314 else
    5315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5316 $as_echo "no" >&6; }
    5317 fi
    5318 
    5319 
    5320 fi
    5321 if test -z "$ac_cv_prog_RANLIB"; then
    5322   ac_ct_RANLIB=$RANLIB
    5323   # Extract the first word of "ranlib", so it can be a program name with args.
    5324 set dummy ranlib; ac_word=$2
    5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5326 $as_echo_n "checking for $ac_word... " >&6; }
    5327 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    5328   $as_echo_n "(cached) " >&6
    5329 else
    5330   if test -n "$ac_ct_RANLIB"; then
    5331   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    5332 else
    5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5334 for as_dir in $PATH
    5335 do
    5336   IFS=$as_save_IFS
    5337   test -z "$as_dir" && as_dir=.
    5338     for ac_exec_ext in '' $ac_executable_extensions; do
    5339   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5340     ac_cv_prog_ac_ct_RANLIB="ranlib"
    5341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5342     break 2
     5540  if test -z "$ac_cv_path_SED"; then
     5541    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
    53435542  fi
    5344 done
    5345   done
    5346 IFS=$as_save_IFS
    5347 
    5348 fi
    5349 fi
    5350 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    5351 if test -n "$ac_ct_RANLIB"; then
    5352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    5353 $as_echo "$ac_ct_RANLIB" >&6; }
    5354 else
    5355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5356 $as_echo "no" >&6; }
    5357 fi
    5358 
    5359   if test "x$ac_ct_RANLIB" = x; then
    5360     RANLIB=":"
    5361   else
    5362     case $cross_compiling:$ac_tool_warned in
    5363 yes:)
    5364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    5365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    5366 ac_tool_warned=yes ;;
    5367 esac
    5368     RANLIB=$ac_ct_RANLIB
    5369   fi
    5370 else
    5371   RANLIB="$ac_cv_prog_RANLIB"
    5372 fi
    5373 
    5374 
    5375 # Checks for libraries.
    5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fibre::yield in -lfibre" >&5
    5377 $as_echo_n "checking for Fibre::yield in -lfibre... " >&6; }
    5378 if ${ac_cv_lib_fibre_Fibre__yield+:} false; then :
    5379   $as_echo_n "(cached) " >&6
    5380 else
    5381   ac_check_lib_save_LIBS=$LIBS
    5382 LIBS="-lfibre  $LIBS"
    5383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5384 /* end confdefs.h.  */
    5385 
    5386 /* Override any GCC internal prototype to avoid an error.
    5387    Use char because int might match the return type of a GCC
    5388    builtin and then its argument prototype would still apply.  */
    5389 #ifdef __cplusplus
    5390 extern "C"
    5391 #endif
    5392 char Fibre::yield ();
    5393 int
    5394 main ()
    5395 {
    5396 return Fibre::yield ();
    5397   ;
    5398   return 0;
    5399 }
    5400 _ACEOF
    5401 if ac_fn_c_try_link "$LINENO"; then :
    5402   ac_cv_lib_fibre_Fibre__yield=yes
    5403 else
    5404   ac_cv_lib_fibre_Fibre__yield=no
    5405 fi
    5406 rm -f core conftest.err conftest.$ac_objext \
    5407     conftest$ac_exeext conftest.$ac_ext
    5408 LIBS=$ac_check_lib_save_LIBS
    5409 fi
    5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fibre_Fibre__yield" >&5
    5411 $as_echo "$ac_cv_lib_fibre_Fibre__yield" >&6; }
    5412 if test "x$ac_cv_lib_fibre_Fibre__yield" = xyes; then :
    5413   HAVE_LIBFIBRE=1
    5414 else
    5415   HAVE_LIBFIBRE=0
    5416 fi
    5417 
    5418  if test "$HAVE_LIBFIBRE" -eq 1; then
    5419   WITH_LIBFIBRE_TRUE=
    5420   WITH_LIBFIBRE_FALSE='#'
    5421 else
    5422   WITH_LIBFIBRE_TRUE='#'
    5423   WITH_LIBFIBRE_FALSE=
    5424 fi
    5425 
    5426 
    5427 # Checks for header files.
    5428 ac_ext=c
    5429 ac_cpp='$CPP $CPPFLAGS'
    5430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    5434 $as_echo_n "checking how to run the C preprocessor... " >&6; }
    5435 # On Suns, sometimes $CPP names a directory.
    5436 if test -n "$CPP" && test -d "$CPP"; then
    5437   CPP=
    5438 fi
    5439 if test -z "$CPP"; then
    5440   if ${ac_cv_prog_CPP+:} false; then :
    5441   $as_echo_n "(cached) " >&6
    5442 else
    5443       # Double quotes because CPP needs to be expanded
    5444     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    5445     do
    5446       ac_preproc_ok=false
    5447 for ac_c_preproc_warn_flag in '' yes
    5448 do
    5449   # Use a header file that comes with gcc, so configuring glibc
    5450   # with a fresh cross-compiler works.
    5451   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5452   # <limits.h> exists even on freestanding compilers.
    5453   # On the NeXT, cc -E runs the code through the compiler's parser,
    5454   # not just through cpp. "Syntax error" is here to catch this case.
    5455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5456 /* end confdefs.h.  */
    5457 #ifdef __STDC__
    5458 # include <limits.h>
    5459 #else
    5460 # include <assert.h>
    5461 #endif
    5462                      Syntax error
    5463 _ACEOF
    5464 if ac_fn_c_try_cpp "$LINENO"; then :
    5465 
    5466 else
    5467   # Broken: fails on valid input.
    5468 continue
    5469 fi
    5470 rm -f conftest.err conftest.i conftest.$ac_ext
    5471 
    5472   # OK, works on sane cases.  Now check whether nonexistent headers
    5473   # can be detected and how.
    5474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5475 /* end confdefs.h.  */
    5476 #include <ac_nonexistent.h>
    5477 _ACEOF
    5478 if ac_fn_c_try_cpp "$LINENO"; then :
    5479   # Broken: success on invalid input.
    5480 continue
    5481 else
    5482   # Passes both tests.
    5483 ac_preproc_ok=:
    5484 break
    5485 fi
    5486 rm -f conftest.err conftest.i conftest.$ac_ext
    5487 
    5488 done
    5489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5490 rm -f conftest.i conftest.err conftest.$ac_ext
    5491 if $ac_preproc_ok; then :
    5492   break
    5493 fi
    5494 
    5495     done
    5496     ac_cv_prog_CPP=$CPP
    5497 
    5498 fi
    5499   CPP=$ac_cv_prog_CPP
    5500 else
    5501   ac_cv_prog_CPP=$CPP
    5502 fi
    5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    5504 $as_echo "$CPP" >&6; }
    5505 ac_preproc_ok=false
    5506 for ac_c_preproc_warn_flag in '' yes
    5507 do
    5508   # Use a header file that comes with gcc, so configuring glibc
    5509   # with a fresh cross-compiler works.
    5510   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5511   # <limits.h> exists even on freestanding compilers.
    5512   # On the NeXT, cc -E runs the code through the compiler's parser,
    5513   # not just through cpp. "Syntax error" is here to catch this case.
    5514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5515 /* end confdefs.h.  */
    5516 #ifdef __STDC__
    5517 # include <limits.h>
    5518 #else
    5519 # include <assert.h>
    5520 #endif
    5521                      Syntax error
    5522 _ACEOF
    5523 if ac_fn_c_try_cpp "$LINENO"; then :
    5524 
    5525 else
    5526   # Broken: fails on valid input.
    5527 continue
    5528 fi
    5529 rm -f conftest.err conftest.i conftest.$ac_ext
    5530 
    5531   # OK, works on sane cases.  Now check whether nonexistent headers
    5532   # can be detected and how.
    5533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5534 /* end confdefs.h.  */
    5535 #include <ac_nonexistent.h>
    5536 _ACEOF
    5537 if ac_fn_c_try_cpp "$LINENO"; then :
    5538   # Broken: success on invalid input.
    5539 continue
    5540 else
    5541   # Passes both tests.
    5542 ac_preproc_ok=:
    5543 break
    5544 fi
    5545 rm -f conftest.err conftest.i conftest.$ac_ext
    5546 
    5547 done
    5548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5549 rm -f conftest.i conftest.err conftest.$ac_ext
    5550 if $ac_preproc_ok; then :
    5551 
    5552 else
    5553   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    5554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    5555 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    5556 See \`config.log' for more details" "$LINENO" 5; }
    5557 fi
    5558 
    5559 ac_ext=c
    5560 ac_cpp='$CPP $CPPFLAGS'
    5561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5543else
     5544  ac_cv_path_SED=$SED
     5545fi
     5546
     5547fi
     5548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
     5549$as_echo "$ac_cv_path_SED" >&6; }
     5550 SED="$ac_cv_path_SED"
     5551  rm -f conftest.sed
     5552
     5553test -z "$SED" && SED=sed
     5554Xsed="$SED -e 1s/^X//"
     5555
     5556
     5557
     5558
     5559
     5560
     5561
     5562
     5563
    55645564
    55655565
     
    56945694
    56955695
     5696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
     5697$as_echo_n "checking for fgrep... " >&6; }
     5698if ${ac_cv_path_FGREP+:} false; then :
     5699  $as_echo_n "(cached) " >&6
     5700else
     5701  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
     5702   then ac_cv_path_FGREP="$GREP -F"
     5703   else
     5704     if test -z "$FGREP"; then
     5705  ac_path_FGREP_found=false
     5706  # Loop through the user's path and test for each of PROGNAME-LIST
     5707  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5708for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     5709do
     5710  IFS=$as_save_IFS
     5711  test -z "$as_dir" && as_dir=.
     5712    for ac_prog in fgrep; do
     5713    for ac_exec_ext in '' $ac_executable_extensions; do
     5714      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
     5715      as_fn_executable_p "$ac_path_FGREP" || continue
     5716# Check for GNU ac_path_FGREP and select it if it is found.
     5717  # Check for GNU $ac_path_FGREP
     5718case `"$ac_path_FGREP" --version 2>&1` in
     5719*GNU*)
     5720  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
     5721*)
     5722  ac_count=0
     5723  $as_echo_n 0123456789 >"conftest.in"
     5724  while :
     5725  do
     5726    cat "conftest.in" "conftest.in" >"conftest.tmp"
     5727    mv "conftest.tmp" "conftest.in"
     5728    cp "conftest.in" "conftest.nl"
     5729    $as_echo 'FGREP' >> "conftest.nl"
     5730    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
     5731    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     5732    as_fn_arith $ac_count + 1 && ac_count=$as_val
     5733    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
     5734      # Best one so far, save it but keep looking for a better one
     5735      ac_cv_path_FGREP="$ac_path_FGREP"
     5736      ac_path_FGREP_max=$ac_count
     5737    fi
     5738    # 10*(2^10) chars as input seems more than enough
     5739    test $ac_count -gt 10 && break
     5740  done
     5741  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     5742esac
     5743
     5744      $ac_path_FGREP_found && break 3
     5745    done
     5746  done
     5747  done
     5748IFS=$as_save_IFS
     5749  if test -z "$ac_cv_path_FGREP"; then
     5750    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     5751  fi
     5752else
     5753  ac_cv_path_FGREP=$FGREP
     5754fi
     5755
     5756   fi
     5757fi
     5758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
     5759$as_echo "$ac_cv_path_FGREP" >&6; }
     5760 FGREP="$ac_cv_path_FGREP"
     5761
     5762
     5763test -z "$GREP" && GREP=grep
     5764
     5765
     5766
     5767
     5768
     5769
     5770
     5771
     5772
     5773
     5774
     5775
     5776
     5777
     5778
     5779
     5780
     5781
     5782
     5783# Check whether --with-gnu-ld was given.
     5784if test "${with_gnu_ld+set}" = set; then :
     5785  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
     5786else
     5787  with_gnu_ld=no
     5788fi
     5789
     5790ac_prog=ld
     5791if test yes = "$GCC"; then
     5792  # Check if gcc -print-prog-name=ld gives a path.
     5793  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     5794$as_echo_n "checking for ld used by $CC... " >&6; }
     5795  case $host in
     5796  *-*-mingw*)
     5797    # gcc leaves a trailing carriage return, which upsets mingw
     5798    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
     5799  *)
     5800    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
     5801  esac
     5802  case $ac_prog in
     5803    # Accept absolute paths.
     5804    [\\/]* | ?:[\\/]*)
     5805      re_direlt='/[^/][^/]*/\.\./'
     5806      # Canonicalize the pathname of ld
     5807      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
     5808      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
     5809        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
     5810      done
     5811      test -z "$LD" && LD=$ac_prog
     5812      ;;
     5813  "")
     5814    # If it fails, then pretend we aren't using GCC.
     5815    ac_prog=ld
     5816    ;;
     5817  *)
     5818    # If it is relative, then search for the first ld in PATH.
     5819    with_gnu_ld=unknown
     5820    ;;
     5821  esac
     5822elif test yes = "$with_gnu_ld"; then
     5823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
     5824$as_echo_n "checking for GNU ld... " >&6; }
     5825else
     5826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
     5827$as_echo_n "checking for non-GNU ld... " >&6; }
     5828fi
     5829if ${lt_cv_path_LD+:} false; then :
     5830  $as_echo_n "(cached) " >&6
     5831else
     5832  if test -z "$LD"; then
     5833  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     5834  for ac_dir in $PATH; do
     5835    IFS=$lt_save_ifs
     5836    test -z "$ac_dir" && ac_dir=.
     5837    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
     5838      lt_cv_path_LD=$ac_dir/$ac_prog
     5839      # Check to see if the program is GNU ld.  I'd rather use --version,
     5840      # but apparently some variants of GNU ld only accept -v.
     5841      # Break only if it was the GNU/non-GNU ld that we prefer.
     5842      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
     5843      *GNU* | *'with BFD'*)
     5844        test no != "$with_gnu_ld" && break
     5845        ;;
     5846      *)
     5847        test yes != "$with_gnu_ld" && break
     5848        ;;
     5849      esac
     5850    fi
     5851  done
     5852  IFS=$lt_save_ifs
     5853else
     5854  lt_cv_path_LD=$LD # Let the user override the test with a path.
     5855fi
     5856fi
     5857
     5858LD=$lt_cv_path_LD
     5859if test -n "$LD"; then
     5860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     5861$as_echo "$LD" >&6; }
     5862else
     5863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5864$as_echo "no" >&6; }
     5865fi
     5866test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
     5867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
     5868$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
     5869if ${lt_cv_prog_gnu_ld+:} false; then :
     5870  $as_echo_n "(cached) " >&6
     5871else
     5872  # I'd rather use --version here, but apparently some GNU lds only accept -v.
     5873case `$LD -v 2>&1 </dev/null` in
     5874*GNU* | *'with BFD'*)
     5875  lt_cv_prog_gnu_ld=yes
     5876  ;;
     5877*)
     5878  lt_cv_prog_gnu_ld=no
     5879  ;;
     5880esac
     5881fi
     5882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
     5883$as_echo "$lt_cv_prog_gnu_ld" >&6; }
     5884with_gnu_ld=$lt_cv_prog_gnu_ld
     5885
     5886
     5887
     5888
     5889
     5890
     5891
     5892
     5893
     5894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
     5895$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
     5896if ${lt_cv_path_NM+:} false; then :
     5897  $as_echo_n "(cached) " >&6
     5898else
     5899  if test -n "$NM"; then
     5900  # Let the user override the test.
     5901  lt_cv_path_NM=$NM
     5902else
     5903  lt_nm_to_check=${ac_tool_prefix}nm
     5904  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
     5905    lt_nm_to_check="$lt_nm_to_check nm"
     5906  fi
     5907  for lt_tmp_nm in $lt_nm_to_check; do
     5908    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     5909    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
     5910      IFS=$lt_save_ifs
     5911      test -z "$ac_dir" && ac_dir=.
     5912      tmp_nm=$ac_dir/$lt_tmp_nm
     5913      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
     5914        # Check to see if the nm accepts a BSD-compat flag.
     5915        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
     5916        #   nm: unknown option "B" ignored
     5917        # Tru64's nm complains that /dev/null is an invalid object file
     5918        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
     5919        case $build_os in
     5920        mingw*) lt_bad_file=conftest.nm/nofile ;;
     5921        *) lt_bad_file=/dev/null ;;
     5922        esac
     5923        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
     5924        *$lt_bad_file* | *'Invalid file or object type'*)
     5925          lt_cv_path_NM="$tmp_nm -B"
     5926          break 2
     5927          ;;
     5928        *)
     5929          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
     5930          */dev/null*)
     5931            lt_cv_path_NM="$tmp_nm -p"
     5932            break 2
     5933            ;;
     5934          *)
     5935            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
     5936            continue # so that we can try to find one that supports BSD flags
     5937            ;;
     5938          esac
     5939          ;;
     5940        esac
     5941      fi
     5942    done
     5943    IFS=$lt_save_ifs
     5944  done
     5945  : ${lt_cv_path_NM=no}
     5946fi
     5947fi
     5948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
     5949$as_echo "$lt_cv_path_NM" >&6; }
     5950if test no != "$lt_cv_path_NM"; then
     5951  NM=$lt_cv_path_NM
     5952else
     5953  # Didn't find any BSD compatible name lister, look for dumpbin.
     5954  if test -n "$DUMPBIN"; then :
     5955    # Let the user override the test.
     5956  else
     5957    if test -n "$ac_tool_prefix"; then
     5958  for ac_prog in dumpbin "link -dump"
     5959  do
     5960    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     5961set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     5962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5963$as_echo_n "checking for $ac_word... " >&6; }
     5964if ${ac_cv_prog_DUMPBIN+:} false; then :
     5965  $as_echo_n "(cached) " >&6
     5966else
     5967  if test -n "$DUMPBIN"; then
     5968  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
     5969else
     5970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5971for as_dir in $PATH
     5972do
     5973  IFS=$as_save_IFS
     5974  test -z "$as_dir" && as_dir=.
     5975    for ac_exec_ext in '' $ac_executable_extensions; do
     5976  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5977    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
     5978    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5979    break 2
     5980  fi
     5981done
     5982  done
     5983IFS=$as_save_IFS
     5984
     5985fi
     5986fi
     5987DUMPBIN=$ac_cv_prog_DUMPBIN
     5988if test -n "$DUMPBIN"; then
     5989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
     5990$as_echo "$DUMPBIN" >&6; }
     5991else
     5992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5993$as_echo "no" >&6; }
     5994fi
     5995
     5996
     5997    test -n "$DUMPBIN" && break
     5998  done
     5999fi
     6000if test -z "$DUMPBIN"; then
     6001  ac_ct_DUMPBIN=$DUMPBIN
     6002  for ac_prog in dumpbin "link -dump"
     6003do
     6004  # Extract the first word of "$ac_prog", so it can be a program name with args.
     6005set dummy $ac_prog; ac_word=$2
     6006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6007$as_echo_n "checking for $ac_word... " >&6; }
     6008if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
     6009  $as_echo_n "(cached) " >&6
     6010else
     6011  if test -n "$ac_ct_DUMPBIN"; then
     6012  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
     6013else
     6014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6015for as_dir in $PATH
     6016do
     6017  IFS=$as_save_IFS
     6018  test -z "$as_dir" && as_dir=.
     6019    for ac_exec_ext in '' $ac_executable_extensions; do
     6020  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6021    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
     6022    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6023    break 2
     6024  fi
     6025done
     6026  done
     6027IFS=$as_save_IFS
     6028
     6029fi
     6030fi
     6031ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
     6032if test -n "$ac_ct_DUMPBIN"; then
     6033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
     6034$as_echo "$ac_ct_DUMPBIN" >&6; }
     6035else
     6036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6037$as_echo "no" >&6; }
     6038fi
     6039
     6040
     6041  test -n "$ac_ct_DUMPBIN" && break
     6042done
     6043
     6044  if test "x$ac_ct_DUMPBIN" = x; then
     6045    DUMPBIN=":"
     6046  else
     6047    case $cross_compiling:$ac_tool_warned in
     6048yes:)
     6049{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6050$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6051ac_tool_warned=yes ;;
     6052esac
     6053    DUMPBIN=$ac_ct_DUMPBIN
     6054  fi
     6055fi
     6056
     6057    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
     6058    *COFF*)
     6059      DUMPBIN="$DUMPBIN -symbols -headers"
     6060      ;;
     6061    *)
     6062      DUMPBIN=:
     6063      ;;
     6064    esac
     6065  fi
     6066
     6067  if test : != "$DUMPBIN"; then
     6068    NM=$DUMPBIN
     6069  fi
     6070fi
     6071test -z "$NM" && NM=nm
     6072
     6073
     6074
     6075
     6076
     6077
     6078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
     6079$as_echo_n "checking the name lister ($NM) interface... " >&6; }
     6080if ${lt_cv_nm_interface+:} false; then :
     6081  $as_echo_n "(cached) " >&6
     6082else
     6083  lt_cv_nm_interface="BSD nm"
     6084  echo "int some_variable = 0;" > conftest.$ac_ext
     6085  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
     6086  (eval "$ac_compile" 2>conftest.err)
     6087  cat conftest.err >&5
     6088  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
     6089  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
     6090  cat conftest.err >&5
     6091  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
     6092  cat conftest.out >&5
     6093  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     6094    lt_cv_nm_interface="MS dumpbin"
     6095  fi
     6096  rm -f conftest*
     6097fi
     6098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
     6099$as_echo "$lt_cv_nm_interface" >&6; }
     6100
     6101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     6102$as_echo_n "checking whether ln -s works... " >&6; }
     6103LN_S=$as_ln_s
     6104if test "$LN_S" = "ln -s"; then
     6105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     6106$as_echo "yes" >&6; }
     6107else
     6108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     6109$as_echo "no, using $LN_S" >&6; }
     6110fi
     6111
     6112# find the maximum length of command line arguments
     6113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
     6114$as_echo_n "checking the maximum length of command line arguments... " >&6; }
     6115if ${lt_cv_sys_max_cmd_len+:} false; then :
     6116  $as_echo_n "(cached) " >&6
     6117else
     6118    i=0
     6119  teststring=ABCD
     6120
     6121  case $build_os in
     6122  msdosdjgpp*)
     6123    # On DJGPP, this test can blow up pretty badly due to problems in libc
     6124    # (any single argument exceeding 2000 bytes causes a buffer overrun
     6125    # during glob expansion).  Even if it were fixed, the result of this
     6126    # check would be larger than it should be.
     6127    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
     6128    ;;
     6129
     6130  gnu*)
     6131    # Under GNU Hurd, this test is not required because there is
     6132    # no limit to the length of command line arguments.
     6133    # Libtool will interpret -1 as no limit whatsoever
     6134    lt_cv_sys_max_cmd_len=-1;
     6135    ;;
     6136
     6137  cygwin* | mingw* | cegcc*)
     6138    # On Win9x/ME, this test blows up -- it succeeds, but takes
     6139    # about 5 minutes as the teststring grows exponentially.
     6140    # Worse, since 9x/ME are not pre-emptively multitasking,
     6141    # you end up with a "frozen" computer, even though with patience
     6142    # the test eventually succeeds (with a max line length of 256k).
     6143    # Instead, let's just punt: use the minimum linelength reported by
     6144    # all of the supported platforms: 8192 (on NT/2K/XP).
     6145    lt_cv_sys_max_cmd_len=8192;
     6146    ;;
     6147
     6148  mint*)
     6149    # On MiNT this can take a long time and run out of memory.
     6150    lt_cv_sys_max_cmd_len=8192;
     6151    ;;
     6152
     6153  amigaos*)
     6154    # On AmigaOS with pdksh, this test takes hours, literally.
     6155    # So we just punt and use a minimum line length of 8192.
     6156    lt_cv_sys_max_cmd_len=8192;
     6157    ;;
     6158
     6159  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
     6160    # This has been around since 386BSD, at least.  Likely further.
     6161    if test -x /sbin/sysctl; then
     6162      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
     6163    elif test -x /usr/sbin/sysctl; then
     6164      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
     6165    else
     6166      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
     6167    fi
     6168    # And add a safety zone
     6169    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     6170    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     6171    ;;
     6172
     6173  interix*)
     6174    # We know the value 262144 and hardcode it with a safety zone (like BSD)
     6175    lt_cv_sys_max_cmd_len=196608
     6176    ;;
     6177
     6178  os2*)
     6179    # The test takes a long time on OS/2.
     6180    lt_cv_sys_max_cmd_len=8192
     6181    ;;
     6182
     6183  osf*)
     6184    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     6185    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
     6186    # nice to cause kernel panics so lets avoid the loop below.
     6187    # First set a reasonable default.
     6188    lt_cv_sys_max_cmd_len=16384
     6189    #
     6190    if test -x /sbin/sysconfig; then
     6191      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
     6192        *1*) lt_cv_sys_max_cmd_len=-1 ;;
     6193      esac
     6194    fi
     6195    ;;
     6196  sco3.2v5*)
     6197    lt_cv_sys_max_cmd_len=102400
     6198    ;;
     6199  sysv5* | sco5v6* | sysv4.2uw2*)
     6200    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
     6201    if test -n "$kargmax"; then
     6202      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
     6203    else
     6204      lt_cv_sys_max_cmd_len=32768
     6205    fi
     6206    ;;
     6207  *)
     6208    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
     6209    if test -n "$lt_cv_sys_max_cmd_len" && \
     6210       test undefined != "$lt_cv_sys_max_cmd_len"; then
     6211      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     6212      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     6213    else
     6214      # Make teststring a little bigger before we do anything with it.
     6215      # a 1K string should be a reasonable start.
     6216      for i in 1 2 3 4 5 6 7 8; do
     6217        teststring=$teststring$teststring
     6218      done
     6219      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
     6220      # If test is not a shell built-in, we'll probably end up computing a
     6221      # maximum length that is only half of the actual maximum length, but
     6222      # we can't tell.
     6223      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
     6224                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
     6225              test 17 != "$i" # 1/2 MB should be enough
     6226      do
     6227        i=`expr $i + 1`
     6228        teststring=$teststring$teststring
     6229      done
     6230      # Only check the string length outside the loop.
     6231      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
     6232      teststring=
     6233      # Add a significant safety factor because C++ compilers can tack on
     6234      # massive amounts of additional arguments before passing them to the
     6235      # linker.  It appears as though 1/2 is a usable value.
     6236      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
     6237    fi
     6238    ;;
     6239  esac
     6240
     6241fi
     6242
     6243if test -n "$lt_cv_sys_max_cmd_len"; then
     6244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
     6245$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
     6246else
     6247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
     6248$as_echo "none" >&6; }
     6249fi
     6250max_cmd_len=$lt_cv_sys_max_cmd_len
     6251
     6252
     6253
     6254
     6255
     6256
     6257: ${CP="cp -f"}
     6258: ${MV="mv -f"}
     6259: ${RM="rm -f"}
     6260
     6261if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     6262  lt_unset=unset
     6263else
     6264  lt_unset=false
     6265fi
     6266
     6267
     6268
     6269
     6270
     6271# test EBCDIC or ASCII
     6272case `echo X|tr X '\101'` in
     6273 A) # ASCII based system
     6274    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
     6275  lt_SP2NL='tr \040 \012'
     6276  lt_NL2SP='tr \015\012 \040\040'
     6277  ;;
     6278 *) # EBCDIC based system
     6279  lt_SP2NL='tr \100 \n'
     6280  lt_NL2SP='tr \r\n \100\100'
     6281  ;;
     6282esac
     6283
     6284
     6285
     6286
     6287
     6288
     6289
     6290
     6291
     6292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
     6293$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
     6294if ${lt_cv_to_host_file_cmd+:} false; then :
     6295  $as_echo_n "(cached) " >&6
     6296else
     6297  case $host in
     6298  *-*-mingw* )
     6299    case $build in
     6300      *-*-mingw* ) # actually msys
     6301        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
     6302        ;;
     6303      *-*-cygwin* )
     6304        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
     6305        ;;
     6306      * ) # otherwise, assume *nix
     6307        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
     6308        ;;
     6309    esac
     6310    ;;
     6311  *-*-cygwin* )
     6312    case $build in
     6313      *-*-mingw* ) # actually msys
     6314        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
     6315        ;;
     6316      *-*-cygwin* )
     6317        lt_cv_to_host_file_cmd=func_convert_file_noop
     6318        ;;
     6319      * ) # otherwise, assume *nix
     6320        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
     6321        ;;
     6322    esac
     6323    ;;
     6324  * ) # unhandled hosts (and "normal" native builds)
     6325    lt_cv_to_host_file_cmd=func_convert_file_noop
     6326    ;;
     6327esac
     6328
     6329fi
     6330
     6331to_host_file_cmd=$lt_cv_to_host_file_cmd
     6332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
     6333$as_echo "$lt_cv_to_host_file_cmd" >&6; }
     6334
     6335
     6336
     6337
     6338
     6339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
     6340$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
     6341if ${lt_cv_to_tool_file_cmd+:} false; then :
     6342  $as_echo_n "(cached) " >&6
     6343else
     6344  #assume ordinary cross tools, or native build.
     6345lt_cv_to_tool_file_cmd=func_convert_file_noop
     6346case $host in
     6347  *-*-mingw* )
     6348    case $build in
     6349      *-*-mingw* ) # actually msys
     6350        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
     6351        ;;
     6352    esac
     6353    ;;
     6354esac
     6355
     6356fi
     6357
     6358to_tool_file_cmd=$lt_cv_to_tool_file_cmd
     6359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
     6360$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
     6361
     6362
     6363
     6364
     6365
     6366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
     6367$as_echo_n "checking for $LD option to reload object files... " >&6; }
     6368if ${lt_cv_ld_reload_flag+:} false; then :
     6369  $as_echo_n "(cached) " >&6
     6370else
     6371  lt_cv_ld_reload_flag='-r'
     6372fi
     6373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
     6374$as_echo "$lt_cv_ld_reload_flag" >&6; }
     6375reload_flag=$lt_cv_ld_reload_flag
     6376case $reload_flag in
     6377"" | " "*) ;;
     6378*) reload_flag=" $reload_flag" ;;
     6379esac
     6380reload_cmds='$LD$reload_flag -o $output$reload_objs'
     6381case $host_os in
     6382  cygwin* | mingw* | pw32* | cegcc*)
     6383    if test yes != "$GCC"; then
     6384      reload_cmds=false
     6385    fi
     6386    ;;
     6387  darwin*)
     6388    if test yes = "$GCC"; then
     6389      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
     6390    else
     6391      reload_cmds='$LD$reload_flag -o $output$reload_objs'
     6392    fi
     6393    ;;
     6394esac
     6395
     6396
     6397
     6398
     6399
     6400
     6401
     6402
     6403
     6404if test -n "$ac_tool_prefix"; then
     6405  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
     6406set dummy ${ac_tool_prefix}objdump; ac_word=$2
     6407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6408$as_echo_n "checking for $ac_word... " >&6; }
     6409if ${ac_cv_prog_OBJDUMP+:} false; then :
     6410  $as_echo_n "(cached) " >&6
     6411else
     6412  if test -n "$OBJDUMP"; then
     6413  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
     6414else
     6415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6416for as_dir in $PATH
     6417do
     6418  IFS=$as_save_IFS
     6419  test -z "$as_dir" && as_dir=.
     6420    for ac_exec_ext in '' $ac_executable_extensions; do
     6421  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6422    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
     6423    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6424    break 2
     6425  fi
     6426done
     6427  done
     6428IFS=$as_save_IFS
     6429
     6430fi
     6431fi
     6432OBJDUMP=$ac_cv_prog_OBJDUMP
     6433if test -n "$OBJDUMP"; then
     6434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
     6435$as_echo "$OBJDUMP" >&6; }
     6436else
     6437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6438$as_echo "no" >&6; }
     6439fi
     6440
     6441
     6442fi
     6443if test -z "$ac_cv_prog_OBJDUMP"; then
     6444  ac_ct_OBJDUMP=$OBJDUMP
     6445  # Extract the first word of "objdump", so it can be a program name with args.
     6446set dummy objdump; ac_word=$2
     6447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6448$as_echo_n "checking for $ac_word... " >&6; }
     6449if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
     6450  $as_echo_n "(cached) " >&6
     6451else
     6452  if test -n "$ac_ct_OBJDUMP"; then
     6453  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
     6454else
     6455as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6456for as_dir in $PATH
     6457do
     6458  IFS=$as_save_IFS
     6459  test -z "$as_dir" && as_dir=.
     6460    for ac_exec_ext in '' $ac_executable_extensions; do
     6461  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6462    ac_cv_prog_ac_ct_OBJDUMP="objdump"
     6463    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6464    break 2
     6465  fi
     6466done
     6467  done
     6468IFS=$as_save_IFS
     6469
     6470fi
     6471fi
     6472ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
     6473if test -n "$ac_ct_OBJDUMP"; then
     6474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
     6475$as_echo "$ac_ct_OBJDUMP" >&6; }
     6476else
     6477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6478$as_echo "no" >&6; }
     6479fi
     6480
     6481  if test "x$ac_ct_OBJDUMP" = x; then
     6482    OBJDUMP="false"
     6483  else
     6484    case $cross_compiling:$ac_tool_warned in
     6485yes:)
     6486{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6487$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6488ac_tool_warned=yes ;;
     6489esac
     6490    OBJDUMP=$ac_ct_OBJDUMP
     6491  fi
     6492else
     6493  OBJDUMP="$ac_cv_prog_OBJDUMP"
     6494fi
     6495
     6496test -z "$OBJDUMP" && OBJDUMP=objdump
     6497
     6498
     6499
     6500
     6501
     6502
     6503
     6504
     6505
     6506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
     6507$as_echo_n "checking how to recognize dependent libraries... " >&6; }
     6508if ${lt_cv_deplibs_check_method+:} false; then :
     6509  $as_echo_n "(cached) " >&6
     6510else
     6511  lt_cv_file_magic_cmd='$MAGIC_CMD'
     6512lt_cv_file_magic_test_file=
     6513lt_cv_deplibs_check_method='unknown'
     6514# Need to set the preceding variable on all platforms that support
     6515# interlibrary dependencies.
     6516# 'none' -- dependencies not supported.
     6517# 'unknown' -- same as none, but documents that we really don't know.
     6518# 'pass_all' -- all dependencies passed with no checks.
     6519# 'test_compile' -- check by making test program.
     6520# 'file_magic [[regex]]' -- check by looking for files in library path
     6521# that responds to the $file_magic_cmd with a given extended regex.
     6522# If you have 'file' or equivalent on your system and you're not sure
     6523# whether 'pass_all' will *always* work, you probably want this one.
     6524
     6525case $host_os in
     6526aix[4-9]*)
     6527  lt_cv_deplibs_check_method=pass_all
     6528  ;;
     6529
     6530beos*)
     6531  lt_cv_deplibs_check_method=pass_all
     6532  ;;
     6533
     6534bsdi[45]*)
     6535  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     6536  lt_cv_file_magic_cmd='/usr/bin/file -L'
     6537  lt_cv_file_magic_test_file=/shlib/libc.so
     6538  ;;
     6539
     6540cygwin*)
     6541  # func_win32_libid is a shell function defined in ltmain.sh
     6542  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     6543  lt_cv_file_magic_cmd='func_win32_libid'
     6544  ;;
     6545
     6546mingw* | pw32*)
     6547  # Base MSYS/MinGW do not provide the 'file' command needed by
     6548  # func_win32_libid shell function, so use a weaker test based on 'objdump',
     6549  # unless we find 'file', for example because we are cross-compiling.
     6550  if ( file / ) >/dev/null 2>&1; then
     6551    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     6552    lt_cv_file_magic_cmd='func_win32_libid'
     6553  else
     6554    # Keep this pattern in sync with the one in func_win32_libid.
     6555    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
     6556    lt_cv_file_magic_cmd='$OBJDUMP -f'
     6557  fi
     6558  ;;
     6559
     6560cegcc*)
     6561  # use the weaker test based on 'objdump'. See mingw*.
     6562  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
     6563  lt_cv_file_magic_cmd='$OBJDUMP -f'
     6564  ;;
     6565
     6566darwin* | rhapsody*)
     6567  lt_cv_deplibs_check_method=pass_all
     6568  ;;
     6569
     6570freebsd* | dragonfly*)
     6571  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     6572    case $host_cpu in
     6573    i*86 )
     6574      # Not sure whether the presence of OpenBSD here was a mistake.
     6575      # Let's accept both of them until this is cleared up.
     6576      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
     6577      lt_cv_file_magic_cmd=/usr/bin/file
     6578      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
     6579      ;;
     6580    esac
     6581  else
     6582    lt_cv_deplibs_check_method=pass_all
     6583  fi
     6584  ;;
     6585
     6586haiku*)
     6587  lt_cv_deplibs_check_method=pass_all
     6588  ;;
     6589
     6590hpux10.20* | hpux11*)
     6591  lt_cv_file_magic_cmd=/usr/bin/file
     6592  case $host_cpu in
     6593  ia64*)
     6594    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     6595    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     6596    ;;
     6597  hppa*64*)
     6598    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]'
     6599    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
     6600    ;;
     6601  *)
     6602    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
     6603    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     6604    ;;
     6605  esac
     6606  ;;
     6607
     6608interix[3-9]*)
     6609  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
     6610  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
     6611  ;;
     6612
     6613irix5* | irix6* | nonstopux*)
     6614  case $LD in
     6615  *-32|*"-32 ") libmagic=32-bit;;
     6616  *-n32|*"-n32 ") libmagic=N32;;
     6617  *-64|*"-64 ") libmagic=64-bit;;
     6618  *) libmagic=never-match;;
     6619  esac
     6620  lt_cv_deplibs_check_method=pass_all
     6621  ;;
     6622
     6623# This must be glibc/ELF.
     6624linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     6625  lt_cv_deplibs_check_method=pass_all
     6626  ;;
     6627
     6628netbsd* | netbsdelf*-gnu)
     6629  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     6630    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
     6631  else
     6632    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
     6633  fi
     6634  ;;
     6635
     6636newos6*)
     6637  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     6638  lt_cv_file_magic_cmd=/usr/bin/file
     6639  lt_cv_file_magic_test_file=/usr/lib/libnls.so
     6640  ;;
     6641
     6642*nto* | *qnx*)
     6643  lt_cv_deplibs_check_method=pass_all
     6644  ;;
     6645
     6646openbsd* | bitrig*)
     6647  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     6648    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
     6649  else
     6650    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
     6651  fi
     6652  ;;
     6653
     6654osf3* | osf4* | osf5*)
     6655  lt_cv_deplibs_check_method=pass_all
     6656  ;;
     6657
     6658rdos*)
     6659  lt_cv_deplibs_check_method=pass_all
     6660  ;;
     6661
     6662solaris*)
     6663  lt_cv_deplibs_check_method=pass_all
     6664  ;;
     6665
     6666sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     6667  lt_cv_deplibs_check_method=pass_all
     6668  ;;
     6669
     6670sysv4 | sysv4.3*)
     6671  case $host_vendor in
     6672  motorola)
     6673    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]'
     6674    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     6675    ;;
     6676  ncr)
     6677    lt_cv_deplibs_check_method=pass_all
     6678    ;;
     6679  sequent)
     6680    lt_cv_file_magic_cmd='/bin/file'
     6681    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
     6682    ;;
     6683  sni)
     6684    lt_cv_file_magic_cmd='/bin/file'
     6685    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
     6686    lt_cv_file_magic_test_file=/lib/libc.so
     6687    ;;
     6688  siemens)
     6689    lt_cv_deplibs_check_method=pass_all
     6690    ;;
     6691  pc)
     6692    lt_cv_deplibs_check_method=pass_all
     6693    ;;
     6694  esac
     6695  ;;
     6696
     6697tpf*)
     6698  lt_cv_deplibs_check_method=pass_all
     6699  ;;
     6700os2*)
     6701  lt_cv_deplibs_check_method=pass_all
     6702  ;;
     6703esac
     6704
     6705fi
     6706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
     6707$as_echo "$lt_cv_deplibs_check_method" >&6; }
     6708
     6709file_magic_glob=
     6710want_nocaseglob=no
     6711if test "$build" = "$host"; then
     6712  case $host_os in
     6713  mingw* | pw32*)
     6714    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
     6715      want_nocaseglob=yes
     6716    else
     6717      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
     6718    fi
     6719    ;;
     6720  esac
     6721fi
     6722
     6723file_magic_cmd=$lt_cv_file_magic_cmd
     6724deplibs_check_method=$lt_cv_deplibs_check_method
     6725test -z "$deplibs_check_method" && deplibs_check_method=unknown
     6726
     6727
     6728
     6729
     6730
     6731
     6732
     6733
     6734
     6735
     6736
     6737
     6738
     6739
     6740
     6741
     6742
     6743
     6744
     6745
     6746
     6747
     6748if test -n "$ac_tool_prefix"; then
     6749  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
     6750set dummy ${ac_tool_prefix}dlltool; ac_word=$2
     6751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6752$as_echo_n "checking for $ac_word... " >&6; }
     6753if ${ac_cv_prog_DLLTOOL+:} false; then :
     6754  $as_echo_n "(cached) " >&6
     6755else
     6756  if test -n "$DLLTOOL"; then
     6757  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
     6758else
     6759as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6760for as_dir in $PATH
     6761do
     6762  IFS=$as_save_IFS
     6763  test -z "$as_dir" && as_dir=.
     6764    for ac_exec_ext in '' $ac_executable_extensions; do
     6765  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6766    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
     6767    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6768    break 2
     6769  fi
     6770done
     6771  done
     6772IFS=$as_save_IFS
     6773
     6774fi
     6775fi
     6776DLLTOOL=$ac_cv_prog_DLLTOOL
     6777if test -n "$DLLTOOL"; then
     6778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
     6779$as_echo "$DLLTOOL" >&6; }
     6780else
     6781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6782$as_echo "no" >&6; }
     6783fi
     6784
     6785
     6786fi
     6787if test -z "$ac_cv_prog_DLLTOOL"; then
     6788  ac_ct_DLLTOOL=$DLLTOOL
     6789  # Extract the first word of "dlltool", so it can be a program name with args.
     6790set dummy dlltool; ac_word=$2
     6791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6792$as_echo_n "checking for $ac_word... " >&6; }
     6793if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
     6794  $as_echo_n "(cached) " >&6
     6795else
     6796  if test -n "$ac_ct_DLLTOOL"; then
     6797  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
     6798else
     6799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6800for as_dir in $PATH
     6801do
     6802  IFS=$as_save_IFS
     6803  test -z "$as_dir" && as_dir=.
     6804    for ac_exec_ext in '' $ac_executable_extensions; do
     6805  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6806    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
     6807    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6808    break 2
     6809  fi
     6810done
     6811  done
     6812IFS=$as_save_IFS
     6813
     6814fi
     6815fi
     6816ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
     6817if test -n "$ac_ct_DLLTOOL"; then
     6818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
     6819$as_echo "$ac_ct_DLLTOOL" >&6; }
     6820else
     6821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6822$as_echo "no" >&6; }
     6823fi
     6824
     6825  if test "x$ac_ct_DLLTOOL" = x; then
     6826    DLLTOOL="false"
     6827  else
     6828    case $cross_compiling:$ac_tool_warned in
     6829yes:)
     6830{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6831$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6832ac_tool_warned=yes ;;
     6833esac
     6834    DLLTOOL=$ac_ct_DLLTOOL
     6835  fi
     6836else
     6837  DLLTOOL="$ac_cv_prog_DLLTOOL"
     6838fi
     6839
     6840test -z "$DLLTOOL" && DLLTOOL=dlltool
     6841
     6842
     6843
     6844
     6845
     6846
     6847
     6848
     6849
     6850
     6851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
     6852$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
     6853if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
     6854  $as_echo_n "(cached) " >&6
     6855else
     6856  lt_cv_sharedlib_from_linklib_cmd='unknown'
     6857
     6858case $host_os in
     6859cygwin* | mingw* | pw32* | cegcc*)
     6860  # two different shell functions defined in ltmain.sh;
     6861  # decide which one to use based on capabilities of $DLLTOOL
     6862  case `$DLLTOOL --help 2>&1` in
     6863  *--identify-strict*)
     6864    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
     6865    ;;
     6866  *)
     6867    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
     6868    ;;
     6869  esac
     6870  ;;
     6871*)
     6872  # fallback: assume linklib IS sharedlib
     6873  lt_cv_sharedlib_from_linklib_cmd=$ECHO
     6874  ;;
     6875esac
     6876
     6877fi
     6878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
     6879$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
     6880sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
     6881test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
     6882
     6883
     6884
     6885
     6886
     6887
     6888
     6889if test -n "$ac_tool_prefix"; then
     6890  for ac_prog in ar
     6891  do
     6892    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     6893set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     6894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6895$as_echo_n "checking for $ac_word... " >&6; }
     6896if ${ac_cv_prog_AR+:} false; then :
     6897  $as_echo_n "(cached) " >&6
     6898else
     6899  if test -n "$AR"; then
     6900  ac_cv_prog_AR="$AR" # Let the user override the test.
     6901else
     6902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6903for as_dir in $PATH
     6904do
     6905  IFS=$as_save_IFS
     6906  test -z "$as_dir" && as_dir=.
     6907    for ac_exec_ext in '' $ac_executable_extensions; do
     6908  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6909    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
     6910    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6911    break 2
     6912  fi
     6913done
     6914  done
     6915IFS=$as_save_IFS
     6916
     6917fi
     6918fi
     6919AR=$ac_cv_prog_AR
     6920if test -n "$AR"; then
     6921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     6922$as_echo "$AR" >&6; }
     6923else
     6924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6925$as_echo "no" >&6; }
     6926fi
     6927
     6928
     6929    test -n "$AR" && break
     6930  done
     6931fi
     6932if test -z "$AR"; then
     6933  ac_ct_AR=$AR
     6934  for ac_prog in ar
     6935do
     6936  # Extract the first word of "$ac_prog", so it can be a program name with args.
     6937set dummy $ac_prog; ac_word=$2
     6938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6939$as_echo_n "checking for $ac_word... " >&6; }
     6940if ${ac_cv_prog_ac_ct_AR+:} false; then :
     6941  $as_echo_n "(cached) " >&6
     6942else
     6943  if test -n "$ac_ct_AR"; then
     6944  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
     6945else
     6946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6947for as_dir in $PATH
     6948do
     6949  IFS=$as_save_IFS
     6950  test -z "$as_dir" && as_dir=.
     6951    for ac_exec_ext in '' $ac_executable_extensions; do
     6952  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6953    ac_cv_prog_ac_ct_AR="$ac_prog"
     6954    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6955    break 2
     6956  fi
     6957done
     6958  done
     6959IFS=$as_save_IFS
     6960
     6961fi
     6962fi
     6963ac_ct_AR=$ac_cv_prog_ac_ct_AR
     6964if test -n "$ac_ct_AR"; then
     6965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
     6966$as_echo "$ac_ct_AR" >&6; }
     6967else
     6968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6969$as_echo "no" >&6; }
     6970fi
     6971
     6972
     6973  test -n "$ac_ct_AR" && break
     6974done
     6975
     6976  if test "x$ac_ct_AR" = x; then
     6977    AR="false"
     6978  else
     6979    case $cross_compiling:$ac_tool_warned in
     6980yes:)
     6981{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6982$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6983ac_tool_warned=yes ;;
     6984esac
     6985    AR=$ac_ct_AR
     6986  fi
     6987fi
     6988
     6989: ${AR=ar}
     6990: ${AR_FLAGS=cru}
     6991
     6992
     6993
     6994
     6995
     6996
     6997
     6998
     6999
     7000
     7001
     7002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
     7003$as_echo_n "checking for archiver @FILE support... " >&6; }
     7004if ${lt_cv_ar_at_file+:} false; then :
     7005  $as_echo_n "(cached) " >&6
     7006else
     7007  lt_cv_ar_at_file=no
     7008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7009/* end confdefs.h.  */
     7010
     7011int
     7012main ()
     7013{
     7014
     7015  ;
     7016  return 0;
     7017}
     7018_ACEOF
     7019if ac_fn_c_try_compile "$LINENO"; then :
     7020  echo conftest.$ac_objext > conftest.lst
     7021      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
     7022      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     7023  (eval $lt_ar_try) 2>&5
     7024  ac_status=$?
     7025  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7026  test $ac_status = 0; }
     7027      if test 0 -eq "$ac_status"; then
     7028        # Ensure the archiver fails upon bogus file names.
     7029        rm -f conftest.$ac_objext libconftest.a
     7030        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     7031  (eval $lt_ar_try) 2>&5
     7032  ac_status=$?
     7033  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7034  test $ac_status = 0; }
     7035        if test 0 -ne "$ac_status"; then
     7036          lt_cv_ar_at_file=@
     7037        fi
     7038      fi
     7039      rm -f conftest.* libconftest.a
     7040
     7041fi
     7042rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7043
     7044fi
     7045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
     7046$as_echo "$lt_cv_ar_at_file" >&6; }
     7047
     7048if test no = "$lt_cv_ar_at_file"; then
     7049  archiver_list_spec=
     7050else
     7051  archiver_list_spec=$lt_cv_ar_at_file
     7052fi
     7053
     7054
     7055
     7056
     7057
     7058
     7059
     7060if test -n "$ac_tool_prefix"; then
     7061  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     7062set dummy ${ac_tool_prefix}strip; ac_word=$2
     7063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7064$as_echo_n "checking for $ac_word... " >&6; }
     7065if ${ac_cv_prog_STRIP+:} false; then :
     7066  $as_echo_n "(cached) " >&6
     7067else
     7068  if test -n "$STRIP"; then
     7069  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
     7070else
     7071as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7072for as_dir in $PATH
     7073do
     7074  IFS=$as_save_IFS
     7075  test -z "$as_dir" && as_dir=.
     7076    for ac_exec_ext in '' $ac_executable_extensions; do
     7077  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7078    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     7079    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7080    break 2
     7081  fi
     7082done
     7083  done
     7084IFS=$as_save_IFS
     7085
     7086fi
     7087fi
     7088STRIP=$ac_cv_prog_STRIP
     7089if test -n "$STRIP"; then
     7090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
     7091$as_echo "$STRIP" >&6; }
     7092else
     7093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7094$as_echo "no" >&6; }
     7095fi
     7096
     7097
     7098fi
     7099if test -z "$ac_cv_prog_STRIP"; then
     7100  ac_ct_STRIP=$STRIP
     7101  # Extract the first word of "strip", so it can be a program name with args.
     7102set dummy strip; ac_word=$2
     7103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7104$as_echo_n "checking for $ac_word... " >&6; }
     7105if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
     7106  $as_echo_n "(cached) " >&6
     7107else
     7108  if test -n "$ac_ct_STRIP"; then
     7109  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     7110else
     7111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7112for as_dir in $PATH
     7113do
     7114  IFS=$as_save_IFS
     7115  test -z "$as_dir" && as_dir=.
     7116    for ac_exec_ext in '' $ac_executable_extensions; do
     7117  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7118    ac_cv_prog_ac_ct_STRIP="strip"
     7119    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7120    break 2
     7121  fi
     7122done
     7123  done
     7124IFS=$as_save_IFS
     7125
     7126fi
     7127fi
     7128ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     7129if test -n "$ac_ct_STRIP"; then
     7130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
     7131$as_echo "$ac_ct_STRIP" >&6; }
     7132else
     7133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7134$as_echo "no" >&6; }
     7135fi
     7136
     7137  if test "x$ac_ct_STRIP" = x; then
     7138    STRIP=":"
     7139  else
     7140    case $cross_compiling:$ac_tool_warned in
     7141yes:)
     7142{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7143$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7144ac_tool_warned=yes ;;
     7145esac
     7146    STRIP=$ac_ct_STRIP
     7147  fi
     7148else
     7149  STRIP="$ac_cv_prog_STRIP"
     7150fi
     7151
     7152test -z "$STRIP" && STRIP=:
     7153
     7154
     7155
     7156
     7157
     7158
     7159if test -n "$ac_tool_prefix"; then
     7160  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     7161set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     7162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7163$as_echo_n "checking for $ac_word... " >&6; }
     7164if ${ac_cv_prog_RANLIB+:} false; then :
     7165  $as_echo_n "(cached) " >&6
     7166else
     7167  if test -n "$RANLIB"; then
     7168  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     7169else
     7170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7171for as_dir in $PATH
     7172do
     7173  IFS=$as_save_IFS
     7174  test -z "$as_dir" && as_dir=.
     7175    for ac_exec_ext in '' $ac_executable_extensions; do
     7176  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7177    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     7178    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7179    break 2
     7180  fi
     7181done
     7182  done
     7183IFS=$as_save_IFS
     7184
     7185fi
     7186fi
     7187RANLIB=$ac_cv_prog_RANLIB
     7188if test -n "$RANLIB"; then
     7189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     7190$as_echo "$RANLIB" >&6; }
     7191else
     7192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7193$as_echo "no" >&6; }
     7194fi
     7195
     7196
     7197fi
     7198if test -z "$ac_cv_prog_RANLIB"; then
     7199  ac_ct_RANLIB=$RANLIB
     7200  # Extract the first word of "ranlib", so it can be a program name with args.
     7201set dummy ranlib; ac_word=$2
     7202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7203$as_echo_n "checking for $ac_word... " >&6; }
     7204if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     7205  $as_echo_n "(cached) " >&6
     7206else
     7207  if test -n "$ac_ct_RANLIB"; then
     7208  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     7209else
     7210as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7211for as_dir in $PATH
     7212do
     7213  IFS=$as_save_IFS
     7214  test -z "$as_dir" && as_dir=.
     7215    for ac_exec_ext in '' $ac_executable_extensions; do
     7216  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7217    ac_cv_prog_ac_ct_RANLIB="ranlib"
     7218    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7219    break 2
     7220  fi
     7221done
     7222  done
     7223IFS=$as_save_IFS
     7224
     7225fi
     7226fi
     7227ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     7228if test -n "$ac_ct_RANLIB"; then
     7229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     7230$as_echo "$ac_ct_RANLIB" >&6; }
     7231else
     7232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7233$as_echo "no" >&6; }
     7234fi
     7235
     7236  if test "x$ac_ct_RANLIB" = x; then
     7237    RANLIB=":"
     7238  else
     7239    case $cross_compiling:$ac_tool_warned in
     7240yes:)
     7241{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7242$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7243ac_tool_warned=yes ;;
     7244esac
     7245    RANLIB=$ac_ct_RANLIB
     7246  fi
     7247else
     7248  RANLIB="$ac_cv_prog_RANLIB"
     7249fi
     7250
     7251test -z "$RANLIB" && RANLIB=:
     7252
     7253
     7254
     7255
     7256
     7257
     7258# Determine commands to create old-style static archives.
     7259old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
     7260old_postinstall_cmds='chmod 644 $oldlib'
     7261old_postuninstall_cmds=
     7262
     7263if test -n "$RANLIB"; then
     7264  case $host_os in
     7265  bitrig* | openbsd*)
     7266    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
     7267    ;;
     7268  *)
     7269    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
     7270    ;;
     7271  esac
     7272  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
     7273fi
     7274
     7275case $host_os in
     7276  darwin*)
     7277    lock_old_archive_extraction=yes ;;
     7278  *)
     7279    lock_old_archive_extraction=no ;;
     7280esac
     7281
     7282
     7283
     7284
     7285
     7286
     7287
     7288
     7289
     7290
     7291
     7292
     7293
     7294
     7295
     7296
     7297
     7298
     7299
     7300
     7301
     7302
     7303
     7304
     7305
     7306
     7307
     7308
     7309
     7310
     7311
     7312
     7313
     7314
     7315
     7316
     7317
     7318
     7319
     7320# If no C compiler was specified, use CC.
     7321LTCC=${LTCC-"$CC"}
     7322
     7323# If no C compiler flags were specified, use CFLAGS.
     7324LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     7325
     7326# Allow CC to be a program name with arguments.
     7327compiler=$CC
     7328
     7329
     7330# Check for command to grab the raw symbol name followed by C symbol from nm.
     7331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
     7332$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
     7333if ${lt_cv_sys_global_symbol_pipe+:} false; then :
     7334  $as_echo_n "(cached) " >&6
     7335else
     7336
     7337# These are sane defaults that work on at least a few old systems.
     7338# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
     7339
     7340# Character class describing NM global symbol codes.
     7341symcode='[BCDEGRST]'
     7342
     7343# Regexp to match symbols that can be accessed directly from C.
     7344sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
     7345
     7346# Define system-specific variables.
     7347case $host_os in
     7348aix*)
     7349  symcode='[BCDT]'
     7350  ;;
     7351cygwin* | mingw* | pw32* | cegcc*)
     7352  symcode='[ABCDGISTW]'
     7353  ;;
     7354hpux*)
     7355  if test ia64 = "$host_cpu"; then
     7356    symcode='[ABCDEGRST]'
     7357  fi
     7358  ;;
     7359irix* | nonstopux*)
     7360  symcode='[BCDEGRST]'
     7361  ;;
     7362osf*)
     7363  symcode='[BCDEGQRST]'
     7364  ;;
     7365solaris*)
     7366  symcode='[BDRT]'
     7367  ;;
     7368sco3.2v5*)
     7369  symcode='[DT]'
     7370  ;;
     7371sysv4.2uw2*)
     7372  symcode='[DT]'
     7373  ;;
     7374sysv5* | sco5v6* | unixware* | OpenUNIX*)
     7375  symcode='[ABDT]'
     7376  ;;
     7377sysv4)
     7378  symcode='[DFNSTU]'
     7379  ;;
     7380esac
     7381
     7382# If we're using GNU nm, then use its standard symbol codes.
     7383case `$NM -V 2>&1` in
     7384*GNU* | *'with BFD'*)
     7385  symcode='[ABCDGIRSTW]' ;;
     7386esac
     7387
     7388if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     7389  # Gets list of data symbols to import.
     7390  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
     7391  # Adjust the below global symbol transforms to fixup imported variables.
     7392  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
     7393  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
     7394  lt_c_name_lib_hook="\
     7395  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
     7396  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
     7397else
     7398  # Disable hooks by default.
     7399  lt_cv_sys_global_symbol_to_import=
     7400  lt_cdecl_hook=
     7401  lt_c_name_hook=
     7402  lt_c_name_lib_hook=
     7403fi
     7404
     7405# Transform an extracted symbol line into a proper C declaration.
     7406# Some systems (esp. on ia64) link data and code symbols differently,
     7407# so use this general approach.
     7408lt_cv_sys_global_symbol_to_cdecl="sed -n"\
     7409$lt_cdecl_hook\
     7410" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
     7411" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
     7412
     7413# Transform an extracted symbol line into symbol name and symbol address
     7414lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
     7415$lt_c_name_hook\
     7416" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     7417" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
     7418
     7419# Transform an extracted symbol line into symbol name with lib prefix and
     7420# symbol address.
     7421lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
     7422$lt_c_name_lib_hook\
     7423" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     7424" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
     7425" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
     7426
     7427# Handle CRLF in mingw tool chain
     7428opt_cr=
     7429case $build_os in
     7430mingw*)
     7431  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
     7432  ;;
     7433esac
     7434
     7435# Try without a prefix underscore, then with it.
     7436for ac_symprfx in "" "_"; do
     7437
     7438  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
     7439  symxfrm="\\1 $ac_symprfx\\2 \\2"
     7440
     7441  # Write the raw and C identifiers.
     7442  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     7443    # Fake it for dumpbin and say T for any non-static function,
     7444    # D for any global variable and I for any imported variable.
     7445    # Also find C++ and __fastcall symbols from MSVC++,
     7446    # which start with @ or ?.
     7447    lt_cv_sys_global_symbol_pipe="$AWK '"\
     7448"     {last_section=section; section=\$ 3};"\
     7449"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
     7450"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
     7451"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
     7452"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
     7453"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
     7454"     \$ 0!~/External *\|/{next};"\
     7455"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
     7456"     {if(hide[section]) next};"\
     7457"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
     7458"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
     7459"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
     7460"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
     7461"     ' prfx=^$ac_symprfx"
     7462  else
     7463    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
     7464  fi
     7465  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
     7466
     7467  # Check to see that the pipe works correctly.
     7468  pipe_works=no
     7469
     7470  rm -f conftest*
     7471  cat > conftest.$ac_ext <<_LT_EOF
     7472#ifdef __cplusplus
     7473extern "C" {
     7474#endif
     7475char nm_test_var;
     7476void nm_test_func(void);
     7477void nm_test_func(void){}
     7478#ifdef __cplusplus
     7479}
     7480#endif
     7481int main(){nm_test_var='a';nm_test_func();return(0);}
     7482_LT_EOF
     7483
     7484  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7485  (eval $ac_compile) 2>&5
     7486  ac_status=$?
     7487  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7488  test $ac_status = 0; }; then
     7489    # Now try to grab the symbols.
     7490    nlist=conftest.nm
     7491    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
     7492  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
     7493  ac_status=$?
     7494  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7495  test $ac_status = 0; } && test -s "$nlist"; then
     7496      # Try sorting and uniquifying the output.
     7497      if sort "$nlist" | uniq > "$nlist"T; then
     7498        mv -f "$nlist"T "$nlist"
     7499      else
     7500        rm -f "$nlist"T
     7501      fi
     7502
     7503      # Make sure that we snagged all the symbols we need.
     7504      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
     7505        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
     7506          cat <<_LT_EOF > conftest.$ac_ext
     7507/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
     7508#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
     7509/* DATA imports from DLLs on WIN32 can't be const, because runtime
     7510   relocations are performed -- see ld's documentation on pseudo-relocs.  */
     7511# define LT_DLSYM_CONST
     7512#elif defined __osf__
     7513/* This system does not cope well with relocations in const data.  */
     7514# define LT_DLSYM_CONST
     7515#else
     7516# define LT_DLSYM_CONST const
     7517#endif
     7518
     7519#ifdef __cplusplus
     7520extern "C" {
     7521#endif
     7522
     7523_LT_EOF
     7524          # Now generate the symbol file.
     7525          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
     7526
     7527          cat <<_LT_EOF >> conftest.$ac_ext
     7528
     7529/* The mapping between symbol names and symbols.  */
     7530LT_DLSYM_CONST struct {
     7531  const char *name;
     7532  void       *address;
     7533}
     7534lt__PROGRAM__LTX_preloaded_symbols[] =
     7535{
     7536  { "@PROGRAM@", (void *) 0 },
     7537_LT_EOF
     7538          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
     7539          cat <<\_LT_EOF >> conftest.$ac_ext
     7540  {0, (void *) 0}
     7541};
     7542
     7543/* This works around a problem in FreeBSD linker */
     7544#ifdef FREEBSD_WORKAROUND
     7545static const void *lt_preloaded_setup() {
     7546  return lt__PROGRAM__LTX_preloaded_symbols;
     7547}
     7548#endif
     7549
     7550#ifdef __cplusplus
     7551}
     7552#endif
     7553_LT_EOF
     7554          # Now try linking the two files.
     7555          mv conftest.$ac_objext conftstm.$ac_objext
     7556          lt_globsym_save_LIBS=$LIBS
     7557          lt_globsym_save_CFLAGS=$CFLAGS
     7558          LIBS=conftstm.$ac_objext
     7559          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
     7560          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
     7561  (eval $ac_link) 2>&5
     7562  ac_status=$?
     7563  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7564  test $ac_status = 0; } && test -s conftest$ac_exeext; then
     7565            pipe_works=yes
     7566          fi
     7567          LIBS=$lt_globsym_save_LIBS
     7568          CFLAGS=$lt_globsym_save_CFLAGS
     7569        else
     7570          echo "cannot find nm_test_func in $nlist" >&5
     7571        fi
     7572      else
     7573        echo "cannot find nm_test_var in $nlist" >&5
     7574      fi
     7575    else
     7576      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
     7577    fi
     7578  else
     7579    echo "$progname: failed program was:" >&5
     7580    cat conftest.$ac_ext >&5
     7581  fi
     7582  rm -rf conftest* conftst*
     7583
     7584  # Do not use the global_symbol_pipe unless it works.
     7585  if test yes = "$pipe_works"; then
     7586    break
     7587  else
     7588    lt_cv_sys_global_symbol_pipe=
     7589  fi
     7590done
     7591
     7592fi
     7593
     7594if test -z "$lt_cv_sys_global_symbol_pipe"; then
     7595  lt_cv_sys_global_symbol_to_cdecl=
     7596fi
     7597if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
     7598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
     7599$as_echo "failed" >&6; }
     7600else
     7601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
     7602$as_echo "ok" >&6; }
     7603fi
     7604
     7605# Response file support.
     7606if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     7607  nm_file_list_spec='@'
     7608elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
     7609  nm_file_list_spec='@'
     7610fi
     7611
     7612
     7613
     7614
     7615
     7616
     7617
     7618
     7619
     7620
     7621
     7622
     7623
     7624
     7625
     7626
     7627
     7628
     7629
     7630
     7631
     7632
     7633
     7634
     7635
     7636
     7637
     7638
     7639
     7640
     7641
     7642
     7643
     7644
     7645
     7646
     7647
     7648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
     7649$as_echo_n "checking for sysroot... " >&6; }
     7650
     7651# Check whether --with-sysroot was given.
     7652if test "${with_sysroot+set}" = set; then :
     7653  withval=$with_sysroot;
     7654else
     7655  with_sysroot=no
     7656fi
     7657
     7658
     7659lt_sysroot=
     7660case $with_sysroot in #(
     7661 yes)
     7662   if test yes = "$GCC"; then
     7663     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
     7664   fi
     7665   ;; #(
     7666 /*)
     7667   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
     7668   ;; #(
     7669 no|'')
     7670   ;; #(
     7671 *)
     7672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
     7673$as_echo "$with_sysroot" >&6; }
     7674   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
     7675   ;;
     7676esac
     7677
     7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
     7679$as_echo "${lt_sysroot:-no}" >&6; }
     7680
     7681
     7682
     7683
     7684
     7685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
     7686$as_echo_n "checking for a working dd... " >&6; }
     7687if ${ac_cv_path_lt_DD+:} false; then :
     7688  $as_echo_n "(cached) " >&6
     7689else
     7690  printf 0123456789abcdef0123456789abcdef >conftest.i
     7691cat conftest.i conftest.i >conftest2.i
     7692: ${lt_DD:=$DD}
     7693if test -z "$lt_DD"; then
     7694  ac_path_lt_DD_found=false
     7695  # Loop through the user's path and test for each of PROGNAME-LIST
     7696  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7697for as_dir in $PATH
     7698do
     7699  IFS=$as_save_IFS
     7700  test -z "$as_dir" && as_dir=.
     7701    for ac_prog in dd; do
     7702    for ac_exec_ext in '' $ac_executable_extensions; do
     7703      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
     7704      as_fn_executable_p "$ac_path_lt_DD" || continue
     7705if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     7706  cmp -s conftest.i conftest.out \
     7707  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
     7708fi
     7709      $ac_path_lt_DD_found && break 3
     7710    done
     7711  done
     7712  done
     7713IFS=$as_save_IFS
     7714  if test -z "$ac_cv_path_lt_DD"; then
     7715    :
     7716  fi
     7717else
     7718  ac_cv_path_lt_DD=$lt_DD
     7719fi
     7720
     7721rm -f conftest.i conftest2.i conftest.out
     7722fi
     7723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
     7724$as_echo "$ac_cv_path_lt_DD" >&6; }
     7725
     7726
     7727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
     7728$as_echo_n "checking how to truncate binary pipes... " >&6; }
     7729if ${lt_cv_truncate_bin+:} false; then :
     7730  $as_echo_n "(cached) " >&6
     7731else
     7732  printf 0123456789abcdef0123456789abcdef >conftest.i
     7733cat conftest.i conftest.i >conftest2.i
     7734lt_cv_truncate_bin=
     7735if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     7736  cmp -s conftest.i conftest.out \
     7737  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
     7738fi
     7739rm -f conftest.i conftest2.i conftest.out
     7740test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
     7741fi
     7742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
     7743$as_echo "$lt_cv_truncate_bin" >&6; }
     7744
     7745
     7746
     7747
     7748
     7749
     7750
     7751# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     7752func_cc_basename ()
     7753{
     7754    for cc_temp in $*""; do
     7755      case $cc_temp in
     7756        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     7757        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     7758        \-*) ;;
     7759        *) break;;
     7760      esac
     7761    done
     7762    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     7763}
     7764
     7765# Check whether --enable-libtool-lock was given.
     7766if test "${enable_libtool_lock+set}" = set; then :
     7767  enableval=$enable_libtool_lock;
     7768fi
     7769
     7770test no = "$enable_libtool_lock" || enable_libtool_lock=yes
     7771
     7772# Some flags need to be propagated to the compiler or linker for good
     7773# libtool support.
     7774case $host in
     7775ia64-*-hpux*)
     7776  # Find out what ABI is being produced by ac_compile, and set mode
     7777  # options accordingly.
     7778  echo 'int i;' > conftest.$ac_ext
     7779  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7780  (eval $ac_compile) 2>&5
     7781  ac_status=$?
     7782  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7783  test $ac_status = 0; }; then
     7784    case `/usr/bin/file conftest.$ac_objext` in
     7785      *ELF-32*)
     7786        HPUX_IA64_MODE=32
     7787        ;;
     7788      *ELF-64*)
     7789        HPUX_IA64_MODE=64
     7790        ;;
     7791    esac
     7792  fi
     7793  rm -rf conftest*
     7794  ;;
     7795*-*-irix6*)
     7796  # Find out what ABI is being produced by ac_compile, and set linker
     7797  # options accordingly.
     7798  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
     7799  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7800  (eval $ac_compile) 2>&5
     7801  ac_status=$?
     7802  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7803  test $ac_status = 0; }; then
     7804    if test yes = "$lt_cv_prog_gnu_ld"; then
     7805      case `/usr/bin/file conftest.$ac_objext` in
     7806        *32-bit*)
     7807          LD="${LD-ld} -melf32bsmip"
     7808          ;;
     7809        *N32*)
     7810          LD="${LD-ld} -melf32bmipn32"
     7811          ;;
     7812        *64-bit*)
     7813          LD="${LD-ld} -melf64bmip"
     7814        ;;
     7815      esac
     7816    else
     7817      case `/usr/bin/file conftest.$ac_objext` in
     7818        *32-bit*)
     7819          LD="${LD-ld} -32"
     7820          ;;
     7821        *N32*)
     7822          LD="${LD-ld} -n32"
     7823          ;;
     7824        *64-bit*)
     7825          LD="${LD-ld} -64"
     7826          ;;
     7827      esac
     7828    fi
     7829  fi
     7830  rm -rf conftest*
     7831  ;;
     7832
     7833mips64*-*linux*)
     7834  # Find out what ABI is being produced by ac_compile, and set linker
     7835  # options accordingly.
     7836  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
     7837  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7838  (eval $ac_compile) 2>&5
     7839  ac_status=$?
     7840  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7841  test $ac_status = 0; }; then
     7842    emul=elf
     7843    case `/usr/bin/file conftest.$ac_objext` in
     7844      *32-bit*)
     7845        emul="${emul}32"
     7846        ;;
     7847      *64-bit*)
     7848        emul="${emul}64"
     7849        ;;
     7850    esac
     7851    case `/usr/bin/file conftest.$ac_objext` in
     7852      *MSB*)
     7853        emul="${emul}btsmip"
     7854        ;;
     7855      *LSB*)
     7856        emul="${emul}ltsmip"
     7857        ;;
     7858    esac
     7859    case `/usr/bin/file conftest.$ac_objext` in
     7860      *N32*)
     7861        emul="${emul}n32"
     7862        ;;
     7863    esac
     7864    LD="${LD-ld} -m $emul"
     7865  fi
     7866  rm -rf conftest*
     7867  ;;
     7868
     7869x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
     7870s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
     7871  # Find out what ABI is being produced by ac_compile, and set linker
     7872  # options accordingly.  Note that the listed cases only cover the
     7873  # situations where additional linker options are needed (such as when
     7874  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
     7875  # vice versa); the common cases where no linker options are needed do
     7876  # not appear in the list.
     7877  echo 'int i;' > conftest.$ac_ext
     7878  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7879  (eval $ac_compile) 2>&5
     7880  ac_status=$?
     7881  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7882  test $ac_status = 0; }; then
     7883    case `/usr/bin/file conftest.o` in
     7884      *32-bit*)
     7885        case $host in
     7886          x86_64-*kfreebsd*-gnu)
     7887            LD="${LD-ld} -m elf_i386_fbsd"
     7888            ;;
     7889          x86_64-*linux*)
     7890            case `/usr/bin/file conftest.o` in
     7891              *x86-64*)
     7892                LD="${LD-ld} -m elf32_x86_64"
     7893                ;;
     7894              *)
     7895                LD="${LD-ld} -m elf_i386"
     7896                ;;
     7897            esac
     7898            ;;
     7899          powerpc64le-*linux*)
     7900            LD="${LD-ld} -m elf32lppclinux"
     7901            ;;
     7902          powerpc64-*linux*)
     7903            LD="${LD-ld} -m elf32ppclinux"
     7904            ;;
     7905          s390x-*linux*)
     7906            LD="${LD-ld} -m elf_s390"
     7907            ;;
     7908          sparc64-*linux*)
     7909            LD="${LD-ld} -m elf32_sparc"
     7910            ;;
     7911        esac
     7912        ;;
     7913      *64-bit*)
     7914        case $host in
     7915          x86_64-*kfreebsd*-gnu)
     7916            LD="${LD-ld} -m elf_x86_64_fbsd"
     7917            ;;
     7918          x86_64-*linux*)
     7919            LD="${LD-ld} -m elf_x86_64"
     7920            ;;
     7921          powerpcle-*linux*)
     7922            LD="${LD-ld} -m elf64lppc"
     7923            ;;
     7924          powerpc-*linux*)
     7925            LD="${LD-ld} -m elf64ppc"
     7926            ;;
     7927          s390*-*linux*|s390*-*tpf*)
     7928            LD="${LD-ld} -m elf64_s390"
     7929            ;;
     7930          sparc*-*linux*)
     7931            LD="${LD-ld} -m elf64_sparc"
     7932            ;;
     7933        esac
     7934        ;;
     7935    esac
     7936  fi
     7937  rm -rf conftest*
     7938  ;;
     7939
     7940*-*-sco3.2v5*)
     7941  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     7942  SAVE_CFLAGS=$CFLAGS
     7943  CFLAGS="$CFLAGS -belf"
     7944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
     7945$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
     7946if ${lt_cv_cc_needs_belf+:} false; then :
     7947  $as_echo_n "(cached) " >&6
     7948else
     7949  ac_ext=c
     7950ac_cpp='$CPP $CPPFLAGS'
     7951ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     7952ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     7953ac_compiler_gnu=$ac_cv_c_compiler_gnu
     7954
     7955     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7956/* end confdefs.h.  */
     7957
     7958int
     7959main ()
     7960{
     7961
     7962  ;
     7963  return 0;
     7964}
     7965_ACEOF
     7966if ac_fn_c_try_link "$LINENO"; then :
     7967  lt_cv_cc_needs_belf=yes
     7968else
     7969  lt_cv_cc_needs_belf=no
     7970fi
     7971rm -f core conftest.err conftest.$ac_objext \
     7972    conftest$ac_exeext conftest.$ac_ext
     7973     ac_ext=c
     7974ac_cpp='$CPP $CPPFLAGS'
     7975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     7976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     7977ac_compiler_gnu=$ac_cv_c_compiler_gnu
     7978
     7979fi
     7980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
     7981$as_echo "$lt_cv_cc_needs_belf" >&6; }
     7982  if test yes != "$lt_cv_cc_needs_belf"; then
     7983    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
     7984    CFLAGS=$SAVE_CFLAGS
     7985  fi
     7986  ;;
     7987*-*solaris*)
     7988  # Find out what ABI is being produced by ac_compile, and set linker
     7989  # options accordingly.
     7990  echo 'int i;' > conftest.$ac_ext
     7991  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7992  (eval $ac_compile) 2>&5
     7993  ac_status=$?
     7994  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7995  test $ac_status = 0; }; then
     7996    case `/usr/bin/file conftest.o` in
     7997    *64-bit*)
     7998      case $lt_cv_prog_gnu_ld in
     7999      yes*)
     8000        case $host in
     8001        i?86-*-solaris*|x86_64-*-solaris*)
     8002          LD="${LD-ld} -m elf_x86_64"
     8003          ;;
     8004        sparc*-*-solaris*)
     8005          LD="${LD-ld} -m elf64_sparc"
     8006          ;;
     8007        esac
     8008        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
     8009        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
     8010          LD=${LD-ld}_sol2
     8011        fi
     8012        ;;
     8013      *)
     8014        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
     8015          LD="${LD-ld} -64"
     8016        fi
     8017        ;;
     8018      esac
     8019      ;;
     8020    esac
     8021  fi
     8022  rm -rf conftest*
     8023  ;;
     8024esac
     8025
     8026need_locks=$enable_libtool_lock
     8027
     8028if test -n "$ac_tool_prefix"; then
     8029  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
     8030set dummy ${ac_tool_prefix}mt; ac_word=$2
     8031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8032$as_echo_n "checking for $ac_word... " >&6; }
     8033if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
     8034  $as_echo_n "(cached) " >&6
     8035else
     8036  if test -n "$MANIFEST_TOOL"; then
     8037  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
     8038else
     8039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8040for as_dir in $PATH
     8041do
     8042  IFS=$as_save_IFS
     8043  test -z "$as_dir" && as_dir=.
     8044    for ac_exec_ext in '' $ac_executable_extensions; do
     8045  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8046    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
     8047    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8048    break 2
     8049  fi
     8050done
     8051  done
     8052IFS=$as_save_IFS
     8053
     8054fi
     8055fi
     8056MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
     8057if test -n "$MANIFEST_TOOL"; then
     8058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
     8059$as_echo "$MANIFEST_TOOL" >&6; }
     8060else
     8061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8062$as_echo "no" >&6; }
     8063fi
     8064
     8065
     8066fi
     8067if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
     8068  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
     8069  # Extract the first word of "mt", so it can be a program name with args.
     8070set dummy mt; ac_word=$2
     8071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8072$as_echo_n "checking for $ac_word... " >&6; }
     8073if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
     8074  $as_echo_n "(cached) " >&6
     8075else
     8076  if test -n "$ac_ct_MANIFEST_TOOL"; then
     8077  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
     8078else
     8079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8080for as_dir in $PATH
     8081do
     8082  IFS=$as_save_IFS
     8083  test -z "$as_dir" && as_dir=.
     8084    for ac_exec_ext in '' $ac_executable_extensions; do
     8085  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8086    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
     8087    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8088    break 2
     8089  fi
     8090done
     8091  done
     8092IFS=$as_save_IFS
     8093
     8094fi
     8095fi
     8096ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
     8097if test -n "$ac_ct_MANIFEST_TOOL"; then
     8098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
     8099$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
     8100else
     8101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8102$as_echo "no" >&6; }
     8103fi
     8104
     8105  if test "x$ac_ct_MANIFEST_TOOL" = x; then
     8106    MANIFEST_TOOL=":"
     8107  else
     8108    case $cross_compiling:$ac_tool_warned in
     8109yes:)
     8110{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8111$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8112ac_tool_warned=yes ;;
     8113esac
     8114    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
     8115  fi
     8116else
     8117  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
     8118fi
     8119
     8120test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
     8121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
     8122$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
     8123if ${lt_cv_path_mainfest_tool+:} false; then :
     8124  $as_echo_n "(cached) " >&6
     8125else
     8126  lt_cv_path_mainfest_tool=no
     8127  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
     8128  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
     8129  cat conftest.err >&5
     8130  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
     8131    lt_cv_path_mainfest_tool=yes
     8132  fi
     8133  rm -f conftest*
     8134fi
     8135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
     8136$as_echo "$lt_cv_path_mainfest_tool" >&6; }
     8137if test yes != "$lt_cv_path_mainfest_tool"; then
     8138  MANIFEST_TOOL=:
     8139fi
     8140
     8141
     8142
     8143
     8144
     8145
     8146  case $host_os in
     8147    rhapsody* | darwin*)
     8148    if test -n "$ac_tool_prefix"; then
     8149  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
     8150set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
     8151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8152$as_echo_n "checking for $ac_word... " >&6; }
     8153if ${ac_cv_prog_DSYMUTIL+:} false; then :
     8154  $as_echo_n "(cached) " >&6
     8155else
     8156  if test -n "$DSYMUTIL"; then
     8157  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
     8158else
     8159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8160for as_dir in $PATH
     8161do
     8162  IFS=$as_save_IFS
     8163  test -z "$as_dir" && as_dir=.
     8164    for ac_exec_ext in '' $ac_executable_extensions; do
     8165  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8166    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
     8167    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8168    break 2
     8169  fi
     8170done
     8171  done
     8172IFS=$as_save_IFS
     8173
     8174fi
     8175fi
     8176DSYMUTIL=$ac_cv_prog_DSYMUTIL
     8177if test -n "$DSYMUTIL"; then
     8178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
     8179$as_echo "$DSYMUTIL" >&6; }
     8180else
     8181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8182$as_echo "no" >&6; }
     8183fi
     8184
     8185
     8186fi
     8187if test -z "$ac_cv_prog_DSYMUTIL"; then
     8188  ac_ct_DSYMUTIL=$DSYMUTIL
     8189  # Extract the first word of "dsymutil", so it can be a program name with args.
     8190set dummy dsymutil; ac_word=$2
     8191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8192$as_echo_n "checking for $ac_word... " >&6; }
     8193if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
     8194  $as_echo_n "(cached) " >&6
     8195else
     8196  if test -n "$ac_ct_DSYMUTIL"; then
     8197  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
     8198else
     8199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8200for as_dir in $PATH
     8201do
     8202  IFS=$as_save_IFS
     8203  test -z "$as_dir" && as_dir=.
     8204    for ac_exec_ext in '' $ac_executable_extensions; do
     8205  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8206    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
     8207    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8208    break 2
     8209  fi
     8210done
     8211  done
     8212IFS=$as_save_IFS
     8213
     8214fi
     8215fi
     8216ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
     8217if test -n "$ac_ct_DSYMUTIL"; then
     8218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
     8219$as_echo "$ac_ct_DSYMUTIL" >&6; }
     8220else
     8221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8222$as_echo "no" >&6; }
     8223fi
     8224
     8225  if test "x$ac_ct_DSYMUTIL" = x; then
     8226    DSYMUTIL=":"
     8227  else
     8228    case $cross_compiling:$ac_tool_warned in
     8229yes:)
     8230{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8231$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8232ac_tool_warned=yes ;;
     8233esac
     8234    DSYMUTIL=$ac_ct_DSYMUTIL
     8235  fi
     8236else
     8237  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
     8238fi
     8239
     8240    if test -n "$ac_tool_prefix"; then
     8241  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
     8242set dummy ${ac_tool_prefix}nmedit; ac_word=$2
     8243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8244$as_echo_n "checking for $ac_word... " >&6; }
     8245if ${ac_cv_prog_NMEDIT+:} false; then :
     8246  $as_echo_n "(cached) " >&6
     8247else
     8248  if test -n "$NMEDIT"; then
     8249  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
     8250else
     8251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8252for as_dir in $PATH
     8253do
     8254  IFS=$as_save_IFS
     8255  test -z "$as_dir" && as_dir=.
     8256    for ac_exec_ext in '' $ac_executable_extensions; do
     8257  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8258    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
     8259    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8260    break 2
     8261  fi
     8262done
     8263  done
     8264IFS=$as_save_IFS
     8265
     8266fi
     8267fi
     8268NMEDIT=$ac_cv_prog_NMEDIT
     8269if test -n "$NMEDIT"; then
     8270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
     8271$as_echo "$NMEDIT" >&6; }
     8272else
     8273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8274$as_echo "no" >&6; }
     8275fi
     8276
     8277
     8278fi
     8279if test -z "$ac_cv_prog_NMEDIT"; then
     8280  ac_ct_NMEDIT=$NMEDIT
     8281  # Extract the first word of "nmedit", so it can be a program name with args.
     8282set dummy nmedit; ac_word=$2
     8283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8284$as_echo_n "checking for $ac_word... " >&6; }
     8285if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
     8286  $as_echo_n "(cached) " >&6
     8287else
     8288  if test -n "$ac_ct_NMEDIT"; then
     8289  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
     8290else
     8291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8292for as_dir in $PATH
     8293do
     8294  IFS=$as_save_IFS
     8295  test -z "$as_dir" && as_dir=.
     8296    for ac_exec_ext in '' $ac_executable_extensions; do
     8297  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8298    ac_cv_prog_ac_ct_NMEDIT="nmedit"
     8299    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8300    break 2
     8301  fi
     8302done
     8303  done
     8304IFS=$as_save_IFS
     8305
     8306fi
     8307fi
     8308ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
     8309if test -n "$ac_ct_NMEDIT"; then
     8310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
     8311$as_echo "$ac_ct_NMEDIT" >&6; }
     8312else
     8313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8314$as_echo "no" >&6; }
     8315fi
     8316
     8317  if test "x$ac_ct_NMEDIT" = x; then
     8318    NMEDIT=":"
     8319  else
     8320    case $cross_compiling:$ac_tool_warned in
     8321yes:)
     8322{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8323$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8324ac_tool_warned=yes ;;
     8325esac
     8326    NMEDIT=$ac_ct_NMEDIT
     8327  fi
     8328else
     8329  NMEDIT="$ac_cv_prog_NMEDIT"
     8330fi
     8331
     8332    if test -n "$ac_tool_prefix"; then
     8333  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
     8334set dummy ${ac_tool_prefix}lipo; ac_word=$2
     8335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8336$as_echo_n "checking for $ac_word... " >&6; }
     8337if ${ac_cv_prog_LIPO+:} false; then :
     8338  $as_echo_n "(cached) " >&6
     8339else
     8340  if test -n "$LIPO"; then
     8341  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
     8342else
     8343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8344for as_dir in $PATH
     8345do
     8346  IFS=$as_save_IFS
     8347  test -z "$as_dir" && as_dir=.
     8348    for ac_exec_ext in '' $ac_executable_extensions; do
     8349  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8350    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
     8351    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8352    break 2
     8353  fi
     8354done
     8355  done
     8356IFS=$as_save_IFS
     8357
     8358fi
     8359fi
     8360LIPO=$ac_cv_prog_LIPO
     8361if test -n "$LIPO"; then
     8362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
     8363$as_echo "$LIPO" >&6; }
     8364else
     8365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8366$as_echo "no" >&6; }
     8367fi
     8368
     8369
     8370fi
     8371if test -z "$ac_cv_prog_LIPO"; then
     8372  ac_ct_LIPO=$LIPO
     8373  # Extract the first word of "lipo", so it can be a program name with args.
     8374set dummy lipo; ac_word=$2
     8375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8376$as_echo_n "checking for $ac_word... " >&6; }
     8377if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
     8378  $as_echo_n "(cached) " >&6
     8379else
     8380  if test -n "$ac_ct_LIPO"; then
     8381  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
     8382else
     8383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8384for as_dir in $PATH
     8385do
     8386  IFS=$as_save_IFS
     8387  test -z "$as_dir" && as_dir=.
     8388    for ac_exec_ext in '' $ac_executable_extensions; do
     8389  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8390    ac_cv_prog_ac_ct_LIPO="lipo"
     8391    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8392    break 2
     8393  fi
     8394done
     8395  done
     8396IFS=$as_save_IFS
     8397
     8398fi
     8399fi
     8400ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
     8401if test -n "$ac_ct_LIPO"; then
     8402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
     8403$as_echo "$ac_ct_LIPO" >&6; }
     8404else
     8405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8406$as_echo "no" >&6; }
     8407fi
     8408
     8409  if test "x$ac_ct_LIPO" = x; then
     8410    LIPO=":"
     8411  else
     8412    case $cross_compiling:$ac_tool_warned in
     8413yes:)
     8414{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8415$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8416ac_tool_warned=yes ;;
     8417esac
     8418    LIPO=$ac_ct_LIPO
     8419  fi
     8420else
     8421  LIPO="$ac_cv_prog_LIPO"
     8422fi
     8423
     8424    if test -n "$ac_tool_prefix"; then
     8425  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
     8426set dummy ${ac_tool_prefix}otool; ac_word=$2
     8427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8428$as_echo_n "checking for $ac_word... " >&6; }
     8429if ${ac_cv_prog_OTOOL+:} false; then :
     8430  $as_echo_n "(cached) " >&6
     8431else
     8432  if test -n "$OTOOL"; then
     8433  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
     8434else
     8435as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8436for as_dir in $PATH
     8437do
     8438  IFS=$as_save_IFS
     8439  test -z "$as_dir" && as_dir=.
     8440    for ac_exec_ext in '' $ac_executable_extensions; do
     8441  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8442    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
     8443    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8444    break 2
     8445  fi
     8446done
     8447  done
     8448IFS=$as_save_IFS
     8449
     8450fi
     8451fi
     8452OTOOL=$ac_cv_prog_OTOOL
     8453if test -n "$OTOOL"; then
     8454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
     8455$as_echo "$OTOOL" >&6; }
     8456else
     8457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8458$as_echo "no" >&6; }
     8459fi
     8460
     8461
     8462fi
     8463if test -z "$ac_cv_prog_OTOOL"; then
     8464  ac_ct_OTOOL=$OTOOL
     8465  # Extract the first word of "otool", so it can be a program name with args.
     8466set dummy otool; ac_word=$2
     8467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8468$as_echo_n "checking for $ac_word... " >&6; }
     8469if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
     8470  $as_echo_n "(cached) " >&6
     8471else
     8472  if test -n "$ac_ct_OTOOL"; then
     8473  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
     8474else
     8475as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8476for as_dir in $PATH
     8477do
     8478  IFS=$as_save_IFS
     8479  test -z "$as_dir" && as_dir=.
     8480    for ac_exec_ext in '' $ac_executable_extensions; do
     8481  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8482    ac_cv_prog_ac_ct_OTOOL="otool"
     8483    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8484    break 2
     8485  fi
     8486done
     8487  done
     8488IFS=$as_save_IFS
     8489
     8490fi
     8491fi
     8492ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
     8493if test -n "$ac_ct_OTOOL"; then
     8494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
     8495$as_echo "$ac_ct_OTOOL" >&6; }
     8496else
     8497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8498$as_echo "no" >&6; }
     8499fi
     8500
     8501  if test "x$ac_ct_OTOOL" = x; then
     8502    OTOOL=":"
     8503  else
     8504    case $cross_compiling:$ac_tool_warned in
     8505yes:)
     8506{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8507$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8508ac_tool_warned=yes ;;
     8509esac
     8510    OTOOL=$ac_ct_OTOOL
     8511  fi
     8512else
     8513  OTOOL="$ac_cv_prog_OTOOL"
     8514fi
     8515
     8516    if test -n "$ac_tool_prefix"; then
     8517  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
     8518set dummy ${ac_tool_prefix}otool64; ac_word=$2
     8519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8520$as_echo_n "checking for $ac_word... " >&6; }
     8521if ${ac_cv_prog_OTOOL64+:} false; then :
     8522  $as_echo_n "(cached) " >&6
     8523else
     8524  if test -n "$OTOOL64"; then
     8525  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
     8526else
     8527as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8528for as_dir in $PATH
     8529do
     8530  IFS=$as_save_IFS
     8531  test -z "$as_dir" && as_dir=.
     8532    for ac_exec_ext in '' $ac_executable_extensions; do
     8533  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8534    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
     8535    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8536    break 2
     8537  fi
     8538done
     8539  done
     8540IFS=$as_save_IFS
     8541
     8542fi
     8543fi
     8544OTOOL64=$ac_cv_prog_OTOOL64
     8545if test -n "$OTOOL64"; then
     8546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
     8547$as_echo "$OTOOL64" >&6; }
     8548else
     8549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8550$as_echo "no" >&6; }
     8551fi
     8552
     8553
     8554fi
     8555if test -z "$ac_cv_prog_OTOOL64"; then
     8556  ac_ct_OTOOL64=$OTOOL64
     8557  # Extract the first word of "otool64", so it can be a program name with args.
     8558set dummy otool64; ac_word=$2
     8559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8560$as_echo_n "checking for $ac_word... " >&6; }
     8561if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
     8562  $as_echo_n "(cached) " >&6
     8563else
     8564  if test -n "$ac_ct_OTOOL64"; then
     8565  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
     8566else
     8567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8568for as_dir in $PATH
     8569do
     8570  IFS=$as_save_IFS
     8571  test -z "$as_dir" && as_dir=.
     8572    for ac_exec_ext in '' $ac_executable_extensions; do
     8573  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8574    ac_cv_prog_ac_ct_OTOOL64="otool64"
     8575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8576    break 2
     8577  fi
     8578done
     8579  done
     8580IFS=$as_save_IFS
     8581
     8582fi
     8583fi
     8584ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
     8585if test -n "$ac_ct_OTOOL64"; then
     8586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
     8587$as_echo "$ac_ct_OTOOL64" >&6; }
     8588else
     8589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8590$as_echo "no" >&6; }
     8591fi
     8592
     8593  if test "x$ac_ct_OTOOL64" = x; then
     8594    OTOOL64=":"
     8595  else
     8596    case $cross_compiling:$ac_tool_warned in
     8597yes:)
     8598{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8599$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8600ac_tool_warned=yes ;;
     8601esac
     8602    OTOOL64=$ac_ct_OTOOL64
     8603  fi
     8604else
     8605  OTOOL64="$ac_cv_prog_OTOOL64"
     8606fi
     8607
     8608
     8609
     8610
     8611
     8612
     8613
     8614
     8615
     8616
     8617
     8618
     8619
     8620
     8621
     8622
     8623
     8624
     8625
     8626
     8627
     8628
     8629
     8630
     8631
     8632
     8633
     8634    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
     8635$as_echo_n "checking for -single_module linker flag... " >&6; }
     8636if ${lt_cv_apple_cc_single_mod+:} false; then :
     8637  $as_echo_n "(cached) " >&6
     8638else
     8639  lt_cv_apple_cc_single_mod=no
     8640      if test -z "$LT_MULTI_MODULE"; then
     8641        # By default we will add the -single_module flag. You can override
     8642        # by either setting the environment variable LT_MULTI_MODULE
     8643        # non-empty at configure time, or by adding -multi_module to the
     8644        # link flags.
     8645        rm -rf libconftest.dylib*
     8646        echo "int foo(void){return 1;}" > conftest.c
     8647        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     8648-dynamiclib -Wl,-single_module conftest.c" >&5
     8649        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     8650          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
     8651        _lt_result=$?
     8652        # If there is a non-empty error log, and "single_module"
     8653        # appears in it, assume the flag caused a linker warning
     8654        if test -s conftest.err && $GREP single_module conftest.err; then
     8655          cat conftest.err >&5
     8656        # Otherwise, if the output was created with a 0 exit code from
     8657        # the compiler, it worked.
     8658        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
     8659          lt_cv_apple_cc_single_mod=yes
     8660        else
     8661          cat conftest.err >&5
     8662        fi
     8663        rm -rf libconftest.dylib*
     8664        rm -f conftest.*
     8665      fi
     8666fi
     8667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
     8668$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
     8669
     8670    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
     8671$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
     8672if ${lt_cv_ld_exported_symbols_list+:} false; then :
     8673  $as_echo_n "(cached) " >&6
     8674else
     8675  lt_cv_ld_exported_symbols_list=no
     8676      save_LDFLAGS=$LDFLAGS
     8677      echo "_main" > conftest.sym
     8678      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
     8679      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8680/* end confdefs.h.  */
     8681
     8682int
     8683main ()
     8684{
     8685
     8686  ;
     8687  return 0;
     8688}
     8689_ACEOF
     8690if ac_fn_c_try_link "$LINENO"; then :
     8691  lt_cv_ld_exported_symbols_list=yes
     8692else
     8693  lt_cv_ld_exported_symbols_list=no
     8694fi
     8695rm -f core conftest.err conftest.$ac_objext \
     8696    conftest$ac_exeext conftest.$ac_ext
     8697        LDFLAGS=$save_LDFLAGS
     8698
     8699fi
     8700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
     8701$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
     8702
     8703    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
     8704$as_echo_n "checking for -force_load linker flag... " >&6; }
     8705if ${lt_cv_ld_force_load+:} false; then :
     8706  $as_echo_n "(cached) " >&6
     8707else
     8708  lt_cv_ld_force_load=no
     8709      cat > conftest.c << _LT_EOF
     8710int forced_loaded() { return 2;}
     8711_LT_EOF
     8712      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
     8713      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
     8714      echo "$AR cru libconftest.a conftest.o" >&5
     8715      $AR cru libconftest.a conftest.o 2>&5
     8716      echo "$RANLIB libconftest.a" >&5
     8717      $RANLIB libconftest.a 2>&5
     8718      cat > conftest.c << _LT_EOF
     8719int main() { return 0;}
     8720_LT_EOF
     8721      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
     8722      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
     8723      _lt_result=$?
     8724      if test -s conftest.err && $GREP force_load conftest.err; then
     8725        cat conftest.err >&5
     8726      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
     8727        lt_cv_ld_force_load=yes
     8728      else
     8729        cat conftest.err >&5
     8730      fi
     8731        rm -f conftest.err libconftest.a conftest conftest.c
     8732        rm -rf conftest.dSYM
     8733
     8734fi
     8735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
     8736$as_echo "$lt_cv_ld_force_load" >&6; }
     8737    case $host_os in
     8738    rhapsody* | darwin1.[012])
     8739      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
     8740    darwin1.*)
     8741      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     8742    darwin*) # darwin 5.x on
     8743      # if running on 10.5 or later, the deployment target defaults
     8744      # to the OS version, if on x86, and 10.4, the deployment
     8745      # target defaults to 10.4. Don't you love it?
     8746      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
     8747        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
     8748          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     8749        10.[012][,.]*)
     8750          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     8751        10.*)
     8752          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     8753      esac
     8754    ;;
     8755  esac
     8756    if test yes = "$lt_cv_apple_cc_single_mod"; then
     8757      _lt_dar_single_mod='$single_module'
     8758    fi
     8759    if test yes = "$lt_cv_ld_exported_symbols_list"; then
     8760      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
     8761    else
     8762      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
     8763    fi
     8764    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
     8765      _lt_dsymutil='~$DSYMUTIL $lib || :'
     8766    else
     8767      _lt_dsymutil=
     8768    fi
     8769    ;;
     8770  esac
     8771
     8772# func_munge_path_list VARIABLE PATH
     8773# -----------------------------------
     8774# VARIABLE is name of variable containing _space_ separated list of
     8775# directories to be munged by the contents of PATH, which is string
     8776# having a format:
     8777# "DIR[:DIR]:"
     8778#       string "DIR[ DIR]" will be prepended to VARIABLE
     8779# ":DIR[:DIR]"
     8780#       string "DIR[ DIR]" will be appended to VARIABLE
     8781# "DIRP[:DIRP]::[DIRA:]DIRA"
     8782#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     8783#       "DIRA[ DIRA]" will be appended to VARIABLE
     8784# "DIR[:DIR]"
     8785#       VARIABLE will be replaced by "DIR[ DIR]"
     8786func_munge_path_list ()
     8787{
     8788    case x$2 in
     8789    x)
     8790        ;;
     8791    *:)
     8792        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
     8793        ;;
     8794    x:*)
     8795        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
     8796        ;;
     8797    *::*)
     8798        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     8799        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
     8800        ;;
     8801    *)
     8802        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
     8803        ;;
     8804    esac
     8805}
     8806
     8807ac_ext=c
     8808ac_cpp='$CPP $CPPFLAGS'
     8809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     8811ac_compiler_gnu=$ac_cv_c_compiler_gnu
     8812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     8813$as_echo_n "checking how to run the C preprocessor... " >&6; }
     8814# On Suns, sometimes $CPP names a directory.
     8815if test -n "$CPP" && test -d "$CPP"; then
     8816  CPP=
     8817fi
     8818if test -z "$CPP"; then
     8819  if ${ac_cv_prog_CPP+:} false; then :
     8820  $as_echo_n "(cached) " >&6
     8821else
     8822      # Double quotes because CPP needs to be expanded
     8823    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     8824    do
     8825      ac_preproc_ok=false
     8826for ac_c_preproc_warn_flag in '' yes
     8827do
     8828  # Use a header file that comes with gcc, so configuring glibc
     8829  # with a fresh cross-compiler works.
     8830  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     8831  # <limits.h> exists even on freestanding compilers.
     8832  # On the NeXT, cc -E runs the code through the compiler's parser,
     8833  # not just through cpp. "Syntax error" is here to catch this case.
     8834  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8835/* end confdefs.h.  */
     8836#ifdef __STDC__
     8837# include <limits.h>
     8838#else
     8839# include <assert.h>
     8840#endif
     8841                     Syntax error
     8842_ACEOF
     8843if ac_fn_c_try_cpp "$LINENO"; then :
     8844
     8845else
     8846  # Broken: fails on valid input.
     8847continue
     8848fi
     8849rm -f conftest.err conftest.i conftest.$ac_ext
     8850
     8851  # OK, works on sane cases.  Now check whether nonexistent headers
     8852  # can be detected and how.
     8853  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8854/* end confdefs.h.  */
     8855#include <ac_nonexistent.h>
     8856_ACEOF
     8857if ac_fn_c_try_cpp "$LINENO"; then :
     8858  # Broken: success on invalid input.
     8859continue
     8860else
     8861  # Passes both tests.
     8862ac_preproc_ok=:
     8863break
     8864fi
     8865rm -f conftest.err conftest.i conftest.$ac_ext
     8866
     8867done
     8868# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     8869rm -f conftest.i conftest.err conftest.$ac_ext
     8870if $ac_preproc_ok; then :
     8871  break
     8872fi
     8873
     8874    done
     8875    ac_cv_prog_CPP=$CPP
     8876
     8877fi
     8878  CPP=$ac_cv_prog_CPP
     8879else
     8880  ac_cv_prog_CPP=$CPP
     8881fi
     8882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     8883$as_echo "$CPP" >&6; }
     8884ac_preproc_ok=false
     8885for ac_c_preproc_warn_flag in '' yes
     8886do
     8887  # Use a header file that comes with gcc, so configuring glibc
     8888  # with a fresh cross-compiler works.
     8889  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     8890  # <limits.h> exists even on freestanding compilers.
     8891  # On the NeXT, cc -E runs the code through the compiler's parser,
     8892  # not just through cpp. "Syntax error" is here to catch this case.
     8893  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8894/* end confdefs.h.  */
     8895#ifdef __STDC__
     8896# include <limits.h>
     8897#else
     8898# include <assert.h>
     8899#endif
     8900                     Syntax error
     8901_ACEOF
     8902if ac_fn_c_try_cpp "$LINENO"; then :
     8903
     8904else
     8905  # Broken: fails on valid input.
     8906continue
     8907fi
     8908rm -f conftest.err conftest.i conftest.$ac_ext
     8909
     8910  # OK, works on sane cases.  Now check whether nonexistent headers
     8911  # can be detected and how.
     8912  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8913/* end confdefs.h.  */
     8914#include <ac_nonexistent.h>
     8915_ACEOF
     8916if ac_fn_c_try_cpp "$LINENO"; then :
     8917  # Broken: success on invalid input.
     8918continue
     8919else
     8920  # Passes both tests.
     8921ac_preproc_ok=:
     8922break
     8923fi
     8924rm -f conftest.err conftest.i conftest.$ac_ext
     8925
     8926done
     8927# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     8928rm -f conftest.i conftest.err conftest.$ac_ext
     8929if $ac_preproc_ok; then :
     8930
     8931else
     8932  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8933$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     8934as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     8935See \`config.log' for more details" "$LINENO" 5; }
     8936fi
     8937
     8938ac_ext=c
     8939ac_cpp='$CPP $CPPFLAGS'
     8940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     8942ac_compiler_gnu=$ac_cv_c_compiler_gnu
     8943
     8944
    56968945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    56978946$as_echo_n "checking for ANSI C header files... " >&6; }
     
    58239072
    58249073
     9074for ac_header in dlfcn.h
     9075do :
     9076  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
     9077"
     9078if test "x$ac_cv_header_dlfcn_h" = xyes; then :
     9079  cat >>confdefs.h <<_ACEOF
     9080#define HAVE_DLFCN_H 1
     9081_ACEOF
     9082
     9083fi
     9084
     9085done
     9086
     9087
     9088
     9089
     9090func_stripname_cnf ()
     9091{
     9092  case $2 in
     9093  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
     9094  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
     9095  esac
     9096} # func_stripname_cnf
     9097
     9098
     9099
     9100
     9101
     9102# Set options
     9103
     9104
     9105
     9106        enable_dlopen=no
     9107
     9108
     9109  enable_win32_dll=no
     9110
     9111
     9112            # Check whether --enable-shared was given.
     9113if test "${enable_shared+set}" = set; then :
     9114  enableval=$enable_shared; p=${PACKAGE-default}
     9115    case $enableval in
     9116    yes) enable_shared=yes ;;
     9117    no) enable_shared=no ;;
     9118    *)
     9119      enable_shared=no
     9120      # Look at the argument we got.  We use all the common list separators.
     9121      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     9122      for pkg in $enableval; do
     9123        IFS=$lt_save_ifs
     9124        if test "X$pkg" = "X$p"; then
     9125          enable_shared=yes
     9126        fi
     9127      done
     9128      IFS=$lt_save_ifs
     9129      ;;
     9130    esac
     9131else
     9132  enable_shared=yes
     9133fi
     9134
     9135
     9136
     9137
     9138
     9139
     9140
     9141
     9142
     9143  # Check whether --enable-static was given.
     9144if test "${enable_static+set}" = set; then :
     9145  enableval=$enable_static; p=${PACKAGE-default}
     9146    case $enableval in
     9147    yes) enable_static=yes ;;
     9148    no) enable_static=no ;;
     9149    *)
     9150     enable_static=no
     9151      # Look at the argument we got.  We use all the common list separators.
     9152      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     9153      for pkg in $enableval; do
     9154        IFS=$lt_save_ifs
     9155        if test "X$pkg" = "X$p"; then
     9156          enable_static=yes
     9157        fi
     9158      done
     9159      IFS=$lt_save_ifs
     9160      ;;
     9161    esac
     9162else
     9163  enable_static=yes
     9164fi
     9165
     9166
     9167
     9168
     9169
     9170
     9171
     9172
     9173
     9174
     9175# Check whether --with-pic was given.
     9176if test "${with_pic+set}" = set; then :
     9177  withval=$with_pic; lt_p=${PACKAGE-default}
     9178    case $withval in
     9179    yes|no) pic_mode=$withval ;;
     9180    *)
     9181      pic_mode=default
     9182      # Look at the argument we got.  We use all the common list separators.
     9183      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     9184      for lt_pkg in $withval; do
     9185        IFS=$lt_save_ifs
     9186        if test "X$lt_pkg" = "X$lt_p"; then
     9187          pic_mode=yes
     9188        fi
     9189      done
     9190      IFS=$lt_save_ifs
     9191      ;;
     9192    esac
     9193else
     9194  pic_mode=default
     9195fi
     9196
     9197
     9198
     9199
     9200
     9201
     9202
     9203
     9204  # Check whether --enable-fast-install was given.
     9205if test "${enable_fast_install+set}" = set; then :
     9206  enableval=$enable_fast_install; p=${PACKAGE-default}
     9207    case $enableval in
     9208    yes) enable_fast_install=yes ;;
     9209    no) enable_fast_install=no ;;
     9210    *)
     9211      enable_fast_install=no
     9212      # Look at the argument we got.  We use all the common list separators.
     9213      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     9214      for pkg in $enableval; do
     9215        IFS=$lt_save_ifs
     9216        if test "X$pkg" = "X$p"; then
     9217          enable_fast_install=yes
     9218        fi
     9219      done
     9220      IFS=$lt_save_ifs
     9221      ;;
     9222    esac
     9223else
     9224  enable_fast_install=yes
     9225fi
     9226
     9227
     9228
     9229
     9230
     9231
     9232
     9233
     9234  shared_archive_member_spec=
     9235case $host,$enable_shared in
     9236power*-*-aix[5-9]*,yes)
     9237  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
     9238$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
     9239
     9240# Check whether --with-aix-soname was given.
     9241if test "${with_aix_soname+set}" = set; then :
     9242  withval=$with_aix_soname; case $withval in
     9243    aix|svr4|both)
     9244      ;;
     9245    *)
     9246      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
     9247      ;;
     9248    esac
     9249    lt_cv_with_aix_soname=$with_aix_soname
     9250else
     9251  if ${lt_cv_with_aix_soname+:} false; then :
     9252  $as_echo_n "(cached) " >&6
     9253else
     9254  lt_cv_with_aix_soname=aix
     9255fi
     9256
     9257    with_aix_soname=$lt_cv_with_aix_soname
     9258fi
     9259
     9260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
     9261$as_echo "$with_aix_soname" >&6; }
     9262  if test aix != "$with_aix_soname"; then
     9263    # For the AIX way of multilib, we name the shared archive member
     9264    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
     9265    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
     9266    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
     9267    # the AIX toolchain works better with OBJECT_MODE set (default 32).
     9268    if test 64 = "${OBJECT_MODE-32}"; then
     9269      shared_archive_member_spec=shr_64
     9270    else
     9271      shared_archive_member_spec=shr
     9272    fi
     9273  fi
     9274  ;;
     9275*)
     9276  with_aix_soname=aix
     9277  ;;
     9278esac
     9279
     9280
     9281
     9282
     9283
     9284
     9285
     9286
     9287
     9288
     9289# This can be used to rebuild libtool when needed
     9290LIBTOOL_DEPS=$ltmain
     9291
     9292# Always use our own libtool.
     9293LIBTOOL='$(SHELL) $(top_builddir)/libtool'
     9294
     9295
     9296
     9297
     9298
     9299
     9300
     9301
     9302
     9303
     9304
     9305
     9306
     9307
     9308
     9309
     9310
     9311
     9312
     9313
     9314
     9315
     9316
     9317
     9318
     9319
     9320
     9321
     9322
     9323
     9324test -z "$LN_S" && LN_S="ln -s"
     9325
     9326
     9327
     9328
     9329
     9330
     9331
     9332
     9333
     9334
     9335
     9336
     9337
     9338
     9339if test -n "${ZSH_VERSION+set}"; then
     9340   setopt NO_GLOB_SUBST
     9341fi
     9342
     9343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
     9344$as_echo_n "checking for objdir... " >&6; }
     9345if ${lt_cv_objdir+:} false; then :
     9346  $as_echo_n "(cached) " >&6
     9347else
     9348  rm -f .libs 2>/dev/null
     9349mkdir .libs 2>/dev/null
     9350if test -d .libs; then
     9351  lt_cv_objdir=.libs
     9352else
     9353  # MS-DOS does not allow filenames that begin with a dot.
     9354  lt_cv_objdir=_libs
     9355fi
     9356rmdir .libs 2>/dev/null
     9357fi
     9358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
     9359$as_echo "$lt_cv_objdir" >&6; }
     9360objdir=$lt_cv_objdir
     9361
     9362
     9363
     9364
     9365
     9366cat >>confdefs.h <<_ACEOF
     9367#define LT_OBJDIR "$lt_cv_objdir/"
     9368_ACEOF
     9369
     9370
     9371
     9372
     9373case $host_os in
     9374aix3*)
     9375  # AIX sometimes has problems with the GCC collect2 program.  For some
     9376  # reason, if we set the COLLECT_NAMES environment variable, the problems
     9377  # vanish in a puff of smoke.
     9378  if test set != "${COLLECT_NAMES+set}"; then
     9379    COLLECT_NAMES=
     9380    export COLLECT_NAMES
     9381  fi
     9382  ;;
     9383esac
     9384
     9385# Global variables:
     9386ofile=libtool
     9387can_build_shared=yes
     9388
     9389# All known linkers require a '.a' archive for static linking (except MSVC,
     9390# which needs '.lib').
     9391libext=a
     9392
     9393with_gnu_ld=$lt_cv_prog_gnu_ld
     9394
     9395old_CC=$CC
     9396old_CFLAGS=$CFLAGS
     9397
     9398# Set sane defaults for various variables
     9399test -z "$CC" && CC=cc
     9400test -z "$LTCC" && LTCC=$CC
     9401test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
     9402test -z "$LD" && LD=ld
     9403test -z "$ac_objext" && ac_objext=o
     9404
     9405func_cc_basename $compiler
     9406cc_basename=$func_cc_basename_result
     9407
     9408
     9409# Only perform the check for file, if the check method requires it
     9410test -z "$MAGIC_CMD" && MAGIC_CMD=file
     9411case $deplibs_check_method in
     9412file_magic*)
     9413  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     9414    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
     9415$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
     9416if ${lt_cv_path_MAGIC_CMD+:} false; then :
     9417  $as_echo_n "(cached) " >&6
     9418else
     9419  case $MAGIC_CMD in
     9420[\\/*] |  ?:[\\/]*)
     9421  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
     9422  ;;
     9423*)
     9424  lt_save_MAGIC_CMD=$MAGIC_CMD
     9425  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     9426  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
     9427  for ac_dir in $ac_dummy; do
     9428    IFS=$lt_save_ifs
     9429    test -z "$ac_dir" && ac_dir=.
     9430    if test -f "$ac_dir/${ac_tool_prefix}file"; then
     9431      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
     9432      if test -n "$file_magic_test_file"; then
     9433        case $deplibs_check_method in
     9434        "file_magic "*)
     9435          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
     9436          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9437          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     9438            $EGREP "$file_magic_regex" > /dev/null; then
     9439            :
     9440          else
     9441            cat <<_LT_EOF 1>&2
     9442
     9443*** Warning: the command libtool uses to detect shared libraries,
     9444*** $file_magic_cmd, produces output that libtool cannot recognize.
     9445*** The result is that libtool may fail to recognize shared libraries
     9446*** as such.  This will affect the creation of libtool libraries that
     9447*** depend on shared libraries, but programs linked with such libtool
     9448*** libraries will work regardless of this problem.  Nevertheless, you
     9449*** may want to report the problem to your system manager and/or to
     9450*** bug-libtool@gnu.org
     9451
     9452_LT_EOF
     9453          fi ;;
     9454        esac
     9455      fi
     9456      break
     9457    fi
     9458  done
     9459  IFS=$lt_save_ifs
     9460  MAGIC_CMD=$lt_save_MAGIC_CMD
     9461  ;;
     9462esac
     9463fi
     9464
     9465MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9466if test -n "$MAGIC_CMD"; then
     9467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     9468$as_echo "$MAGIC_CMD" >&6; }
     9469else
     9470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9471$as_echo "no" >&6; }
     9472fi
     9473
     9474
     9475
     9476
     9477
     9478if test -z "$lt_cv_path_MAGIC_CMD"; then
     9479  if test -n "$ac_tool_prefix"; then
     9480    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
     9481$as_echo_n "checking for file... " >&6; }
     9482if ${lt_cv_path_MAGIC_CMD+:} false; then :
     9483  $as_echo_n "(cached) " >&6
     9484else
     9485  case $MAGIC_CMD in
     9486[\\/*] |  ?:[\\/]*)
     9487  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
     9488  ;;
     9489*)
     9490  lt_save_MAGIC_CMD=$MAGIC_CMD
     9491  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     9492  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
     9493  for ac_dir in $ac_dummy; do
     9494    IFS=$lt_save_ifs
     9495    test -z "$ac_dir" && ac_dir=.
     9496    if test -f "$ac_dir/file"; then
     9497      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
     9498      if test -n "$file_magic_test_file"; then
     9499        case $deplibs_check_method in
     9500        "file_magic "*)
     9501          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
     9502          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9503          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     9504            $EGREP "$file_magic_regex" > /dev/null; then
     9505            :
     9506          else
     9507            cat <<_LT_EOF 1>&2
     9508
     9509*** Warning: the command libtool uses to detect shared libraries,
     9510*** $file_magic_cmd, produces output that libtool cannot recognize.
     9511*** The result is that libtool may fail to recognize shared libraries
     9512*** as such.  This will affect the creation of libtool libraries that
     9513*** depend on shared libraries, but programs linked with such libtool
     9514*** libraries will work regardless of this problem.  Nevertheless, you
     9515*** may want to report the problem to your system manager and/or to
     9516*** bug-libtool@gnu.org
     9517
     9518_LT_EOF
     9519          fi ;;
     9520        esac
     9521      fi
     9522      break
     9523    fi
     9524  done
     9525  IFS=$lt_save_ifs
     9526  MAGIC_CMD=$lt_save_MAGIC_CMD
     9527  ;;
     9528esac
     9529fi
     9530
     9531MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9532if test -n "$MAGIC_CMD"; then
     9533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     9534$as_echo "$MAGIC_CMD" >&6; }
     9535else
     9536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9537$as_echo "no" >&6; }
     9538fi
     9539
     9540
     9541  else
     9542    MAGIC_CMD=:
     9543  fi
     9544fi
     9545
     9546  fi
     9547  ;;
     9548esac
     9549
     9550# Use C for the default configuration in the libtool script
     9551
     9552lt_save_CC=$CC
     9553ac_ext=c
     9554ac_cpp='$CPP $CPPFLAGS'
     9555ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     9556ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     9557ac_compiler_gnu=$ac_cv_c_compiler_gnu
     9558
     9559
     9560# Source file extension for C test sources.
     9561ac_ext=c
     9562
     9563# Object file extension for compiled C test sources.
     9564objext=o
     9565objext=$objext
     9566
     9567# Code to be used in simple compile tests
     9568lt_simple_compile_test_code="int some_variable = 0;"
     9569
     9570# Code to be used in simple link tests
     9571lt_simple_link_test_code='int main(){return(0);}'
     9572
     9573
     9574
     9575
     9576
     9577
     9578
     9579# If no C compiler was specified, use CC.
     9580LTCC=${LTCC-"$CC"}
     9581
     9582# If no C compiler flags were specified, use CFLAGS.
     9583LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     9584
     9585# Allow CC to be a program name with arguments.
     9586compiler=$CC
     9587
     9588# Save the default compiler, since it gets overwritten when the other
     9589# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
     9590compiler_DEFAULT=$CC
     9591
     9592# save warnings/boilerplate of simple test code
     9593ac_outfile=conftest.$ac_objext
     9594echo "$lt_simple_compile_test_code" >conftest.$ac_ext
     9595eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     9596_lt_compiler_boilerplate=`cat conftest.err`
     9597$RM conftest*
     9598
     9599ac_outfile=conftest.$ac_objext
     9600echo "$lt_simple_link_test_code" >conftest.$ac_ext
     9601eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     9602_lt_linker_boilerplate=`cat conftest.err`
     9603$RM -r conftest*
     9604
     9605
     9606## CAVEAT EMPTOR:
     9607## There is no encapsulation within the following macros, do not change
     9608## the running order or otherwise move them around unless you know exactly
     9609## what you are doing...
     9610if test -n "$compiler"; then
     9611
     9612lt_prog_compiler_no_builtin_flag=
     9613
     9614if test yes = "$GCC"; then
     9615  case $cc_basename in
     9616  nvcc*)
     9617    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
     9618  *)
     9619    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
     9620  esac
     9621
     9622  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
     9623$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
     9624if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
     9625  $as_echo_n "(cached) " >&6
     9626else
     9627  lt_cv_prog_compiler_rtti_exceptions=no
     9628   ac_outfile=conftest.$ac_objext
     9629   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     9630   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
     9631   # Insert the option either (1) after the last *FLAGS variable, or
     9632   # (2) before a word containing "conftest.", or (3) at the end.
     9633   # Note that $ac_compile itself does not contain backslashes and begins
     9634   # with a dollar sign (not a hyphen), so the echo should work correctly.
     9635   # The option is referenced via a variable to avoid confusing sed.
     9636   lt_compile=`echo "$ac_compile" | $SED \
     9637   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     9638   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     9639   -e 's:$: $lt_compiler_flag:'`
     9640   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     9641   (eval "$lt_compile" 2>conftest.err)
     9642   ac_status=$?
     9643   cat conftest.err >&5
     9644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9645   if (exit $ac_status) && test -s "$ac_outfile"; then
     9646     # The compiler can only warn and ignore the option if not recognized
     9647     # So say no if there are warnings other than the usual output.
     9648     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
     9649     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     9650     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
     9651       lt_cv_prog_compiler_rtti_exceptions=yes
     9652     fi
     9653   fi
     9654   $RM conftest*
     9655
     9656fi
     9657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
     9658$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
     9659
     9660if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
     9661    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
     9662else
     9663    :
     9664fi
     9665
     9666fi
     9667
     9668
     9669
     9670
     9671
     9672
     9673  lt_prog_compiler_wl=
     9674lt_prog_compiler_pic=
     9675lt_prog_compiler_static=
     9676
     9677
     9678  if test yes = "$GCC"; then
     9679    lt_prog_compiler_wl='-Wl,'
     9680    lt_prog_compiler_static='-static'
     9681
     9682    case $host_os in
     9683      aix*)
     9684      # All AIX code is PIC.
     9685      if test ia64 = "$host_cpu"; then
     9686        # AIX 5 now supports IA64 processor
     9687        lt_prog_compiler_static='-Bstatic'
     9688      fi
     9689      lt_prog_compiler_pic='-fPIC'
     9690      ;;
     9691
     9692    amigaos*)
     9693      case $host_cpu in
     9694      powerpc)
     9695            # see comment about AmigaOS4 .so support
     9696            lt_prog_compiler_pic='-fPIC'
     9697        ;;
     9698      m68k)
     9699            # FIXME: we need at least 68020 code to build shared libraries, but
     9700            # adding the '-m68020' flag to GCC prevents building anything better,
     9701            # like '-m68040'.
     9702            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
     9703        ;;
     9704      esac
     9705      ;;
     9706
     9707    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     9708      # PIC is the default for these OSes.
     9709      ;;
     9710
     9711    mingw* | cygwin* | pw32* | os2* | cegcc*)
     9712      # This hack is so that the source file can tell whether it is being
     9713      # built for inclusion in a dll (and should export symbols for example).
     9714      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     9715      # (--disable-auto-import) libraries
     9716      lt_prog_compiler_pic='-DDLL_EXPORT'
     9717      case $host_os in
     9718      os2*)
     9719        lt_prog_compiler_static='$wl-static'
     9720        ;;
     9721      esac
     9722      ;;
     9723
     9724    darwin* | rhapsody*)
     9725      # PIC is the default on this platform
     9726      # Common symbols not allowed in MH_DYLIB files
     9727      lt_prog_compiler_pic='-fno-common'
     9728      ;;
     9729
     9730    haiku*)
     9731      # PIC is the default for Haiku.
     9732      # The "-static" flag exists, but is broken.
     9733      lt_prog_compiler_static=
     9734      ;;
     9735
     9736    hpux*)
     9737      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
     9738      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
     9739      # sets the default TLS model and affects inlining.
     9740      case $host_cpu in
     9741      hppa*64*)
     9742        # +Z the default
     9743        ;;
     9744      *)
     9745        lt_prog_compiler_pic='-fPIC'
     9746        ;;
     9747      esac
     9748      ;;
     9749
     9750    interix[3-9]*)
     9751      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
     9752      # Instead, we relocate shared libraries at runtime.
     9753      ;;
     9754
     9755    msdosdjgpp*)
     9756      # Just because we use GCC doesn't mean we suddenly get shared libraries
     9757      # on systems that don't support them.
     9758      lt_prog_compiler_can_build_shared=no
     9759      enable_shared=no
     9760      ;;
     9761
     9762    *nto* | *qnx*)
     9763      # QNX uses GNU C++, but need to define -shared option too, otherwise
     9764      # it will coredump.
     9765      lt_prog_compiler_pic='-fPIC -shared'
     9766      ;;
     9767
     9768    sysv4*MP*)
     9769      if test -d /usr/nec; then
     9770        lt_prog_compiler_pic=-Kconform_pic
     9771      fi
     9772      ;;
     9773
     9774    *)
     9775      lt_prog_compiler_pic='-fPIC'
     9776      ;;
     9777    esac
     9778
     9779    case $cc_basename in
     9780    nvcc*) # Cuda Compiler Driver 2.2
     9781      lt_prog_compiler_wl='-Xlinker '
     9782      if test -n "$lt_prog_compiler_pic"; then
     9783        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
     9784      fi
     9785      ;;
     9786    esac
     9787  else
     9788    # PORTME Check for flag to pass linker flags through the system compiler.
     9789    case $host_os in
     9790    aix*)
     9791      lt_prog_compiler_wl='-Wl,'
     9792      if test ia64 = "$host_cpu"; then
     9793        # AIX 5 now supports IA64 processor
     9794        lt_prog_compiler_static='-Bstatic'
     9795      else
     9796        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
     9797      fi
     9798      ;;
     9799
     9800    darwin* | rhapsody*)
     9801      # PIC is the default on this platform
     9802      # Common symbols not allowed in MH_DYLIB files
     9803      lt_prog_compiler_pic='-fno-common'
     9804      case $cc_basename in
     9805      nagfor*)
     9806        # NAG Fortran compiler
     9807        lt_prog_compiler_wl='-Wl,-Wl,,'
     9808        lt_prog_compiler_pic='-PIC'
     9809        lt_prog_compiler_static='-Bstatic'
     9810        ;;
     9811      esac
     9812      ;;
     9813
     9814    mingw* | cygwin* | pw32* | os2* | cegcc*)
     9815      # This hack is so that the source file can tell whether it is being
     9816      # built for inclusion in a dll (and should export symbols for example).
     9817      lt_prog_compiler_pic='-DDLL_EXPORT'
     9818      case $host_os in
     9819      os2*)
     9820        lt_prog_compiler_static='$wl-static'
     9821        ;;
     9822      esac
     9823      ;;
     9824
     9825    hpux9* | hpux10* | hpux11*)
     9826      lt_prog_compiler_wl='-Wl,'
     9827      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
     9828      # not for PA HP-UX.
     9829      case $host_cpu in
     9830      hppa*64*|ia64*)
     9831        # +Z the default
     9832        ;;
     9833      *)
     9834        lt_prog_compiler_pic='+Z'
     9835        ;;
     9836      esac
     9837      # Is there a better lt_prog_compiler_static that works with the bundled CC?
     9838      lt_prog_compiler_static='$wl-a ${wl}archive'
     9839      ;;
     9840
     9841    irix5* | irix6* | nonstopux*)
     9842      lt_prog_compiler_wl='-Wl,'
     9843      # PIC (with -KPIC) is the default.
     9844      lt_prog_compiler_static='-non_shared'
     9845      ;;
     9846
     9847    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     9848      case $cc_basename in
     9849      # old Intel for x86_64, which still supported -KPIC.
     9850      ecc*)
     9851        lt_prog_compiler_wl='-Wl,'
     9852        lt_prog_compiler_pic='-KPIC'
     9853        lt_prog_compiler_static='-static'
     9854        ;;
     9855      # icc used to be incompatible with GCC.
     9856      # ICC 10 doesn't accept -KPIC any more.
     9857      icc* | ifort*)
     9858        lt_prog_compiler_wl='-Wl,'
     9859        lt_prog_compiler_pic='-fPIC'
     9860        lt_prog_compiler_static='-static'
     9861        ;;
     9862      # Lahey Fortran 8.1.
     9863      lf95*)
     9864        lt_prog_compiler_wl='-Wl,'
     9865        lt_prog_compiler_pic='--shared'
     9866        lt_prog_compiler_static='--static'
     9867        ;;
     9868      nagfor*)
     9869        # NAG Fortran compiler
     9870        lt_prog_compiler_wl='-Wl,-Wl,,'
     9871        lt_prog_compiler_pic='-PIC'
     9872        lt_prog_compiler_static='-Bstatic'
     9873        ;;
     9874      tcc*)
     9875        # Fabrice Bellard et al's Tiny C Compiler
     9876        lt_prog_compiler_wl='-Wl,'
     9877        lt_prog_compiler_pic='-fPIC'
     9878        lt_prog_compiler_static='-static'
     9879        ;;
     9880      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
     9881        # Portland Group compilers (*not* the Pentium gcc compiler,
     9882        # which looks to be a dead project)
     9883        lt_prog_compiler_wl='-Wl,'
     9884        lt_prog_compiler_pic='-fpic'
     9885        lt_prog_compiler_static='-Bstatic'
     9886        ;;
     9887      ccc*)
     9888        lt_prog_compiler_wl='-Wl,'
     9889        # All Alpha code is PIC.
     9890        lt_prog_compiler_static='-non_shared'
     9891        ;;
     9892      xl* | bgxl* | bgf* | mpixl*)
     9893        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
     9894        lt_prog_compiler_wl='-Wl,'
     9895        lt_prog_compiler_pic='-qpic'
     9896        lt_prog_compiler_static='-qstaticlink'
     9897        ;;
     9898      *)
     9899        case `$CC -V 2>&1 | sed 5q` in
     9900        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
     9901          # Sun Fortran 8.3 passes all unrecognized flags to the linker
     9902          lt_prog_compiler_pic='-KPIC'
     9903          lt_prog_compiler_static='-Bstatic'
     9904          lt_prog_compiler_wl=''
     9905          ;;
     9906        *Sun\ F* | *Sun*Fortran*)
     9907          lt_prog_compiler_pic='-KPIC'
     9908          lt_prog_compiler_static='-Bstatic'
     9909          lt_prog_compiler_wl='-Qoption ld '
     9910          ;;
     9911        *Sun\ C*)
     9912          # Sun C 5.9
     9913          lt_prog_compiler_pic='-KPIC'
     9914          lt_prog_compiler_static='-Bstatic'
     9915          lt_prog_compiler_wl='-Wl,'
     9916          ;;
     9917        *Intel*\ [CF]*Compiler*)
     9918          lt_prog_compiler_wl='-Wl,'
     9919          lt_prog_compiler_pic='-fPIC'
     9920          lt_prog_compiler_static='-static'
     9921          ;;
     9922        *Portland\ Group*)
     9923          lt_prog_compiler_wl='-Wl,'
     9924          lt_prog_compiler_pic='-fpic'
     9925          lt_prog_compiler_static='-Bstatic'
     9926          ;;
     9927        esac
     9928        ;;
     9929      esac
     9930      ;;
     9931
     9932    newsos6)
     9933      lt_prog_compiler_pic='-KPIC'
     9934      lt_prog_compiler_static='-Bstatic'
     9935      ;;
     9936
     9937    *nto* | *qnx*)
     9938      # QNX uses GNU C++, but need to define -shared option too, otherwise
     9939      # it will coredump.
     9940      lt_prog_compiler_pic='-fPIC -shared'
     9941      ;;
     9942
     9943    osf3* | osf4* | osf5*)
     9944      lt_prog_compiler_wl='-Wl,'
     9945      # All OSF/1 code is PIC.
     9946      lt_prog_compiler_static='-non_shared'
     9947      ;;
     9948
     9949    rdos*)
     9950      lt_prog_compiler_static='-non_shared'
     9951      ;;
     9952
     9953    solaris*)
     9954      lt_prog_compiler_pic='-KPIC'
     9955      lt_prog_compiler_static='-Bstatic'
     9956      case $cc_basename in
     9957      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
     9958        lt_prog_compiler_wl='-Qoption ld ';;
     9959      *)
     9960        lt_prog_compiler_wl='-Wl,';;
     9961      esac
     9962      ;;
     9963
     9964    sunos4*)
     9965      lt_prog_compiler_wl='-Qoption ld '
     9966      lt_prog_compiler_pic='-PIC'
     9967      lt_prog_compiler_static='-Bstatic'
     9968      ;;
     9969
     9970    sysv4 | sysv4.2uw2* | sysv4.3*)
     9971      lt_prog_compiler_wl='-Wl,'
     9972      lt_prog_compiler_pic='-KPIC'
     9973      lt_prog_compiler_static='-Bstatic'
     9974      ;;
     9975
     9976    sysv4*MP*)
     9977      if test -d /usr/nec; then
     9978        lt_prog_compiler_pic='-Kconform_pic'
     9979        lt_prog_compiler_static='-Bstatic'
     9980      fi
     9981      ;;
     9982
     9983    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
     9984      lt_prog_compiler_wl='-Wl,'
     9985      lt_prog_compiler_pic='-KPIC'
     9986      lt_prog_compiler_static='-Bstatic'
     9987      ;;
     9988
     9989    unicos*)
     9990      lt_prog_compiler_wl='-Wl,'
     9991      lt_prog_compiler_can_build_shared=no
     9992      ;;
     9993
     9994    uts4*)
     9995      lt_prog_compiler_pic='-pic'
     9996      lt_prog_compiler_static='-Bstatic'
     9997      ;;
     9998
     9999    *)
     10000      lt_prog_compiler_can_build_shared=no
     10001      ;;
     10002    esac
     10003  fi
     10004
     10005case $host_os in
     10006  # For platforms that do not support PIC, -DPIC is meaningless:
     10007  *djgpp*)
     10008    lt_prog_compiler_pic=
     10009    ;;
     10010  *)
     10011    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
     10012    ;;
     10013esac
     10014
     10015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
     10016$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
     10017if ${lt_cv_prog_compiler_pic+:} false; then :
     10018  $as_echo_n "(cached) " >&6
     10019else
     10020  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
     10021fi
     10022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
     10023$as_echo "$lt_cv_prog_compiler_pic" >&6; }
     10024lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
     10025
     10026#
     10027# Check to make sure the PIC flag actually works.
     10028#
     10029if test -n "$lt_prog_compiler_pic"; then
     10030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
     10031$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
     10032if ${lt_cv_prog_compiler_pic_works+:} false; then :
     10033  $as_echo_n "(cached) " >&6
     10034else
     10035  lt_cv_prog_compiler_pic_works=no
     10036   ac_outfile=conftest.$ac_objext
     10037   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     10038   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
     10039   # Insert the option either (1) after the last *FLAGS variable, or
     10040   # (2) before a word containing "conftest.", or (3) at the end.
     10041   # Note that $ac_compile itself does not contain backslashes and begins
     10042   # with a dollar sign (not a hyphen), so the echo should work correctly.
     10043   # The option is referenced via a variable to avoid confusing sed.
     10044   lt_compile=`echo "$ac_compile" | $SED \
     10045   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     10046   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     10047   -e 's:$: $lt_compiler_flag:'`
     10048   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     10049   (eval "$lt_compile" 2>conftest.err)
     10050   ac_status=$?
     10051   cat conftest.err >&5
     10052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10053   if (exit $ac_status) && test -s "$ac_outfile"; then
     10054     # The compiler can only warn and ignore the option if not recognized
     10055     # So say no if there are warnings other than the usual output.
     10056     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
     10057     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     10058     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
     10059       lt_cv_prog_compiler_pic_works=yes
     10060     fi
     10061   fi
     10062   $RM conftest*
     10063
     10064fi
     10065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
     10066$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
     10067
     10068if test yes = "$lt_cv_prog_compiler_pic_works"; then
     10069    case $lt_prog_compiler_pic in
     10070     "" | " "*) ;;
     10071     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
     10072     esac
     10073else
     10074    lt_prog_compiler_pic=
     10075     lt_prog_compiler_can_build_shared=no
     10076fi
     10077
     10078fi
     10079
     10080
     10081
     10082
     10083
     10084
     10085
     10086
     10087
     10088
     10089
     10090#
     10091# Check to make sure the static flag actually works.
     10092#
     10093wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
     10094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
     10095$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
     10096if ${lt_cv_prog_compiler_static_works+:} false; then :
     10097  $as_echo_n "(cached) " >&6
     10098else
     10099  lt_cv_prog_compiler_static_works=no
     10100   save_LDFLAGS=$LDFLAGS
     10101   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
     10102   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     10103   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
     10104     # The linker can only warn and ignore the option if not recognized
     10105     # So say no if there are warnings
     10106     if test -s conftest.err; then
     10107       # Append any errors to the config.log.
     10108       cat conftest.err 1>&5
     10109       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
     10110       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     10111       if diff conftest.exp conftest.er2 >/dev/null; then
     10112         lt_cv_prog_compiler_static_works=yes
     10113       fi
     10114     else
     10115       lt_cv_prog_compiler_static_works=yes
     10116     fi
     10117   fi
     10118   $RM -r conftest*
     10119   LDFLAGS=$save_LDFLAGS
     10120
     10121fi
     10122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
     10123$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
     10124
     10125if test yes = "$lt_cv_prog_compiler_static_works"; then
     10126    :
     10127else
     10128    lt_prog_compiler_static=
     10129fi
     10130
     10131
     10132
     10133
     10134
     10135
     10136
     10137  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     10138$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     10139if ${lt_cv_prog_compiler_c_o+:} false; then :
     10140  $as_echo_n "(cached) " >&6
     10141else
     10142  lt_cv_prog_compiler_c_o=no
     10143   $RM -r conftest 2>/dev/null
     10144   mkdir conftest
     10145   cd conftest
     10146   mkdir out
     10147   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     10148
     10149   lt_compiler_flag="-o out/conftest2.$ac_objext"
     10150   # Insert the option either (1) after the last *FLAGS variable, or
     10151   # (2) before a word containing "conftest.", or (3) at the end.
     10152   # Note that $ac_compile itself does not contain backslashes and begins
     10153   # with a dollar sign (not a hyphen), so the echo should work correctly.
     10154   lt_compile=`echo "$ac_compile" | $SED \
     10155   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     10156   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     10157   -e 's:$: $lt_compiler_flag:'`
     10158   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     10159   (eval "$lt_compile" 2>out/conftest.err)
     10160   ac_status=$?
     10161   cat out/conftest.err >&5
     10162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10163   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     10164   then
     10165     # The compiler can only warn and ignore the option if not recognized
     10166     # So say no if there are warnings
     10167     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     10168     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     10169     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     10170       lt_cv_prog_compiler_c_o=yes
     10171     fi
     10172   fi
     10173   chmod u+w . 2>&5
     10174   $RM conftest*
     10175   # SGI C++ compiler will create directory out/ii_files/ for
     10176   # template instantiation
     10177   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     10178   $RM out/* && rmdir out
     10179   cd ..
     10180   $RM -r conftest
     10181   $RM conftest*
     10182
     10183fi
     10184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
     10185$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
     10186
     10187
     10188
     10189
     10190
     10191
     10192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     10193$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     10194if ${lt_cv_prog_compiler_c_o+:} false; then :
     10195  $as_echo_n "(cached) " >&6
     10196else
     10197  lt_cv_prog_compiler_c_o=no
     10198   $RM -r conftest 2>/dev/null
     10199   mkdir conftest
     10200   cd conftest
     10201   mkdir out
     10202   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     10203
     10204   lt_compiler_flag="-o out/conftest2.$ac_objext"
     10205   # Insert the option either (1) after the last *FLAGS variable, or
     10206   # (2) before a word containing "conftest.", or (3) at the end.
     10207   # Note that $ac_compile itself does not contain backslashes and begins
     10208   # with a dollar sign (not a hyphen), so the echo should work correctly.
     10209   lt_compile=`echo "$ac_compile" | $SED \
     10210   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     10211   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     10212   -e 's:$: $lt_compiler_flag:'`
     10213   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     10214   (eval "$lt_compile" 2>out/conftest.err)
     10215   ac_status=$?
     10216   cat out/conftest.err >&5
     10217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10218   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     10219   then
     10220     # The compiler can only warn and ignore the option if not recognized
     10221     # So say no if there are warnings
     10222     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     10223     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     10224     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     10225       lt_cv_prog_compiler_c_o=yes
     10226     fi
     10227   fi
     10228   chmod u+w . 2>&5
     10229   $RM conftest*
     10230   # SGI C++ compiler will create directory out/ii_files/ for
     10231   # template instantiation
     10232   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     10233   $RM out/* && rmdir out
     10234   cd ..
     10235   $RM -r conftest
     10236   $RM conftest*
     10237
     10238fi
     10239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
     10240$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
     10241
     10242
     10243
     10244
     10245hard_links=nottested
     10246if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
     10247  # do not overwrite the value of need_locks provided by the user
     10248  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     10249$as_echo_n "checking if we can lock with hard links... " >&6; }
     10250  hard_links=yes
     10251  $RM conftest*
     10252  ln conftest.a conftest.b 2>/dev/null && hard_links=no
     10253  touch conftest.a
     10254  ln conftest.a conftest.b 2>&5 || hard_links=no
     10255  ln conftest.a conftest.b 2>/dev/null && hard_links=no
     10256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
     10257$as_echo "$hard_links" >&6; }
     10258  if test no = "$hard_links"; then
     10259    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
     10260$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
     10261    need_locks=warn
     10262  fi
     10263else
     10264  need_locks=no
     10265fi
     10266
     10267
     10268
     10269
     10270
     10271
     10272  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     10273$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
     10274
     10275  runpath_var=
     10276  allow_undefined_flag=
     10277  always_export_symbols=no
     10278  archive_cmds=
     10279  archive_expsym_cmds=
     10280  compiler_needs_object=no
     10281  enable_shared_with_static_runtimes=no
     10282  export_dynamic_flag_spec=
     10283  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     10284  hardcode_automatic=no
     10285  hardcode_direct=no
     10286  hardcode_direct_absolute=no
     10287  hardcode_libdir_flag_spec=
     10288  hardcode_libdir_separator=
     10289  hardcode_minus_L=no
     10290  hardcode_shlibpath_var=unsupported
     10291  inherit_rpath=no
     10292  link_all_deplibs=unknown
     10293  module_cmds=
     10294  module_expsym_cmds=
     10295  old_archive_from_new_cmds=
     10296  old_archive_from_expsyms_cmds=
     10297  thread_safe_flag_spec=
     10298  whole_archive_flag_spec=
     10299  # include_expsyms should be a list of space-separated symbols to be *always*
     10300  # included in the symbol list
     10301  include_expsyms=
     10302  # exclude_expsyms can be an extended regexp of symbols to exclude
     10303  # it will be wrapped by ' (' and ')$', so one must not match beginning or
     10304  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
     10305  # as well as any symbol that contains 'd'.
     10306  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
     10307  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     10308  # platforms (ab)use it in PIC code, but their linkers get confused if
     10309  # the symbol is explicitly referenced.  Since portable code cannot
     10310  # rely on this symbol name, it's probably fine to never include it in
     10311  # preloaded symbol tables.
     10312  # Exclude shared library initialization/finalization symbols.
     10313  extract_expsyms_cmds=
     10314
     10315  case $host_os in
     10316  cygwin* | mingw* | pw32* | cegcc*)
     10317    # FIXME: the MSVC++ port hasn't been tested in a loooong time
     10318    # When not using gcc, we currently assume that we are using
     10319    # Microsoft Visual C++.
     10320    if test yes != "$GCC"; then
     10321      with_gnu_ld=no
     10322    fi
     10323    ;;
     10324  interix*)
     10325    # we just hope/assume this is gcc and not c89 (= MSVC++)
     10326    with_gnu_ld=yes
     10327    ;;
     10328  openbsd* | bitrig*)
     10329    with_gnu_ld=no
     10330    ;;
     10331  linux* | k*bsd*-gnu | gnu*)
     10332    link_all_deplibs=no
     10333    ;;
     10334  esac
     10335
     10336  ld_shlibs=yes
     10337
     10338  # On some targets, GNU ld is compatible enough with the native linker
     10339  # that we're better off using the native interface for both.
     10340  lt_use_gnu_ld_interface=no
     10341  if test yes = "$with_gnu_ld"; then
     10342    case $host_os in
     10343      aix*)
     10344        # The AIX port of GNU ld has always aspired to compatibility
     10345        # with the native linker.  However, as the warning in the GNU ld
     10346        # block says, versions before 2.19.5* couldn't really create working
     10347        # shared libraries, regardless of the interface used.
     10348        case `$LD -v 2>&1` in
     10349          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
     10350          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
     10351          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
     10352          *)
     10353            lt_use_gnu_ld_interface=yes
     10354            ;;
     10355        esac
     10356        ;;
     10357      *)
     10358        lt_use_gnu_ld_interface=yes
     10359        ;;
     10360    esac
     10361  fi
     10362
     10363  if test yes = "$lt_use_gnu_ld_interface"; then
     10364    # If archive_cmds runs LD, not CC, wlarc should be empty
     10365    wlarc='$wl'
     10366
     10367    # Set some defaults for GNU ld with shared library support. These
     10368    # are reset later if shared libraries are not supported. Putting them
     10369    # here allows them to be overridden if necessary.
     10370    runpath_var=LD_RUN_PATH
     10371    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     10372    export_dynamic_flag_spec='$wl--export-dynamic'
     10373    # ancient GNU ld didn't support --whole-archive et. al.
     10374    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
     10375      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     10376    else
     10377      whole_archive_flag_spec=
     10378    fi
     10379    supports_anon_versioning=no
     10380    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
     10381      *GNU\ gold*) supports_anon_versioning=yes ;;
     10382      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
     10383      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
     10384      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
     10385      *\ 2.11.*) ;; # other 2.11 versions
     10386      *) supports_anon_versioning=yes ;;
     10387    esac
     10388
     10389    # See if GNU ld supports shared libraries.
     10390    case $host_os in
     10391    aix[3-9]*)
     10392      # On AIX/PPC, the GNU linker is very broken
     10393      if test ia64 != "$host_cpu"; then
     10394        ld_shlibs=no
     10395        cat <<_LT_EOF 1>&2
     10396
     10397*** Warning: the GNU linker, at least up to release 2.19, is reported
     10398*** to be unable to reliably create shared libraries on AIX.
     10399*** Therefore, libtool is disabling shared libraries support.  If you
     10400*** really care for shared libraries, you may want to install binutils
     10401*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
     10402*** You will then need to restart the configuration process.
     10403
     10404_LT_EOF
     10405      fi
     10406      ;;
     10407
     10408    amigaos*)
     10409      case $host_cpu in
     10410      powerpc)
     10411            # see comment about AmigaOS4 .so support
     10412            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10413            archive_expsym_cmds=''
     10414        ;;
     10415      m68k)
     10416            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)'
     10417            hardcode_libdir_flag_spec='-L$libdir'
     10418            hardcode_minus_L=yes
     10419        ;;
     10420      esac
     10421      ;;
     10422
     10423    beos*)
     10424      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     10425        allow_undefined_flag=unsupported
     10426        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
     10427        # support --undefined.  This deserves some investigation.  FIXME
     10428        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10429      else
     10430        ld_shlibs=no
     10431      fi
     10432      ;;
     10433
     10434    cygwin* | mingw* | pw32* | cegcc*)
     10435      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
     10436      # as there is no search path for DLLs.
     10437      hardcode_libdir_flag_spec='-L$libdir'
     10438      export_dynamic_flag_spec='$wl--export-all-symbols'
     10439      allow_undefined_flag=unsupported
     10440      always_export_symbols=no
     10441      enable_shared_with_static_runtimes=yes
     10442      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'
     10443      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
     10444
     10445      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
     10446        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     10447        # If the export-symbols file already is a .def file, use it as
     10448        # is; otherwise, prepend EXPORTS...
     10449        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     10450          cp $export_symbols $output_objdir/$soname.def;
     10451        else
     10452          echo EXPORTS > $output_objdir/$soname.def;
     10453          cat $export_symbols >> $output_objdir/$soname.def;
     10454        fi~
     10455        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     10456      else
     10457        ld_shlibs=no
     10458      fi
     10459      ;;
     10460
     10461    haiku*)
     10462      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10463      link_all_deplibs=yes
     10464      ;;
     10465
     10466    os2*)
     10467      hardcode_libdir_flag_spec='-L$libdir'
     10468      hardcode_minus_L=yes
     10469      allow_undefined_flag=unsupported
     10470      shrext_cmds=.dll
     10471      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     10472        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     10473        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     10474        $ECHO EXPORTS >> $output_objdir/$libname.def~
     10475        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     10476        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     10477        emximp -o $lib $output_objdir/$libname.def'
     10478      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     10479        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     10480        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     10481        $ECHO EXPORTS >> $output_objdir/$libname.def~
     10482        prefix_cmds="$SED"~
     10483        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     10484          prefix_cmds="$prefix_cmds -e 1d";
     10485        fi~
     10486        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     10487        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     10488        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     10489        emximp -o $lib $output_objdir/$libname.def'
     10490      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     10491      enable_shared_with_static_runtimes=yes
     10492      ;;
     10493
     10494    interix[3-9]*)
     10495      hardcode_direct=no
     10496      hardcode_shlibpath_var=no
     10497      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
     10498      export_dynamic_flag_spec='$wl-E'
     10499      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
     10500      # Instead, shared libraries are loaded at an image base (0x10000000 by
     10501      # default) and relocated if they conflict, which is a slow very memory
     10502      # consuming and fragmenting process.  To avoid this, we pick a random,
     10503      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
     10504      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
     10505      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     10506      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'
     10507      ;;
     10508
     10509    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
     10510      tmp_diet=no
     10511      if test linux-dietlibc = "$host_os"; then
     10512        case $cc_basename in
     10513          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
     10514        esac
     10515      fi
     10516      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
     10517         && test no = "$tmp_diet"
     10518      then
     10519        tmp_addflag=' $pic_flag'
     10520        tmp_sharedflag='-shared'
     10521        case $cc_basename,$host_cpu in
     10522        pgcc*)                          # Portland Group C compiler
     10523          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'
     10524          tmp_addflag=' $pic_flag'
     10525          ;;
     10526        pgf77* | pgf90* | pgf95* | pgfortran*)
     10527                                        # Portland Group f77 and f90 compilers
     10528          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'
     10529          tmp_addflag=' $pic_flag -Mnomain' ;;
     10530        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
     10531          tmp_addflag=' -i_dynamic' ;;
     10532        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
     10533          tmp_addflag=' -i_dynamic -nofor_main' ;;
     10534        ifc* | ifort*)                  # Intel Fortran compiler
     10535          tmp_addflag=' -nofor_main' ;;
     10536        lf95*)                          # Lahey Fortran 8.1
     10537          whole_archive_flag_spec=
     10538          tmp_sharedflag='--shared' ;;
     10539        nagfor*)                        # NAGFOR 5.3
     10540          tmp_sharedflag='-Wl,-shared' ;;
     10541        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
     10542          tmp_sharedflag='-qmkshrobj'
     10543          tmp_addflag= ;;
     10544        nvcc*)  # Cuda Compiler Driver 2.2
     10545          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'
     10546          compiler_needs_object=yes
     10547          ;;
     10548        esac
     10549        case `$CC -V 2>&1 | sed 5q` in
     10550        *Sun\ C*)                       # Sun C 5.9
     10551          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'
     10552          compiler_needs_object=yes
     10553          tmp_sharedflag='-G' ;;
     10554        *Sun\ F*)                       # Sun Fortran 8.3
     10555          tmp_sharedflag='-G' ;;
     10556        esac
     10557        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10558
     10559        if test yes = "$supports_anon_versioning"; then
     10560          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
     10561            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     10562            echo "local: *; };" >> $output_objdir/$libname.ver~
     10563            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
     10564        fi
     10565
     10566        case $cc_basename in
     10567        tcc*)
     10568          export_dynamic_flag_spec='-rdynamic'
     10569          ;;
     10570        xlf* | bgf* | bgxlf* | mpixlf*)
     10571          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
     10572          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
     10573          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     10574          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
     10575          if test yes = "$supports_anon_versioning"; then
     10576            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
     10577              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     10578              echo "local: *; };" >> $output_objdir/$libname.ver~
     10579              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
     10580          fi
     10581          ;;
     10582        esac
     10583      else
     10584        ld_shlibs=no
     10585      fi
     10586      ;;
     10587
     10588    netbsd* | netbsdelf*-gnu)
     10589      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
     10590        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
     10591        wlarc=
     10592      else
     10593        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10594        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     10595      fi
     10596      ;;
     10597
     10598    solaris*)
     10599      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
     10600        ld_shlibs=no
     10601        cat <<_LT_EOF 1>&2
     10602
     10603*** Warning: The releases 2.8.* of the GNU linker cannot reliably
     10604*** create shared libraries on Solaris systems.  Therefore, libtool
     10605*** is disabling shared libraries support.  We urge you to upgrade GNU
     10606*** binutils to release 2.9.1 or newer.  Another option is to modify
     10607*** your PATH or compiler configuration so that the native linker is
     10608*** used, and then restart.
     10609
     10610_LT_EOF
     10611      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     10612        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10613        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     10614      else
     10615        ld_shlibs=no
     10616      fi
     10617      ;;
     10618
     10619    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
     10620      case `$LD -v 2>&1` in
     10621        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
     10622        ld_shlibs=no
     10623        cat <<_LT_EOF 1>&2
     10624
     10625*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
     10626*** reliably create shared libraries on SCO systems.  Therefore, libtool
     10627*** is disabling shared libraries support.  We urge you to upgrade GNU
     10628*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
     10629*** your PATH or compiler configuration so that the native linker is
     10630*** used, and then restart.
     10631
     10632_LT_EOF
     10633        ;;
     10634        *)
     10635          # For security reasons, it is highly recommended that you always
     10636          # use absolute paths for naming shared libraries, and exclude the
     10637          # DT_RUNPATH tag from executables and libraries.  But doing so
     10638          # requires that you compile everything twice, which is a pain.
     10639          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     10640            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     10641            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10642            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     10643          else
     10644            ld_shlibs=no
     10645          fi
     10646        ;;
     10647      esac
     10648      ;;
     10649
     10650    sunos4*)
     10651      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     10652      wlarc=
     10653      hardcode_direct=yes
     10654      hardcode_shlibpath_var=no
     10655      ;;
     10656
     10657    *)
     10658      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     10659        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10660        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     10661      else
     10662        ld_shlibs=no
     10663      fi
     10664      ;;
     10665    esac
     10666
     10667    if test no = "$ld_shlibs"; then
     10668      runpath_var=
     10669      hardcode_libdir_flag_spec=
     10670      export_dynamic_flag_spec=
     10671      whole_archive_flag_spec=
     10672    fi
     10673  else
     10674    # PORTME fill in a description of your system's linker (not GNU ld)
     10675    case $host_os in
     10676    aix3*)
     10677      allow_undefined_flag=unsupported
     10678      always_export_symbols=yes
     10679      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'
     10680      # Note: this linker hardcodes the directories in LIBPATH if there
     10681      # are no directories specified by -L.
     10682      hardcode_minus_L=yes
     10683      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
     10684        # Neither direct hardcoding nor static linking is supported with a
     10685        # broken collect2.
     10686        hardcode_direct=unsupported
     10687      fi
     10688      ;;
     10689
     10690    aix[4-9]*)
     10691      if test ia64 = "$host_cpu"; then
     10692        # On IA64, the linker does run time linking by default, so we don't
     10693        # have to do anything special.
     10694        aix_use_runtimelinking=no
     10695        exp_sym_flag='-Bexport'
     10696        no_entry_flag=
     10697      else
     10698        # If we're using GNU nm, then we don't want the "-C" option.
     10699        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     10700        # Without the "-l" option, or with the "-B" option, AIX nm treats
     10701        # weak defined symbols like other global defined symbols, whereas
     10702        # GNU nm marks them as "W".
     10703        # While the 'weak' keyword is ignored in the Export File, we need
     10704        # it in the Import File for the 'aix-soname' feature, so we have
     10705        # to replace the "-B" option with "-P" for AIX nm.
     10706        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
     10707          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
     10708        else
     10709          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
     10710        fi
     10711        aix_use_runtimelinking=no
     10712
     10713        # Test if we are trying to use run time linking or normal
     10714        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
     10715        # have runtime linking enabled, and use it for executables.
     10716        # For shared libraries, we enable/disable runtime linking
     10717        # depending on the kind of the shared library created -
     10718        # when "with_aix_soname,aix_use_runtimelinking" is:
     10719        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
     10720        # "aix,yes"  lib.so          shared, rtl:yes, for executables
     10721        #            lib.a           static archive
     10722        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
     10723        #            lib.a(lib.so.V) shared, rtl:no,  for executables
     10724        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
     10725        #            lib.a(lib.so.V) shared, rtl:no
     10726        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
     10727        #            lib.a           static archive
     10728        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
     10729          for ld_flag in $LDFLAGS; do
     10730          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
     10731            aix_use_runtimelinking=yes
     10732            break
     10733          fi
     10734          done
     10735          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
     10736            # With aix-soname=svr4, we create the lib.so.V shared archives only,
     10737            # so we don't have lib.a shared libs to link our executables.
     10738            # We have to force runtime linking in this case.
     10739            aix_use_runtimelinking=yes
     10740            LDFLAGS="$LDFLAGS -Wl,-brtl"
     10741          fi
     10742          ;;
     10743        esac
     10744
     10745        exp_sym_flag='-bexport'
     10746        no_entry_flag='-bnoentry'
     10747      fi
     10748
     10749      # When large executables or shared objects are built, AIX ld can
     10750      # have problems creating the table of contents.  If linking a library
     10751      # or program results in "error TOC overflow" add -mminimal-toc to
     10752      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
     10753      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
     10754
     10755      archive_cmds=''
     10756      hardcode_direct=yes
     10757      hardcode_direct_absolute=yes
     10758      hardcode_libdir_separator=':'
     10759      link_all_deplibs=yes
     10760      file_list_spec='$wl-f,'
     10761      case $with_aix_soname,$aix_use_runtimelinking in
     10762      aix,*) ;; # traditional, no import file
     10763      svr4,* | *,yes) # use import file
     10764        # The Import File defines what to hardcode.
     10765        hardcode_direct=no
     10766        hardcode_direct_absolute=no
     10767        ;;
     10768      esac
     10769
     10770      if test yes = "$GCC"; then
     10771        case $host_os in aix4.[012]|aix4.[012].*)
     10772        # We only want to do this on AIX 4.2 and lower, the check
     10773        # below for broken collect2 doesn't work under 4.3+
     10774          collect2name=`$CC -print-prog-name=collect2`
     10775          if test -f "$collect2name" &&
     10776           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     10777          then
     10778          # We have reworked collect2
     10779          :
     10780          else
     10781          # We have old collect2
     10782          hardcode_direct=unsupported
     10783          # It fails to find uninstalled libraries when the uninstalled
     10784          # path is not listed in the libpath.  Setting hardcode_minus_L
     10785          # to unsupported forces relinking
     10786          hardcode_minus_L=yes
     10787          hardcode_libdir_flag_spec='-L$libdir'
     10788          hardcode_libdir_separator=
     10789          fi
     10790          ;;
     10791        esac
     10792        shared_flag='-shared'
     10793        if test yes = "$aix_use_runtimelinking"; then
     10794          shared_flag="$shared_flag "'$wl-G'
     10795        fi
     10796        # Need to ensure runtime linking is disabled for the traditional
     10797        # shared library, or the linker may eventually find shared libraries
     10798        # /with/ Import File - we do not want to mix them.
     10799        shared_flag_aix='-shared'
     10800        shared_flag_svr4='-shared $wl-G'
     10801      else
     10802        # not using gcc
     10803        if test ia64 = "$host_cpu"; then
     10804        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
     10805        # chokes on -Wl,-G. The following line is correct:
     10806          shared_flag='-G'
     10807        else
     10808          if test yes = "$aix_use_runtimelinking"; then
     10809            shared_flag='$wl-G'
     10810          else
     10811            shared_flag='$wl-bM:SRE'
     10812          fi
     10813          shared_flag_aix='$wl-bM:SRE'
     10814          shared_flag_svr4='$wl-G'
     10815        fi
     10816      fi
     10817
     10818      export_dynamic_flag_spec='$wl-bexpall'
     10819      # It seems that -bexpall does not export symbols beginning with
     10820      # underscore (_), so it is better to generate a list of symbols to export.
     10821      always_export_symbols=yes
     10822      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
     10823        # Warning - without using the other runtime loading flags (-brtl),
     10824        # -berok will link without error, but may produce a broken library.
     10825        allow_undefined_flag='-berok'
     10826        # Determine the default libpath from the value encoded in an
     10827        # empty executable.
     10828        if test set = "${lt_cv_aix_libpath+set}"; then
     10829  aix_libpath=$lt_cv_aix_libpath
     10830else
     10831  if ${lt_cv_aix_libpath_+:} false; then :
     10832  $as_echo_n "(cached) " >&6
     10833else
     10834  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     10835/* end confdefs.h.  */
     10836
     10837int
     10838main ()
     10839{
     10840
     10841  ;
     10842  return 0;
     10843}
     10844_ACEOF
     10845if ac_fn_c_try_link "$LINENO"; then :
     10846
     10847  lt_aix_libpath_sed='
     10848      /Import File Strings/,/^$/ {
     10849          /^0/ {
     10850              s/^0  *\([^ ]*\) *$/\1/
     10851              p
     10852          }
     10853      }'
     10854  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     10855  # Check for a 64-bit object if we didn't find anything.
     10856  if test -z "$lt_cv_aix_libpath_"; then
     10857    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     10858  fi
     10859fi
     10860rm -f core conftest.err conftest.$ac_objext \
     10861    conftest$ac_exeext conftest.$ac_ext
     10862  if test -z "$lt_cv_aix_libpath_"; then
     10863    lt_cv_aix_libpath_=/usr/lib:/lib
     10864  fi
     10865
     10866fi
     10867
     10868  aix_libpath=$lt_cv_aix_libpath_
     10869fi
     10870
     10871        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
     10872        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
     10873      else
     10874        if test ia64 = "$host_cpu"; then
     10875          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
     10876          allow_undefined_flag="-z nodefs"
     10877          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"
     10878        else
     10879         # Determine the default libpath from the value encoded in an
     10880         # empty executable.
     10881         if test set = "${lt_cv_aix_libpath+set}"; then
     10882  aix_libpath=$lt_cv_aix_libpath
     10883else
     10884  if ${lt_cv_aix_libpath_+:} false; then :
     10885  $as_echo_n "(cached) " >&6
     10886else
     10887  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     10888/* end confdefs.h.  */
     10889
     10890int
     10891main ()
     10892{
     10893
     10894  ;
     10895  return 0;
     10896}
     10897_ACEOF
     10898if ac_fn_c_try_link "$LINENO"; then :
     10899
     10900  lt_aix_libpath_sed='
     10901      /Import File Strings/,/^$/ {
     10902          /^0/ {
     10903              s/^0  *\([^ ]*\) *$/\1/
     10904              p
     10905          }
     10906      }'
     10907  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     10908  # Check for a 64-bit object if we didn't find anything.
     10909  if test -z "$lt_cv_aix_libpath_"; then
     10910    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     10911  fi
     10912fi
     10913rm -f core conftest.err conftest.$ac_objext \
     10914    conftest$ac_exeext conftest.$ac_ext
     10915  if test -z "$lt_cv_aix_libpath_"; then
     10916    lt_cv_aix_libpath_=/usr/lib:/lib
     10917  fi
     10918
     10919fi
     10920
     10921  aix_libpath=$lt_cv_aix_libpath_
     10922fi
     10923
     10924         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
     10925          # Warning - without using the other run time loading flags,
     10926          # -berok will link without error, but may produce a broken library.
     10927          no_undefined_flag=' $wl-bernotok'
     10928          allow_undefined_flag=' $wl-berok'
     10929          if test yes = "$with_gnu_ld"; then
     10930            # We only use this code for GNU lds that support --whole-archive.
     10931            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
     10932          else
     10933            # Exported symbols can be pulled into shared objects from archives
     10934            whole_archive_flag_spec='$convenience'
     10935          fi
     10936          archive_cmds_need_lc=yes
     10937          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
     10938          # -brtl affects multiple linker settings, -berok does not and is overridden later
     10939          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
     10940          if test svr4 != "$with_aix_soname"; then
     10941            # This is similar to how AIX traditionally builds its shared libraries.
     10942            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
     10943          fi
     10944          if test aix != "$with_aix_soname"; then
     10945            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
     10946          else
     10947            # used by -dlpreopen to get the symbols
     10948            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
     10949          fi
     10950          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
     10951        fi
     10952      fi
     10953      ;;
     10954
     10955    amigaos*)
     10956      case $host_cpu in
     10957      powerpc)
     10958            # see comment about AmigaOS4 .so support
     10959            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10960            archive_expsym_cmds=''
     10961        ;;
     10962      m68k)
     10963            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)'
     10964            hardcode_libdir_flag_spec='-L$libdir'
     10965            hardcode_minus_L=yes
     10966        ;;
     10967      esac
     10968      ;;
     10969
     10970    bsdi[45]*)
     10971      export_dynamic_flag_spec=-rdynamic
     10972      ;;
     10973
     10974    cygwin* | mingw* | pw32* | cegcc*)
     10975      # When not using gcc, we currently assume that we are using
     10976      # Microsoft Visual C++.
     10977      # hardcode_libdir_flag_spec is actually meaningless, as there is
     10978      # no search path for DLLs.
     10979      case $cc_basename in
     10980      cl*)
     10981        # Native MSVC
     10982        hardcode_libdir_flag_spec=' '
     10983        allow_undefined_flag=unsupported
     10984        always_export_symbols=yes
     10985        file_list_spec='@'
     10986        # Tell ltmain to make .lib files, not .a files.
     10987        libext=lib
     10988        # Tell ltmain to make .dll files, not .so files.
     10989        shrext_cmds=.dll
     10990        # FIXME: Setting linknames here is a bad hack.
     10991        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
     10992        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     10993            cp "$export_symbols" "$output_objdir/$soname.def";
     10994            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
     10995          else
     10996            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
     10997          fi~
     10998          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     10999          linknames='
     11000        # The linker will not automatically build a static lib if we build a DLL.
     11001        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
     11002        enable_shared_with_static_runtimes=yes
     11003        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
     11004        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
     11005        # Don't use ranlib
     11006        old_postinstall_cmds='chmod 644 $oldlib'
     11007        postlink_cmds='lt_outputfile="@OUTPUT@"~
     11008          lt_tool_outputfile="@TOOL_OUTPUT@"~
     11009          case $lt_outputfile in
     11010            *.exe|*.EXE) ;;
     11011            *)
     11012              lt_outputfile=$lt_outputfile.exe
     11013              lt_tool_outputfile=$lt_tool_outputfile.exe
     11014              ;;
     11015          esac~
     11016          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
     11017            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     11018            $RM "$lt_outputfile.manifest";
     11019          fi'
     11020        ;;
     11021      *)
     11022        # Assume MSVC wrapper
     11023        hardcode_libdir_flag_spec=' '
     11024        allow_undefined_flag=unsupported
     11025        # Tell ltmain to make .lib files, not .a files.
     11026        libext=lib
     11027        # Tell ltmain to make .dll files, not .so files.
     11028        shrext_cmds=.dll
     11029        # FIXME: Setting linknames here is a bad hack.
     11030        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
     11031        # The linker will automatically build a .lib file if we build a DLL.
     11032        old_archive_from_new_cmds='true'
     11033        # FIXME: Should let the user specify the lib program.
     11034        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
     11035        enable_shared_with_static_runtimes=yes
     11036        ;;
     11037      esac
     11038      ;;
     11039
     11040    darwin* | rhapsody*)
     11041
     11042
     11043  archive_cmds_need_lc=no
     11044  hardcode_direct=no
     11045  hardcode_automatic=yes
     11046  hardcode_shlibpath_var=unsupported
     11047  if test yes = "$lt_cv_ld_force_load"; then
     11048    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\"`'
     11049
     11050  else
     11051    whole_archive_flag_spec=''
     11052  fi
     11053  link_all_deplibs=yes
     11054  allow_undefined_flag=$_lt_dar_allow_undefined
     11055  case $cc_basename in
     11056     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
     11057     *) _lt_dar_can_shared=$GCC ;;
     11058  esac
     11059  if test yes = "$_lt_dar_can_shared"; then
     11060    output_verbose_link_cmd=func_echo_all
     11061    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
     11062    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
     11063    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"
     11064    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"
     11065
     11066  else
     11067  ld_shlibs=no
     11068  fi
     11069
     11070      ;;
     11071
     11072    dgux*)
     11073      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     11074      hardcode_libdir_flag_spec='-L$libdir'
     11075      hardcode_shlibpath_var=no
     11076      ;;
     11077
     11078    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     11079    # support.  Future versions do this automatically, but an explicit c++rt0.o
     11080    # does not break anything, and helps significantly (at the cost of a little
     11081    # extra space).
     11082    freebsd2.2*)
     11083      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
     11084      hardcode_libdir_flag_spec='-R$libdir'
     11085      hardcode_direct=yes
     11086      hardcode_shlibpath_var=no
     11087      ;;
     11088
     11089    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
     11090    freebsd2.*)
     11091      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     11092      hardcode_direct=yes
     11093      hardcode_minus_L=yes
     11094      hardcode_shlibpath_var=no
     11095      ;;
     11096
     11097    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
     11098    freebsd* | dragonfly*)
     11099      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     11100      hardcode_libdir_flag_spec='-R$libdir'
     11101      hardcode_direct=yes
     11102      hardcode_shlibpath_var=no
     11103      ;;
     11104
     11105    hpux9*)
     11106      if test yes = "$GCC"; then
     11107        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     11108      else
     11109        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     11110      fi
     11111      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
     11112      hardcode_libdir_separator=:
     11113      hardcode_direct=yes
     11114
     11115      # hardcode_minus_L: Not really in the search PATH,
     11116      # but as the default location of the library.
     11117      hardcode_minus_L=yes
     11118      export_dynamic_flag_spec='$wl-E'
     11119      ;;
     11120
     11121    hpux10*)
     11122      if test yes,no = "$GCC,$with_gnu_ld"; then
     11123        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     11124      else
     11125        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
     11126      fi
     11127      if test no = "$with_gnu_ld"; then
     11128        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
     11129        hardcode_libdir_separator=:
     11130        hardcode_direct=yes
     11131        hardcode_direct_absolute=yes
     11132        export_dynamic_flag_spec='$wl-E'
     11133        # hardcode_minus_L: Not really in the search PATH,
     11134        # but as the default location of the library.
     11135        hardcode_minus_L=yes
     11136      fi
     11137      ;;
     11138
     11139    hpux11*)
     11140      if test yes,no = "$GCC,$with_gnu_ld"; then
     11141        case $host_cpu in
     11142        hppa*64*)
     11143          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
     11144          ;;
     11145        ia64*)
     11146          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     11147          ;;
     11148        *)
     11149          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     11150          ;;
     11151        esac
     11152      else
     11153        case $host_cpu in
     11154        hppa*64*)
     11155          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
     11156          ;;
     11157        ia64*)
     11158          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     11159          ;;
     11160        *)
     11161
     11162          # Older versions of the 11.00 compiler do not understand -b yet
     11163          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
     11164          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
     11165$as_echo_n "checking if $CC understands -b... " >&6; }
     11166if ${lt_cv_prog_compiler__b+:} false; then :
     11167  $as_echo_n "(cached) " >&6
     11168else
     11169  lt_cv_prog_compiler__b=no
     11170   save_LDFLAGS=$LDFLAGS
     11171   LDFLAGS="$LDFLAGS -b"
     11172   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     11173   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
     11174     # The linker can only warn and ignore the option if not recognized
     11175     # So say no if there are warnings
     11176     if test -s conftest.err; then
     11177       # Append any errors to the config.log.
     11178       cat conftest.err 1>&5
     11179       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
     11180       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     11181       if diff conftest.exp conftest.er2 >/dev/null; then
     11182         lt_cv_prog_compiler__b=yes
     11183       fi
     11184     else
     11185       lt_cv_prog_compiler__b=yes
     11186     fi
     11187   fi
     11188   $RM -r conftest*
     11189   LDFLAGS=$save_LDFLAGS
     11190
     11191fi
     11192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
     11193$as_echo "$lt_cv_prog_compiler__b" >&6; }
     11194
     11195if test yes = "$lt_cv_prog_compiler__b"; then
     11196    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     11197else
     11198    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
     11199fi
     11200
     11201          ;;
     11202        esac
     11203      fi
     11204      if test no = "$with_gnu_ld"; then
     11205        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
     11206        hardcode_libdir_separator=:
     11207
     11208        case $host_cpu in
     11209        hppa*64*|ia64*)
     11210          hardcode_direct=no
     11211          hardcode_shlibpath_var=no
     11212          ;;
     11213        *)
     11214          hardcode_direct=yes
     11215          hardcode_direct_absolute=yes
     11216          export_dynamic_flag_spec='$wl-E'
     11217
     11218          # hardcode_minus_L: Not really in the search PATH,
     11219          # but as the default location of the library.
     11220          hardcode_minus_L=yes
     11221          ;;
     11222        esac
     11223      fi
     11224      ;;
     11225
     11226    irix5* | irix6* | nonstopux*)
     11227      if test yes = "$GCC"; then
     11228        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'
     11229        # Try to use the -exported_symbol ld option, if it does not
     11230        # work, assume that -exports_file does not work either and
     11231        # implicitly export all symbols.
     11232        # This should be the same for all languages, so no per-tag cache variable.
     11233        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
     11234$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
     11235if ${lt_cv_irix_exported_symbol+:} false; then :
     11236  $as_echo_n "(cached) " >&6
     11237else
     11238  save_LDFLAGS=$LDFLAGS
     11239           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
     11240           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11241/* end confdefs.h.  */
     11242int foo (void) { return 0; }
     11243_ACEOF
     11244if ac_fn_c_try_link "$LINENO"; then :
     11245  lt_cv_irix_exported_symbol=yes
     11246else
     11247  lt_cv_irix_exported_symbol=no
     11248fi
     11249rm -f core conftest.err conftest.$ac_objext \
     11250    conftest$ac_exeext conftest.$ac_ext
     11251           LDFLAGS=$save_LDFLAGS
     11252fi
     11253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
     11254$as_echo "$lt_cv_irix_exported_symbol" >&6; }
     11255        if test yes = "$lt_cv_irix_exported_symbol"; then
     11256          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'
     11257        fi
     11258        link_all_deplibs=no
     11259      else
     11260        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'
     11261        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'
     11262      fi
     11263      archive_cmds_need_lc='no'
     11264      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     11265      hardcode_libdir_separator=:
     11266      inherit_rpath=yes
     11267      link_all_deplibs=yes
     11268      ;;
     11269
     11270    linux*)
     11271      case $cc_basename in
     11272      tcc*)
     11273        # Fabrice Bellard et al's Tiny C Compiler
     11274        ld_shlibs=yes
     11275        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     11276        ;;
     11277      esac
     11278      ;;
     11279
     11280    netbsd* | netbsdelf*-gnu)
     11281      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
     11282        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
     11283      else
     11284        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
     11285      fi
     11286      hardcode_libdir_flag_spec='-R$libdir'
     11287      hardcode_direct=yes
     11288      hardcode_shlibpath_var=no
     11289      ;;
     11290
     11291    newsos6)
     11292      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     11293      hardcode_direct=yes
     11294      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     11295      hardcode_libdir_separator=:
     11296      hardcode_shlibpath_var=no
     11297      ;;
     11298
     11299    *nto* | *qnx*)
     11300      ;;
     11301
     11302    openbsd* | bitrig*)
     11303      if test -f /usr/libexec/ld.so; then
     11304        hardcode_direct=yes
     11305        hardcode_shlibpath_var=no
     11306        hardcode_direct_absolute=yes
     11307        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     11308          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     11309          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
     11310          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
     11311          export_dynamic_flag_spec='$wl-E'
     11312        else
     11313          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     11314          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
     11315        fi
     11316      else
     11317        ld_shlibs=no
     11318      fi
     11319      ;;
     11320
     11321    os2*)
     11322      hardcode_libdir_flag_spec='-L$libdir'
     11323      hardcode_minus_L=yes
     11324      allow_undefined_flag=unsupported
     11325      shrext_cmds=.dll
     11326      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     11327        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     11328        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     11329        $ECHO EXPORTS >> $output_objdir/$libname.def~
     11330        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     11331        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     11332        emximp -o $lib $output_objdir/$libname.def'
     11333      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     11334        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     11335        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     11336        $ECHO EXPORTS >> $output_objdir/$libname.def~
     11337        prefix_cmds="$SED"~
     11338        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     11339          prefix_cmds="$prefix_cmds -e 1d";
     11340        fi~
     11341        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     11342        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     11343        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     11344        emximp -o $lib $output_objdir/$libname.def'
     11345      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     11346      enable_shared_with_static_runtimes=yes
     11347      ;;
     11348
     11349    osf3*)
     11350      if test yes = "$GCC"; then
     11351        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
     11352        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'
     11353      else
     11354        allow_undefined_flag=' -expect_unresolved \*'
     11355        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'
     11356      fi
     11357      archive_cmds_need_lc='no'
     11358      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     11359      hardcode_libdir_separator=:
     11360      ;;
     11361
     11362    osf4* | osf5*)      # as osf3* with the addition of -msym flag
     11363      if test yes = "$GCC"; then
     11364        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
     11365        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'
     11366        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     11367      else
     11368        allow_undefined_flag=' -expect_unresolved \*'
     11369        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'
     11370        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~
     11371          $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'
     11372
     11373        # Both c and cxx compiler support -rpath directly
     11374        hardcode_libdir_flag_spec='-rpath $libdir'
     11375      fi
     11376      archive_cmds_need_lc='no'
     11377      hardcode_libdir_separator=:
     11378      ;;
     11379
     11380    solaris*)
     11381      no_undefined_flag=' -z defs'
     11382      if test yes = "$GCC"; then
     11383        wlarc='$wl'
     11384        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
     11385        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     11386          $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'
     11387      else
     11388        case `$CC -V 2>&1` in
     11389        *"Compilers 5.0"*)
     11390          wlarc=''
     11391          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
     11392          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     11393            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
     11394          ;;
     11395        *)
     11396          wlarc='$wl'
     11397          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
     11398          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     11399            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
     11400          ;;
     11401        esac
     11402      fi
     11403      hardcode_libdir_flag_spec='-R$libdir'
     11404      hardcode_shlibpath_var=no
     11405      case $host_os in
     11406      solaris2.[0-5] | solaris2.[0-5].*) ;;
     11407      *)
     11408        # The compiler driver will combine and reorder linker options,
     11409        # but understands '-z linker_flag'.  GCC discards it without '$wl',
     11410        # but is careful enough not to reorder.
     11411        # Supported since Solaris 2.6 (maybe 2.5.1?)
     11412        if test yes = "$GCC"; then
     11413          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
     11414        else
     11415          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
     11416        fi
     11417        ;;
     11418      esac
     11419      link_all_deplibs=yes
     11420      ;;
     11421
     11422    sunos4*)
     11423      if test sequent = "$host_vendor"; then
     11424        # Use $CC to link under sequent, because it throws in some extra .o
     11425        # files that make .init and .fini sections work.
     11426        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
     11427      else
     11428        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
     11429      fi
     11430      hardcode_libdir_flag_spec='-L$libdir'
     11431      hardcode_direct=yes
     11432      hardcode_minus_L=yes
     11433      hardcode_shlibpath_var=no
     11434      ;;
     11435
     11436    sysv4)
     11437      case $host_vendor in
     11438        sni)
     11439          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     11440          hardcode_direct=yes # is this really true???
     11441        ;;
     11442        siemens)
     11443          ## LD is ld it makes a PLAMLIB
     11444          ## CC just makes a GrossModule.
     11445          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
     11446          reload_cmds='$CC -r -o $output$reload_objs'
     11447          hardcode_direct=no
     11448        ;;
     11449        motorola)
     11450          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     11451          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
     11452        ;;
     11453      esac
     11454      runpath_var='LD_RUN_PATH'
     11455      hardcode_shlibpath_var=no
     11456      ;;
     11457
     11458    sysv4.3*)
     11459      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     11460      hardcode_shlibpath_var=no
     11461      export_dynamic_flag_spec='-Bexport'
     11462      ;;
     11463
     11464    sysv4*MP*)
     11465      if test -d /usr/nec; then
     11466        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     11467        hardcode_shlibpath_var=no
     11468        runpath_var=LD_RUN_PATH
     11469        hardcode_runpath_var=yes
     11470        ld_shlibs=yes
     11471      fi
     11472      ;;
     11473
     11474    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
     11475      no_undefined_flag='$wl-z,text'
     11476      archive_cmds_need_lc=no
     11477      hardcode_shlibpath_var=no
     11478      runpath_var='LD_RUN_PATH'
     11479
     11480      if test yes = "$GCC"; then
     11481        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11482        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11483      else
     11484        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11485        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11486      fi
     11487      ;;
     11488
     11489    sysv5* | sco3.2v5* | sco5v6*)
     11490      # Note: We CANNOT use -z defs as we might desire, because we do not
     11491      # link with -lc, and that would cause any symbols used from libc to
     11492      # always be unresolved, which means just about no library would
     11493      # ever link correctly.  If we're not using GNU ld we use -z text
     11494      # though, which does catch some bad symbols but isn't as heavy-handed
     11495      # as -z defs.
     11496      no_undefined_flag='$wl-z,text'
     11497      allow_undefined_flag='$wl-z,nodefs'
     11498      archive_cmds_need_lc=no
     11499      hardcode_shlibpath_var=no
     11500      hardcode_libdir_flag_spec='$wl-R,$libdir'
     11501      hardcode_libdir_separator=':'
     11502      link_all_deplibs=yes
     11503      export_dynamic_flag_spec='$wl-Bexport'
     11504      runpath_var='LD_RUN_PATH'
     11505
     11506      if test yes = "$GCC"; then
     11507        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11508        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11509      else
     11510        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11511        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11512      fi
     11513      ;;
     11514
     11515    uts4*)
     11516      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     11517      hardcode_libdir_flag_spec='-L$libdir'
     11518      hardcode_shlibpath_var=no
     11519      ;;
     11520
     11521    *)
     11522      ld_shlibs=no
     11523      ;;
     11524    esac
     11525
     11526    if test sni = "$host_vendor"; then
     11527      case $host in
     11528      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
     11529        export_dynamic_flag_spec='$wl-Blargedynsym'
     11530        ;;
     11531      esac
     11532    fi
     11533  fi
     11534
     11535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
     11536$as_echo "$ld_shlibs" >&6; }
     11537test no = "$ld_shlibs" && can_build_shared=no
     11538
     11539with_gnu_ld=$with_gnu_ld
     11540
     11541
     11542
     11543
     11544
     11545
     11546
     11547
     11548
     11549
     11550
     11551
     11552
     11553
     11554
     11555#
     11556# Do we need to explicitly link libc?
     11557#
     11558case "x$archive_cmds_need_lc" in
     11559x|xyes)
     11560  # Assume -lc should be added
     11561  archive_cmds_need_lc=yes
     11562
     11563  if test yes,yes = "$GCC,$enable_shared"; then
     11564    case $archive_cmds in
     11565    *'~'*)
     11566      # FIXME: we may have to deal with multi-command sequences.
     11567      ;;
     11568    '$CC '*)
     11569      # Test whether the compiler implicitly links with -lc since on some
     11570      # systems, -lgcc has to come before -lc. If gcc already passes -lc
     11571      # to ld, don't add -lc before -lgcc.
     11572      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
     11573$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
     11574if ${lt_cv_archive_cmds_need_lc+:} false; then :
     11575  $as_echo_n "(cached) " >&6
     11576else
     11577  $RM conftest*
     11578        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     11579
     11580        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     11581  (eval $ac_compile) 2>&5
     11582  ac_status=$?
     11583  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     11584  test $ac_status = 0; } 2>conftest.err; then
     11585          soname=conftest
     11586          lib=conftest
     11587          libobjs=conftest.$ac_objext
     11588          deplibs=
     11589          wl=$lt_prog_compiler_wl
     11590          pic_flag=$lt_prog_compiler_pic
     11591          compiler_flags=-v
     11592          linker_flags=-v
     11593          verstring=
     11594          output_objdir=.
     11595          libname=conftest
     11596          lt_save_allow_undefined_flag=$allow_undefined_flag
     11597          allow_undefined_flag=
     11598          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
     11599  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
     11600  ac_status=$?
     11601  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     11602  test $ac_status = 0; }
     11603          then
     11604            lt_cv_archive_cmds_need_lc=no
     11605          else
     11606            lt_cv_archive_cmds_need_lc=yes
     11607          fi
     11608          allow_undefined_flag=$lt_save_allow_undefined_flag
     11609        else
     11610          cat conftest.err 1>&5
     11611        fi
     11612        $RM conftest*
     11613
     11614fi
     11615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
     11616$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
     11617      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
     11618      ;;
     11619    esac
     11620  fi
     11621  ;;
     11622esac
     11623
     11624
     11625
     11626
     11627
     11628
     11629
     11630
     11631
     11632
     11633
     11634
     11635
     11636
     11637
     11638
     11639
     11640
     11641
     11642
     11643
     11644
     11645
     11646
     11647
     11648
     11649
     11650
     11651
     11652
     11653
     11654
     11655
     11656
     11657
     11658
     11659
     11660
     11661
     11662
     11663
     11664
     11665
     11666
     11667
     11668
     11669
     11670
     11671
     11672
     11673
     11674
     11675
     11676
     11677
     11678
     11679
     11680
     11681
     11682
     11683
     11684
     11685
     11686
     11687
     11688
     11689
     11690
     11691
     11692
     11693
     11694
     11695
     11696
     11697
     11698
     11699
     11700
     11701
     11702
     11703
     11704
     11705
     11706
     11707
     11708
     11709
     11710
     11711
     11712
     11713
     11714
     11715
     11716
     11717
     11718
     11719
     11720
     11721
     11722
     11723
     11724
     11725
     11726
     11727
     11728
     11729
     11730
     11731
     11732
     11733
     11734
     11735
     11736
     11737
     11738
     11739
     11740
     11741
     11742
     11743
     11744
     11745
     11746
     11747
     11748
     11749
     11750
     11751
     11752
     11753
     11754
     11755
     11756
     11757
     11758
     11759
     11760
     11761
     11762
     11763
     11764
     11765
     11766
     11767
     11768
     11769
     11770
     11771
     11772
     11773
     11774
     11775  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
     11776$as_echo_n "checking dynamic linker characteristics... " >&6; }
     11777
     11778if test yes = "$GCC"; then
     11779  case $host_os in
     11780    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
     11781    *) lt_awk_arg='/^libraries:/' ;;
     11782  esac
     11783  case $host_os in
     11784    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
     11785    *) lt_sed_strip_eq='s|=/|/|g' ;;
     11786  esac
     11787  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
     11788  case $lt_search_path_spec in
     11789  *\;*)
     11790    # if the path contains ";" then we assume it to be the separator
     11791    # otherwise default to the standard path separator (i.e. ":") - it is
     11792    # assumed that no part of a normal pathname contains ";" but that should
     11793    # okay in the real world where ";" in dirpaths is itself problematic.
     11794    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
     11795    ;;
     11796  *)
     11797    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
     11798    ;;
     11799  esac
     11800  # Ok, now we have the path, separated by spaces, we can step through it
     11801  # and add multilib dir if necessary...
     11802  lt_tmp_lt_search_path_spec=
     11803  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     11804  # ...but if some path component already ends with the multilib dir we assume
     11805  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
     11806  case "$lt_multi_os_dir; $lt_search_path_spec " in
     11807  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
     11808    lt_multi_os_dir=
     11809    ;;
     11810  esac
     11811  for lt_sys_path in $lt_search_path_spec; do
     11812    if test -d "$lt_sys_path$lt_multi_os_dir"; then
     11813      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
     11814    elif test -n "$lt_multi_os_dir"; then
     11815      test -d "$lt_sys_path" && \
     11816        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     11817    fi
     11818  done
     11819  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
     11820BEGIN {RS = " "; FS = "/|\n";} {
     11821  lt_foo = "";
     11822  lt_count = 0;
     11823  for (lt_i = NF; lt_i > 0; lt_i--) {
     11824    if ($lt_i != "" && $lt_i != ".") {
     11825      if ($lt_i == "..") {
     11826        lt_count++;
     11827      } else {
     11828        if (lt_count == 0) {
     11829          lt_foo = "/" $lt_i lt_foo;
     11830        } else {
     11831          lt_count--;
     11832        }
     11833      }
     11834    }
     11835  }
     11836  if (lt_foo != "") { lt_freq[lt_foo]++; }
     11837  if (lt_freq[lt_foo] == 1) { print lt_foo; }
     11838}'`
     11839  # AWK program above erroneously prepends '/' to C:/dos/paths
     11840  # for these hosts.
     11841  case $host_os in
     11842    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
     11843      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
     11844  esac
     11845  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
     11846else
     11847  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     11848fi
     11849library_names_spec=
     11850libname_spec='lib$name'
     11851soname_spec=
     11852shrext_cmds=.so
     11853postinstall_cmds=
     11854postuninstall_cmds=
     11855finish_cmds=
     11856finish_eval=
     11857shlibpath_var=
     11858shlibpath_overrides_runpath=unknown
     11859version_type=none
     11860dynamic_linker="$host_os ld.so"
     11861sys_lib_dlsearch_path_spec="/lib /usr/lib"
     11862need_lib_prefix=unknown
     11863hardcode_into_libs=no
     11864
     11865# when you set need_version to no, make sure it does not cause -set_version
     11866# flags to be left without arguments
     11867need_version=unknown
     11868
     11869
     11870
     11871case $host_os in
     11872aix3*)
     11873  version_type=linux # correct to gnu/linux during the next big refactor
     11874  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
     11875  shlibpath_var=LIBPATH
     11876
     11877  # AIX 3 has no versioning support, so we append a major version to the name.
     11878  soname_spec='$libname$release$shared_ext$major'
     11879  ;;
     11880
     11881aix[4-9]*)
     11882  version_type=linux # correct to gnu/linux during the next big refactor
     11883  need_lib_prefix=no
     11884  need_version=no
     11885  hardcode_into_libs=yes
     11886  if test ia64 = "$host_cpu"; then
     11887    # AIX 5 supports IA64
     11888    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
     11889    shlibpath_var=LD_LIBRARY_PATH
     11890  else
     11891    # With GCC up to 2.95.x, collect2 would create an import file
     11892    # for dependence libraries.  The import file would start with
     11893    # the line '#! .'.  This would cause the generated library to
     11894    # depend on '.', always an invalid library.  This was fixed in
     11895    # development snapshots of GCC prior to 3.0.
     11896    case $host_os in
     11897      aix4 | aix4.[01] | aix4.[01].*)
     11898      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
     11899           echo ' yes '
     11900           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
     11901        :
     11902      else
     11903        can_build_shared=no
     11904      fi
     11905      ;;
     11906    esac
     11907    # Using Import Files as archive members, it is possible to support
     11908    # filename-based versioning of shared library archives on AIX. While
     11909    # this would work for both with and without runtime linking, it will
     11910    # prevent static linking of such archives. So we do filename-based
     11911    # shared library versioning with .so extension only, which is used
     11912    # when both runtime linking and shared linking is enabled.
     11913    # Unfortunately, runtime linking may impact performance, so we do
     11914    # not want this to be the default eventually. Also, we use the
     11915    # versioned .so libs for executables only if there is the -brtl
     11916    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
     11917    # To allow for filename-based versioning support, we need to create
     11918    # libNAME.so.V as an archive file, containing:
     11919    # *) an Import File, referring to the versioned filename of the
     11920    #    archive as well as the shared archive member, telling the
     11921    #    bitwidth (32 or 64) of that shared object, and providing the
     11922    #    list of exported symbols of that shared object, eventually
     11923    #    decorated with the 'weak' keyword
     11924    # *) the shared object with the F_LOADONLY flag set, to really avoid
     11925    #    it being seen by the linker.
     11926    # At run time we better use the real file rather than another symlink,
     11927    # but for link time we create the symlink libNAME.so -> libNAME.so.V
     11928
     11929    case $with_aix_soname,$aix_use_runtimelinking in
     11930    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
     11931    # soname into executable. Probably we can add versioning support to
     11932    # collect2, so additional links can be useful in future.
     11933    aix,yes) # traditional libtool
     11934      dynamic_linker='AIX unversionable lib.so'
     11935      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
     11936      # instead of lib<name>.a to let people know that these are not
     11937      # typical AIX shared libraries.
     11938      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11939      ;;
     11940    aix,no) # traditional AIX only
     11941      dynamic_linker='AIX lib.a(lib.so.V)'
     11942      # We preserve .a as extension for shared libraries through AIX4.2
     11943      # and later when we are not doing run time linking.
     11944      library_names_spec='$libname$release.a $libname.a'
     11945      soname_spec='$libname$release$shared_ext$major'
     11946      ;;
     11947    svr4,*) # full svr4 only
     11948      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
     11949      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     11950      # We do not specify a path in Import Files, so LIBPATH fires.
     11951      shlibpath_overrides_runpath=yes
     11952      ;;
     11953    *,yes) # both, prefer svr4
     11954      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
     11955      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     11956      # unpreferred sharedlib libNAME.a needs extra handling
     11957      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
     11958      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
     11959      # We do not specify a path in Import Files, so LIBPATH fires.
     11960      shlibpath_overrides_runpath=yes
     11961      ;;
     11962    *,no) # both, prefer aix
     11963      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
     11964      library_names_spec='$libname$release.a $libname.a'
     11965      soname_spec='$libname$release$shared_ext$major'
     11966      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
     11967      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
     11968      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
     11969      ;;
     11970    esac
     11971    shlibpath_var=LIBPATH
     11972  fi
     11973  ;;
     11974
     11975amigaos*)
     11976  case $host_cpu in
     11977  powerpc)
     11978    # Since July 2007 AmigaOS4 officially supports .so libraries.
     11979    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
     11980    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11981    ;;
     11982  m68k)
     11983    library_names_spec='$libname.ixlibrary $libname.a'
     11984    # Create ${libname}_ixlibrary.a entries in /sys/libs.
     11985    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
     11986    ;;
     11987  esac
     11988  ;;
     11989
     11990beos*)
     11991  library_names_spec='$libname$shared_ext'
     11992  dynamic_linker="$host_os ld.so"
     11993  shlibpath_var=LIBRARY_PATH
     11994  ;;
     11995
     11996bsdi[45]*)
     11997  version_type=linux # correct to gnu/linux during the next big refactor
     11998  need_version=no
     11999  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12000  soname_spec='$libname$release$shared_ext$major'
     12001  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
     12002  shlibpath_var=LD_LIBRARY_PATH
     12003  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
     12004  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
     12005  # the default ld.so.conf also contains /usr/contrib/lib and
     12006  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
     12007  # libtool to hard-code these into programs
     12008  ;;
     12009
     12010cygwin* | mingw* | pw32* | cegcc*)
     12011  version_type=windows
     12012  shrext_cmds=.dll
     12013  need_version=no
     12014  need_lib_prefix=no
     12015
     12016  case $GCC,$cc_basename in
     12017  yes,*)
     12018    # gcc
     12019    library_names_spec='$libname.dll.a'
     12020    # DLL is installed to $(libdir)/../bin by postinstall_cmds
     12021    postinstall_cmds='base_file=`basename \$file`~
     12022      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
     12023      dldir=$destdir/`dirname \$dlpath`~
     12024      test -d \$dldir || mkdir -p \$dldir~
     12025      $install_prog $dir/$dlname \$dldir/$dlname~
     12026      chmod a+x \$dldir/$dlname~
     12027      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     12028        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     12029      fi'
     12030    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
     12031      dlpath=$dir/\$dldll~
     12032       $RM \$dlpath'
     12033    shlibpath_overrides_runpath=yes
     12034
     12035    case $host_os in
     12036    cygwin*)
     12037      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
     12038      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     12039
     12040      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
     12041      ;;
     12042    mingw* | cegcc*)
     12043      # MinGW DLLs use traditional 'lib' prefix
     12044      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     12045      ;;
     12046    pw32*)
     12047      # pw32 DLLs use 'pw' prefix rather than 'lib'
     12048      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     12049      ;;
     12050    esac
     12051    dynamic_linker='Win32 ld.exe'
     12052    ;;
     12053
     12054  *,cl*)
     12055    # Native MSVC
     12056    libname_spec='$name'
     12057    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     12058    library_names_spec='$libname.dll.lib'
     12059
     12060    case $build_os in
     12061    mingw*)
     12062      sys_lib_search_path_spec=
     12063      lt_save_ifs=$IFS
     12064      IFS=';'
     12065      for lt_path in $LIB
     12066      do
     12067        IFS=$lt_save_ifs
     12068        # Let DOS variable expansion print the short 8.3 style file name.
     12069        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
     12070        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
     12071      done
     12072      IFS=$lt_save_ifs
     12073      # Convert to MSYS style.
     12074      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
     12075      ;;
     12076    cygwin*)
     12077      # Convert to unix form, then to dos form, then back to unix form
     12078      # but this time dos style (no spaces!) so that the unix form looks
     12079      # like /cygdrive/c/PROGRA~1:/cygdr...
     12080      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
     12081      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
     12082      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
     12083      ;;
     12084    *)
     12085      sys_lib_search_path_spec=$LIB
     12086      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
     12087        # It is most probably a Windows format PATH.
     12088        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
     12089      else
     12090        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
     12091      fi
     12092      # FIXME: find the short name or the path components, as spaces are
     12093      # common. (e.g. "Program Files" -> "PROGRA~1")
     12094      ;;
     12095    esac
     12096
     12097    # DLL is installed to $(libdir)/../bin by postinstall_cmds
     12098    postinstall_cmds='base_file=`basename \$file`~
     12099      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
     12100      dldir=$destdir/`dirname \$dlpath`~
     12101      test -d \$dldir || mkdir -p \$dldir~
     12102      $install_prog $dir/$dlname \$dldir/$dlname'
     12103    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
     12104      dlpath=$dir/\$dldll~
     12105       $RM \$dlpath'
     12106    shlibpath_overrides_runpath=yes
     12107    dynamic_linker='Win32 link.exe'
     12108    ;;
     12109
     12110  *)
     12111    # Assume MSVC wrapper
     12112    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
     12113    dynamic_linker='Win32 ld.exe'
     12114    ;;
     12115  esac
     12116  # FIXME: first we should search . and the directory the executable is in
     12117  shlibpath_var=PATH
     12118  ;;
     12119
     12120darwin* | rhapsody*)
     12121  dynamic_linker="$host_os dyld"
     12122  version_type=darwin
     12123  need_lib_prefix=no
     12124  need_version=no
     12125  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
     12126  soname_spec='$libname$release$major$shared_ext'
     12127  shlibpath_overrides_runpath=yes
     12128  shlibpath_var=DYLD_LIBRARY_PATH
     12129  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
     12130
     12131  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
     12132  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
     12133  ;;
     12134
     12135dgux*)
     12136  version_type=linux # correct to gnu/linux during the next big refactor
     12137  need_lib_prefix=no
     12138  need_version=no
     12139  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12140  soname_spec='$libname$release$shared_ext$major'
     12141  shlibpath_var=LD_LIBRARY_PATH
     12142  ;;
     12143
     12144freebsd* | dragonfly*)
     12145  # DragonFly does not have aout.  When/if they implement a new
     12146  # versioning mechanism, adjust this.
     12147  if test -x /usr/bin/objformat; then
     12148    objformat=`/usr/bin/objformat`
     12149  else
     12150    case $host_os in
     12151    freebsd[23].*) objformat=aout ;;
     12152    *) objformat=elf ;;
     12153    esac
     12154  fi
     12155  version_type=freebsd-$objformat
     12156  case $version_type in
     12157    freebsd-elf*)
     12158      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12159      soname_spec='$libname$release$shared_ext$major'
     12160      need_version=no
     12161      need_lib_prefix=no
     12162      ;;
     12163    freebsd-*)
     12164      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     12165      need_version=yes
     12166      ;;
     12167  esac
     12168  shlibpath_var=LD_LIBRARY_PATH
     12169  case $host_os in
     12170  freebsd2.*)
     12171    shlibpath_overrides_runpath=yes
     12172    ;;
     12173  freebsd3.[01]* | freebsdelf3.[01]*)
     12174    shlibpath_overrides_runpath=yes
     12175    hardcode_into_libs=yes
     12176    ;;
     12177  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
     12178  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
     12179    shlibpath_overrides_runpath=no
     12180    hardcode_into_libs=yes
     12181    ;;
     12182  *) # from 4.6 on, and DragonFly
     12183    shlibpath_overrides_runpath=yes
     12184    hardcode_into_libs=yes
     12185    ;;
     12186  esac
     12187  ;;
     12188
     12189haiku*)
     12190  version_type=linux # correct to gnu/linux during the next big refactor
     12191  need_lib_prefix=no
     12192  need_version=no
     12193  dynamic_linker="$host_os runtime_loader"
     12194  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12195  soname_spec='$libname$release$shared_ext$major'
     12196  shlibpath_var=LIBRARY_PATH
     12197  shlibpath_overrides_runpath=no
     12198  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
     12199  hardcode_into_libs=yes
     12200  ;;
     12201
     12202hpux9* | hpux10* | hpux11*)
     12203  # Give a soname corresponding to the major version so that dld.sl refuses to
     12204  # link against other versions.
     12205  version_type=sunos
     12206  need_lib_prefix=no
     12207  need_version=no
     12208  case $host_cpu in
     12209  ia64*)
     12210    shrext_cmds='.so'
     12211    hardcode_into_libs=yes
     12212    dynamic_linker="$host_os dld.so"
     12213    shlibpath_var=LD_LIBRARY_PATH
     12214    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
     12215    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12216    soname_spec='$libname$release$shared_ext$major'
     12217    if test 32 = "$HPUX_IA64_MODE"; then
     12218      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
     12219      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
     12220    else
     12221      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
     12222      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
     12223    fi
     12224    ;;
     12225  hppa*64*)
     12226    shrext_cmds='.sl'
     12227    hardcode_into_libs=yes
     12228    dynamic_linker="$host_os dld.sl"
     12229    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
     12230    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
     12231    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12232    soname_spec='$libname$release$shared_ext$major'
     12233    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
     12234    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     12235    ;;
     12236  *)
     12237    shrext_cmds='.sl'
     12238    dynamic_linker="$host_os dld.sl"
     12239    shlibpath_var=SHLIB_PATH
     12240    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
     12241    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12242    soname_spec='$libname$release$shared_ext$major'
     12243    ;;
     12244  esac
     12245  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
     12246  postinstall_cmds='chmod 555 $lib'
     12247  # or fails outright, so override atomically:
     12248  install_override_mode=555
     12249  ;;
     12250
     12251interix[3-9]*)
     12252  version_type=linux # correct to gnu/linux during the next big refactor
     12253  need_lib_prefix=no
     12254  need_version=no
     12255  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12256  soname_spec='$libname$release$shared_ext$major'
     12257  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
     12258  shlibpath_var=LD_LIBRARY_PATH
     12259  shlibpath_overrides_runpath=no
     12260  hardcode_into_libs=yes
     12261  ;;
     12262
     12263irix5* | irix6* | nonstopux*)
     12264  case $host_os in
     12265    nonstopux*) version_type=nonstopux ;;
     12266    *)
     12267        if test yes = "$lt_cv_prog_gnu_ld"; then
     12268                version_type=linux # correct to gnu/linux during the next big refactor
     12269        else
     12270                version_type=irix
     12271        fi ;;
     12272  esac
     12273  need_lib_prefix=no
     12274  need_version=no
     12275  soname_spec='$libname$release$shared_ext$major'
     12276  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
     12277  case $host_os in
     12278  irix5* | nonstopux*)
     12279    libsuff= shlibsuff=
     12280    ;;
     12281  *)
     12282    case $LD in # libtool.m4 will add one of these switches to LD
     12283    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
     12284      libsuff= shlibsuff= libmagic=32-bit;;
     12285    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
     12286      libsuff=32 shlibsuff=N32 libmagic=N32;;
     12287    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
     12288      libsuff=64 shlibsuff=64 libmagic=64-bit;;
     12289    *) libsuff= shlibsuff= libmagic=never-match;;
     12290    esac
     12291    ;;
     12292  esac
     12293  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
     12294  shlibpath_overrides_runpath=no
     12295  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
     12296  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
     12297  hardcode_into_libs=yes
     12298  ;;
     12299
     12300# No shared lib support for Linux oldld, aout, or coff.
     12301linux*oldld* | linux*aout* | linux*coff*)
     12302  dynamic_linker=no
     12303  ;;
     12304
     12305linux*android*)
     12306  version_type=none # Android doesn't support versioned libraries.
     12307  need_lib_prefix=no
     12308  need_version=no
     12309  library_names_spec='$libname$release$shared_ext'
     12310  soname_spec='$libname$release$shared_ext'
     12311  finish_cmds=
     12312  shlibpath_var=LD_LIBRARY_PATH
     12313  shlibpath_overrides_runpath=yes
     12314
     12315  # This implies no fast_install, which is unacceptable.
     12316  # Some rework will be needed to allow for fast_install
     12317  # before this can be enabled.
     12318  hardcode_into_libs=yes
     12319
     12320  dynamic_linker='Android linker'
     12321  # Don't embed -rpath directories since the linker doesn't support them.
     12322  hardcode_libdir_flag_spec='-L$libdir'
     12323  ;;
     12324
     12325# This must be glibc/ELF.
     12326linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     12327  version_type=linux # correct to gnu/linux during the next big refactor
     12328  need_lib_prefix=no
     12329  need_version=no
     12330  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12331  soname_spec='$libname$release$shared_ext$major'
     12332  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
     12333  shlibpath_var=LD_LIBRARY_PATH
     12334  shlibpath_overrides_runpath=no
     12335
     12336  # Some binutils ld are patched to set DT_RUNPATH
     12337  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
     12338  $as_echo_n "(cached) " >&6
     12339else
     12340  lt_cv_shlibpath_overrides_runpath=no
     12341    save_LDFLAGS=$LDFLAGS
     12342    save_libdir=$libdir
     12343    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
     12344         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
     12345    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12346/* end confdefs.h.  */
     12347
     12348int
     12349main ()
     12350{
     12351
     12352  ;
     12353  return 0;
     12354}
     12355_ACEOF
     12356if ac_fn_c_try_link "$LINENO"; then :
     12357  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
     12358  lt_cv_shlibpath_overrides_runpath=yes
     12359fi
     12360fi
     12361rm -f core conftest.err conftest.$ac_objext \
     12362    conftest$ac_exeext conftest.$ac_ext
     12363    LDFLAGS=$save_LDFLAGS
     12364    libdir=$save_libdir
     12365
     12366fi
     12367
     12368  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
     12369
     12370  # This implies no fast_install, which is unacceptable.
     12371  # Some rework will be needed to allow for fast_install
     12372  # before this can be enabled.
     12373  hardcode_into_libs=yes
     12374
     12375  # Ideally, we could use ldconfig to report *all* directores which are
     12376  # searched for libraries, however this is still not possible.  Aside from not
     12377  # being certain /sbin/ldconfig is available, command
     12378  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
     12379  # even though it is searched at run-time.  Try to do the best guess by
     12380  # appending ld.so.conf contents (and includes) to the search path.
     12381  if test -f /etc/ld.so.conf; then
     12382    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' ' '`
     12383    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
     12384  fi
     12385
     12386  # We used to test for /lib/ld.so.1 and disable shared libraries on
     12387  # powerpc, because MkLinux only supported shared libraries with the
     12388  # GNU dynamic linker.  Since this was broken with cross compilers,
     12389  # most powerpc-linux boxes support dynamic linking these days and
     12390  # people can always --disable-shared, the test was removed, and we
     12391  # assume the GNU/Linux dynamic linker is in use.
     12392  dynamic_linker='GNU/Linux ld.so'
     12393  ;;
     12394
     12395netbsdelf*-gnu)
     12396  version_type=linux
     12397  need_lib_prefix=no
     12398  need_version=no
     12399  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     12400  soname_spec='${libname}${release}${shared_ext}$major'
     12401  shlibpath_var=LD_LIBRARY_PATH
     12402  shlibpath_overrides_runpath=no
     12403  hardcode_into_libs=yes
     12404  dynamic_linker='NetBSD ld.elf_so'
     12405  ;;
     12406
     12407netbsd*)
     12408  version_type=sunos
     12409  need_lib_prefix=no
     12410  need_version=no
     12411  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
     12412    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     12413    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     12414    dynamic_linker='NetBSD (a.out) ld.so'
     12415  else
     12416    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12417    soname_spec='$libname$release$shared_ext$major'
     12418    dynamic_linker='NetBSD ld.elf_so'
     12419  fi
     12420  shlibpath_var=LD_LIBRARY_PATH
     12421  shlibpath_overrides_runpath=yes
     12422  hardcode_into_libs=yes
     12423  ;;
     12424
     12425newsos6)
     12426  version_type=linux # correct to gnu/linux during the next big refactor
     12427  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12428  shlibpath_var=LD_LIBRARY_PATH
     12429  shlibpath_overrides_runpath=yes
     12430  ;;
     12431
     12432*nto* | *qnx*)
     12433  version_type=qnx
     12434  need_lib_prefix=no
     12435  need_version=no
     12436  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12437  soname_spec='$libname$release$shared_ext$major'
     12438  shlibpath_var=LD_LIBRARY_PATH
     12439  shlibpath_overrides_runpath=no
     12440  hardcode_into_libs=yes
     12441  dynamic_linker='ldqnx.so'
     12442  ;;
     12443
     12444openbsd* | bitrig*)
     12445  version_type=sunos
     12446  sys_lib_dlsearch_path_spec=/usr/lib
     12447  need_lib_prefix=no
     12448  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     12449    need_version=no
     12450  else
     12451    need_version=yes
     12452  fi
     12453  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     12454  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     12455  shlibpath_var=LD_LIBRARY_PATH
     12456  shlibpath_overrides_runpath=yes
     12457  ;;
     12458
     12459os2*)
     12460  libname_spec='$name'
     12461  version_type=windows
     12462  shrext_cmds=.dll
     12463  need_version=no
     12464  need_lib_prefix=no
     12465  # OS/2 can only load a DLL with a base name of 8 characters or less.
     12466  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
     12467    v=$($ECHO $release$versuffix | tr -d .-);
     12468    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
     12469    $ECHO $n$v`$shared_ext'
     12470  library_names_spec='${libname}_dll.$libext'
     12471  dynamic_linker='OS/2 ld.exe'
     12472  shlibpath_var=BEGINLIBPATH
     12473  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     12474  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     12475  postinstall_cmds='base_file=`basename \$file`~
     12476    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
     12477    dldir=$destdir/`dirname \$dlpath`~
     12478    test -d \$dldir || mkdir -p \$dldir~
     12479    $install_prog $dir/$dlname \$dldir/$dlname~
     12480    chmod a+x \$dldir/$dlname~
     12481    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     12482      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     12483    fi'
     12484  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
     12485    dlpath=$dir/\$dldll~
     12486    $RM \$dlpath'
     12487  ;;
     12488
     12489osf3* | osf4* | osf5*)
     12490  version_type=osf
     12491  need_lib_prefix=no
     12492  need_version=no
     12493  soname_spec='$libname$release$shared_ext$major'
     12494  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12495  shlibpath_var=LD_LIBRARY_PATH
     12496  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
     12497  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     12498  ;;
     12499
     12500rdos*)
     12501  dynamic_linker=no
     12502  ;;
     12503
     12504solaris*)
     12505  version_type=linux # correct to gnu/linux during the next big refactor
     12506  need_lib_prefix=no
     12507  need_version=no
     12508  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12509  soname_spec='$libname$release$shared_ext$major'
     12510  shlibpath_var=LD_LIBRARY_PATH
     12511  shlibpath_overrides_runpath=yes
     12512  hardcode_into_libs=yes
     12513  # ldd complains unless libraries are executable
     12514  postinstall_cmds='chmod +x $lib'
     12515  ;;
     12516
     12517sunos4*)
     12518  version_type=sunos
     12519  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     12520  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
     12521  shlibpath_var=LD_LIBRARY_PATH
     12522  shlibpath_overrides_runpath=yes
     12523  if test yes = "$with_gnu_ld"; then
     12524    need_lib_prefix=no
     12525  fi
     12526  need_version=yes
     12527  ;;
     12528
     12529sysv4 | sysv4.3*)
     12530  version_type=linux # correct to gnu/linux during the next big refactor
     12531  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12532  soname_spec='$libname$release$shared_ext$major'
     12533  shlibpath_var=LD_LIBRARY_PATH
     12534  case $host_vendor in
     12535    sni)
     12536      shlibpath_overrides_runpath=no
     12537      need_lib_prefix=no
     12538      runpath_var=LD_RUN_PATH
     12539      ;;
     12540    siemens)
     12541      need_lib_prefix=no
     12542      ;;
     12543    motorola)
     12544      need_lib_prefix=no
     12545      need_version=no
     12546      shlibpath_overrides_runpath=no
     12547      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
     12548      ;;
     12549  esac
     12550  ;;
     12551
     12552sysv4*MP*)
     12553  if test -d /usr/nec; then
     12554    version_type=linux # correct to gnu/linux during the next big refactor
     12555    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
     12556    soname_spec='$libname$shared_ext.$major'
     12557    shlibpath_var=LD_LIBRARY_PATH
     12558  fi
     12559  ;;
     12560
     12561sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     12562  version_type=sco
     12563  need_lib_prefix=no
     12564  need_version=no
     12565  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
     12566  soname_spec='$libname$release$shared_ext$major'
     12567  shlibpath_var=LD_LIBRARY_PATH
     12568  shlibpath_overrides_runpath=yes
     12569  hardcode_into_libs=yes
     12570  if test yes = "$with_gnu_ld"; then
     12571    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
     12572  else
     12573    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
     12574    case $host_os in
     12575      sco3.2v5*)
     12576        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
     12577        ;;
     12578    esac
     12579  fi
     12580  sys_lib_dlsearch_path_spec='/usr/lib'
     12581  ;;
     12582
     12583tpf*)
     12584  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
     12585  version_type=linux # correct to gnu/linux during the next big refactor
     12586  need_lib_prefix=no
     12587  need_version=no
     12588  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12589  shlibpath_var=LD_LIBRARY_PATH
     12590  shlibpath_overrides_runpath=no
     12591  hardcode_into_libs=yes
     12592  ;;
     12593
     12594uts4*)
     12595  version_type=linux # correct to gnu/linux during the next big refactor
     12596  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12597  soname_spec='$libname$release$shared_ext$major'
     12598  shlibpath_var=LD_LIBRARY_PATH
     12599  ;;
     12600
     12601*)
     12602  dynamic_linker=no
     12603  ;;
     12604esac
     12605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
     12606$as_echo "$dynamic_linker" >&6; }
     12607test no = "$dynamic_linker" && can_build_shared=no
     12608
     12609variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
     12610if test yes = "$GCC"; then
     12611  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
     12612fi
     12613
     12614if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
     12615  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
     12616fi
     12617
     12618if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
     12619  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
     12620fi
     12621
     12622# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
     12623configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
     12624
     12625# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
     12626func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
     12627
     12628# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
     12629configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
     12630
     12631
     12632
     12633
     12634
     12635
     12636
     12637
     12638
     12639
     12640
     12641
     12642
     12643
     12644
     12645
     12646
     12647
     12648
     12649
     12650
     12651
     12652
     12653
     12654
     12655
     12656
     12657
     12658
     12659
     12660
     12661
     12662
     12663
     12664
     12665
     12666
     12667
     12668
     12669
     12670
     12671
     12672
     12673
     12674
     12675
     12676
     12677
     12678
     12679
     12680
     12681
     12682
     12683
     12684
     12685
     12686
     12687
     12688
     12689
     12690
     12691
     12692
     12693
     12694
     12695
     12696
     12697
     12698
     12699
     12700
     12701
     12702
     12703
     12704
     12705
     12706
     12707
     12708
     12709
     12710
     12711
     12712
     12713
     12714
     12715
     12716
     12717
     12718
     12719
     12720
     12721
     12722
     12723
     12724
     12725
     12726
     12727  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
     12728$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
     12729hardcode_action=
     12730if test -n "$hardcode_libdir_flag_spec" ||
     12731   test -n "$runpath_var" ||
     12732   test yes = "$hardcode_automatic"; then
     12733
     12734  # We can hardcode non-existent directories.
     12735  if test no != "$hardcode_direct" &&
     12736     # If the only mechanism to avoid hardcoding is shlibpath_var, we
     12737     # have to relink, otherwise we might link with an installed library
     12738     # when we should be linking with a yet-to-be-installed one
     12739     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
     12740     test no != "$hardcode_minus_L"; then
     12741    # Linking always hardcodes the temporary library directory.
     12742    hardcode_action=relink
     12743  else
     12744    # We can link without hardcoding, and we can hardcode nonexisting dirs.
     12745    hardcode_action=immediate
     12746  fi
     12747else
     12748  # We cannot hardcode anything, or else we can only hardcode existing
     12749  # directories.
     12750  hardcode_action=unsupported
     12751fi
     12752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
     12753$as_echo "$hardcode_action" >&6; }
     12754
     12755if test relink = "$hardcode_action" ||
     12756   test yes = "$inherit_rpath"; then
     12757  # Fast installation is not supported
     12758  enable_fast_install=no
     12759elif test yes = "$shlibpath_overrides_runpath" ||
     12760     test no = "$enable_shared"; then
     12761  # Fast installation is not necessary
     12762  enable_fast_install=needless
     12763fi
     12764
     12765
     12766
     12767
     12768
     12769
     12770  if test yes != "$enable_dlopen"; then
     12771  enable_dlopen=unknown
     12772  enable_dlopen_self=unknown
     12773  enable_dlopen_self_static=unknown
     12774else
     12775  lt_cv_dlopen=no
     12776  lt_cv_dlopen_libs=
     12777
     12778  case $host_os in
     12779  beos*)
     12780    lt_cv_dlopen=load_add_on
     12781    lt_cv_dlopen_libs=
     12782    lt_cv_dlopen_self=yes
     12783    ;;
     12784
     12785  mingw* | pw32* | cegcc*)
     12786    lt_cv_dlopen=LoadLibrary
     12787    lt_cv_dlopen_libs=
     12788    ;;
     12789
     12790  cygwin*)
     12791    lt_cv_dlopen=dlopen
     12792    lt_cv_dlopen_libs=
     12793    ;;
     12794
     12795  darwin*)
     12796    # if libdl is installed we need to link against it
     12797    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     12798$as_echo_n "checking for dlopen in -ldl... " >&6; }
     12799if ${ac_cv_lib_dl_dlopen+:} false; then :
     12800  $as_echo_n "(cached) " >&6
     12801else
     12802  ac_check_lib_save_LIBS=$LIBS
     12803LIBS="-ldl  $LIBS"
     12804cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12805/* end confdefs.h.  */
     12806
     12807/* Override any GCC internal prototype to avoid an error.
     12808   Use char because int might match the return type of a GCC
     12809   builtin and then its argument prototype would still apply.  */
     12810#ifdef __cplusplus
     12811extern "C"
     12812#endif
     12813char dlopen ();
     12814int
     12815main ()
     12816{
     12817return dlopen ();
     12818  ;
     12819  return 0;
     12820}
     12821_ACEOF
     12822if ac_fn_c_try_link "$LINENO"; then :
     12823  ac_cv_lib_dl_dlopen=yes
     12824else
     12825  ac_cv_lib_dl_dlopen=no
     12826fi
     12827rm -f core conftest.err conftest.$ac_objext \
     12828    conftest$ac_exeext conftest.$ac_ext
     12829LIBS=$ac_check_lib_save_LIBS
     12830fi
     12831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     12832$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
     12833if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     12834  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
     12835else
     12836
     12837    lt_cv_dlopen=dyld
     12838    lt_cv_dlopen_libs=
     12839    lt_cv_dlopen_self=yes
     12840
     12841fi
     12842
     12843    ;;
     12844
     12845  tpf*)
     12846    # Don't try to run any link tests for TPF.  We know it's impossible
     12847    # because TPF is a cross-compiler, and we know how we open DSOs.
     12848    lt_cv_dlopen=dlopen
     12849    lt_cv_dlopen_libs=
     12850    lt_cv_dlopen_self=no
     12851    ;;
     12852
     12853  *)
     12854    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
     12855if test "x$ac_cv_func_shl_load" = xyes; then :
     12856  lt_cv_dlopen=shl_load
     12857else
     12858  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     12859$as_echo_n "checking for shl_load in -ldld... " >&6; }
     12860if ${ac_cv_lib_dld_shl_load+:} false; then :
     12861  $as_echo_n "(cached) " >&6
     12862else
     12863  ac_check_lib_save_LIBS=$LIBS
     12864LIBS="-ldld  $LIBS"
     12865cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12866/* end confdefs.h.  */
     12867
     12868/* Override any GCC internal prototype to avoid an error.
     12869   Use char because int might match the return type of a GCC
     12870   builtin and then its argument prototype would still apply.  */
     12871#ifdef __cplusplus
     12872extern "C"
     12873#endif
     12874char shl_load ();
     12875int
     12876main ()
     12877{
     12878return shl_load ();
     12879  ;
     12880  return 0;
     12881}
     12882_ACEOF
     12883if ac_fn_c_try_link "$LINENO"; then :
     12884  ac_cv_lib_dld_shl_load=yes
     12885else
     12886  ac_cv_lib_dld_shl_load=no
     12887fi
     12888rm -f core conftest.err conftest.$ac_objext \
     12889    conftest$ac_exeext conftest.$ac_ext
     12890LIBS=$ac_check_lib_save_LIBS
     12891fi
     12892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     12893$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
     12894if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     12895  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
     12896else
     12897  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
     12898if test "x$ac_cv_func_dlopen" = xyes; then :
     12899  lt_cv_dlopen=dlopen
     12900else
     12901  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     12902$as_echo_n "checking for dlopen in -ldl... " >&6; }
     12903if ${ac_cv_lib_dl_dlopen+:} false; then :
     12904  $as_echo_n "(cached) " >&6
     12905else
     12906  ac_check_lib_save_LIBS=$LIBS
     12907LIBS="-ldl  $LIBS"
     12908cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12909/* end confdefs.h.  */
     12910
     12911/* Override any GCC internal prototype to avoid an error.
     12912   Use char because int might match the return type of a GCC
     12913   builtin and then its argument prototype would still apply.  */
     12914#ifdef __cplusplus
     12915extern "C"
     12916#endif
     12917char dlopen ();
     12918int
     12919main ()
     12920{
     12921return dlopen ();
     12922  ;
     12923  return 0;
     12924}
     12925_ACEOF
     12926if ac_fn_c_try_link "$LINENO"; then :
     12927  ac_cv_lib_dl_dlopen=yes
     12928else
     12929  ac_cv_lib_dl_dlopen=no
     12930fi
     12931rm -f core conftest.err conftest.$ac_objext \
     12932    conftest$ac_exeext conftest.$ac_ext
     12933LIBS=$ac_check_lib_save_LIBS
     12934fi
     12935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     12936$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
     12937if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     12938  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
     12939else
     12940  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
     12941$as_echo_n "checking for dlopen in -lsvld... " >&6; }
     12942if ${ac_cv_lib_svld_dlopen+:} false; then :
     12943  $as_echo_n "(cached) " >&6
     12944else
     12945  ac_check_lib_save_LIBS=$LIBS
     12946LIBS="-lsvld  $LIBS"
     12947cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12948/* end confdefs.h.  */
     12949
     12950/* Override any GCC internal prototype to avoid an error.
     12951   Use char because int might match the return type of a GCC
     12952   builtin and then its argument prototype would still apply.  */
     12953#ifdef __cplusplus
     12954extern "C"
     12955#endif
     12956char dlopen ();
     12957int
     12958main ()
     12959{
     12960return dlopen ();
     12961  ;
     12962  return 0;
     12963}
     12964_ACEOF
     12965if ac_fn_c_try_link "$LINENO"; then :
     12966  ac_cv_lib_svld_dlopen=yes
     12967else
     12968  ac_cv_lib_svld_dlopen=no
     12969fi
     12970rm -f core conftest.err conftest.$ac_objext \
     12971    conftest$ac_exeext conftest.$ac_ext
     12972LIBS=$ac_check_lib_save_LIBS
     12973fi
     12974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
     12975$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
     12976if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
     12977  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
     12978else
     12979  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
     12980$as_echo_n "checking for dld_link in -ldld... " >&6; }
     12981if ${ac_cv_lib_dld_dld_link+:} false; then :
     12982  $as_echo_n "(cached) " >&6
     12983else
     12984  ac_check_lib_save_LIBS=$LIBS
     12985LIBS="-ldld  $LIBS"
     12986cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12987/* end confdefs.h.  */
     12988
     12989/* Override any GCC internal prototype to avoid an error.
     12990   Use char because int might match the return type of a GCC
     12991   builtin and then its argument prototype would still apply.  */
     12992#ifdef __cplusplus
     12993extern "C"
     12994#endif
     12995char dld_link ();
     12996int
     12997main ()
     12998{
     12999return dld_link ();
     13000  ;
     13001  return 0;
     13002}
     13003_ACEOF
     13004if ac_fn_c_try_link "$LINENO"; then :
     13005  ac_cv_lib_dld_dld_link=yes
     13006else
     13007  ac_cv_lib_dld_dld_link=no
     13008fi
     13009rm -f core conftest.err conftest.$ac_objext \
     13010    conftest$ac_exeext conftest.$ac_ext
     13011LIBS=$ac_check_lib_save_LIBS
     13012fi
     13013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
     13014$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
     13015if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
     13016  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
     13017fi
     13018
     13019
     13020fi
     13021
     13022
     13023fi
     13024
     13025
     13026fi
     13027
     13028
     13029fi
     13030
     13031
     13032fi
     13033
     13034    ;;
     13035  esac
     13036
     13037  if test no = "$lt_cv_dlopen"; then
     13038    enable_dlopen=no
     13039  else
     13040    enable_dlopen=yes
     13041  fi
     13042
     13043  case $lt_cv_dlopen in
     13044  dlopen)
     13045    save_CPPFLAGS=$CPPFLAGS
     13046    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
     13047
     13048    save_LDFLAGS=$LDFLAGS
     13049    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
     13050
     13051    save_LIBS=$LIBS
     13052    LIBS="$lt_cv_dlopen_libs $LIBS"
     13053
     13054    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
     13055$as_echo_n "checking whether a program can dlopen itself... " >&6; }
     13056if ${lt_cv_dlopen_self+:} false; then :
     13057  $as_echo_n "(cached) " >&6
     13058else
     13059          if test yes = "$cross_compiling"; then :
     13060  lt_cv_dlopen_self=cross
     13061else
     13062  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     13063  lt_status=$lt_dlunknown
     13064  cat > conftest.$ac_ext <<_LT_EOF
     13065#line $LINENO "configure"
     13066#include "confdefs.h"
     13067
     13068#if HAVE_DLFCN_H
     13069#include <dlfcn.h>
     13070#endif
     13071
     13072#include <stdio.h>
     13073
     13074#ifdef RTLD_GLOBAL
     13075#  define LT_DLGLOBAL           RTLD_GLOBAL
     13076#else
     13077#  ifdef DL_GLOBAL
     13078#    define LT_DLGLOBAL         DL_GLOBAL
     13079#  else
     13080#    define LT_DLGLOBAL         0
     13081#  endif
     13082#endif
     13083
     13084/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
     13085   find out it does not work in some platform. */
     13086#ifndef LT_DLLAZY_OR_NOW
     13087#  ifdef RTLD_LAZY
     13088#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
     13089#  else
     13090#    ifdef DL_LAZY
     13091#      define LT_DLLAZY_OR_NOW          DL_LAZY
     13092#    else
     13093#      ifdef RTLD_NOW
     13094#        define LT_DLLAZY_OR_NOW        RTLD_NOW
     13095#      else
     13096#        ifdef DL_NOW
     13097#          define LT_DLLAZY_OR_NOW      DL_NOW
     13098#        else
     13099#          define LT_DLLAZY_OR_NOW      0
     13100#        endif
     13101#      endif
     13102#    endif
     13103#  endif
     13104#endif
     13105
     13106/* When -fvisibility=hidden is used, assume the code has been annotated
     13107   correspondingly for the symbols needed.  */
     13108#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     13109int fnord () __attribute__((visibility("default")));
     13110#endif
     13111
     13112int fnord () { return 42; }
     13113int main ()
     13114{
     13115  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
     13116  int status = $lt_dlunknown;
     13117
     13118  if (self)
     13119    {
     13120      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
     13121      else
     13122        {
     13123          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
     13124          else puts (dlerror ());
     13125        }
     13126      /* dlclose (self); */
     13127    }
     13128  else
     13129    puts (dlerror ());
     13130
     13131  return status;
     13132}
     13133_LT_EOF
     13134  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
     13135  (eval $ac_link) 2>&5
     13136  ac_status=$?
     13137  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     13138  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
     13139    (./conftest; exit; ) >&5 2>/dev/null
     13140    lt_status=$?
     13141    case x$lt_status in
     13142      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
     13143      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
     13144      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
     13145    esac
     13146  else :
     13147    # compilation failed
     13148    lt_cv_dlopen_self=no
     13149  fi
     13150fi
     13151rm -fr conftest*
     13152
     13153
     13154fi
     13155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
     13156$as_echo "$lt_cv_dlopen_self" >&6; }
     13157
     13158    if test yes = "$lt_cv_dlopen_self"; then
     13159      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
     13160      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
     13161$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
     13162if ${lt_cv_dlopen_self_static+:} false; then :
     13163  $as_echo_n "(cached) " >&6
     13164else
     13165          if test yes = "$cross_compiling"; then :
     13166  lt_cv_dlopen_self_static=cross
     13167else
     13168  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     13169  lt_status=$lt_dlunknown
     13170  cat > conftest.$ac_ext <<_LT_EOF
     13171#line $LINENO "configure"
     13172#include "confdefs.h"
     13173
     13174#if HAVE_DLFCN_H
     13175#include <dlfcn.h>
     13176#endif
     13177
     13178#include <stdio.h>
     13179
     13180#ifdef RTLD_GLOBAL
     13181#  define LT_DLGLOBAL           RTLD_GLOBAL
     13182#else
     13183#  ifdef DL_GLOBAL
     13184#    define LT_DLGLOBAL         DL_GLOBAL
     13185#  else
     13186#    define LT_DLGLOBAL         0
     13187#  endif
     13188#endif
     13189
     13190/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
     13191   find out it does not work in some platform. */
     13192#ifndef LT_DLLAZY_OR_NOW
     13193#  ifdef RTLD_LAZY
     13194#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
     13195#  else
     13196#    ifdef DL_LAZY
     13197#      define LT_DLLAZY_OR_NOW          DL_LAZY
     13198#    else
     13199#      ifdef RTLD_NOW
     13200#        define LT_DLLAZY_OR_NOW        RTLD_NOW
     13201#      else
     13202#        ifdef DL_NOW
     13203#          define LT_DLLAZY_OR_NOW      DL_NOW
     13204#        else
     13205#          define LT_DLLAZY_OR_NOW      0
     13206#        endif
     13207#      endif
     13208#    endif
     13209#  endif
     13210#endif
     13211
     13212/* When -fvisibility=hidden is used, assume the code has been annotated
     13213   correspondingly for the symbols needed.  */
     13214#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     13215int fnord () __attribute__((visibility("default")));
     13216#endif
     13217
     13218int fnord () { return 42; }
     13219int main ()
     13220{
     13221  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
     13222  int status = $lt_dlunknown;
     13223
     13224  if (self)
     13225    {
     13226      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
     13227      else
     13228        {
     13229          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
     13230          else puts (dlerror ());
     13231        }
     13232      /* dlclose (self); */
     13233    }
     13234  else
     13235    puts (dlerror ());
     13236
     13237  return status;
     13238}
     13239_LT_EOF
     13240  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
     13241  (eval $ac_link) 2>&5
     13242  ac_status=$?
     13243  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     13244  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
     13245    (./conftest; exit; ) >&5 2>/dev/null
     13246    lt_status=$?
     13247    case x$lt_status in
     13248      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
     13249      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
     13250      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
     13251    esac
     13252  else :
     13253    # compilation failed
     13254    lt_cv_dlopen_self_static=no
     13255  fi
     13256fi
     13257rm -fr conftest*
     13258
     13259
     13260fi
     13261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
     13262$as_echo "$lt_cv_dlopen_self_static" >&6; }
     13263    fi
     13264
     13265    CPPFLAGS=$save_CPPFLAGS
     13266    LDFLAGS=$save_LDFLAGS
     13267    LIBS=$save_LIBS
     13268    ;;
     13269  esac
     13270
     13271  case $lt_cv_dlopen_self in
     13272  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
     13273  *) enable_dlopen_self=unknown ;;
     13274  esac
     13275
     13276  case $lt_cv_dlopen_self_static in
     13277  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
     13278  *) enable_dlopen_self_static=unknown ;;
     13279  esac
     13280fi
     13281
     13282
     13283
     13284
     13285
     13286
     13287
     13288
     13289
     13290
     13291
     13292
     13293
     13294
     13295
     13296
     13297
     13298striplib=
     13299old_striplib=
     13300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
     13301$as_echo_n "checking whether stripping libraries is possible... " >&6; }
     13302if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
     13303  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
     13304  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
     13305  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     13306$as_echo "yes" >&6; }
     13307else
     13308# FIXME - insert some real tests, host_os isn't really good enough
     13309  case $host_os in
     13310  darwin*)
     13311    if test -n "$STRIP"; then
     13312      striplib="$STRIP -x"
     13313      old_striplib="$STRIP -S"
     13314      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     13315$as_echo "yes" >&6; }
     13316    else
     13317      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13318$as_echo "no" >&6; }
     13319    fi
     13320    ;;
     13321  *)
     13322    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13323$as_echo "no" >&6; }
     13324    ;;
     13325  esac
     13326fi
     13327
     13328
     13329
     13330
     13331
     13332
     13333
     13334
     13335
     13336
     13337
     13338
     13339  # Report what library types will actually be built
     13340  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
     13341$as_echo_n "checking if libtool supports shared libraries... " >&6; }
     13342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
     13343$as_echo "$can_build_shared" >&6; }
     13344
     13345  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
     13346$as_echo_n "checking whether to build shared libraries... " >&6; }
     13347  test no = "$can_build_shared" && enable_shared=no
     13348
     13349  # On AIX, shared libraries and static libraries use the same namespace, and
     13350  # are all built from PIC.
     13351  case $host_os in
     13352  aix3*)
     13353    test yes = "$enable_shared" && enable_static=no
     13354    if test -n "$RANLIB"; then
     13355      archive_cmds="$archive_cmds~\$RANLIB \$lib"
     13356      postinstall_cmds='$RANLIB $lib'
     13357    fi
     13358    ;;
     13359
     13360  aix[4-9]*)
     13361    if test ia64 != "$host_cpu"; then
     13362      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
     13363      yes,aix,yes) ;;                   # shared object as lib.so file only
     13364      yes,svr4,*) ;;                    # shared object as lib.so archive member only
     13365      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
     13366      esac
     13367    fi
     13368    ;;
     13369  esac
     13370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
     13371$as_echo "$enable_shared" >&6; }
     13372
     13373  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
     13374$as_echo_n "checking whether to build static libraries... " >&6; }
     13375  # Make sure either enable_shared or enable_static is yes.
     13376  test yes = "$enable_shared" || enable_static=yes
     13377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
     13378$as_echo "$enable_static" >&6; }
     13379
     13380
     13381
     13382
     13383fi
     13384ac_ext=c
     13385ac_cpp='$CPP $CPPFLAGS'
     13386ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     13387ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     13388ac_compiler_gnu=$ac_cv_c_compiler_gnu
     13389
     13390CC=$lt_save_CC
     13391
     13392      if test -n "$CXX" && ( test no != "$CXX" &&
     13393    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
     13394    (test g++ != "$CXX"))); then
     13395  ac_ext=cpp
     13396ac_cpp='$CXXCPP $CPPFLAGS'
     13397ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     13398ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     13399ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     13400{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
     13401$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
     13402if test -z "$CXXCPP"; then
     13403  if ${ac_cv_prog_CXXCPP+:} false; then :
     13404  $as_echo_n "(cached) " >&6
     13405else
     13406      # Double quotes because CXXCPP needs to be expanded
     13407    for CXXCPP in "$CXX -E" "/lib/cpp"
     13408    do
     13409      ac_preproc_ok=false
     13410for ac_cxx_preproc_warn_flag in '' yes
     13411do
     13412  # Use a header file that comes with gcc, so configuring glibc
     13413  # with a fresh cross-compiler works.
     13414  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     13415  # <limits.h> exists even on freestanding compilers.
     13416  # On the NeXT, cc -E runs the code through the compiler's parser,
     13417  # not just through cpp. "Syntax error" is here to catch this case.
     13418  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13419/* end confdefs.h.  */
     13420#ifdef __STDC__
     13421# include <limits.h>
     13422#else
     13423# include <assert.h>
     13424#endif
     13425                     Syntax error
     13426_ACEOF
     13427if ac_fn_cxx_try_cpp "$LINENO"; then :
     13428
     13429else
     13430  # Broken: fails on valid input.
     13431continue
     13432fi
     13433rm -f conftest.err conftest.i conftest.$ac_ext
     13434
     13435  # OK, works on sane cases.  Now check whether nonexistent headers
     13436  # can be detected and how.
     13437  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13438/* end confdefs.h.  */
     13439#include <ac_nonexistent.h>
     13440_ACEOF
     13441if ac_fn_cxx_try_cpp "$LINENO"; then :
     13442  # Broken: success on invalid input.
     13443continue
     13444else
     13445  # Passes both tests.
     13446ac_preproc_ok=:
     13447break
     13448fi
     13449rm -f conftest.err conftest.i conftest.$ac_ext
     13450
     13451done
     13452# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     13453rm -f conftest.i conftest.err conftest.$ac_ext
     13454if $ac_preproc_ok; then :
     13455  break
     13456fi
     13457
     13458    done
     13459    ac_cv_prog_CXXCPP=$CXXCPP
     13460
     13461fi
     13462  CXXCPP=$ac_cv_prog_CXXCPP
     13463else
     13464  ac_cv_prog_CXXCPP=$CXXCPP
     13465fi
     13466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
     13467$as_echo "$CXXCPP" >&6; }
     13468ac_preproc_ok=false
     13469for ac_cxx_preproc_warn_flag in '' yes
     13470do
     13471  # Use a header file that comes with gcc, so configuring glibc
     13472  # with a fresh cross-compiler works.
     13473  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     13474  # <limits.h> exists even on freestanding compilers.
     13475  # On the NeXT, cc -E runs the code through the compiler's parser,
     13476  # not just through cpp. "Syntax error" is here to catch this case.
     13477  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13478/* end confdefs.h.  */
     13479#ifdef __STDC__
     13480# include <limits.h>
     13481#else
     13482# include <assert.h>
     13483#endif
     13484                     Syntax error
     13485_ACEOF
     13486if ac_fn_cxx_try_cpp "$LINENO"; then :
     13487
     13488else
     13489  # Broken: fails on valid input.
     13490continue
     13491fi
     13492rm -f conftest.err conftest.i conftest.$ac_ext
     13493
     13494  # OK, works on sane cases.  Now check whether nonexistent headers
     13495  # can be detected and how.
     13496  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13497/* end confdefs.h.  */
     13498#include <ac_nonexistent.h>
     13499_ACEOF
     13500if ac_fn_cxx_try_cpp "$LINENO"; then :
     13501  # Broken: success on invalid input.
     13502continue
     13503else
     13504  # Passes both tests.
     13505ac_preproc_ok=:
     13506break
     13507fi
     13508rm -f conftest.err conftest.i conftest.$ac_ext
     13509
     13510done
     13511# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     13512rm -f conftest.i conftest.err conftest.$ac_ext
     13513if $ac_preproc_ok; then :
     13514
     13515else
     13516  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     13517$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     13518as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     13519See \`config.log' for more details" "$LINENO" 5; }
     13520fi
     13521
     13522ac_ext=c
     13523ac_cpp='$CPP $CPPFLAGS'
     13524ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     13525ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     13526ac_compiler_gnu=$ac_cv_c_compiler_gnu
     13527
     13528else
     13529  _lt_caught_CXX_error=yes
     13530fi
     13531
     13532ac_ext=cpp
     13533ac_cpp='$CXXCPP $CPPFLAGS'
     13534ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     13535ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     13536ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     13537
     13538archive_cmds_need_lc_CXX=no
     13539allow_undefined_flag_CXX=
     13540always_export_symbols_CXX=no
     13541archive_expsym_cmds_CXX=
     13542compiler_needs_object_CXX=no
     13543export_dynamic_flag_spec_CXX=
     13544hardcode_direct_CXX=no
     13545hardcode_direct_absolute_CXX=no
     13546hardcode_libdir_flag_spec_CXX=
     13547hardcode_libdir_separator_CXX=
     13548hardcode_minus_L_CXX=no
     13549hardcode_shlibpath_var_CXX=unsupported
     13550hardcode_automatic_CXX=no
     13551inherit_rpath_CXX=no
     13552module_cmds_CXX=
     13553module_expsym_cmds_CXX=
     13554link_all_deplibs_CXX=unknown
     13555old_archive_cmds_CXX=$old_archive_cmds
     13556reload_flag_CXX=$reload_flag
     13557reload_cmds_CXX=$reload_cmds
     13558no_undefined_flag_CXX=
     13559whole_archive_flag_spec_CXX=
     13560enable_shared_with_static_runtimes_CXX=no
     13561
     13562# Source file extension for C++ test sources.
     13563ac_ext=cpp
     13564
     13565# Object file extension for compiled C++ test sources.
     13566objext=o
     13567objext_CXX=$objext
     13568
     13569# No sense in running all these tests if we already determined that
     13570# the CXX compiler isn't working.  Some variables (like enable_shared)
     13571# are currently assumed to apply to all compilers on this platform,
     13572# and will be corrupted by setting them based on a non-working compiler.
     13573if test yes != "$_lt_caught_CXX_error"; then
     13574  # Code to be used in simple compile tests
     13575  lt_simple_compile_test_code="int some_variable = 0;"
     13576
     13577  # Code to be used in simple link tests
     13578  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
     13579
     13580  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
     13581
     13582
     13583
     13584
     13585
     13586
     13587# If no C compiler was specified, use CC.
     13588LTCC=${LTCC-"$CC"}
     13589
     13590# If no C compiler flags were specified, use CFLAGS.
     13591LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     13592
     13593# Allow CC to be a program name with arguments.
     13594compiler=$CC
     13595
     13596
     13597  # save warnings/boilerplate of simple test code
     13598  ac_outfile=conftest.$ac_objext
     13599echo "$lt_simple_compile_test_code" >conftest.$ac_ext
     13600eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     13601_lt_compiler_boilerplate=`cat conftest.err`
     13602$RM conftest*
     13603
     13604  ac_outfile=conftest.$ac_objext
     13605echo "$lt_simple_link_test_code" >conftest.$ac_ext
     13606eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     13607_lt_linker_boilerplate=`cat conftest.err`
     13608$RM -r conftest*
     13609
     13610
     13611  # Allow CC to be a program name with arguments.
     13612  lt_save_CC=$CC
     13613  lt_save_CFLAGS=$CFLAGS
     13614  lt_save_LD=$LD
     13615  lt_save_GCC=$GCC
     13616  GCC=$GXX
     13617  lt_save_with_gnu_ld=$with_gnu_ld
     13618  lt_save_path_LD=$lt_cv_path_LD
     13619  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
     13620    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
     13621  else
     13622    $as_unset lt_cv_prog_gnu_ld
     13623  fi
     13624  if test -n "${lt_cv_path_LDCXX+set}"; then
     13625    lt_cv_path_LD=$lt_cv_path_LDCXX
     13626  else
     13627    $as_unset lt_cv_path_LD
     13628  fi
     13629  test -z "${LDCXX+set}" || LD=$LDCXX
     13630  CC=${CXX-"c++"}
     13631  CFLAGS=$CXXFLAGS
     13632  compiler=$CC
     13633  compiler_CXX=$CC
     13634  func_cc_basename $compiler
     13635cc_basename=$func_cc_basename_result
     13636
     13637
     13638  if test -n "$compiler"; then
     13639    # We don't want -fno-exception when compiling C++ code, so set the
     13640    # no_builtin_flag separately
     13641    if test yes = "$GXX"; then
     13642      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
     13643    else
     13644      lt_prog_compiler_no_builtin_flag_CXX=
     13645    fi
     13646
     13647    if test yes = "$GXX"; then
     13648      # Set up default GNU C++ configuration
     13649
     13650
     13651
     13652# Check whether --with-gnu-ld was given.
     13653if test "${with_gnu_ld+set}" = set; then :
     13654  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
     13655else
     13656  with_gnu_ld=no
     13657fi
     13658
     13659ac_prog=ld
     13660if test yes = "$GCC"; then
     13661  # Check if gcc -print-prog-name=ld gives a path.
     13662  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     13663$as_echo_n "checking for ld used by $CC... " >&6; }
     13664  case $host in
     13665  *-*-mingw*)
     13666    # gcc leaves a trailing carriage return, which upsets mingw
     13667    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
     13668  *)
     13669    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
     13670  esac
     13671  case $ac_prog in
     13672    # Accept absolute paths.
     13673    [\\/]* | ?:[\\/]*)
     13674      re_direlt='/[^/][^/]*/\.\./'
     13675      # Canonicalize the pathname of ld
     13676      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
     13677      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
     13678        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
     13679      done
     13680      test -z "$LD" && LD=$ac_prog
     13681      ;;
     13682  "")
     13683    # If it fails, then pretend we aren't using GCC.
     13684    ac_prog=ld
     13685    ;;
     13686  *)
     13687    # If it is relative, then search for the first ld in PATH.
     13688    with_gnu_ld=unknown
     13689    ;;
     13690  esac
     13691elif test yes = "$with_gnu_ld"; then
     13692  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
     13693$as_echo_n "checking for GNU ld... " >&6; }
     13694else
     13695  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
     13696$as_echo_n "checking for non-GNU ld... " >&6; }
     13697fi
     13698if ${lt_cv_path_LD+:} false; then :
     13699  $as_echo_n "(cached) " >&6
     13700else
     13701  if test -z "$LD"; then
     13702  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     13703  for ac_dir in $PATH; do
     13704    IFS=$lt_save_ifs
     13705    test -z "$ac_dir" && ac_dir=.
     13706    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
     13707      lt_cv_path_LD=$ac_dir/$ac_prog
     13708      # Check to see if the program is GNU ld.  I'd rather use --version,
     13709      # but apparently some variants of GNU ld only accept -v.
     13710      # Break only if it was the GNU/non-GNU ld that we prefer.
     13711      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
     13712      *GNU* | *'with BFD'*)
     13713        test no != "$with_gnu_ld" && break
     13714        ;;
     13715      *)
     13716        test yes != "$with_gnu_ld" && break
     13717        ;;
     13718      esac
     13719    fi
     13720  done
     13721  IFS=$lt_save_ifs
     13722else
     13723  lt_cv_path_LD=$LD # Let the user override the test with a path.
     13724fi
     13725fi
     13726
     13727LD=$lt_cv_path_LD
     13728if test -n "$LD"; then
     13729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     13730$as_echo "$LD" >&6; }
     13731else
     13732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13733$as_echo "no" >&6; }
     13734fi
     13735test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
     13736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
     13737$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
     13738if ${lt_cv_prog_gnu_ld+:} false; then :
     13739  $as_echo_n "(cached) " >&6
     13740else
     13741  # I'd rather use --version here, but apparently some GNU lds only accept -v.
     13742case `$LD -v 2>&1 </dev/null` in
     13743*GNU* | *'with BFD'*)
     13744  lt_cv_prog_gnu_ld=yes
     13745  ;;
     13746*)
     13747  lt_cv_prog_gnu_ld=no
     13748  ;;
     13749esac
     13750fi
     13751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
     13752$as_echo "$lt_cv_prog_gnu_ld" >&6; }
     13753with_gnu_ld=$lt_cv_prog_gnu_ld
     13754
     13755
     13756
     13757
     13758
     13759
     13760
     13761      # Check if GNU C++ uses GNU ld as the underlying linker, since the
     13762      # archiving commands below assume that GNU ld is being used.
     13763      if test yes = "$with_gnu_ld"; then
     13764        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     13765        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'
     13766
     13767        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     13768        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     13769
     13770        # If archive_cmds runs LD, not CC, wlarc should be empty
     13771        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
     13772        #     investigate it a little bit more. (MM)
     13773        wlarc='$wl'
     13774
     13775        # ancient GNU ld didn't support --whole-archive et. al.
     13776        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
     13777          $GREP 'no-whole-archive' > /dev/null; then
     13778          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     13779        else
     13780          whole_archive_flag_spec_CXX=
     13781        fi
     13782      else
     13783        with_gnu_ld=no
     13784        wlarc=
     13785
     13786        # A generic and very simple default shared library creation
     13787        # command for GNU C++ for the case where it uses the native
     13788        # linker, instead of GNU ld.  If possible, this setting should
     13789        # overridden to take advantage of the native linker features on
     13790        # the platform it is being used on.
     13791        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
     13792      fi
     13793
     13794      # Commands to make compiler produce verbose output that lists
     13795      # what "hidden" libraries, object files and flags are used when
     13796      # linking a shared library.
     13797      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
     13798
     13799    else
     13800      GXX=no
     13801      with_gnu_ld=no
     13802      wlarc=
     13803    fi
     13804
     13805    # PORTME: fill in a description of your system's C++ link characteristics
     13806    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     13807$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
     13808    ld_shlibs_CXX=yes
     13809    case $host_os in
     13810      aix3*)
     13811        # FIXME: insert proper C++ library support
     13812        ld_shlibs_CXX=no
     13813        ;;
     13814      aix[4-9]*)
     13815        if test ia64 = "$host_cpu"; then
     13816          # On IA64, the linker does run time linking by default, so we don't
     13817          # have to do anything special.
     13818          aix_use_runtimelinking=no
     13819          exp_sym_flag='-Bexport'
     13820          no_entry_flag=
     13821        else
     13822          aix_use_runtimelinking=no
     13823
     13824          # Test if we are trying to use run time linking or normal
     13825          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
     13826          # have runtime linking enabled, and use it for executables.
     13827          # For shared libraries, we enable/disable runtime linking
     13828          # depending on the kind of the shared library created -
     13829          # when "with_aix_soname,aix_use_runtimelinking" is:
     13830          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
     13831          # "aix,yes"  lib.so          shared, rtl:yes, for executables
     13832          #            lib.a           static archive
     13833          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
     13834          #            lib.a(lib.so.V) shared, rtl:no,  for executables
     13835          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
     13836          #            lib.a(lib.so.V) shared, rtl:no
     13837          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
     13838          #            lib.a           static archive
     13839          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
     13840            for ld_flag in $LDFLAGS; do
     13841              case $ld_flag in
     13842              *-brtl*)
     13843                aix_use_runtimelinking=yes
     13844                break
     13845                ;;
     13846              esac
     13847            done
     13848            if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
     13849              # With aix-soname=svr4, we create the lib.so.V shared archives only,
     13850              # so we don't have lib.a shared libs to link our executables.
     13851              # We have to force runtime linking in this case.
     13852              aix_use_runtimelinking=yes
     13853              LDFLAGS="$LDFLAGS -Wl,-brtl"
     13854            fi
     13855            ;;
     13856          esac
     13857
     13858          exp_sym_flag='-bexport'
     13859          no_entry_flag='-bnoentry'
     13860        fi
     13861
     13862        # When large executables or shared objects are built, AIX ld can
     13863        # have problems creating the table of contents.  If linking a library
     13864        # or program results in "error TOC overflow" add -mminimal-toc to
     13865        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
     13866        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
     13867
     13868        archive_cmds_CXX=''
     13869        hardcode_direct_CXX=yes
     13870        hardcode_direct_absolute_CXX=yes
     13871        hardcode_libdir_separator_CXX=':'
     13872        link_all_deplibs_CXX=yes
     13873        file_list_spec_CXX='$wl-f,'
     13874        case $with_aix_soname,$aix_use_runtimelinking in
     13875        aix,*) ;;       # no import file
     13876        svr4,* | *,yes) # use import file
     13877          # The Import File defines what to hardcode.
     13878          hardcode_direct_CXX=no
     13879          hardcode_direct_absolute_CXX=no
     13880          ;;
     13881        esac
     13882
     13883        if test yes = "$GXX"; then
     13884          case $host_os in aix4.[012]|aix4.[012].*)
     13885          # We only want to do this on AIX 4.2 and lower, the check
     13886          # below for broken collect2 doesn't work under 4.3+
     13887          collect2name=`$CC -print-prog-name=collect2`
     13888          if test -f "$collect2name" &&
     13889             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     13890          then
     13891            # We have reworked collect2
     13892            :
     13893          else
     13894            # We have old collect2
     13895            hardcode_direct_CXX=unsupported
     13896            # It fails to find uninstalled libraries when the uninstalled
     13897            # path is not listed in the libpath.  Setting hardcode_minus_L
     13898            # to unsupported forces relinking
     13899            hardcode_minus_L_CXX=yes
     13900            hardcode_libdir_flag_spec_CXX='-L$libdir'
     13901            hardcode_libdir_separator_CXX=
     13902          fi
     13903          esac
     13904          shared_flag='-shared'
     13905          if test yes = "$aix_use_runtimelinking"; then
     13906            shared_flag=$shared_flag' $wl-G'
     13907          fi
     13908          # Need to ensure runtime linking is disabled for the traditional
     13909          # shared library, or the linker may eventually find shared libraries
     13910          # /with/ Import File - we do not want to mix them.
     13911          shared_flag_aix='-shared'
     13912          shared_flag_svr4='-shared $wl-G'
     13913        else
     13914          # not using gcc
     13915          if test ia64 = "$host_cpu"; then
     13916          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
     13917          # chokes on -Wl,-G. The following line is correct:
     13918          shared_flag='-G'
     13919          else
     13920            if test yes = "$aix_use_runtimelinking"; then
     13921              shared_flag='$wl-G'
     13922            else
     13923              shared_flag='$wl-bM:SRE'
     13924            fi
     13925            shared_flag_aix='$wl-bM:SRE'
     13926            shared_flag_svr4='$wl-G'
     13927          fi
     13928        fi
     13929
     13930        export_dynamic_flag_spec_CXX='$wl-bexpall'
     13931        # It seems that -bexpall does not export symbols beginning with
     13932        # underscore (_), so it is better to generate a list of symbols to
     13933        # export.
     13934        always_export_symbols_CXX=yes
     13935        if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
     13936          # Warning - without using the other runtime loading flags (-brtl),
     13937          # -berok will link without error, but may produce a broken library.
     13938          # The "-G" linker flag allows undefined symbols.
     13939          no_undefined_flag_CXX='-bernotok'
     13940          # Determine the default libpath from the value encoded in an empty
     13941          # executable.
     13942          if test set = "${lt_cv_aix_libpath+set}"; then
     13943  aix_libpath=$lt_cv_aix_libpath
     13944else
     13945  if ${lt_cv_aix_libpath__CXX+:} false; then :
     13946  $as_echo_n "(cached) " >&6
     13947else
     13948  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13949/* end confdefs.h.  */
     13950
     13951int
     13952main ()
     13953{
     13954
     13955  ;
     13956  return 0;
     13957}
     13958_ACEOF
     13959if ac_fn_cxx_try_link "$LINENO"; then :
     13960
     13961  lt_aix_libpath_sed='
     13962      /Import File Strings/,/^$/ {
     13963          /^0/ {
     13964              s/^0  *\([^ ]*\) *$/\1/
     13965              p
     13966          }
     13967      }'
     13968  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     13969  # Check for a 64-bit object if we didn't find anything.
     13970  if test -z "$lt_cv_aix_libpath__CXX"; then
     13971    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     13972  fi
     13973fi
     13974rm -f core conftest.err conftest.$ac_objext \
     13975    conftest$ac_exeext conftest.$ac_ext
     13976  if test -z "$lt_cv_aix_libpath__CXX"; then
     13977    lt_cv_aix_libpath__CXX=/usr/lib:/lib
     13978  fi
     13979
     13980fi
     13981
     13982  aix_libpath=$lt_cv_aix_libpath__CXX
     13983fi
     13984
     13985          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
     13986
     13987          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
     13988        else
     13989          if test ia64 = "$host_cpu"; then
     13990            hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
     13991            allow_undefined_flag_CXX="-z nodefs"
     13992            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"
     13993          else
     13994            # Determine the default libpath from the value encoded in an
     13995            # empty executable.
     13996            if test set = "${lt_cv_aix_libpath+set}"; then
     13997  aix_libpath=$lt_cv_aix_libpath
     13998else
     13999  if ${lt_cv_aix_libpath__CXX+:} false; then :
     14000  $as_echo_n "(cached) " >&6
     14001else
     14002  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     14003/* end confdefs.h.  */
     14004
     14005int
     14006main ()
     14007{
     14008
     14009  ;
     14010  return 0;
     14011}
     14012_ACEOF
     14013if ac_fn_cxx_try_link "$LINENO"; then :
     14014
     14015  lt_aix_libpath_sed='
     14016      /Import File Strings/,/^$/ {
     14017          /^0/ {
     14018              s/^0  *\([^ ]*\) *$/\1/
     14019              p
     14020          }
     14021      }'
     14022  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     14023  # Check for a 64-bit object if we didn't find anything.
     14024  if test -z "$lt_cv_aix_libpath__CXX"; then
     14025    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     14026  fi
     14027fi
     14028rm -f core conftest.err conftest.$ac_objext \
     14029    conftest$ac_exeext conftest.$ac_ext
     14030  if test -z "$lt_cv_aix_libpath__CXX"; then
     14031    lt_cv_aix_libpath__CXX=/usr/lib:/lib
     14032  fi
     14033
     14034fi
     14035
     14036  aix_libpath=$lt_cv_aix_libpath__CXX
     14037fi
     14038
     14039            hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
     14040            # Warning - without using the other run time loading flags,
     14041            # -berok will link without error, but may produce a broken library.
     14042            no_undefined_flag_CXX=' $wl-bernotok'
     14043            allow_undefined_flag_CXX=' $wl-berok'
     14044            if test yes = "$with_gnu_ld"; then
     14045              # We only use this code for GNU lds that support --whole-archive.
     14046              whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
     14047            else
     14048              # Exported symbols can be pulled into shared objects from archives
     14049              whole_archive_flag_spec_CXX='$convenience'
     14050            fi
     14051            archive_cmds_need_lc_CXX=yes
     14052            archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
     14053            # -brtl affects multiple linker settings, -berok does not and is overridden later
     14054            compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
     14055            if test svr4 != "$with_aix_soname"; then
     14056              # This is similar to how AIX traditionally builds its shared
     14057              # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
     14058              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
     14059            fi
     14060            if test aix != "$with_aix_soname"; then
     14061              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
     14062            else
     14063              # used by -dlpreopen to get the symbols
     14064              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
     14065            fi
     14066            archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
     14067          fi
     14068        fi
     14069        ;;
     14070
     14071      beos*)
     14072        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     14073          allow_undefined_flag_CXX=unsupported
     14074          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
     14075          # support --undefined.  This deserves some investigation.  FIXME
     14076          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     14077        else
     14078          ld_shlibs_CXX=no
     14079        fi
     14080        ;;
     14081
     14082      chorus*)
     14083        case $cc_basename in
     14084          *)
     14085          # FIXME: insert proper C++ library support
     14086          ld_shlibs_CXX=no
     14087          ;;
     14088        esac
     14089        ;;
     14090
     14091      cygwin* | mingw* | pw32* | cegcc*)
     14092        case $GXX,$cc_basename in
     14093        ,cl* | no,cl*)
     14094          # Native MSVC
     14095          # hardcode_libdir_flag_spec is actually meaningless, as there is
     14096          # no search path for DLLs.
     14097          hardcode_libdir_flag_spec_CXX=' '
     14098          allow_undefined_flag_CXX=unsupported
     14099          always_export_symbols_CXX=yes
     14100          file_list_spec_CXX='@'
     14101          # Tell ltmain to make .lib files, not .a files.
     14102          libext=lib
     14103          # Tell ltmain to make .dll files, not .so files.
     14104          shrext_cmds=.dll
     14105          # FIXME: Setting linknames here is a bad hack.
     14106          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
     14107          archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     14108              cp "$export_symbols" "$output_objdir/$soname.def";
     14109              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
     14110            else
     14111              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
     14112            fi~
     14113            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     14114            linknames='
     14115          # The linker will not automatically build a static lib if we build a DLL.
     14116          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
     14117          enable_shared_with_static_runtimes_CXX=yes
     14118          # Don't use ranlib
     14119          old_postinstall_cmds_CXX='chmod 644 $oldlib'
     14120          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
     14121            lt_tool_outputfile="@TOOL_OUTPUT@"~
     14122            case $lt_outputfile in
     14123              *.exe|*.EXE) ;;
     14124              *)
     14125                lt_outputfile=$lt_outputfile.exe
     14126                lt_tool_outputfile=$lt_tool_outputfile.exe
     14127                ;;
     14128            esac~
     14129            func_to_tool_file "$lt_outputfile"~
     14130            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
     14131              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     14132              $RM "$lt_outputfile.manifest";
     14133            fi'
     14134          ;;
     14135        *)
     14136          # g++
     14137          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
     14138          # as there is no search path for DLLs.
     14139          hardcode_libdir_flag_spec_CXX='-L$libdir'
     14140          export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
     14141          allow_undefined_flag_CXX=unsupported
     14142          always_export_symbols_CXX=no
     14143          enable_shared_with_static_runtimes_CXX=yes
     14144
     14145          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
     14146            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'
     14147            # If the export-symbols file already is a .def file, use it as
     14148            # is; otherwise, prepend EXPORTS...
     14149            archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     14150              cp $export_symbols $output_objdir/$soname.def;
     14151            else
     14152              echo EXPORTS > $output_objdir/$soname.def;
     14153              cat $export_symbols >> $output_objdir/$soname.def;
     14154            fi~
     14155            $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'
     14156          else
     14157            ld_shlibs_CXX=no
     14158          fi
     14159          ;;
     14160        esac
     14161        ;;
     14162      darwin* | rhapsody*)
     14163
     14164
     14165  archive_cmds_need_lc_CXX=no
     14166  hardcode_direct_CXX=no
     14167  hardcode_automatic_CXX=yes
     14168  hardcode_shlibpath_var_CXX=unsupported
     14169  if test yes = "$lt_cv_ld_force_load"; then
     14170    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\"`'
     14171
     14172  else
     14173    whole_archive_flag_spec_CXX=''
     14174  fi
     14175  link_all_deplibs_CXX=yes
     14176  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
     14177  case $cc_basename in
     14178     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
     14179     *) _lt_dar_can_shared=$GCC ;;
     14180  esac
     14181  if test yes = "$_lt_dar_can_shared"; then
     14182    output_verbose_link_cmd=func_echo_all
     14183    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"
     14184    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
     14185    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"
     14186    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"
     14187       if test yes != "$lt_cv_apple_cc_single_mod"; then
     14188      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"
     14189      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"
     14190    fi
     14191
     14192  else
     14193  ld_shlibs_CXX=no
     14194  fi
     14195
     14196        ;;
     14197
     14198      os2*)
     14199        hardcode_libdir_flag_spec_CXX='-L$libdir'
     14200        hardcode_minus_L_CXX=yes
     14201        allow_undefined_flag_CXX=unsupported
     14202        shrext_cmds=.dll
     14203        archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     14204          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     14205          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     14206          $ECHO EXPORTS >> $output_objdir/$libname.def~
     14207          emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     14208          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     14209          emximp -o $lib $output_objdir/$libname.def'
     14210        archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     14211          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     14212          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     14213          $ECHO EXPORTS >> $output_objdir/$libname.def~
     14214          prefix_cmds="$SED"~
     14215          if test EXPORTS = "`$SED 1q $export_symbols`"; then
     14216            prefix_cmds="$prefix_cmds -e 1d";
     14217          fi~
     14218          prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     14219          cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     14220          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     14221          emximp -o $lib $output_objdir/$libname.def'
     14222        old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     14223        enable_shared_with_static_runtimes_CXX=yes
     14224        ;;
     14225
     14226      dgux*)
     14227        case $cc_basename in
     14228          ec++*)
     14229            # FIXME: insert proper C++ library support
     14230            ld_shlibs_CXX=no
     14231            ;;
     14232          ghcx*)
     14233            # Green Hills C++ Compiler
     14234            # FIXME: insert proper C++ library support
     14235            ld_shlibs_CXX=no
     14236            ;;
     14237          *)
     14238            # FIXME: insert proper C++ library support
     14239            ld_shlibs_CXX=no
     14240            ;;
     14241        esac
     14242        ;;
     14243
     14244      freebsd2.*)
     14245        # C++ shared libraries reported to be fairly broken before
     14246        # switch to ELF
     14247        ld_shlibs_CXX=no
     14248        ;;
     14249
     14250      freebsd-elf*)
     14251        archive_cmds_need_lc_CXX=no
     14252        ;;
     14253
     14254      freebsd* | dragonfly*)
     14255        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
     14256        # conventions
     14257        ld_shlibs_CXX=yes
     14258        ;;
     14259
     14260      haiku*)
     14261        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     14262        link_all_deplibs_CXX=yes
     14263        ;;
     14264
     14265      hpux9*)
     14266        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
     14267        hardcode_libdir_separator_CXX=:
     14268        export_dynamic_flag_spec_CXX='$wl-E'
     14269        hardcode_direct_CXX=yes
     14270        hardcode_minus_L_CXX=yes # Not in the search PATH,
     14271                                             # but as the default
     14272                                             # location of the library.
     14273
     14274        case $cc_basename in
     14275          CC*)
     14276            # FIXME: insert proper C++ library support
     14277            ld_shlibs_CXX=no
     14278            ;;
     14279          aCC*)
     14280            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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     14281            # Commands to make compiler produce verbose output that lists
     14282            # what "hidden" libraries, object files and flags are used when
     14283            # linking a shared library.
     14284            #
     14285            # There doesn't appear to be a way to prevent this compiler from
     14286            # explicitly linking system object files so we need to strip them
     14287            # from the output so that they don't get included in the library
     14288            # dependencies.
     14289            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"'
     14290            ;;
     14291          *)
     14292            if test yes = "$GXX"; then
     14293              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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     14294            else
     14295              # FIXME: insert proper C++ library support
     14296              ld_shlibs_CXX=no
     14297            fi
     14298            ;;
     14299        esac
     14300        ;;
     14301
     14302      hpux10*|hpux11*)
     14303        if test no = "$with_gnu_ld"; then
     14304          hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
     14305          hardcode_libdir_separator_CXX=:
     14306
     14307          case $host_cpu in
     14308            hppa*64*|ia64*)
     14309              ;;
     14310            *)
     14311              export_dynamic_flag_spec_CXX='$wl-E'
     14312              ;;
     14313          esac
     14314        fi
     14315        case $host_cpu in
     14316          hppa*64*|ia64*)
     14317            hardcode_direct_CXX=no
     14318            hardcode_shlibpath_var_CXX=no
     14319            ;;
     14320          *)
     14321            hardcode_direct_CXX=yes
     14322            hardcode_direct_absolute_CXX=yes
     14323            hardcode_minus_L_CXX=yes # Not in the search PATH,
     14324                                                 # but as the default
     14325                                                 # location of the library.
     14326            ;;
     14327        esac
     14328
     14329        case $cc_basename in
     14330          CC*)
     14331            # FIXME: insert proper C++ library support
     14332            ld_shlibs_CXX=no
     14333            ;;
     14334          aCC*)
     14335            case $host_cpu in
     14336              hppa*64*)
     14337                archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     14338                ;;
     14339              ia64*)
     14340                archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     14341                ;;
     14342              *)
     14343                archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     14344                ;;
     14345            esac
     14346            # Commands to make compiler produce verbose output that lists
     14347            # what "hidden" libraries, object files and flags are used when
     14348            # linking a shared library.
     14349            #
     14350            # There doesn't appear to be a way to prevent this compiler from
     14351            # explicitly linking system object files so we need to strip them
     14352            # from the output so that they don't get included in the library
     14353            # dependencies.
     14354            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"'
     14355            ;;
     14356          *)
     14357            if test yes = "$GXX"; then
     14358              if test no = "$with_gnu_ld"; then
     14359                case $host_cpu in
     14360                  hppa*64*)
     14361                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     14362                    ;;
     14363                  ia64*)
     14364                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     14365                    ;;
     14366                  *)
     14367                    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'
     14368                    ;;
     14369                esac
     14370              fi
     14371            else
     14372              # FIXME: insert proper C++ library support
     14373              ld_shlibs_CXX=no
     14374            fi
     14375            ;;
     14376        esac
     14377        ;;
     14378
     14379      interix[3-9]*)
     14380        hardcode_direct_CXX=no
     14381        hardcode_shlibpath_var_CXX=no
     14382        hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     14383        export_dynamic_flag_spec_CXX='$wl-E'
     14384        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
     14385        # Instead, shared libraries are loaded at an image base (0x10000000 by
     14386        # default) and relocated if they conflict, which is a slow very memory
     14387        # consuming and fragmenting process.  To avoid this, we pick a random,
     14388        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
     14389        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
     14390        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'
     14391        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'
     14392        ;;
     14393      irix5* | irix6*)
     14394        case $cc_basename in
     14395          CC*)
     14396            # SGI C++
     14397            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'
     14398
     14399            # Archives containing C++ object files must be created using
     14400            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
     14401            # necessary to make sure instantiated templates are included
     14402            # in the archive.
     14403            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
     14404            ;;
     14405          *)
     14406            if test yes = "$GXX"; then
     14407              if test no = "$with_gnu_ld"; then
     14408                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'
     14409              else
     14410                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'
     14411              fi
     14412            fi
     14413            link_all_deplibs_CXX=yes
     14414            ;;
     14415        esac
     14416        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     14417        hardcode_libdir_separator_CXX=:
     14418        inherit_rpath_CXX=yes
     14419        ;;
     14420
     14421      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     14422        case $cc_basename in
     14423          KCC*)
     14424            # Kuck and Associates, Inc. (KAI) C++ Compiler
     14425
     14426            # KCC will only create a shared library if the output file
     14427            # ends with ".so" (or ".sl" for HP-UX), so rename the library
     14428            # to its proper name (with version) after linking.
     14429            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'
     14430            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'
     14431            # Commands to make compiler produce verbose output that lists
     14432            # what "hidden" libraries, object files and flags are used when
     14433            # linking a shared library.
     14434            #
     14435            # There doesn't appear to be a way to prevent this compiler from
     14436            # explicitly linking system object files so we need to strip them
     14437            # from the output so that they don't get included in the library
     14438            # dependencies.
     14439            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"'
     14440
     14441            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     14442            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     14443
     14444            # Archives containing C++ object files must be created using
     14445            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
     14446            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
     14447            ;;
     14448          icpc* | ecpc* )
     14449            # Intel C++
     14450            with_gnu_ld=yes
     14451            # version 8.0 and above of icpc choke on multiply defined symbols
     14452            # if we add $predep_objects and $postdep_objects, however 7.1 and
     14453            # earlier do not add the objects themselves.
     14454            case `$CC -V 2>&1` in
     14455              *"Version 7."*)
     14456                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     14457                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'
     14458                ;;
     14459              *)  # Version 8.0 or newer
     14460                tmp_idyn=
     14461                case $host_cpu in
     14462                  ia64*) tmp_idyn=' -i_dynamic';;
     14463                esac
     14464                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     14465                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'
     14466                ;;
     14467            esac
     14468            archive_cmds_need_lc_CXX=no
     14469            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     14470            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     14471            whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
     14472            ;;
     14473          pgCC* | pgcpp*)
     14474            # Portland Group C++ compiler
     14475            case `$CC -V` in
     14476            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
     14477              prelink_cmds_CXX='tpldir=Template.dir~
     14478               rm -rf $tpldir~
     14479               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
     14480               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
     14481              old_archive_cmds_CXX='tpldir=Template.dir~
     14482                rm -rf $tpldir~
     14483                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
     14484                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
     14485                $RANLIB $oldlib'
     14486              archive_cmds_CXX='tpldir=Template.dir~
     14487                rm -rf $tpldir~
     14488                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     14489                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     14490              archive_expsym_cmds_CXX='tpldir=Template.dir~
     14491                rm -rf $tpldir~
     14492                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     14493                $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'
     14494              ;;
     14495            *) # Version 6 and above use weak symbols
     14496              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     14497              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'
     14498              ;;
     14499            esac
     14500
     14501            hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
     14502            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     14503            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'
     14504            ;;
     14505          cxx*)
     14506            # Compaq C++
     14507            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     14508            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'
     14509
     14510            runpath_var=LD_RUN_PATH
     14511            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
     14512            hardcode_libdir_separator_CXX=:
     14513
     14514            # Commands to make compiler produce verbose output that lists
     14515            # what "hidden" libraries, object files and flags are used when
     14516            # linking a shared library.
     14517            #
     14518            # There doesn't appear to be a way to prevent this compiler from
     14519            # explicitly linking system object files so we need to strip them
     14520            # from the output so that they don't get included in the library
     14521            # dependencies.
     14522            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'
     14523            ;;
     14524          xl* | mpixl* | bgxl*)
     14525            # IBM XL 8.0 on PPC, with GNU ld
     14526            hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     14527            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     14528            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     14529            if test yes = "$supports_anon_versioning"; then
     14530              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
     14531                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     14532                echo "local: *; };" >> $output_objdir/$libname.ver~
     14533                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
     14534            fi
     14535            ;;
     14536          *)
     14537            case `$CC -V 2>&1 | sed 5q` in
     14538            *Sun\ C*)
     14539              # Sun C++ 5.9
     14540              no_undefined_flag_CXX=' -zdefs'
     14541              archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     14542              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'
     14543              hardcode_libdir_flag_spec_CXX='-R$libdir'
     14544              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'
     14545              compiler_needs_object_CXX=yes
     14546
     14547              # Not sure whether something based on
     14548              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
     14549              # would be better.
     14550              output_verbose_link_cmd='func_echo_all'
     14551
     14552              # Archives containing C++ object files must be created using
     14553              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
     14554              # necessary to make sure instantiated templates are included
     14555              # in the archive.
     14556              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
     14557              ;;
     14558            esac
     14559            ;;
     14560        esac
     14561        ;;
     14562
     14563      lynxos*)
     14564        # FIXME: insert proper C++ library support
     14565        ld_shlibs_CXX=no
     14566        ;;
     14567
     14568      m88k*)
     14569        # FIXME: insert proper C++ library support
     14570        ld_shlibs_CXX=no
     14571        ;;
     14572
     14573      mvs*)
     14574        case $cc_basename in
     14575          cxx*)
     14576            # FIXME: insert proper C++ library support
     14577            ld_shlibs_CXX=no
     14578            ;;
     14579          *)
     14580            # FIXME: insert proper C++ library support
     14581            ld_shlibs_CXX=no
     14582            ;;
     14583        esac
     14584        ;;
     14585
     14586      netbsd*)
     14587        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
     14588          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
     14589          wlarc=
     14590          hardcode_libdir_flag_spec_CXX='-R$libdir'
     14591          hardcode_direct_CXX=yes
     14592          hardcode_shlibpath_var_CXX=no
     14593        fi
     14594        # Workaround some broken pre-1.5 toolchains
     14595        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
     14596        ;;
     14597
     14598      *nto* | *qnx*)
     14599        ld_shlibs_CXX=yes
     14600        ;;
     14601
     14602      openbsd* | bitrig*)
     14603        if test -f /usr/libexec/ld.so; then
     14604          hardcode_direct_CXX=yes
     14605          hardcode_shlibpath_var_CXX=no
     14606          hardcode_direct_absolute_CXX=yes
     14607          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
     14608          hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     14609          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
     14610            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
     14611            export_dynamic_flag_spec_CXX='$wl-E'
     14612            whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     14613          fi
     14614          output_verbose_link_cmd=func_echo_all
     14615        else
     14616          ld_shlibs_CXX=no
     14617        fi
     14618        ;;
     14619
     14620      osf3* | osf4* | osf5*)
     14621        case $cc_basename in
     14622          KCC*)
     14623            # Kuck and Associates, Inc. (KAI) C++ Compiler
     14624
     14625            # KCC will only create a shared library if the output file
     14626            # ends with ".so" (or ".sl" for HP-UX), so rename the library
     14627            # to its proper name (with version) after linking.
     14628            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'
     14629
     14630            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     14631            hardcode_libdir_separator_CXX=:
     14632
     14633            # Archives containing C++ object files must be created using
     14634            # the KAI C++ compiler.
     14635            case $host in
     14636              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
     14637              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
     14638            esac
     14639            ;;
     14640          RCC*)
     14641            # Rational C++ 2.4.1
     14642            # FIXME: insert proper C++ library support
     14643            ld_shlibs_CXX=no
     14644            ;;
     14645          cxx*)
     14646            case $host in
     14647              osf3*)
     14648                allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
     14649                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'
     14650                hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     14651                ;;
     14652              *)
     14653                allow_undefined_flag_CXX=' -expect_unresolved \*'
     14654                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'
     14655                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
     14656                  echo "-hidden">> $lib.exp~
     14657                  $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~
     14658                  $RM $lib.exp'
     14659                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
     14660                ;;
     14661            esac
     14662
     14663            hardcode_libdir_separator_CXX=:
     14664
     14665            # Commands to make compiler produce verbose output that lists
     14666            # what "hidden" libraries, object files and flags are used when
     14667            # linking a shared library.
     14668            #
     14669            # There doesn't appear to be a way to prevent this compiler from
     14670            # explicitly linking system object files so we need to strip them
     14671            # from the output so that they don't get included in the library
     14672            # dependencies.
     14673            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"'
     14674            ;;
     14675          *)
     14676            if test yes,no = "$GXX,$with_gnu_ld"; then
     14677              allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
     14678              case $host in
     14679                osf3*)
     14680                  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'
     14681                  ;;
     14682                *)
     14683                  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'
     14684                  ;;
     14685              esac
     14686
     14687              hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     14688              hardcode_libdir_separator_CXX=:
     14689
     14690              # Commands to make compiler produce verbose output that lists
     14691              # what "hidden" libraries, object files and flags are used when
     14692              # linking a shared library.
     14693              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
     14694
     14695            else
     14696              # FIXME: insert proper C++ library support
     14697              ld_shlibs_CXX=no
     14698            fi
     14699            ;;
     14700        esac
     14701        ;;
     14702
     14703      psos*)
     14704        # FIXME: insert proper C++ library support
     14705        ld_shlibs_CXX=no
     14706        ;;
     14707
     14708      sunos4*)
     14709        case $cc_basename in
     14710          CC*)
     14711            # Sun C++ 4.x
     14712            # FIXME: insert proper C++ library support
     14713            ld_shlibs_CXX=no
     14714            ;;
     14715          lcc*)
     14716            # Lucid
     14717            # FIXME: insert proper C++ library support
     14718            ld_shlibs_CXX=no
     14719            ;;
     14720          *)
     14721            # FIXME: insert proper C++ library support
     14722            ld_shlibs_CXX=no
     14723            ;;
     14724        esac
     14725        ;;
     14726
     14727      solaris*)
     14728        case $cc_basename in
     14729          CC* | sunCC*)
     14730            # Sun C++ 4.2, 5.x and Centerline C++
     14731            archive_cmds_need_lc_CXX=yes
     14732            no_undefined_flag_CXX=' -zdefs'
     14733            archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     14734            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     14735              $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'
     14736
     14737            hardcode_libdir_flag_spec_CXX='-R$libdir'
     14738            hardcode_shlibpath_var_CXX=no
     14739            case $host_os in
     14740              solaris2.[0-5] | solaris2.[0-5].*) ;;
     14741              *)
     14742                # The compiler driver will combine and reorder linker options,
     14743                # but understands '-z linker_flag'.
     14744                # Supported since Solaris 2.6 (maybe 2.5.1?)
     14745                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
     14746                ;;
     14747            esac
     14748            link_all_deplibs_CXX=yes
     14749
     14750            output_verbose_link_cmd='func_echo_all'
     14751
     14752            # Archives containing C++ object files must be created using
     14753            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
     14754            # necessary to make sure instantiated templates are included
     14755            # in the archive.
     14756            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
     14757            ;;
     14758          gcx*)
     14759            # Green Hills C++ Compiler
     14760            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
     14761
     14762            # The C++ compiler must be used to create the archive.
     14763            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
     14764            ;;
     14765          *)
     14766            # GNU C++ compiler with Solaris linker
     14767            if test yes,no = "$GXX,$with_gnu_ld"; then
     14768              no_undefined_flag_CXX=' $wl-z ${wl}defs'
     14769              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
     14770                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
     14771                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     14772                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     14773
     14774                # Commands to make compiler produce verbose output that lists
     14775                # what "hidden" libraries, object files and flags are used when
     14776                # linking a shared library.
     14777                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
     14778              else
     14779                # g++ 2.7 appears to require '-G' NOT '-shared' on this
     14780                # platform.
     14781                archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
     14782                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     14783                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     14784
     14785                # Commands to make compiler produce verbose output that lists
     14786                # what "hidden" libraries, object files and flags are used when
     14787                # linking a shared library.
     14788                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
     14789              fi
     14790
     14791              hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
     14792              case $host_os in
     14793                solaris2.[0-5] | solaris2.[0-5].*) ;;
     14794                *)
     14795                  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
     14796                  ;;
     14797              esac
     14798            fi
     14799            ;;
     14800        esac
     14801        ;;
     14802
     14803    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
     14804      no_undefined_flag_CXX='$wl-z,text'
     14805      archive_cmds_need_lc_CXX=no
     14806      hardcode_shlibpath_var_CXX=no
     14807      runpath_var='LD_RUN_PATH'
     14808
     14809      case $cc_basename in
     14810        CC*)
     14811          archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14812          archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14813          ;;
     14814        *)
     14815          archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14816          archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14817          ;;
     14818      esac
     14819      ;;
     14820
     14821      sysv5* | sco3.2v5* | sco5v6*)
     14822        # Note: We CANNOT use -z defs as we might desire, because we do not
     14823        # link with -lc, and that would cause any symbols used from libc to
     14824        # always be unresolved, which means just about no library would
     14825        # ever link correctly.  If we're not using GNU ld we use -z text
     14826        # though, which does catch some bad symbols but isn't as heavy-handed
     14827        # as -z defs.
     14828        no_undefined_flag_CXX='$wl-z,text'
     14829        allow_undefined_flag_CXX='$wl-z,nodefs'
     14830        archive_cmds_need_lc_CXX=no
     14831        hardcode_shlibpath_var_CXX=no
     14832        hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
     14833        hardcode_libdir_separator_CXX=':'
     14834        link_all_deplibs_CXX=yes
     14835        export_dynamic_flag_spec_CXX='$wl-Bexport'
     14836        runpath_var='LD_RUN_PATH'
     14837
     14838        case $cc_basename in
     14839          CC*)
     14840            archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14841            archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14842            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
     14843              '"$old_archive_cmds_CXX"
     14844            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
     14845              '"$reload_cmds_CXX"
     14846            ;;
     14847          *)
     14848            archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14849            archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14850            ;;
     14851        esac
     14852      ;;
     14853
     14854      tandem*)
     14855        case $cc_basename in
     14856          NCC*)
     14857            # NonStop-UX NCC 3.20
     14858            # FIXME: insert proper C++ library support
     14859            ld_shlibs_CXX=no
     14860            ;;
     14861          *)
     14862            # FIXME: insert proper C++ library support
     14863            ld_shlibs_CXX=no
     14864            ;;
     14865        esac
     14866        ;;
     14867
     14868      vxworks*)
     14869        # FIXME: insert proper C++ library support
     14870        ld_shlibs_CXX=no
     14871        ;;
     14872
     14873      *)
     14874        # FIXME: insert proper C++ library support
     14875        ld_shlibs_CXX=no
     14876        ;;
     14877    esac
     14878
     14879    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
     14880$as_echo "$ld_shlibs_CXX" >&6; }
     14881    test no = "$ld_shlibs_CXX" && can_build_shared=no
     14882
     14883    GCC_CXX=$GXX
     14884    LD_CXX=$LD
     14885
     14886    ## CAVEAT EMPTOR:
     14887    ## There is no encapsulation within the following macros, do not change
     14888    ## the running order or otherwise move them around unless you know exactly
     14889    ## what you are doing...
     14890    # Dependencies to place before and after the object being linked:
     14891predep_objects_CXX=
     14892postdep_objects_CXX=
     14893predeps_CXX=
     14894postdeps_CXX=
     14895compiler_lib_search_path_CXX=
     14896
     14897cat > conftest.$ac_ext <<_LT_EOF
     14898class Foo
     14899{
     14900public:
     14901  Foo (void) { a = 0; }
     14902private:
     14903  int a;
     14904};
     14905_LT_EOF
     14906
     14907
     14908_lt_libdeps_save_CFLAGS=$CFLAGS
     14909case "$CC $CFLAGS " in #(
     14910*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
     14911*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
     14912*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
     14913esac
     14914
     14915if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     14916  (eval $ac_compile) 2>&5
     14917  ac_status=$?
     14918  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     14919  test $ac_status = 0; }; then
     14920  # Parse the compiler output and extract the necessary
     14921  # objects, libraries and library flags.
     14922
     14923  # Sentinel used to keep track of whether or not we are before
     14924  # the conftest object file.
     14925  pre_test_object_deps_done=no
     14926
     14927  for p in `eval "$output_verbose_link_cmd"`; do
     14928    case $prev$p in
     14929
     14930    -L* | -R* | -l*)
     14931       # Some compilers place space between "-{L,R}" and the path.
     14932       # Remove the space.
     14933       if test x-L = "$p" ||
     14934          test x-R = "$p"; then
     14935         prev=$p
     14936         continue
     14937       fi
     14938
     14939       # Expand the sysroot to ease extracting the directories later.
     14940       if test -z "$prev"; then
     14941         case $p in
     14942         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
     14943         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
     14944         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
     14945         esac
     14946       fi
     14947       case $p in
     14948       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
     14949       esac
     14950       if test no = "$pre_test_object_deps_done"; then
     14951         case $prev in
     14952         -L | -R)
     14953           # Internal compiler library paths should come after those
     14954           # provided the user.  The postdeps already come after the
     14955           # user supplied libs so there is no need to process them.
     14956           if test -z "$compiler_lib_search_path_CXX"; then
     14957             compiler_lib_search_path_CXX=$prev$p
     14958           else
     14959             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
     14960           fi
     14961           ;;
     14962         # The "-l" case would never come before the object being
     14963         # linked, so don't bother handling this case.
     14964         esac
     14965       else
     14966         if test -z "$postdeps_CXX"; then
     14967           postdeps_CXX=$prev$p
     14968         else
     14969           postdeps_CXX="${postdeps_CXX} $prev$p"
     14970         fi
     14971       fi
     14972       prev=
     14973       ;;
     14974
     14975    *.lto.$objext) ;; # Ignore GCC LTO objects
     14976    *.$objext)
     14977       # This assumes that the test object file only shows up
     14978       # once in the compiler output.
     14979       if test "$p" = "conftest.$objext"; then
     14980         pre_test_object_deps_done=yes
     14981         continue
     14982       fi
     14983
     14984       if test no = "$pre_test_object_deps_done"; then
     14985         if test -z "$predep_objects_CXX"; then
     14986           predep_objects_CXX=$p
     14987         else
     14988           predep_objects_CXX="$predep_objects_CXX $p"
     14989         fi
     14990       else
     14991         if test -z "$postdep_objects_CXX"; then
     14992           postdep_objects_CXX=$p
     14993         else
     14994           postdep_objects_CXX="$postdep_objects_CXX $p"
     14995         fi
     14996       fi
     14997       ;;
     14998
     14999    *) ;; # Ignore the rest.
     15000
     15001    esac
     15002  done
     15003
     15004  # Clean up.
     15005  rm -f a.out a.exe
     15006else
     15007  echo "libtool.m4: error: problem compiling CXX test program"
     15008fi
     15009
     15010$RM -f confest.$objext
     15011CFLAGS=$_lt_libdeps_save_CFLAGS
     15012
     15013# PORTME: override above test on systems where it is broken
     15014case $host_os in
     15015interix[3-9]*)
     15016  # Interix 3.5 installs completely hosed .la files for C++, so rather than
     15017  # hack all around it, let's just trust "g++" to DTRT.
     15018  predep_objects_CXX=
     15019  postdep_objects_CXX=
     15020  postdeps_CXX=
     15021  ;;
     15022esac
     15023
     15024
     15025case " $postdeps_CXX " in
     15026*" -lc "*) archive_cmds_need_lc_CXX=no ;;
     15027esac
     15028 compiler_lib_search_dirs_CXX=
     15029if test -n "${compiler_lib_search_path_CXX}"; then
     15030 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
     15031fi
     15032
     15033
     15034
     15035
     15036
     15037
     15038
     15039
     15040
     15041
     15042
     15043
     15044
     15045
     15046
     15047
     15048
     15049
     15050
     15051
     15052
     15053
     15054
     15055
     15056
     15057
     15058
     15059
     15060
     15061
     15062
     15063    lt_prog_compiler_wl_CXX=
     15064lt_prog_compiler_pic_CXX=
     15065lt_prog_compiler_static_CXX=
     15066
     15067
     15068  # C++ specific cases for pic, static, wl, etc.
     15069  if test yes = "$GXX"; then
     15070    lt_prog_compiler_wl_CXX='-Wl,'
     15071    lt_prog_compiler_static_CXX='-static'
     15072
     15073    case $host_os in
     15074    aix*)
     15075      # All AIX code is PIC.
     15076      if test ia64 = "$host_cpu"; then
     15077        # AIX 5 now supports IA64 processor
     15078        lt_prog_compiler_static_CXX='-Bstatic'
     15079      fi
     15080      lt_prog_compiler_pic_CXX='-fPIC'
     15081      ;;
     15082
     15083    amigaos*)
     15084      case $host_cpu in
     15085      powerpc)
     15086            # see comment about AmigaOS4 .so support
     15087            lt_prog_compiler_pic_CXX='-fPIC'
     15088        ;;
     15089      m68k)
     15090            # FIXME: we need at least 68020 code to build shared libraries, but
     15091            # adding the '-m68020' flag to GCC prevents building anything better,
     15092            # like '-m68040'.
     15093            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
     15094        ;;
     15095      esac
     15096      ;;
     15097
     15098    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     15099      # PIC is the default for these OSes.
     15100      ;;
     15101    mingw* | cygwin* | os2* | pw32* | cegcc*)
     15102      # This hack is so that the source file can tell whether it is being
     15103      # built for inclusion in a dll (and should export symbols for example).
     15104      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     15105      # (--disable-auto-import) libraries
     15106      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
     15107      case $host_os in
     15108      os2*)
     15109        lt_prog_compiler_static_CXX='$wl-static'
     15110        ;;
     15111      esac
     15112      ;;
     15113    darwin* | rhapsody*)
     15114      # PIC is the default on this platform
     15115      # Common symbols not allowed in MH_DYLIB files
     15116      lt_prog_compiler_pic_CXX='-fno-common'
     15117      ;;
     15118    *djgpp*)
     15119      # DJGPP does not support shared libraries at all
     15120      lt_prog_compiler_pic_CXX=
     15121      ;;
     15122    haiku*)
     15123      # PIC is the default for Haiku.
     15124      # The "-static" flag exists, but is broken.
     15125      lt_prog_compiler_static_CXX=
     15126      ;;
     15127    interix[3-9]*)
     15128      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
     15129      # Instead, we relocate shared libraries at runtime.
     15130      ;;
     15131    sysv4*MP*)
     15132      if test -d /usr/nec; then
     15133        lt_prog_compiler_pic_CXX=-Kconform_pic
     15134      fi
     15135      ;;
     15136    hpux*)
     15137      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
     15138      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
     15139      # sets the default TLS model and affects inlining.
     15140      case $host_cpu in
     15141      hppa*64*)
     15142        ;;
     15143      *)
     15144        lt_prog_compiler_pic_CXX='-fPIC'
     15145        ;;
     15146      esac
     15147      ;;
     15148    *qnx* | *nto*)
     15149      # QNX uses GNU C++, but need to define -shared option too, otherwise
     15150      # it will coredump.
     15151      lt_prog_compiler_pic_CXX='-fPIC -shared'
     15152      ;;
     15153    *)
     15154      lt_prog_compiler_pic_CXX='-fPIC'
     15155      ;;
     15156    esac
     15157  else
     15158    case $host_os in
     15159      aix[4-9]*)
     15160        # All AIX code is PIC.
     15161        if test ia64 = "$host_cpu"; then
     15162          # AIX 5 now supports IA64 processor
     15163          lt_prog_compiler_static_CXX='-Bstatic'
     15164        else
     15165          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
     15166        fi
     15167        ;;
     15168      chorus*)
     15169        case $cc_basename in
     15170        cxch68*)
     15171          # Green Hills C++ Compiler
     15172          # _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"
     15173          ;;
     15174        esac
     15175        ;;
     15176      mingw* | cygwin* | os2* | pw32* | cegcc*)
     15177        # This hack is so that the source file can tell whether it is being
     15178        # built for inclusion in a dll (and should export symbols for example).
     15179        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
     15180        ;;
     15181      dgux*)
     15182        case $cc_basename in
     15183          ec++*)
     15184            lt_prog_compiler_pic_CXX='-KPIC'
     15185            ;;
     15186          ghcx*)
     15187            # Green Hills C++ Compiler
     15188            lt_prog_compiler_pic_CXX='-pic'
     15189            ;;
     15190          *)
     15191            ;;
     15192        esac
     15193        ;;
     15194      freebsd* | dragonfly*)
     15195        # FreeBSD uses GNU C++
     15196        ;;
     15197      hpux9* | hpux10* | hpux11*)
     15198        case $cc_basename in
     15199          CC*)
     15200            lt_prog_compiler_wl_CXX='-Wl,'
     15201            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
     15202            if test ia64 != "$host_cpu"; then
     15203              lt_prog_compiler_pic_CXX='+Z'
     15204            fi
     15205            ;;
     15206          aCC*)
     15207            lt_prog_compiler_wl_CXX='-Wl,'
     15208            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
     15209            case $host_cpu in
     15210            hppa*64*|ia64*)
     15211              # +Z the default
     15212              ;;
     15213            *)
     15214              lt_prog_compiler_pic_CXX='+Z'
     15215              ;;
     15216            esac
     15217            ;;
     15218          *)
     15219            ;;
     15220        esac
     15221        ;;
     15222      interix*)
     15223        # This is c89, which is MS Visual C++ (no shared libs)
     15224        # Anyone wants to do a port?
     15225        ;;
     15226      irix5* | irix6* | nonstopux*)
     15227        case $cc_basename in
     15228          CC*)
     15229            lt_prog_compiler_wl_CXX='-Wl,'
     15230            lt_prog_compiler_static_CXX='-non_shared'
     15231            # CC pic flag -KPIC is the default.
     15232            ;;
     15233          *)
     15234            ;;
     15235        esac
     15236        ;;
     15237      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     15238        case $cc_basename in
     15239          KCC*)
     15240            # KAI C++ Compiler
     15241            lt_prog_compiler_wl_CXX='--backend -Wl,'
     15242            lt_prog_compiler_pic_CXX='-fPIC'
     15243            ;;
     15244          ecpc* )
     15245            # old Intel C++ for x86_64, which still supported -KPIC.
     15246            lt_prog_compiler_wl_CXX='-Wl,'
     15247            lt_prog_compiler_pic_CXX='-KPIC'
     15248            lt_prog_compiler_static_CXX='-static'
     15249            ;;
     15250          icpc* )
     15251            # Intel C++, used to be incompatible with GCC.
     15252            # ICC 10 doesn't accept -KPIC any more.
     15253            lt_prog_compiler_wl_CXX='-Wl,'
     15254            lt_prog_compiler_pic_CXX='-fPIC'
     15255            lt_prog_compiler_static_CXX='-static'
     15256            ;;
     15257          pgCC* | pgcpp*)
     15258            # Portland Group C++ compiler
     15259            lt_prog_compiler_wl_CXX='-Wl,'
     15260            lt_prog_compiler_pic_CXX='-fpic'
     15261            lt_prog_compiler_static_CXX='-Bstatic'
     15262            ;;
     15263          cxx*)
     15264            # Compaq C++
     15265            # Make sure the PIC flag is empty.  It appears that all Alpha
     15266            # Linux and Compaq Tru64 Unix objects are PIC.
     15267            lt_prog_compiler_pic_CXX=
     15268            lt_prog_compiler_static_CXX='-non_shared'
     15269            ;;
     15270          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
     15271            # IBM XL 8.0, 9.0 on PPC and BlueGene
     15272            lt_prog_compiler_wl_CXX='-Wl,'
     15273            lt_prog_compiler_pic_CXX='-qpic'
     15274            lt_prog_compiler_static_CXX='-qstaticlink'
     15275            ;;
     15276          *)
     15277            case `$CC -V 2>&1 | sed 5q` in
     15278            *Sun\ C*)
     15279              # Sun C++ 5.9
     15280              lt_prog_compiler_pic_CXX='-KPIC'
     15281              lt_prog_compiler_static_CXX='-Bstatic'
     15282              lt_prog_compiler_wl_CXX='-Qoption ld '
     15283              ;;
     15284            esac
     15285            ;;
     15286        esac
     15287        ;;
     15288      lynxos*)
     15289        ;;
     15290      m88k*)
     15291        ;;
     15292      mvs*)
     15293        case $cc_basename in
     15294          cxx*)
     15295            lt_prog_compiler_pic_CXX='-W c,exportall'
     15296            ;;
     15297          *)
     15298            ;;
     15299        esac
     15300        ;;
     15301      netbsd* | netbsdelf*-gnu)
     15302        ;;
     15303      *qnx* | *nto*)
     15304        # QNX uses GNU C++, but need to define -shared option too, otherwise
     15305        # it will coredump.
     15306        lt_prog_compiler_pic_CXX='-fPIC -shared'
     15307        ;;
     15308      osf3* | osf4* | osf5*)
     15309        case $cc_basename in
     15310          KCC*)
     15311            lt_prog_compiler_wl_CXX='--backend -Wl,'
     15312            ;;
     15313          RCC*)
     15314            # Rational C++ 2.4.1
     15315            lt_prog_compiler_pic_CXX='-pic'
     15316            ;;
     15317          cxx*)
     15318            # Digital/Compaq C++
     15319            lt_prog_compiler_wl_CXX='-Wl,'
     15320            # Make sure the PIC flag is empty.  It appears that all Alpha
     15321            # Linux and Compaq Tru64 Unix objects are PIC.
     15322            lt_prog_compiler_pic_CXX=
     15323            lt_prog_compiler_static_CXX='-non_shared'
     15324            ;;
     15325          *)
     15326            ;;
     15327        esac
     15328        ;;
     15329      psos*)
     15330        ;;
     15331      solaris*)
     15332        case $cc_basename in
     15333          CC* | sunCC*)
     15334            # Sun C++ 4.2, 5.x and Centerline C++
     15335            lt_prog_compiler_pic_CXX='-KPIC'
     15336            lt_prog_compiler_static_CXX='-Bstatic'
     15337            lt_prog_compiler_wl_CXX='-Qoption ld '
     15338            ;;
     15339          gcx*)
     15340            # Green Hills C++ Compiler
     15341            lt_prog_compiler_pic_CXX='-PIC'
     15342            ;;
     15343          *)
     15344            ;;
     15345        esac
     15346        ;;
     15347      sunos4*)
     15348        case $cc_basename in
     15349          CC*)
     15350            # Sun C++ 4.x
     15351            lt_prog_compiler_pic_CXX='-pic'
     15352            lt_prog_compiler_static_CXX='-Bstatic'
     15353            ;;
     15354          lcc*)
     15355            # Lucid
     15356            lt_prog_compiler_pic_CXX='-pic'
     15357            ;;
     15358          *)
     15359            ;;
     15360        esac
     15361        ;;
     15362      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
     15363        case $cc_basename in
     15364          CC*)
     15365            lt_prog_compiler_wl_CXX='-Wl,'
     15366            lt_prog_compiler_pic_CXX='-KPIC'
     15367            lt_prog_compiler_static_CXX='-Bstatic'
     15368            ;;
     15369        esac
     15370        ;;
     15371      tandem*)
     15372        case $cc_basename in
     15373          NCC*)
     15374            # NonStop-UX NCC 3.20
     15375            lt_prog_compiler_pic_CXX='-KPIC'
     15376            ;;
     15377          *)
     15378            ;;
     15379        esac
     15380        ;;
     15381      vxworks*)
     15382        ;;
     15383      *)
     15384        lt_prog_compiler_can_build_shared_CXX=no
     15385        ;;
     15386    esac
     15387  fi
     15388
     15389case $host_os in
     15390  # For platforms that do not support PIC, -DPIC is meaningless:
     15391  *djgpp*)
     15392    lt_prog_compiler_pic_CXX=
     15393    ;;
     15394  *)
     15395    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
     15396    ;;
     15397esac
     15398
     15399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
     15400$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
     15401if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
     15402  $as_echo_n "(cached) " >&6
     15403else
     15404  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
     15405fi
     15406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
     15407$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
     15408lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
     15409
     15410#
     15411# Check to make sure the PIC flag actually works.
     15412#
     15413if test -n "$lt_prog_compiler_pic_CXX"; then
     15414  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
     15415$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
     15416if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
     15417  $as_echo_n "(cached) " >&6
     15418else
     15419  lt_cv_prog_compiler_pic_works_CXX=no
     15420   ac_outfile=conftest.$ac_objext
     15421   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     15422   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
     15423   # Insert the option either (1) after the last *FLAGS variable, or
     15424   # (2) before a word containing "conftest.", or (3) at the end.
     15425   # Note that $ac_compile itself does not contain backslashes and begins
     15426   # with a dollar sign (not a hyphen), so the echo should work correctly.
     15427   # The option is referenced via a variable to avoid confusing sed.
     15428   lt_compile=`echo "$ac_compile" | $SED \
     15429   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     15430   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     15431   -e 's:$: $lt_compiler_flag:'`
     15432   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     15433   (eval "$lt_compile" 2>conftest.err)
     15434   ac_status=$?
     15435   cat conftest.err >&5
     15436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15437   if (exit $ac_status) && test -s "$ac_outfile"; then
     15438     # The compiler can only warn and ignore the option if not recognized
     15439     # So say no if there are warnings other than the usual output.
     15440     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
     15441     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     15442     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
     15443       lt_cv_prog_compiler_pic_works_CXX=yes
     15444     fi
     15445   fi
     15446   $RM conftest*
     15447
     15448fi
     15449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
     15450$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
     15451
     15452if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
     15453    case $lt_prog_compiler_pic_CXX in
     15454     "" | " "*) ;;
     15455     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
     15456     esac
     15457else
     15458    lt_prog_compiler_pic_CXX=
     15459     lt_prog_compiler_can_build_shared_CXX=no
     15460fi
     15461
     15462fi
     15463
     15464
     15465
     15466
     15467
     15468#
     15469# Check to make sure the static flag actually works.
     15470#
     15471wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
     15472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
     15473$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
     15474if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
     15475  $as_echo_n "(cached) " >&6
     15476else
     15477  lt_cv_prog_compiler_static_works_CXX=no
     15478   save_LDFLAGS=$LDFLAGS
     15479   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
     15480   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     15481   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
     15482     # The linker can only warn and ignore the option if not recognized
     15483     # So say no if there are warnings
     15484     if test -s conftest.err; then
     15485       # Append any errors to the config.log.
     15486       cat conftest.err 1>&5
     15487       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
     15488       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     15489       if diff conftest.exp conftest.er2 >/dev/null; then
     15490         lt_cv_prog_compiler_static_works_CXX=yes
     15491       fi
     15492     else
     15493       lt_cv_prog_compiler_static_works_CXX=yes
     15494     fi
     15495   fi
     15496   $RM -r conftest*
     15497   LDFLAGS=$save_LDFLAGS
     15498
     15499fi
     15500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
     15501$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
     15502
     15503if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
     15504    :
     15505else
     15506    lt_prog_compiler_static_CXX=
     15507fi
     15508
     15509
     15510
     15511
     15512    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     15513$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     15514if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
     15515  $as_echo_n "(cached) " >&6
     15516else
     15517  lt_cv_prog_compiler_c_o_CXX=no
     15518   $RM -r conftest 2>/dev/null
     15519   mkdir conftest
     15520   cd conftest
     15521   mkdir out
     15522   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     15523
     15524   lt_compiler_flag="-o out/conftest2.$ac_objext"
     15525   # Insert the option either (1) after the last *FLAGS variable, or
     15526   # (2) before a word containing "conftest.", or (3) at the end.
     15527   # Note that $ac_compile itself does not contain backslashes and begins
     15528   # with a dollar sign (not a hyphen), so the echo should work correctly.
     15529   lt_compile=`echo "$ac_compile" | $SED \
     15530   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     15531   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     15532   -e 's:$: $lt_compiler_flag:'`
     15533   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     15534   (eval "$lt_compile" 2>out/conftest.err)
     15535   ac_status=$?
     15536   cat out/conftest.err >&5
     15537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15538   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     15539   then
     15540     # The compiler can only warn and ignore the option if not recognized
     15541     # So say no if there are warnings
     15542     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     15543     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     15544     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     15545       lt_cv_prog_compiler_c_o_CXX=yes
     15546     fi
     15547   fi
     15548   chmod u+w . 2>&5
     15549   $RM conftest*
     15550   # SGI C++ compiler will create directory out/ii_files/ for
     15551   # template instantiation
     15552   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     15553   $RM out/* && rmdir out
     15554   cd ..
     15555   $RM -r conftest
     15556   $RM conftest*
     15557
     15558fi
     15559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
     15560$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
     15561
     15562
     15563
     15564    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     15565$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     15566if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
     15567  $as_echo_n "(cached) " >&6
     15568else
     15569  lt_cv_prog_compiler_c_o_CXX=no
     15570   $RM -r conftest 2>/dev/null
     15571   mkdir conftest
     15572   cd conftest
     15573   mkdir out
     15574   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     15575
     15576   lt_compiler_flag="-o out/conftest2.$ac_objext"
     15577   # Insert the option either (1) after the last *FLAGS variable, or
     15578   # (2) before a word containing "conftest.", or (3) at the end.
     15579   # Note that $ac_compile itself does not contain backslashes and begins
     15580   # with a dollar sign (not a hyphen), so the echo should work correctly.
     15581   lt_compile=`echo "$ac_compile" | $SED \
     15582   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     15583   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     15584   -e 's:$: $lt_compiler_flag:'`
     15585   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     15586   (eval "$lt_compile" 2>out/conftest.err)
     15587   ac_status=$?
     15588   cat out/conftest.err >&5
     15589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15590   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     15591   then
     15592     # The compiler can only warn and ignore the option if not recognized
     15593     # So say no if there are warnings
     15594     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     15595     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     15596     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     15597       lt_cv_prog_compiler_c_o_CXX=yes
     15598     fi
     15599   fi
     15600   chmod u+w . 2>&5
     15601   $RM conftest*
     15602   # SGI C++ compiler will create directory out/ii_files/ for
     15603   # template instantiation
     15604   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     15605   $RM out/* && rmdir out
     15606   cd ..
     15607   $RM -r conftest
     15608   $RM conftest*
     15609
     15610fi
     15611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
     15612$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
     15613
     15614
     15615
     15616
     15617hard_links=nottested
     15618if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
     15619  # do not overwrite the value of need_locks provided by the user
     15620  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     15621$as_echo_n "checking if we can lock with hard links... " >&6; }
     15622  hard_links=yes
     15623  $RM conftest*
     15624  ln conftest.a conftest.b 2>/dev/null && hard_links=no
     15625  touch conftest.a
     15626  ln conftest.a conftest.b 2>&5 || hard_links=no
     15627  ln conftest.a conftest.b 2>/dev/null && hard_links=no
     15628  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
     15629$as_echo "$hard_links" >&6; }
     15630  if test no = "$hard_links"; then
     15631    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
     15632$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
     15633    need_locks=warn
     15634  fi
     15635else
     15636  need_locks=no
     15637fi
     15638
     15639
     15640
     15641    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     15642$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
     15643
     15644  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     15645  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
     15646  case $host_os in
     15647  aix[4-9]*)
     15648    # If we're using GNU nm, then we don't want the "-C" option.
     15649    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     15650    # Without the "-l" option, or with the "-B" option, AIX nm treats
     15651    # weak defined symbols like other global defined symbols, whereas
     15652    # GNU nm marks them as "W".
     15653    # While the 'weak' keyword is ignored in the Export File, we need
     15654    # it in the Import File for the 'aix-soname' feature, so we have
     15655    # to replace the "-B" option with "-P" for AIX nm.
     15656    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
     15657      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
     15658    else
     15659      export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
     15660    fi
     15661    ;;
     15662  pw32*)
     15663    export_symbols_cmds_CXX=$ltdll_cmds
     15664    ;;
     15665  cygwin* | mingw* | cegcc*)
     15666    case $cc_basename in
     15667    cl*)
     15668      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
     15669      ;;
     15670    *)
     15671      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'
     15672      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
     15673      ;;
     15674    esac
     15675    ;;
     15676  linux* | k*bsd*-gnu | gnu*)
     15677    link_all_deplibs_CXX=no
     15678    ;;
     15679  *)
     15680    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     15681    ;;
     15682  esac
     15683
     15684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
     15685$as_echo "$ld_shlibs_CXX" >&6; }
     15686test no = "$ld_shlibs_CXX" && can_build_shared=no
     15687
     15688with_gnu_ld_CXX=$with_gnu_ld
     15689
     15690
     15691
     15692
     15693
     15694
     15695#
     15696# Do we need to explicitly link libc?
     15697#
     15698case "x$archive_cmds_need_lc_CXX" in
     15699x|xyes)
     15700  # Assume -lc should be added
     15701  archive_cmds_need_lc_CXX=yes
     15702
     15703  if test yes,yes = "$GCC,$enable_shared"; then
     15704    case $archive_cmds_CXX in
     15705    *'~'*)
     15706      # FIXME: we may have to deal with multi-command sequences.
     15707      ;;
     15708    '$CC '*)
     15709      # Test whether the compiler implicitly links with -lc since on some
     15710      # systems, -lgcc has to come before -lc. If gcc already passes -lc
     15711      # to ld, don't add -lc before -lgcc.
     15712      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
     15713$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
     15714if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
     15715  $as_echo_n "(cached) " >&6
     15716else
     15717  $RM conftest*
     15718        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     15719
     15720        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     15721  (eval $ac_compile) 2>&5
     15722  ac_status=$?
     15723  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     15724  test $ac_status = 0; } 2>conftest.err; then
     15725          soname=conftest
     15726          lib=conftest
     15727          libobjs=conftest.$ac_objext
     15728          deplibs=
     15729          wl=$lt_prog_compiler_wl_CXX
     15730          pic_flag=$lt_prog_compiler_pic_CXX
     15731          compiler_flags=-v
     15732          linker_flags=-v
     15733          verstring=
     15734          output_objdir=.
     15735          libname=conftest
     15736          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
     15737          allow_undefined_flag_CXX=
     15738          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
     15739  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
     15740  ac_status=$?
     15741  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     15742  test $ac_status = 0; }
     15743          then
     15744            lt_cv_archive_cmds_need_lc_CXX=no
     15745          else
     15746            lt_cv_archive_cmds_need_lc_CXX=yes
     15747          fi
     15748          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
     15749        else
     15750          cat conftest.err 1>&5
     15751        fi
     15752        $RM conftest*
     15753
     15754fi
     15755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
     15756$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
     15757      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
     15758      ;;
     15759    esac
     15760  fi
     15761  ;;
     15762esac
     15763
     15764
     15765
     15766
     15767
     15768
     15769
     15770
     15771
     15772
     15773
     15774
     15775
     15776
     15777
     15778
     15779
     15780
     15781
     15782
     15783
     15784
     15785
     15786
     15787
     15788
     15789
     15790
     15791
     15792
     15793
     15794
     15795
     15796
     15797
     15798
     15799
     15800
     15801
     15802
     15803
     15804
     15805
     15806
     15807
     15808
     15809
     15810
     15811
     15812
     15813
     15814
     15815
     15816
     15817
     15818
     15819
     15820
     15821
     15822
     15823
     15824
     15825    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
     15826$as_echo_n "checking dynamic linker characteristics... " >&6; }
     15827
     15828library_names_spec=
     15829libname_spec='lib$name'
     15830soname_spec=
     15831shrext_cmds=.so
     15832postinstall_cmds=
     15833postuninstall_cmds=
     15834finish_cmds=
     15835finish_eval=
     15836shlibpath_var=
     15837shlibpath_overrides_runpath=unknown
     15838version_type=none
     15839dynamic_linker="$host_os ld.so"
     15840sys_lib_dlsearch_path_spec="/lib /usr/lib"
     15841need_lib_prefix=unknown
     15842hardcode_into_libs=no
     15843
     15844# when you set need_version to no, make sure it does not cause -set_version
     15845# flags to be left without arguments
     15846need_version=unknown
     15847
     15848
     15849
     15850case $host_os in
     15851aix3*)
     15852  version_type=linux # correct to gnu/linux during the next big refactor
     15853  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
     15854  shlibpath_var=LIBPATH
     15855
     15856  # AIX 3 has no versioning support, so we append a major version to the name.
     15857  soname_spec='$libname$release$shared_ext$major'
     15858  ;;
     15859
     15860aix[4-9]*)
     15861  version_type=linux # correct to gnu/linux during the next big refactor
     15862  need_lib_prefix=no
     15863  need_version=no
     15864  hardcode_into_libs=yes
     15865  if test ia64 = "$host_cpu"; then
     15866    # AIX 5 supports IA64
     15867    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
     15868    shlibpath_var=LD_LIBRARY_PATH
     15869  else
     15870    # With GCC up to 2.95.x, collect2 would create an import file
     15871    # for dependence libraries.  The import file would start with
     15872    # the line '#! .'.  This would cause the generated library to
     15873    # depend on '.', always an invalid library.  This was fixed in
     15874    # development snapshots of GCC prior to 3.0.
     15875    case $host_os in
     15876      aix4 | aix4.[01] | aix4.[01].*)
     15877      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
     15878           echo ' yes '
     15879           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
     15880        :
     15881      else
     15882        can_build_shared=no
     15883      fi
     15884      ;;
     15885    esac
     15886    # Using Import Files as archive members, it is possible to support
     15887    # filename-based versioning of shared library archives on AIX. While
     15888    # this would work for both with and without runtime linking, it will
     15889    # prevent static linking of such archives. So we do filename-based
     15890    # shared library versioning with .so extension only, which is used
     15891    # when both runtime linking and shared linking is enabled.
     15892    # Unfortunately, runtime linking may impact performance, so we do
     15893    # not want this to be the default eventually. Also, we use the
     15894    # versioned .so libs for executables only if there is the -brtl
     15895    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
     15896    # To allow for filename-based versioning support, we need to create
     15897    # libNAME.so.V as an archive file, containing:
     15898    # *) an Import File, referring to the versioned filename of the
     15899    #    archive as well as the shared archive member, telling the
     15900    #    bitwidth (32 or 64) of that shared object, and providing the
     15901    #    list of exported symbols of that shared object, eventually
     15902    #    decorated with the 'weak' keyword
     15903    # *) the shared object with the F_LOADONLY flag set, to really avoid
     15904    #    it being seen by the linker.
     15905    # At run time we better use the real file rather than another symlink,
     15906    # but for link time we create the symlink libNAME.so -> libNAME.so.V
     15907
     15908    case $with_aix_soname,$aix_use_runtimelinking in
     15909    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
     15910    # soname into executable. Probably we can add versioning support to
     15911    # collect2, so additional links can be useful in future.
     15912    aix,yes) # traditional libtool
     15913      dynamic_linker='AIX unversionable lib.so'
     15914      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
     15915      # instead of lib<name>.a to let people know that these are not
     15916      # typical AIX shared libraries.
     15917      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15918      ;;
     15919    aix,no) # traditional AIX only
     15920      dynamic_linker='AIX lib.a(lib.so.V)'
     15921      # We preserve .a as extension for shared libraries through AIX4.2
     15922      # and later when we are not doing run time linking.
     15923      library_names_spec='$libname$release.a $libname.a'
     15924      soname_spec='$libname$release$shared_ext$major'
     15925      ;;
     15926    svr4,*) # full svr4 only
     15927      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
     15928      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     15929      # We do not specify a path in Import Files, so LIBPATH fires.
     15930      shlibpath_overrides_runpath=yes
     15931      ;;
     15932    *,yes) # both, prefer svr4
     15933      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
     15934      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     15935      # unpreferred sharedlib libNAME.a needs extra handling
     15936      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
     15937      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
     15938      # We do not specify a path in Import Files, so LIBPATH fires.
     15939      shlibpath_overrides_runpath=yes
     15940      ;;
     15941    *,no) # both, prefer aix
     15942      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
     15943      library_names_spec='$libname$release.a $libname.a'
     15944      soname_spec='$libname$release$shared_ext$major'
     15945      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
     15946      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
     15947      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
     15948      ;;
     15949    esac
     15950    shlibpath_var=LIBPATH
     15951  fi
     15952  ;;
     15953
     15954amigaos*)
     15955  case $host_cpu in
     15956  powerpc)
     15957    # Since July 2007 AmigaOS4 officially supports .so libraries.
     15958    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
     15959    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15960    ;;
     15961  m68k)
     15962    library_names_spec='$libname.ixlibrary $libname.a'
     15963    # Create ${libname}_ixlibrary.a entries in /sys/libs.
     15964    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
     15965    ;;
     15966  esac
     15967  ;;
     15968
     15969beos*)
     15970  library_names_spec='$libname$shared_ext'
     15971  dynamic_linker="$host_os ld.so"
     15972  shlibpath_var=LIBRARY_PATH
     15973  ;;
     15974
     15975bsdi[45]*)
     15976  version_type=linux # correct to gnu/linux during the next big refactor
     15977  need_version=no
     15978  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15979  soname_spec='$libname$release$shared_ext$major'
     15980  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
     15981  shlibpath_var=LD_LIBRARY_PATH
     15982  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
     15983  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
     15984  # the default ld.so.conf also contains /usr/contrib/lib and
     15985  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
     15986  # libtool to hard-code these into programs
     15987  ;;
     15988
     15989cygwin* | mingw* | pw32* | cegcc*)
     15990  version_type=windows
     15991  shrext_cmds=.dll
     15992  need_version=no
     15993  need_lib_prefix=no
     15994
     15995  case $GCC,$cc_basename in
     15996  yes,*)
     15997    # gcc
     15998    library_names_spec='$libname.dll.a'
     15999    # DLL is installed to $(libdir)/../bin by postinstall_cmds
     16000    postinstall_cmds='base_file=`basename \$file`~
     16001      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
     16002      dldir=$destdir/`dirname \$dlpath`~
     16003      test -d \$dldir || mkdir -p \$dldir~
     16004      $install_prog $dir/$dlname \$dldir/$dlname~
     16005      chmod a+x \$dldir/$dlname~
     16006      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     16007        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     16008      fi'
     16009    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
     16010      dlpath=$dir/\$dldll~
     16011       $RM \$dlpath'
     16012    shlibpath_overrides_runpath=yes
     16013
     16014    case $host_os in
     16015    cygwin*)
     16016      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
     16017      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     16018
     16019      ;;
     16020    mingw* | cegcc*)
     16021      # MinGW DLLs use traditional 'lib' prefix
     16022      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     16023      ;;
     16024    pw32*)
     16025      # pw32 DLLs use 'pw' prefix rather than 'lib'
     16026      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     16027      ;;
     16028    esac
     16029    dynamic_linker='Win32 ld.exe'
     16030    ;;
     16031
     16032  *,cl*)
     16033    # Native MSVC
     16034    libname_spec='$name'
     16035    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     16036    library_names_spec='$libname.dll.lib'
     16037
     16038    case $build_os in
     16039    mingw*)
     16040      sys_lib_search_path_spec=
     16041      lt_save_ifs=$IFS
     16042      IFS=';'
     16043      for lt_path in $LIB
     16044      do
     16045        IFS=$lt_save_ifs
     16046        # Let DOS variable expansion print the short 8.3 style file name.
     16047        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
     16048        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
     16049      done
     16050      IFS=$lt_save_ifs
     16051      # Convert to MSYS style.
     16052      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
     16053      ;;
     16054    cygwin*)
     16055      # Convert to unix form, then to dos form, then back to unix form
     16056      # but this time dos style (no spaces!) so that the unix form looks
     16057      # like /cygdrive/c/PROGRA~1:/cygdr...
     16058      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
     16059      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
     16060      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
     16061      ;;
     16062    *)
     16063      sys_lib_search_path_spec=$LIB
     16064      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
     16065        # It is most probably a Windows format PATH.
     16066        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
     16067      else
     16068        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
     16069      fi
     16070      # FIXME: find the short name or the path components, as spaces are
     16071      # common. (e.g. "Program Files" -> "PROGRA~1")
     16072      ;;
     16073    esac
     16074
     16075    # DLL is installed to $(libdir)/../bin by postinstall_cmds
     16076    postinstall_cmds='base_file=`basename \$file`~
     16077      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
     16078      dldir=$destdir/`dirname \$dlpath`~
     16079      test -d \$dldir || mkdir -p \$dldir~
     16080      $install_prog $dir/$dlname \$dldir/$dlname'
     16081    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
     16082      dlpath=$dir/\$dldll~
     16083       $RM \$dlpath'
     16084    shlibpath_overrides_runpath=yes
     16085    dynamic_linker='Win32 link.exe'
     16086    ;;
     16087
     16088  *)
     16089    # Assume MSVC wrapper
     16090    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
     16091    dynamic_linker='Win32 ld.exe'
     16092    ;;
     16093  esac
     16094  # FIXME: first we should search . and the directory the executable is in
     16095  shlibpath_var=PATH
     16096  ;;
     16097
     16098darwin* | rhapsody*)
     16099  dynamic_linker="$host_os dyld"
     16100  version_type=darwin
     16101  need_lib_prefix=no
     16102  need_version=no
     16103  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
     16104  soname_spec='$libname$release$major$shared_ext'
     16105  shlibpath_overrides_runpath=yes
     16106  shlibpath_var=DYLD_LIBRARY_PATH
     16107  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
     16108
     16109  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
     16110  ;;
     16111
     16112dgux*)
     16113  version_type=linux # correct to gnu/linux during the next big refactor
     16114  need_lib_prefix=no
     16115  need_version=no
     16116  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16117  soname_spec='$libname$release$shared_ext$major'
     16118  shlibpath_var=LD_LIBRARY_PATH
     16119  ;;
     16120
     16121freebsd* | dragonfly*)
     16122  # DragonFly does not have aout.  When/if they implement a new
     16123  # versioning mechanism, adjust this.
     16124  if test -x /usr/bin/objformat; then
     16125    objformat=`/usr/bin/objformat`
     16126  else
     16127    case $host_os in
     16128    freebsd[23].*) objformat=aout ;;
     16129    *) objformat=elf ;;
     16130    esac
     16131  fi
     16132  version_type=freebsd-$objformat
     16133  case $version_type in
     16134    freebsd-elf*)
     16135      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16136      soname_spec='$libname$release$shared_ext$major'
     16137      need_version=no
     16138      need_lib_prefix=no
     16139      ;;
     16140    freebsd-*)
     16141      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     16142      need_version=yes
     16143      ;;
     16144  esac
     16145  shlibpath_var=LD_LIBRARY_PATH
     16146  case $host_os in
     16147  freebsd2.*)
     16148    shlibpath_overrides_runpath=yes
     16149    ;;
     16150  freebsd3.[01]* | freebsdelf3.[01]*)
     16151    shlibpath_overrides_runpath=yes
     16152    hardcode_into_libs=yes
     16153    ;;
     16154  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
     16155  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
     16156    shlibpath_overrides_runpath=no
     16157    hardcode_into_libs=yes
     16158    ;;
     16159  *) # from 4.6 on, and DragonFly
     16160    shlibpath_overrides_runpath=yes
     16161    hardcode_into_libs=yes
     16162    ;;
     16163  esac
     16164  ;;
     16165
     16166haiku*)
     16167  version_type=linux # correct to gnu/linux during the next big refactor
     16168  need_lib_prefix=no
     16169  need_version=no
     16170  dynamic_linker="$host_os runtime_loader"
     16171  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16172  soname_spec='$libname$release$shared_ext$major'
     16173  shlibpath_var=LIBRARY_PATH
     16174  shlibpath_overrides_runpath=no
     16175  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
     16176  hardcode_into_libs=yes
     16177  ;;
     16178
     16179hpux9* | hpux10* | hpux11*)
     16180  # Give a soname corresponding to the major version so that dld.sl refuses to
     16181  # link against other versions.
     16182  version_type=sunos
     16183  need_lib_prefix=no
     16184  need_version=no
     16185  case $host_cpu in
     16186  ia64*)
     16187    shrext_cmds='.so'
     16188    hardcode_into_libs=yes
     16189    dynamic_linker="$host_os dld.so"
     16190    shlibpath_var=LD_LIBRARY_PATH
     16191    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
     16192    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16193    soname_spec='$libname$release$shared_ext$major'
     16194    if test 32 = "$HPUX_IA64_MODE"; then
     16195      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
     16196      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
     16197    else
     16198      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
     16199      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
     16200    fi
     16201    ;;
     16202  hppa*64*)
     16203    shrext_cmds='.sl'
     16204    hardcode_into_libs=yes
     16205    dynamic_linker="$host_os dld.sl"
     16206    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
     16207    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
     16208    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16209    soname_spec='$libname$release$shared_ext$major'
     16210    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
     16211    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     16212    ;;
     16213  *)
     16214    shrext_cmds='.sl'
     16215    dynamic_linker="$host_os dld.sl"
     16216    shlibpath_var=SHLIB_PATH
     16217    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
     16218    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16219    soname_spec='$libname$release$shared_ext$major'
     16220    ;;
     16221  esac
     16222  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
     16223  postinstall_cmds='chmod 555 $lib'
     16224  # or fails outright, so override atomically:
     16225  install_override_mode=555
     16226  ;;
     16227
     16228interix[3-9]*)
     16229  version_type=linux # correct to gnu/linux during the next big refactor
     16230  need_lib_prefix=no
     16231  need_version=no
     16232  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16233  soname_spec='$libname$release$shared_ext$major'
     16234  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
     16235  shlibpath_var=LD_LIBRARY_PATH
     16236  shlibpath_overrides_runpath=no
     16237  hardcode_into_libs=yes
     16238  ;;
     16239
     16240irix5* | irix6* | nonstopux*)
     16241  case $host_os in
     16242    nonstopux*) version_type=nonstopux ;;
     16243    *)
     16244        if test yes = "$lt_cv_prog_gnu_ld"; then
     16245                version_type=linux # correct to gnu/linux during the next big refactor
     16246        else
     16247                version_type=irix
     16248        fi ;;
     16249  esac
     16250  need_lib_prefix=no
     16251  need_version=no
     16252  soname_spec='$libname$release$shared_ext$major'
     16253  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
     16254  case $host_os in
     16255  irix5* | nonstopux*)
     16256    libsuff= shlibsuff=
     16257    ;;
     16258  *)
     16259    case $LD in # libtool.m4 will add one of these switches to LD
     16260    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
     16261      libsuff= shlibsuff= libmagic=32-bit;;
     16262    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
     16263      libsuff=32 shlibsuff=N32 libmagic=N32;;
     16264    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
     16265      libsuff=64 shlibsuff=64 libmagic=64-bit;;
     16266    *) libsuff= shlibsuff= libmagic=never-match;;
     16267    esac
     16268    ;;
     16269  esac
     16270  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
     16271  shlibpath_overrides_runpath=no
     16272  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
     16273  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
     16274  hardcode_into_libs=yes
     16275  ;;
     16276
     16277# No shared lib support for Linux oldld, aout, or coff.
     16278linux*oldld* | linux*aout* | linux*coff*)
     16279  dynamic_linker=no
     16280  ;;
     16281
     16282linux*android*)
     16283  version_type=none # Android doesn't support versioned libraries.
     16284  need_lib_prefix=no
     16285  need_version=no
     16286  library_names_spec='$libname$release$shared_ext'
     16287  soname_spec='$libname$release$shared_ext'
     16288  finish_cmds=
     16289  shlibpath_var=LD_LIBRARY_PATH
     16290  shlibpath_overrides_runpath=yes
     16291
     16292  # This implies no fast_install, which is unacceptable.
     16293  # Some rework will be needed to allow for fast_install
     16294  # before this can be enabled.
     16295  hardcode_into_libs=yes
     16296
     16297  dynamic_linker='Android linker'
     16298  # Don't embed -rpath directories since the linker doesn't support them.
     16299  hardcode_libdir_flag_spec_CXX='-L$libdir'
     16300  ;;
     16301
     16302# This must be glibc/ELF.
     16303linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     16304  version_type=linux # correct to gnu/linux during the next big refactor
     16305  need_lib_prefix=no
     16306  need_version=no
     16307  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16308  soname_spec='$libname$release$shared_ext$major'
     16309  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
     16310  shlibpath_var=LD_LIBRARY_PATH
     16311  shlibpath_overrides_runpath=no
     16312
     16313  # Some binutils ld are patched to set DT_RUNPATH
     16314  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
     16315  $as_echo_n "(cached) " >&6
     16316else
     16317  lt_cv_shlibpath_overrides_runpath=no
     16318    save_LDFLAGS=$LDFLAGS
     16319    save_libdir=$libdir
     16320    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
     16321         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
     16322    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16323/* end confdefs.h.  */
     16324
     16325int
     16326main ()
     16327{
     16328
     16329  ;
     16330  return 0;
     16331}
     16332_ACEOF
     16333if ac_fn_cxx_try_link "$LINENO"; then :
     16334  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
     16335  lt_cv_shlibpath_overrides_runpath=yes
     16336fi
     16337fi
     16338rm -f core conftest.err conftest.$ac_objext \
     16339    conftest$ac_exeext conftest.$ac_ext
     16340    LDFLAGS=$save_LDFLAGS
     16341    libdir=$save_libdir
     16342
     16343fi
     16344
     16345  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
     16346
     16347  # This implies no fast_install, which is unacceptable.
     16348  # Some rework will be needed to allow for fast_install
     16349  # before this can be enabled.
     16350  hardcode_into_libs=yes
     16351
     16352  # Ideally, we could use ldconfig to report *all* directores which are
     16353  # searched for libraries, however this is still not possible.  Aside from not
     16354  # being certain /sbin/ldconfig is available, command
     16355  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
     16356  # even though it is searched at run-time.  Try to do the best guess by
     16357  # appending ld.so.conf contents (and includes) to the search path.
     16358  if test -f /etc/ld.so.conf; then
     16359    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' ' '`
     16360    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
     16361  fi
     16362
     16363  # We used to test for /lib/ld.so.1 and disable shared libraries on
     16364  # powerpc, because MkLinux only supported shared libraries with the
     16365  # GNU dynamic linker.  Since this was broken with cross compilers,
     16366  # most powerpc-linux boxes support dynamic linking these days and
     16367  # people can always --disable-shared, the test was removed, and we
     16368  # assume the GNU/Linux dynamic linker is in use.
     16369  dynamic_linker='GNU/Linux ld.so'
     16370  ;;
     16371
     16372netbsdelf*-gnu)
     16373  version_type=linux
     16374  need_lib_prefix=no
     16375  need_version=no
     16376  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     16377  soname_spec='${libname}${release}${shared_ext}$major'
     16378  shlibpath_var=LD_LIBRARY_PATH
     16379  shlibpath_overrides_runpath=no
     16380  hardcode_into_libs=yes
     16381  dynamic_linker='NetBSD ld.elf_so'
     16382  ;;
     16383
     16384netbsd*)
     16385  version_type=sunos
     16386  need_lib_prefix=no
     16387  need_version=no
     16388  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
     16389    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     16390    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     16391    dynamic_linker='NetBSD (a.out) ld.so'
     16392  else
     16393    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16394    soname_spec='$libname$release$shared_ext$major'
     16395    dynamic_linker='NetBSD ld.elf_so'
     16396  fi
     16397  shlibpath_var=LD_LIBRARY_PATH
     16398  shlibpath_overrides_runpath=yes
     16399  hardcode_into_libs=yes
     16400  ;;
     16401
     16402newsos6)
     16403  version_type=linux # correct to gnu/linux during the next big refactor
     16404  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16405  shlibpath_var=LD_LIBRARY_PATH
     16406  shlibpath_overrides_runpath=yes
     16407  ;;
     16408
     16409*nto* | *qnx*)
     16410  version_type=qnx
     16411  need_lib_prefix=no
     16412  need_version=no
     16413  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16414  soname_spec='$libname$release$shared_ext$major'
     16415  shlibpath_var=LD_LIBRARY_PATH
     16416  shlibpath_overrides_runpath=no
     16417  hardcode_into_libs=yes
     16418  dynamic_linker='ldqnx.so'
     16419  ;;
     16420
     16421openbsd* | bitrig*)
     16422  version_type=sunos
     16423  sys_lib_dlsearch_path_spec=/usr/lib
     16424  need_lib_prefix=no
     16425  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     16426    need_version=no
     16427  else
     16428    need_version=yes
     16429  fi
     16430  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     16431  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     16432  shlibpath_var=LD_LIBRARY_PATH
     16433  shlibpath_overrides_runpath=yes
     16434  ;;
     16435
     16436os2*)
     16437  libname_spec='$name'
     16438  version_type=windows
     16439  shrext_cmds=.dll
     16440  need_version=no
     16441  need_lib_prefix=no
     16442  # OS/2 can only load a DLL with a base name of 8 characters or less.
     16443  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
     16444    v=$($ECHO $release$versuffix | tr -d .-);
     16445    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
     16446    $ECHO $n$v`$shared_ext'
     16447  library_names_spec='${libname}_dll.$libext'
     16448  dynamic_linker='OS/2 ld.exe'
     16449  shlibpath_var=BEGINLIBPATH
     16450  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     16451  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     16452  postinstall_cmds='base_file=`basename \$file`~
     16453    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
     16454    dldir=$destdir/`dirname \$dlpath`~
     16455    test -d \$dldir || mkdir -p \$dldir~
     16456    $install_prog $dir/$dlname \$dldir/$dlname~
     16457    chmod a+x \$dldir/$dlname~
     16458    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     16459      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     16460    fi'
     16461  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
     16462    dlpath=$dir/\$dldll~
     16463    $RM \$dlpath'
     16464  ;;
     16465
     16466osf3* | osf4* | osf5*)
     16467  version_type=osf
     16468  need_lib_prefix=no
     16469  need_version=no
     16470  soname_spec='$libname$release$shared_ext$major'
     16471  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16472  shlibpath_var=LD_LIBRARY_PATH
     16473  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
     16474  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     16475  ;;
     16476
     16477rdos*)
     16478  dynamic_linker=no
     16479  ;;
     16480
     16481solaris*)
     16482  version_type=linux # correct to gnu/linux during the next big refactor
     16483  need_lib_prefix=no
     16484  need_version=no
     16485  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16486  soname_spec='$libname$release$shared_ext$major'
     16487  shlibpath_var=LD_LIBRARY_PATH
     16488  shlibpath_overrides_runpath=yes
     16489  hardcode_into_libs=yes
     16490  # ldd complains unless libraries are executable
     16491  postinstall_cmds='chmod +x $lib'
     16492  ;;
     16493
     16494sunos4*)
     16495  version_type=sunos
     16496  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     16497  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
     16498  shlibpath_var=LD_LIBRARY_PATH
     16499  shlibpath_overrides_runpath=yes
     16500  if test yes = "$with_gnu_ld"; then
     16501    need_lib_prefix=no
     16502  fi
     16503  need_version=yes
     16504  ;;
     16505
     16506sysv4 | sysv4.3*)
     16507  version_type=linux # correct to gnu/linux during the next big refactor
     16508  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16509  soname_spec='$libname$release$shared_ext$major'
     16510  shlibpath_var=LD_LIBRARY_PATH
     16511  case $host_vendor in
     16512    sni)
     16513      shlibpath_overrides_runpath=no
     16514      need_lib_prefix=no
     16515      runpath_var=LD_RUN_PATH
     16516      ;;
     16517    siemens)
     16518      need_lib_prefix=no
     16519      ;;
     16520    motorola)
     16521      need_lib_prefix=no
     16522      need_version=no
     16523      shlibpath_overrides_runpath=no
     16524      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
     16525      ;;
     16526  esac
     16527  ;;
     16528
     16529sysv4*MP*)
     16530  if test -d /usr/nec; then
     16531    version_type=linux # correct to gnu/linux during the next big refactor
     16532    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
     16533    soname_spec='$libname$shared_ext.$major'
     16534    shlibpath_var=LD_LIBRARY_PATH
     16535  fi
     16536  ;;
     16537
     16538sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     16539  version_type=sco
     16540  need_lib_prefix=no
     16541  need_version=no
     16542  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
     16543  soname_spec='$libname$release$shared_ext$major'
     16544  shlibpath_var=LD_LIBRARY_PATH
     16545  shlibpath_overrides_runpath=yes
     16546  hardcode_into_libs=yes
     16547  if test yes = "$with_gnu_ld"; then
     16548    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
     16549  else
     16550    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
     16551    case $host_os in
     16552      sco3.2v5*)
     16553        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
     16554        ;;
     16555    esac
     16556  fi
     16557  sys_lib_dlsearch_path_spec='/usr/lib'
     16558  ;;
     16559
     16560tpf*)
     16561  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
     16562  version_type=linux # correct to gnu/linux during the next big refactor
     16563  need_lib_prefix=no
     16564  need_version=no
     16565  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16566  shlibpath_var=LD_LIBRARY_PATH
     16567  shlibpath_overrides_runpath=no
     16568  hardcode_into_libs=yes
     16569  ;;
     16570
     16571uts4*)
     16572  version_type=linux # correct to gnu/linux during the next big refactor
     16573  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16574  soname_spec='$libname$release$shared_ext$major'
     16575  shlibpath_var=LD_LIBRARY_PATH
     16576  ;;
     16577
     16578*)
     16579  dynamic_linker=no
     16580  ;;
     16581esac
     16582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
     16583$as_echo "$dynamic_linker" >&6; }
     16584test no = "$dynamic_linker" && can_build_shared=no
     16585
     16586variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
     16587if test yes = "$GCC"; then
     16588  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
     16589fi
     16590
     16591if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
     16592  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
     16593fi
     16594
     16595if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
     16596  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
     16597fi
     16598
     16599# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
     16600configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
     16601
     16602# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
     16603func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
     16604
     16605# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
     16606configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
     16607
     16608
     16609
     16610
     16611
     16612
     16613
     16614
     16615
     16616
     16617
     16618
     16619
     16620
     16621
     16622
     16623
     16624
     16625
     16626
     16627
     16628
     16629
     16630
     16631
     16632
     16633
     16634
     16635
     16636
     16637
     16638
     16639
     16640
     16641
     16642
     16643
     16644
     16645
     16646
     16647    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
     16648$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
     16649hardcode_action_CXX=
     16650if test -n "$hardcode_libdir_flag_spec_CXX" ||
     16651   test -n "$runpath_var_CXX" ||
     16652   test yes = "$hardcode_automatic_CXX"; then
     16653
     16654  # We can hardcode non-existent directories.
     16655  if test no != "$hardcode_direct_CXX" &&
     16656     # If the only mechanism to avoid hardcoding is shlibpath_var, we
     16657     # have to relink, otherwise we might link with an installed library
     16658     # when we should be linking with a yet-to-be-installed one
     16659     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
     16660     test no != "$hardcode_minus_L_CXX"; then
     16661    # Linking always hardcodes the temporary library directory.
     16662    hardcode_action_CXX=relink
     16663  else
     16664    # We can link without hardcoding, and we can hardcode nonexisting dirs.
     16665    hardcode_action_CXX=immediate
     16666  fi
     16667else
     16668  # We cannot hardcode anything, or else we can only hardcode existing
     16669  # directories.
     16670  hardcode_action_CXX=unsupported
     16671fi
     16672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
     16673$as_echo "$hardcode_action_CXX" >&6; }
     16674
     16675if test relink = "$hardcode_action_CXX" ||
     16676   test yes = "$inherit_rpath_CXX"; then
     16677  # Fast installation is not supported
     16678  enable_fast_install=no
     16679elif test yes = "$shlibpath_overrides_runpath" ||
     16680     test no = "$enable_shared"; then
     16681  # Fast installation is not necessary
     16682  enable_fast_install=needless
     16683fi
     16684
     16685
     16686
     16687
     16688
     16689
     16690
     16691  fi # test -n "$compiler"
     16692
     16693  CC=$lt_save_CC
     16694  CFLAGS=$lt_save_CFLAGS
     16695  LDCXX=$LD
     16696  LD=$lt_save_LD
     16697  GCC=$lt_save_GCC
     16698  with_gnu_ld=$lt_save_with_gnu_ld
     16699  lt_cv_path_LDCXX=$lt_cv_path_LD
     16700  lt_cv_path_LD=$lt_save_path_LD
     16701  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
     16702  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
     16703fi # test yes != "$_lt_caught_CXX_error"
     16704
     16705ac_ext=c
     16706ac_cpp='$CPP $CPPFLAGS'
     16707ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     16708ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     16709ac_compiler_gnu=$ac_cv_c_compiler_gnu
     16710
     16711
     16712
     16713
     16714
     16715
     16716
     16717
     16718
     16719
     16720
     16721
     16722
     16723
     16724
     16725        ac_config_commands="$ac_config_commands libtool"
     16726
     16727
     16728
     16729
     16730# Only expand once:
     16731
     16732
     16733
     16734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     16735$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     16736set x ${MAKE-make}
     16737ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     16738if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     16739  $as_echo_n "(cached) " >&6
     16740else
     16741  cat >conftest.make <<\_ACEOF
     16742SHELL = /bin/sh
     16743all:
     16744        @echo '@@@%%%=$(MAKE)=@@@%%%'
     16745_ACEOF
     16746# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     16747case `${MAKE-make} -f conftest.make 2>/dev/null` in
     16748  *@@@%%%=?*=@@@%%%*)
     16749    eval ac_cv_prog_make_${ac_make}_set=yes;;
     16750  *)
     16751    eval ac_cv_prog_make_${ac_make}_set=no;;
     16752esac
     16753rm -f conftest.make
     16754fi
     16755if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     16756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     16757$as_echo "yes" >&6; }
     16758  SET_MAKE=
     16759else
     16760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     16761$as_echo "no" >&6; }
     16762  SET_MAKE="MAKE=${MAKE-make}"
     16763fi
     16764
     16765
     16766# Checks for libraries.
     16767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fibre::yield in -lfibre" >&5
     16768$as_echo_n "checking for Fibre::yield in -lfibre... " >&6; }
     16769if ${ac_cv_lib_fibre_Fibre__yield+:} false; then :
     16770  $as_echo_n "(cached) " >&6
     16771else
     16772  ac_check_lib_save_LIBS=$LIBS
     16773LIBS="-lfibre  $LIBS"
     16774cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16775/* end confdefs.h.  */
     16776
     16777/* Override any GCC internal prototype to avoid an error.
     16778   Use char because int might match the return type of a GCC
     16779   builtin and then its argument prototype would still apply.  */
     16780#ifdef __cplusplus
     16781extern "C"
     16782#endif
     16783char Fibre::yield ();
     16784int
     16785main ()
     16786{
     16787return Fibre::yield ();
     16788  ;
     16789  return 0;
     16790}
     16791_ACEOF
     16792if ac_fn_c_try_link "$LINENO"; then :
     16793  ac_cv_lib_fibre_Fibre__yield=yes
     16794else
     16795  ac_cv_lib_fibre_Fibre__yield=no
     16796fi
     16797rm -f core conftest.err conftest.$ac_objext \
     16798    conftest$ac_exeext conftest.$ac_ext
     16799LIBS=$ac_check_lib_save_LIBS
     16800fi
     16801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fibre_Fibre__yield" >&5
     16802$as_echo "$ac_cv_lib_fibre_Fibre__yield" >&6; }
     16803if test "x$ac_cv_lib_fibre_Fibre__yield" = xyes; then :
     16804  HAVE_LIBFIBRE=1
     16805else
     16806  HAVE_LIBFIBRE=0
     16807fi
     16808
     16809 if test "$HAVE_LIBFIBRE" -eq 1; then
     16810  WITH_LIBFIBRE_TRUE=
     16811  WITH_LIBFIBRE_FALSE='#'
     16812else
     16813  WITH_LIBFIBRE_TRUE='#'
     16814  WITH_LIBFIBRE_FALSE=
     16815fi
     16816
     16817
     16818# Checks for header files.
    582516819ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
    582616820if test "x$ac_cv_type_size_t" = xyes; then :
     
    706618060AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
    706718061
     18062
     18063# The HP-UX ksh and POSIX shell print the target directory to stdout
     18064# if CDPATH is set.
     18065(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     18066
     18067sed_quote_subst='$sed_quote_subst'
     18068double_quote_subst='$double_quote_subst'
     18069delay_variable_subst='$delay_variable_subst'
     18070macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
     18071macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
     18072enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
     18073enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
     18074pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
     18075enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
     18076shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
     18077SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
     18078ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
     18079PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
     18080host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
     18081host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
     18082host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
     18083build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
     18084build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
     18085build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
     18086SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
     18087Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
     18088GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
     18089EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
     18090FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
     18091LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
     18092NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
     18093LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
     18094max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
     18095ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
     18096exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
     18097lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
     18098lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
     18099lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
     18100lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
     18101lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
     18102reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
     18103reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
     18104OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
     18105deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
     18106file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
     18107file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
     18108want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
     18109DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
     18110sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
     18111AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
     18112AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
     18113archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
     18114STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
     18115RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
     18116old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
     18117old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
     18118old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
     18119lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
     18120CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
     18121CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
     18122compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
     18123GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
     18124lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
     18125lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
     18126lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
     18127lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
     18128lt_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"`'
     18129lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
     18130nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
     18131lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
     18132lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
     18133objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
     18134MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
     18135lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
     18136lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
     18137lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
     18138lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
     18139lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
     18140need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
     18141MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
     18142DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
     18143NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
     18144LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
     18145OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
     18146OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
     18147libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
     18148shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
     18149extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
     18150archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
     18151enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
     18152export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
     18153whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
     18154compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
     18155old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
     18156old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
     18157archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
     18158archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
     18159module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
     18160module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
     18161with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
     18162allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
     18163no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
     18164hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
     18165hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
     18166hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
     18167hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
     18168hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
     18169hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
     18170hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
     18171inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
     18172link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
     18173always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
     18174export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
     18175exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
     18176include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
     18177prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
     18178postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
     18179file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
     18180variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
     18181need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
     18182need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
     18183version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
     18184runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
     18185shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
     18186shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
     18187libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
     18188library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
     18189soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
     18190install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
     18191postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
     18192postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
     18193finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
     18194finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
     18195hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
     18196sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
     18197configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
     18198configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
     18199hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
     18200enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
     18201enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
     18202enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
     18203old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
     18204striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
     18205compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
     18206predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
     18207postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
     18208predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
     18209postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
     18210compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
     18211LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
     18212reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
     18213reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     18214old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     18215compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
     18216GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
     18217lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
     18218lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
     18219lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
     18220lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
     18221lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
     18222archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
     18223enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
     18224export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
     18225whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
     18226compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
     18227old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     18228old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     18229archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     18230archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     18231module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     18232module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     18233with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
     18234allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
     18235no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
     18236hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
     18237hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
     18238hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
     18239hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
     18240hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
     18241hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
     18242hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
     18243inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
     18244link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
     18245always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
     18246export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     18247exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
     18248include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
     18249prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     18250postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     18251file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
     18252hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
     18253compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
     18254predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
     18255postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
     18256predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
     18257postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
     18258compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
     18259
     18260LTCC='$LTCC'
     18261LTCFLAGS='$LTCFLAGS'
     18262compiler='$compiler_DEFAULT'
     18263
     18264# A function that is used when there is no print builtin or printf.
     18265func_fallback_echo ()
     18266{
     18267  eval 'cat <<_LTECHO_EOF
     18268\$1
     18269_LTECHO_EOF'
     18270}
     18271
     18272# Quote evaled strings.
     18273for var in SHELL \
     18274ECHO \
     18275PATH_SEPARATOR \
     18276SED \
     18277GREP \
     18278EGREP \
     18279FGREP \
     18280LD \
     18281NM \
     18282LN_S \
     18283lt_SP2NL \
     18284lt_NL2SP \
     18285reload_flag \
     18286OBJDUMP \
     18287deplibs_check_method \
     18288file_magic_cmd \
     18289file_magic_glob \
     18290want_nocaseglob \
     18291DLLTOOL \
     18292sharedlib_from_linklib_cmd \
     18293AR \
     18294AR_FLAGS \
     18295archiver_list_spec \
     18296STRIP \
     18297RANLIB \
     18298CC \
     18299CFLAGS \
     18300compiler \
     18301lt_cv_sys_global_symbol_pipe \
     18302lt_cv_sys_global_symbol_to_cdecl \
     18303lt_cv_sys_global_symbol_to_import \
     18304lt_cv_sys_global_symbol_to_c_name_address \
     18305lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
     18306lt_cv_nm_interface \
     18307nm_file_list_spec \
     18308lt_cv_truncate_bin \
     18309lt_prog_compiler_no_builtin_flag \
     18310lt_prog_compiler_pic \
     18311lt_prog_compiler_wl \
     18312lt_prog_compiler_static \
     18313lt_cv_prog_compiler_c_o \
     18314need_locks \
     18315MANIFEST_TOOL \
     18316DSYMUTIL \
     18317NMEDIT \
     18318LIPO \
     18319OTOOL \
     18320OTOOL64 \
     18321shrext_cmds \
     18322export_dynamic_flag_spec \
     18323whole_archive_flag_spec \
     18324compiler_needs_object \
     18325with_gnu_ld \
     18326allow_undefined_flag \
     18327no_undefined_flag \
     18328hardcode_libdir_flag_spec \
     18329hardcode_libdir_separator \
     18330exclude_expsyms \
     18331include_expsyms \
     18332file_list_spec \
     18333variables_saved_for_relink \
     18334libname_spec \
     18335library_names_spec \
     18336soname_spec \
     18337install_override_mode \
     18338finish_eval \
     18339old_striplib \
     18340striplib \
     18341compiler_lib_search_dirs \
     18342predep_objects \
     18343postdep_objects \
     18344predeps \
     18345postdeps \
     18346compiler_lib_search_path \
     18347LD_CXX \
     18348reload_flag_CXX \
     18349compiler_CXX \
     18350lt_prog_compiler_no_builtin_flag_CXX \
     18351lt_prog_compiler_pic_CXX \
     18352lt_prog_compiler_wl_CXX \
     18353lt_prog_compiler_static_CXX \
     18354lt_cv_prog_compiler_c_o_CXX \
     18355export_dynamic_flag_spec_CXX \
     18356whole_archive_flag_spec_CXX \
     18357compiler_needs_object_CXX \
     18358with_gnu_ld_CXX \
     18359allow_undefined_flag_CXX \
     18360no_undefined_flag_CXX \
     18361hardcode_libdir_flag_spec_CXX \
     18362hardcode_libdir_separator_CXX \
     18363exclude_expsyms_CXX \
     18364include_expsyms_CXX \
     18365file_list_spec_CXX \
     18366compiler_lib_search_dirs_CXX \
     18367predep_objects_CXX \
     18368postdep_objects_CXX \
     18369predeps_CXX \
     18370postdeps_CXX \
     18371compiler_lib_search_path_CXX; do
     18372    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     18373    *[\\\\\\\`\\"\\\$]*)
     18374      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
     18375      ;;
     18376    *)
     18377      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
     18378      ;;
     18379    esac
     18380done
     18381
     18382# Double-quote double-evaled strings.
     18383for var in reload_cmds \
     18384old_postinstall_cmds \
     18385old_postuninstall_cmds \
     18386old_archive_cmds \
     18387extract_expsyms_cmds \
     18388old_archive_from_new_cmds \
     18389old_archive_from_expsyms_cmds \
     18390archive_cmds \
     18391archive_expsym_cmds \
     18392module_cmds \
     18393module_expsym_cmds \
     18394export_symbols_cmds \
     18395prelink_cmds \
     18396postlink_cmds \
     18397postinstall_cmds \
     18398postuninstall_cmds \
     18399finish_cmds \
     18400sys_lib_search_path_spec \
     18401configure_time_dlsearch_path \
     18402configure_time_lt_sys_library_path \
     18403reload_cmds_CXX \
     18404old_archive_cmds_CXX \
     18405old_archive_from_new_cmds_CXX \
     18406old_archive_from_expsyms_cmds_CXX \
     18407archive_cmds_CXX \
     18408archive_expsym_cmds_CXX \
     18409module_cmds_CXX \
     18410module_expsym_cmds_CXX \
     18411export_symbols_cmds_CXX \
     18412prelink_cmds_CXX \
     18413postlink_cmds_CXX; do
     18414    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     18415    *[\\\\\\\`\\"\\\$]*)
     18416      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
     18417      ;;
     18418    *)
     18419      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
     18420      ;;
     18421    esac
     18422done
     18423
     18424ac_aux_dir='$ac_aux_dir'
     18425
     18426# See if we are running on zsh, and set the options that allow our
     18427# commands through without removal of \ escapes INIT.
     18428if test -n "\${ZSH_VERSION+set}"; then
     18429   setopt NO_GLOB_SUBST
     18430fi
     18431
     18432
     18433    PACKAGE='$PACKAGE'
     18434    VERSION='$VERSION'
     18435    RM='$RM'
     18436    ofile='$ofile'
     18437
     18438
     18439
     18440
     18441
     18442
    706818443_ACEOF
    706918444
     
    707618451    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:src/config.h.in" ;;
    707718452    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
     18453    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
    707818454    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    707918455    "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;;
     
    780619182}
    780719183 ;;
     19184    "libtool":C)
     19185
     19186    # See if we are running on zsh, and set the options that allow our
     19187    # commands through without removal of \ escapes.
     19188    if test -n "${ZSH_VERSION+set}"; then
     19189      setopt NO_GLOB_SUBST
     19190    fi
     19191
     19192    cfgfile=${ofile}T
     19193    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
     19194    $RM "$cfgfile"
     19195
     19196    cat <<_LT_EOF >> "$cfgfile"
     19197#! $SHELL
     19198# Generated automatically by $as_me ($PACKAGE) $VERSION
     19199# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
     19200# NOTE: Changes made to this file will be lost: look at ltmain.sh.
     19201
     19202# Provide generalized library-building support services.
     19203# Written by Gordon Matzigkeit, 1996
     19204
     19205# Copyright (C) 2014 Free Software Foundation, Inc.
     19206# This is free software; see the source for copying conditions.  There is NO
     19207# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     19208
     19209# GNU Libtool is free software; you can redistribute it and/or modify
     19210# it under the terms of the GNU General Public License as published by
     19211# the Free Software Foundation; either version 2 of of the License, or
     19212# (at your option) any later version.
     19213#
     19214# As a special exception to the GNU General Public License, if you
     19215# distribute this file as part of a program or library that is built
     19216# using GNU Libtool, you may include this file under the  same
     19217# distribution terms that you use for the rest of that program.
     19218#
     19219# GNU Libtool is distributed in the hope that it will be useful, but
     19220# WITHOUT ANY WARRANTY; without even the implied warranty of
     19221# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19222# GNU General Public License for more details.
     19223#
     19224# You should have received a copy of the GNU General Public License
     19225# along with this program.  If not, see <http://www.gnu.org/licenses/>.
     19226
     19227
     19228# The names of the tagged configurations supported by this script.
     19229available_tags='CXX '
     19230
     19231# Configured defaults for sys_lib_dlsearch_path munging.
     19232: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
     19233
     19234# ### BEGIN LIBTOOL CONFIG
     19235
     19236# Which release of libtool.m4 was used?
     19237macro_version=$macro_version
     19238macro_revision=$macro_revision
     19239
     19240# Whether or not to build shared libraries.
     19241build_libtool_libs=$enable_shared
     19242
     19243# Whether or not to build static libraries.
     19244build_old_libs=$enable_static
     19245
     19246# What type of objects to build.
     19247pic_mode=$pic_mode
     19248
     19249# Whether or not to optimize for fast installation.
     19250fast_install=$enable_fast_install
     19251
     19252# Shared archive member basename,for filename based shared library versioning on AIX.
     19253shared_archive_member_spec=$shared_archive_member_spec
     19254
     19255# Shell to use when invoking shell scripts.
     19256SHELL=$lt_SHELL
     19257
     19258# An echo program that protects backslashes.
     19259ECHO=$lt_ECHO
     19260
     19261# The PATH separator for the build system.
     19262PATH_SEPARATOR=$lt_PATH_SEPARATOR
     19263
     19264# The host system.
     19265host_alias=$host_alias
     19266host=$host
     19267host_os=$host_os
     19268
     19269# The build system.
     19270build_alias=$build_alias
     19271build=$build
     19272build_os=$build_os
     19273
     19274# A sed program that does not truncate output.
     19275SED=$lt_SED
     19276
     19277# Sed that helps us avoid accidentally triggering echo(1) options like -n.
     19278Xsed="\$SED -e 1s/^X//"
     19279
     19280# A grep program that handles long lines.
     19281GREP=$lt_GREP
     19282
     19283# An ERE matcher.
     19284EGREP=$lt_EGREP
     19285
     19286# A literal string matcher.
     19287FGREP=$lt_FGREP
     19288
     19289# A BSD- or MS-compatible name lister.
     19290NM=$lt_NM
     19291
     19292# Whether we need soft or hard links.
     19293LN_S=$lt_LN_S
     19294
     19295# What is the maximum length of a command?
     19296max_cmd_len=$max_cmd_len
     19297
     19298# Object file suffix (normally "o").
     19299objext=$ac_objext
     19300
     19301# Executable file suffix (normally "").
     19302exeext=$exeext
     19303
     19304# whether the shell understands "unset".
     19305lt_unset=$lt_unset
     19306
     19307# turn spaces into newlines.
     19308SP2NL=$lt_lt_SP2NL
     19309
     19310# turn newlines into spaces.
     19311NL2SP=$lt_lt_NL2SP
     19312
     19313# convert \$build file names to \$host format.
     19314to_host_file_cmd=$lt_cv_to_host_file_cmd
     19315
     19316# convert \$build files to toolchain format.
     19317to_tool_file_cmd=$lt_cv_to_tool_file_cmd
     19318
     19319# An object symbol dumper.
     19320OBJDUMP=$lt_OBJDUMP
     19321
     19322# Method to check whether dependent libraries are shared objects.
     19323deplibs_check_method=$lt_deplibs_check_method
     19324
     19325# Command to use when deplibs_check_method = "file_magic".
     19326file_magic_cmd=$lt_file_magic_cmd
     19327
     19328# How to find potential files when deplibs_check_method = "file_magic".
     19329file_magic_glob=$lt_file_magic_glob
     19330
     19331# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
     19332want_nocaseglob=$lt_want_nocaseglob
     19333
     19334# DLL creation program.
     19335DLLTOOL=$lt_DLLTOOL
     19336
     19337# Command to associate shared and link libraries.
     19338sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
     19339
     19340# The archiver.
     19341AR=$lt_AR
     19342
     19343# Flags to create an archive.
     19344AR_FLAGS=$lt_AR_FLAGS
     19345
     19346# How to feed a file listing to the archiver.
     19347archiver_list_spec=$lt_archiver_list_spec
     19348
     19349# A symbol stripping program.
     19350STRIP=$lt_STRIP
     19351
     19352# Commands used to install an old-style archive.
     19353RANLIB=$lt_RANLIB
     19354old_postinstall_cmds=$lt_old_postinstall_cmds
     19355old_postuninstall_cmds=$lt_old_postuninstall_cmds
     19356
     19357# Whether to use a lock for old archive extraction.
     19358lock_old_archive_extraction=$lock_old_archive_extraction
     19359
     19360# A C compiler.
     19361LTCC=$lt_CC
     19362
     19363# LTCC compiler flags.
     19364LTCFLAGS=$lt_CFLAGS
     19365
     19366# Take the output of nm and produce a listing of raw symbols and C names.
     19367global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
     19368
     19369# Transform the output of nm in a proper C declaration.
     19370global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
     19371
     19372# Transform the output of nm into a list of symbols to manually relocate.
     19373global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
     19374
     19375# Transform the output of nm in a C name address pair.
     19376global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
     19377
     19378# Transform the output of nm in a C name address pair when lib prefix is needed.
     19379global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
     19380
     19381# The name lister interface.
     19382nm_interface=$lt_lt_cv_nm_interface
     19383
     19384# Specify filename containing input files for \$NM.
     19385nm_file_list_spec=$lt_nm_file_list_spec
     19386
     19387# The root where to search for dependent libraries,and where our libraries should be installed.
     19388lt_sysroot=$lt_sysroot
     19389
     19390# Command to truncate a binary pipe.
     19391lt_truncate_bin=$lt_lt_cv_truncate_bin
     19392
     19393# The name of the directory that contains temporary libtool files.
     19394objdir=$objdir
     19395
     19396# Used to examine libraries when file_magic_cmd begins with "file".
     19397MAGIC_CMD=$MAGIC_CMD
     19398
     19399# Must we lock files when doing compilation?
     19400need_locks=$lt_need_locks
     19401
     19402# Manifest tool.
     19403MANIFEST_TOOL=$lt_MANIFEST_TOOL
     19404
     19405# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
     19406DSYMUTIL=$lt_DSYMUTIL
     19407
     19408# Tool to change global to local symbols on Mac OS X.
     19409NMEDIT=$lt_NMEDIT
     19410
     19411# Tool to manipulate fat objects and archives on Mac OS X.
     19412LIPO=$lt_LIPO
     19413
     19414# ldd/readelf like tool for Mach-O binaries on Mac OS X.
     19415OTOOL=$lt_OTOOL
     19416
     19417# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
     19418OTOOL64=$lt_OTOOL64
     19419
     19420# Old archive suffix (normally "a").
     19421libext=$libext
     19422
     19423# Shared library suffix (normally ".so").
     19424shrext_cmds=$lt_shrext_cmds
     19425
     19426# The commands to extract the exported symbol list from a shared archive.
     19427extract_expsyms_cmds=$lt_extract_expsyms_cmds
     19428
     19429# Variables whose values should be saved in libtool wrapper scripts and
     19430# restored at link time.
     19431variables_saved_for_relink=$lt_variables_saved_for_relink
     19432
     19433# Do we need the "lib" prefix for modules?
     19434need_lib_prefix=$need_lib_prefix
     19435
     19436# Do we need a version for libraries?
     19437need_version=$need_version
     19438
     19439# Library versioning type.
     19440version_type=$version_type
     19441
     19442# Shared library runtime path variable.
     19443runpath_var=$runpath_var
     19444
     19445# Shared library path variable.
     19446shlibpath_var=$shlibpath_var
     19447
     19448# Is shlibpath searched before the hard-coded library search path?
     19449shlibpath_overrides_runpath=$shlibpath_overrides_runpath
     19450
     19451# Format of library name prefix.
     19452libname_spec=$lt_libname_spec
     19453
     19454# List of archive names.  First name is the real one, the rest are links.
     19455# The last name is the one that the linker finds with -lNAME
     19456library_names_spec=$lt_library_names_spec
     19457
     19458# The coded name of the library, if different from the real name.
     19459soname_spec=$lt_soname_spec
     19460
     19461# Permission mode override for installation of shared libraries.
     19462install_override_mode=$lt_install_override_mode
     19463
     19464# Command to use after installation of a shared archive.
     19465postinstall_cmds=$lt_postinstall_cmds
     19466
     19467# Command to use after uninstallation of a shared archive.
     19468postuninstall_cmds=$lt_postuninstall_cmds
     19469
     19470# Commands used to finish a libtool library installation in a directory.
     19471finish_cmds=$lt_finish_cmds
     19472
     19473# As "finish_cmds", except a single script fragment to be evaled but
     19474# not shown.
     19475finish_eval=$lt_finish_eval
     19476
     19477# Whether we should hardcode library paths into libraries.
     19478hardcode_into_libs=$hardcode_into_libs
     19479
     19480# Compile-time system search path for libraries.
     19481sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
     19482
     19483# Detected run-time system search path for libraries.
     19484sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
     19485
     19486# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
     19487configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
     19488
     19489# Whether dlopen is supported.
     19490dlopen_support=$enable_dlopen
     19491
     19492# Whether dlopen of programs is supported.
     19493dlopen_self=$enable_dlopen_self
     19494
     19495# Whether dlopen of statically linked programs is supported.
     19496dlopen_self_static=$enable_dlopen_self_static
     19497
     19498# Commands to strip libraries.
     19499old_striplib=$lt_old_striplib
     19500striplib=$lt_striplib
     19501
     19502
     19503# The linker used to build libraries.
     19504LD=$lt_LD
     19505
     19506# How to create reloadable object files.
     19507reload_flag=$lt_reload_flag
     19508reload_cmds=$lt_reload_cmds
     19509
     19510# Commands used to build an old-style archive.
     19511old_archive_cmds=$lt_old_archive_cmds
     19512
     19513# A language specific compiler.
     19514CC=$lt_compiler
     19515
     19516# Is the compiler the GNU compiler?
     19517with_gcc=$GCC
     19518
     19519# Compiler flag to turn off builtin functions.
     19520no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
     19521
     19522# Additional compiler flags for building library objects.
     19523pic_flag=$lt_lt_prog_compiler_pic
     19524
     19525# How to pass a linker flag through the compiler.
     19526wl=$lt_lt_prog_compiler_wl
     19527
     19528# Compiler flag to prevent dynamic linking.
     19529link_static_flag=$lt_lt_prog_compiler_static
     19530
     19531# Does compiler simultaneously support -c and -o options?
     19532compiler_c_o=$lt_lt_cv_prog_compiler_c_o
     19533
     19534# Whether or not to add -lc for building shared libraries.
     19535build_libtool_need_lc=$archive_cmds_need_lc
     19536
     19537# Whether or not to disallow shared libs when runtime libs are static.
     19538allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
     19539
     19540# Compiler flag to allow reflexive dlopens.
     19541export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
     19542
     19543# Compiler flag to generate shared objects directly from archives.
     19544whole_archive_flag_spec=$lt_whole_archive_flag_spec
     19545
     19546# Whether the compiler copes with passing no objects directly.
     19547compiler_needs_object=$lt_compiler_needs_object
     19548
     19549# Create an old-style archive from a shared archive.
     19550old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
     19551
     19552# Create a temporary old-style archive to link instead of a shared archive.
     19553old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
     19554
     19555# Commands used to build a shared archive.
     19556archive_cmds=$lt_archive_cmds
     19557archive_expsym_cmds=$lt_archive_expsym_cmds
     19558
     19559# Commands used to build a loadable module if different from building
     19560# a shared archive.
     19561module_cmds=$lt_module_cmds
     19562module_expsym_cmds=$lt_module_expsym_cmds
     19563
     19564# Whether we are building with GNU ld or not.
     19565with_gnu_ld=$lt_with_gnu_ld
     19566
     19567# Flag that allows shared libraries with undefined symbols to be built.
     19568allow_undefined_flag=$lt_allow_undefined_flag
     19569
     19570# Flag that enforces no undefined symbols.
     19571no_undefined_flag=$lt_no_undefined_flag
     19572
     19573# Flag to hardcode \$libdir into a binary during linking.
     19574# This must work even if \$libdir does not exist
     19575hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
     19576
     19577# Whether we need a single "-rpath" flag with a separated argument.
     19578hardcode_libdir_separator=$lt_hardcode_libdir_separator
     19579
     19580# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
     19581# DIR into the resulting binary.
     19582hardcode_direct=$hardcode_direct
     19583
     19584# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
     19585# DIR into the resulting binary and the resulting library dependency is
     19586# "absolute",i.e impossible to change by setting \$shlibpath_var if the
     19587# library is relocated.
     19588hardcode_direct_absolute=$hardcode_direct_absolute
     19589
     19590# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
     19591# into the resulting binary.
     19592hardcode_minus_L=$hardcode_minus_L
     19593
     19594# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
     19595# into the resulting binary.
     19596hardcode_shlibpath_var=$hardcode_shlibpath_var
     19597
     19598# Set to "yes" if building a shared library automatically hardcodes DIR
     19599# into the library and all subsequent libraries and executables linked
     19600# against it.
     19601hardcode_automatic=$hardcode_automatic
     19602
     19603# Set to yes if linker adds runtime paths of dependent libraries
     19604# to runtime path list.
     19605inherit_rpath=$inherit_rpath
     19606
     19607# Whether libtool must link a program against all its dependency libraries.
     19608link_all_deplibs=$link_all_deplibs
     19609
     19610# Set to "yes" if exported symbols are required.
     19611always_export_symbols=$always_export_symbols
     19612
     19613# The commands to list exported symbols.
     19614export_symbols_cmds=$lt_export_symbols_cmds
     19615
     19616# Symbols that should not be listed in the preloaded symbols.
     19617exclude_expsyms=$lt_exclude_expsyms
     19618
     19619# Symbols that must always be exported.
     19620include_expsyms=$lt_include_expsyms
     19621
     19622# Commands necessary for linking programs (against libraries) with templates.
     19623prelink_cmds=$lt_prelink_cmds
     19624
     19625# Commands necessary for finishing linking programs.
     19626postlink_cmds=$lt_postlink_cmds
     19627
     19628# Specify filename containing input files.
     19629file_list_spec=$lt_file_list_spec
     19630
     19631# How to hardcode a shared library path into an executable.
     19632hardcode_action=$hardcode_action
     19633
     19634# The directories searched by this compiler when creating a shared library.
     19635compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
     19636
     19637# Dependencies to place before and after the objects being linked to
     19638# create a shared library.
     19639predep_objects=$lt_predep_objects
     19640postdep_objects=$lt_postdep_objects
     19641predeps=$lt_predeps
     19642postdeps=$lt_postdeps
     19643
     19644# The library search path used internally by the compiler when linking
     19645# a shared library.
     19646compiler_lib_search_path=$lt_compiler_lib_search_path
     19647
     19648# ### END LIBTOOL CONFIG
     19649
     19650_LT_EOF
     19651
     19652    cat <<'_LT_EOF' >> "$cfgfile"
     19653
     19654# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
     19655
     19656# func_munge_path_list VARIABLE PATH
     19657# -----------------------------------
     19658# VARIABLE is name of variable containing _space_ separated list of
     19659# directories to be munged by the contents of PATH, which is string
     19660# having a format:
     19661# "DIR[:DIR]:"
     19662#       string "DIR[ DIR]" will be prepended to VARIABLE
     19663# ":DIR[:DIR]"
     19664#       string "DIR[ DIR]" will be appended to VARIABLE
     19665# "DIRP[:DIRP]::[DIRA:]DIRA"
     19666#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     19667#       "DIRA[ DIRA]" will be appended to VARIABLE
     19668# "DIR[:DIR]"
     19669#       VARIABLE will be replaced by "DIR[ DIR]"
     19670func_munge_path_list ()
     19671{
     19672    case x$2 in
     19673    x)
     19674        ;;
     19675    *:)
     19676        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
     19677        ;;
     19678    x:*)
     19679        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
     19680        ;;
     19681    *::*)
     19682        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     19683        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
     19684        ;;
     19685    *)
     19686        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
     19687        ;;
     19688    esac
     19689}
     19690
     19691
     19692# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     19693func_cc_basename ()
     19694{
     19695    for cc_temp in $*""; do
     19696      case $cc_temp in
     19697        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     19698        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     19699        \-*) ;;
     19700        *) break;;
     19701      esac
     19702    done
     19703    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     19704}
     19705
     19706
     19707# ### END FUNCTIONS SHARED WITH CONFIGURE
     19708
     19709_LT_EOF
     19710
     19711  case $host_os in
     19712  aix3*)
     19713    cat <<\_LT_EOF >> "$cfgfile"
     19714# AIX sometimes has problems with the GCC collect2 program.  For some
     19715# reason, if we set the COLLECT_NAMES environment variable, the problems
     19716# vanish in a puff of smoke.
     19717if test set != "${COLLECT_NAMES+set}"; then
     19718  COLLECT_NAMES=
     19719  export COLLECT_NAMES
     19720fi
     19721_LT_EOF
     19722    ;;
     19723  esac
     19724
     19725
     19726ltmain=$ac_aux_dir/ltmain.sh
     19727
     19728
     19729  # We use sed instead of cat because bash on DJGPP gets confused if
     19730  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
     19731  # text mode, it properly converts lines to CR/LF.  This bash problem
     19732  # is reportedly fixed, but why not run on old versions too?
     19733  sed '$q' "$ltmain" >> "$cfgfile" \
     19734     || (rm -f "$cfgfile"; exit 1)
     19735
     19736   mv -f "$cfgfile" "$ofile" ||
     19737    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
     19738  chmod +x "$ofile"
     19739
     19740
     19741    cat <<_LT_EOF >> "$ofile"
     19742
     19743# ### BEGIN LIBTOOL TAG CONFIG: CXX
     19744
     19745# The linker used to build libraries.
     19746LD=$lt_LD_CXX
     19747
     19748# How to create reloadable object files.
     19749reload_flag=$lt_reload_flag_CXX
     19750reload_cmds=$lt_reload_cmds_CXX
     19751
     19752# Commands used to build an old-style archive.
     19753old_archive_cmds=$lt_old_archive_cmds_CXX
     19754
     19755# A language specific compiler.
     19756CC=$lt_compiler_CXX
     19757
     19758# Is the compiler the GNU compiler?
     19759with_gcc=$GCC_CXX
     19760
     19761# Compiler flag to turn off builtin functions.
     19762no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
     19763
     19764# Additional compiler flags for building library objects.
     19765pic_flag=$lt_lt_prog_compiler_pic_CXX
     19766
     19767# How to pass a linker flag through the compiler.
     19768wl=$lt_lt_prog_compiler_wl_CXX
     19769
     19770# Compiler flag to prevent dynamic linking.
     19771link_static_flag=$lt_lt_prog_compiler_static_CXX
     19772
     19773# Does compiler simultaneously support -c and -o options?
     19774compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
     19775
     19776# Whether or not to add -lc for building shared libraries.
     19777build_libtool_need_lc=$archive_cmds_need_lc_CXX
     19778
     19779# Whether or not to disallow shared libs when runtime libs are static.
     19780allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
     19781
     19782# Compiler flag to allow reflexive dlopens.
     19783export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
     19784
     19785# Compiler flag to generate shared objects directly from archives.
     19786whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
     19787
     19788# Whether the compiler copes with passing no objects directly.
     19789compiler_needs_object=$lt_compiler_needs_object_CXX
     19790
     19791# Create an old-style archive from a shared archive.
     19792old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
     19793
     19794# Create a temporary old-style archive to link instead of a shared archive.
     19795old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
     19796
     19797# Commands used to build a shared archive.
     19798archive_cmds=$lt_archive_cmds_CXX
     19799archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
     19800
     19801# Commands used to build a loadable module if different from building
     19802# a shared archive.
     19803module_cmds=$lt_module_cmds_CXX
     19804module_expsym_cmds=$lt_module_expsym_cmds_CXX
     19805
     19806# Whether we are building with GNU ld or not.
     19807with_gnu_ld=$lt_with_gnu_ld_CXX
     19808
     19809# Flag that allows shared libraries with undefined symbols to be built.
     19810allow_undefined_flag=$lt_allow_undefined_flag_CXX
     19811
     19812# Flag that enforces no undefined symbols.
     19813no_undefined_flag=$lt_no_undefined_flag_CXX
     19814
     19815# Flag to hardcode \$libdir into a binary during linking.
     19816# This must work even if \$libdir does not exist
     19817hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
     19818
     19819# Whether we need a single "-rpath" flag with a separated argument.
     19820hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
     19821
     19822# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
     19823# DIR into the resulting binary.
     19824hardcode_direct=$hardcode_direct_CXX
     19825
     19826# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
     19827# DIR into the resulting binary and the resulting library dependency is
     19828# "absolute",i.e impossible to change by setting \$shlibpath_var if the
     19829# library is relocated.
     19830hardcode_direct_absolute=$hardcode_direct_absolute_CXX
     19831
     19832# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
     19833# into the resulting binary.
     19834hardcode_minus_L=$hardcode_minus_L_CXX
     19835
     19836# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
     19837# into the resulting binary.
     19838hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
     19839
     19840# Set to "yes" if building a shared library automatically hardcodes DIR
     19841# into the library and all subsequent libraries and executables linked
     19842# against it.
     19843hardcode_automatic=$hardcode_automatic_CXX
     19844
     19845# Set to yes if linker adds runtime paths of dependent libraries
     19846# to runtime path list.
     19847inherit_rpath=$inherit_rpath_CXX
     19848
     19849# Whether libtool must link a program against all its dependency libraries.
     19850link_all_deplibs=$link_all_deplibs_CXX
     19851
     19852# Set to "yes" if exported symbols are required.
     19853always_export_symbols=$always_export_symbols_CXX
     19854
     19855# The commands to list exported symbols.
     19856export_symbols_cmds=$lt_export_symbols_cmds_CXX
     19857
     19858# Symbols that should not be listed in the preloaded symbols.
     19859exclude_expsyms=$lt_exclude_expsyms_CXX
     19860
     19861# Symbols that must always be exported.
     19862include_expsyms=$lt_include_expsyms_CXX
     19863
     19864# Commands necessary for linking programs (against libraries) with templates.
     19865prelink_cmds=$lt_prelink_cmds_CXX
     19866
     19867# Commands necessary for finishing linking programs.
     19868postlink_cmds=$lt_postlink_cmds_CXX
     19869
     19870# Specify filename containing input files.
     19871file_list_spec=$lt_file_list_spec_CXX
     19872
     19873# How to hardcode a shared library path into an executable.
     19874hardcode_action=$hardcode_action_CXX
     19875
     19876# The directories searched by this compiler when creating a shared library.
     19877compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
     19878
     19879# Dependencies to place before and after the objects being linked to
     19880# create a shared library.
     19881predep_objects=$lt_predep_objects_CXX
     19882postdep_objects=$lt_postdep_objects_CXX
     19883predeps=$lt_predeps_CXX
     19884postdeps=$lt_postdeps_CXX
     19885
     19886# The library search path used internally by the compiler when linking
     19887# a shared library.
     19888compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
     19889
     19890# ### END LIBTOOL TAG CONFIG: CXX
     19891_LT_EOF
     19892
     19893 ;;
    780819894
    780919895  esac
Note: See TracChangeset for help on using the changeset viewer.