Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r158b026 r05f4b85  
    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
    209201test \$(( 1 + 1 )) = 2 || exit 1"
    210202  if (eval "$as_required") 2>/dev/null; then :
     
    565557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    566558
    567 SHELL=${CONFIG_SHELL-/bin/sh}
    568 
    569559
    570560test -n "$DJDIR" || exec 7<&0 </dev/null
     
    636626LTLIBOBJS
    637627LIBOBJS
    638 CFA_BACKEND_CC
    639 DEMANGLER
    640 LIBDEMANGLE
    641 WITH_LIBTCMALLOC_FALSE
    642 WITH_LIBTCMALLOC_TRUE
    643 WITH_LIBPROFILER_FALSE
    644 WITH_LIBPROFILER_TRUE
    645 WITH_LIBFIBRE_FALSE
    646 WITH_LIBFIBRE_TRUE
    647 CXXCPP
    648 CPP
    649 LT_SYS_LIBRARY_PATH
    650 OTOOL64
    651 OTOOL
    652 LIPO
    653 NMEDIT
    654 DSYMUTIL
    655 MANIFEST_TOOL
    656 RANLIB
    657 ac_ct_AR
    658 AR
    659 DLLTOOL
    660 OBJDUMP
    661 LN_S
    662 NM
    663 ac_ct_DUMPBIN
    664 DUMPBIN
    665 FGREP
     628ALLOCA
    666629EGREP
    667630GREP
    668 SED
    669 LIBTOOL
     631CPP
     632RANLIB
    670633LEXLIB
    671634LEX_OUTPUT_ROOT
     
    700663LDFLAGS
    701664CXXFLAGS
     665CXX
    702666CFA_FLAGS
    703 LIBCFA_TARGET_MAKEFILES
    704 LIBCFA_TARGET_DIRS
    705 TARGET_HOSTS
    706 HOST_FLAGS
     667MACHINE_TYPE
    707668host_os
    708669host_vendor
     
    713674build_cpu
    714675build
    715 BUILD_IN_TREE_FLAGS
    716 CFACPP
    717 CFACC_INSTALL
    718 CFACC
    719 DRIVER_DIR
    720676CFA_LIBDIR
    721677CFA_BINDIR
    722678CFA_INCDIR
    723679CFA_PREFIX
    724 HAS_DISTCC
    725 LD
    726 CXX
    727 ENABLE_DISTCC_FALSE
    728 ENABLE_DISTCC_TRUE
    729680DOendif
    730681DOifskipcompile
     682BUILD_CONCURRENCY_FALSE
     683BUILD_CONCURRENCY_TRUE
     684BUILD_NO_LIB_FALSE
     685BUILD_NO_LIB_TRUE
     686BUILD_DEBUG_FALSE
     687BUILD_DEBUG_TRUE
     688BUILD_RELEASE_FALSE
     689BUILD_RELEASE_TRUE
     690CFA_BACKEND_CC
     691BACKEND_CC
    731692CFA_NAME
     693MAINT
     694MAINTAINER_MODE_FALSE
     695MAINTAINER_MODE_TRUE
    732696am__untar
    733697am__tar
     
    800764enable_option_checking
    801765enable_silent_rules
     766enable_maintainer_mode
    802767with_cfa_name
    803 enable_distcc
    804 with_target_hosts
    805 enable_gprofiler
    806 enable_demangler
     768with_backend_compiler
     769enable_target_release
     770enable_target_debug
     771enable_threading
    807772enable_dependency_tracking
    808 enable_shared
    809 enable_static
    810 with_pic
    811 enable_fast_install
    812 with_aix_soname
    813 with_gnu_ld
    814 with_sysroot
    815 enable_libtool_lock
    816773'
    817774      ac_precious_vars='build_alias
     
    830787YACC
    831788YFLAGS
    832 LT_SYS_LIBRARY_PATH
    833 CPP
    834 CXXCPP'
     789CPP'
    835790
    836791
     
    14641419  --enable-silent-rules   less verbose build output (undo: "make V=1")
    14651420  --disable-silent-rules  verbose build output (undo: "make V=0")
    1466   --enable-distcc     whether or not to enable distributed compilation
    1467   --enable-gprofiler     whether or not to enable gprofiler tools (if available)
    1468   --enable-demangler     whether or not to build the demangler (executable and library)
     1421  --disable-maintainer-mode
     1422                          disable make rules and dependencies not useful (and
     1423                          sometimes confusing) to the casual installer
     1424  --enable-target-release Build and install the release target
     1425  --enable-target-debug   Build and install the debug target
     1426  --enable-threading      Build and install libcfa with threading support
     1427                          (Enabled by default)
    14691428  --enable-dependency-tracking
    14701429                          do not reject slow dependency extractors
    14711430  --disable-dependency-tracking
    14721431                          speeds up one-time build
    1473   --enable-shared[=PKGS]  build shared libraries [default=yes]
    1474   --enable-static[=PKGS]  build static libraries [default=yes]
    1475   --enable-fast-install[=PKGS]
    1476                           optimize for fast installation [default=yes]
    1477   --disable-libtool-lock  avoid locking (might break parallel builds)
    14781432
    14791433Optional Packages:
     
    14811435  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    14821436  --with-cfa-name=NAME     NAME too which cfa will be installed
    1483   --with-target-hosts=HOSTS     HOSTS comma seperated list of hosts to build for, format ARCH:debug|nodebug|nolib
    1484   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
    1485                           both]
    1486   --with-aix-soname=aix|svr4|both
    1487                           shared library versioning (aka "SONAME") variant to
    1488                           provide on AIX, [default=aix].
    1489   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    1490   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
    1491                           compiler's sysroot if not specified).
     1437  --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible)
    14921438
    14931439Some influential environment variables:
     
    15091455              This script will default YFLAGS to the empty string to avoid a
    15101456              default value of `-d' given by some make applications.
    1511   LT_SYS_LIBRARY_PATH
    1512               User-defined run-time library search path.
    15131457  CPP         C preprocessor
    1514   CXXCPP      C++ preprocessor
    15151458
    15161459Use these variables to override the choices made by `configure' or to help
     
    17161659} # ac_fn_c_try_link
    17171660
    1718 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1719 # -------------------------------------------------------
    1720 # Tests whether HEADER exists and can be compiled using the include files in
    1721 # INCLUDES, setting the cache variable VAR accordingly.
    1722 ac_fn_c_check_header_compile ()
     1661# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
     1662# -------------------------------------------
     1663# Tests whether TYPE exists after having included INCLUDES, setting cache
     1664# variable VAR accordingly.
     1665ac_fn_c_check_type ()
    17231666{
    17241667  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     
    17281671  $as_echo_n "(cached) " >&6
    17291672else
     1673  eval "$3=no"
    17301674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    17311675/* end confdefs.h.  */
    17321676$4
    1733 #include <$2>
     1677int
     1678main ()
     1679{
     1680if (sizeof ($2))
     1681         return 0;
     1682  ;
     1683  return 0;
     1684}
    17341685_ACEOF
    17351686if ac_fn_c_try_compile "$LINENO"; then :
     1687  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1688/* end confdefs.h.  */
     1689$4
     1690int
     1691main ()
     1692{
     1693if (sizeof (($2)))
     1694            return 0;
     1695  ;
     1696  return 0;
     1697}
     1698_ACEOF
     1699if ac_fn_c_try_compile "$LINENO"; then :
     1700
     1701else
    17361702  eval "$3=yes"
    1737 else
    1738   eval "$3=no"
     1703fi
     1704rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    17391705fi
    17401706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     
    17451711  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    17461712
    1747 } # ac_fn_c_check_header_compile
     1713} # ac_fn_c_check_type
    17481714
    17491715# ac_fn_c_try_cpp LINENO
     
    18261792} # ac_fn_c_try_run
    18271793
     1794# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1795# -------------------------------------------------------
     1796# Tests whether HEADER exists and can be compiled using the include files in
     1797# INCLUDES, setting the cache variable VAR accordingly.
     1798ac_fn_c_check_header_compile ()
     1799{
     1800  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1801  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1802$as_echo_n "checking for $2... " >&6; }
     1803if eval \${$3+:} false; then :
     1804  $as_echo_n "(cached) " >&6
     1805else
     1806  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1807/* end confdefs.h.  */
     1808$4
     1809#include <$2>
     1810_ACEOF
     1811if ac_fn_c_try_compile "$LINENO"; then :
     1812  eval "$3=yes"
     1813else
     1814  eval "$3=no"
     1815fi
     1816rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1817fi
     1818eval ac_res=\$$3
     1819               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1820$as_echo "$ac_res" >&6; }
     1821  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1822
     1823} # ac_fn_c_check_header_compile
     1824
    18281825# ac_fn_c_check_func LINENO FUNC VAR
    18291826# ----------------------------------
     
    18921889
    18931890} # ac_fn_c_check_func
    1894 
    1895 # ac_fn_cxx_try_cpp LINENO
    1896 # ------------------------
    1897 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1898 ac_fn_cxx_try_cpp ()
    1899 {
    1900   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1901   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1902 case "(($ac_try" in
    1903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1904   *) ac_try_echo=$ac_try;;
    1905 esac
    1906 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1907 $as_echo "$ac_try_echo"; } >&5
    1908   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1909   ac_status=$?
    1910   if test -s conftest.err; then
    1911     grep -v '^ *+' conftest.err >conftest.er1
    1912     cat conftest.er1 >&5
    1913     mv -f conftest.er1 conftest.err
    1914   fi
    1915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1916   test $ac_status = 0; } > conftest.i && {
    1917          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    1918          test ! -s conftest.err
    1919        }; then :
    1920   ac_retval=0
    1921 else
    1922   $as_echo "$as_me: failed program was:" >&5
    1923 sed 's/^/| /' conftest.$ac_ext >&5
    1924 
    1925     ac_retval=1
    1926 fi
    1927   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1928   as_fn_set_status $ac_retval
    1929 
    1930 } # ac_fn_cxx_try_cpp
    1931 
    1932 # ac_fn_cxx_try_link LINENO
    1933 # -------------------------
    1934 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1935 ac_fn_cxx_try_link ()
    1936 {
    1937   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1938   rm -f conftest.$ac_objext conftest$ac_exeext
    1939   if { { ac_try="$ac_link"
    1940 case "(($ac_try" in
    1941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1942   *) ac_try_echo=$ac_try;;
    1943 esac
    1944 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1945 $as_echo "$ac_try_echo"; } >&5
    1946   (eval "$ac_link") 2>conftest.err
    1947   ac_status=$?
    1948   if test -s conftest.err; then
    1949     grep -v '^ *+' conftest.err >conftest.er1
    1950     cat conftest.er1 >&5
    1951     mv -f conftest.er1 conftest.err
    1952   fi
    1953   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1954   test $ac_status = 0; } && {
    1955          test -z "$ac_cxx_werror_flag" ||
    1956          test ! -s conftest.err
    1957        } && test -s conftest$ac_exeext && {
    1958          test "$cross_compiling" = yes ||
    1959          test -x conftest$ac_exeext
    1960        }; then :
    1961   ac_retval=0
    1962 else
    1963   $as_echo "$as_me: failed program was:" >&5
    1964 sed 's/^/| /' conftest.$ac_ext >&5
    1965 
    1966         ac_retval=1
    1967 fi
    1968   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1969   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1970   # interfere with the next link command; also delete a directory that is
    1971   # left behind by Apple's compiler.  We do this before executing the actions.
    1972   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1973   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1974   as_fn_set_status $ac_retval
    1975 
    1976 } # ac_fn_cxx_try_link
    19771891
    19781892# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     
    20671981} # ac_fn_c_check_header_mongrel
    20681982
    2069 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
    2070 # -------------------------------------------
    2071 # Tests whether TYPE exists after having included INCLUDES, setting cache
    2072 # variable VAR accordingly.
    2073 ac_fn_c_check_type ()
     1983# ac_fn_c_find_intX_t LINENO BITS VAR
     1984# -----------------------------------
     1985# Finds a signed integer type with width BITS, setting cache variable VAR
     1986# accordingly.
     1987ac_fn_c_find_intX_t ()
    20741988{
    20751989  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2076   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2077 $as_echo_n "checking for $2... " >&6; }
     1990  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
     1991$as_echo_n "checking for int$2_t... " >&6; }
    20781992if eval \${$3+:} false; then :
    20791993  $as_echo_n "(cached) " >&6
    20801994else
    20811995  eval "$3=no"
    2082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1996     # Order is important - never check a type that is potentially smaller
     1997     # than half of the expected target width.
     1998     for ac_type in int$2_t 'int' 'long int' \
     1999         'long long int' 'short int' 'signed char'; do
     2000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    20832001/* end confdefs.h.  */
    2084 $4
     2002$ac_includes_default
     2003             enum { N = $2 / 2 - 1 };
    20852004int
    20862005main ()
    20872006{
    2088 if (sizeof ($2))
    2089          return 0;
     2007static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
     2008test_array [0] = 0;
     2009return test_array [0];
     2010
    20902011  ;
    20912012  return 0;
     
    20952016  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    20962017/* end confdefs.h.  */
    2097 $4
     2018$ac_includes_default
     2019                enum { N = $2 / 2 - 1 };
    20982020int
    20992021main ()
    21002022{
    2101 if (sizeof (($2)))
    2102             return 0;
     2023static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1)
     2024                 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))];
     2025test_array [0] = 0;
     2026return test_array [0];
     2027
    21032028  ;
    21042029  return 0;
     
    21082033
    21092034else
    2110   eval "$3=yes"
     2035  case $ac_type in #(
     2036  int$2_t) :
     2037    eval "$3=yes" ;; #(
     2038  *) :
     2039    eval "$3=\$ac_type" ;;
     2040esac
    21112041fi
    21122042rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    21132043fi
    21142044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2045       if eval test \"x\$"$3"\" = x"no"; then :
     2046
     2047else
     2048  break
     2049fi
     2050     done
    21152051fi
    21162052eval ac_res=\$$3
     
    21192055  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    21202056
    2121 } # ac_fn_c_check_type
     2057} # ac_fn_c_find_intX_t
     2058
     2059# ac_fn_c_find_uintX_t LINENO BITS VAR
     2060# ------------------------------------
     2061# Finds an unsigned integer type with width BITS, setting cache variable VAR
     2062# accordingly.
     2063ac_fn_c_find_uintX_t ()
     2064{
     2065  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2066  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
     2067$as_echo_n "checking for uint$2_t... " >&6; }
     2068if eval \${$3+:} false; then :
     2069  $as_echo_n "(cached) " >&6
     2070else
     2071  eval "$3=no"
     2072     # Order is important - never check a type that is potentially smaller
     2073     # than half of the expected target width.
     2074     for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
     2075         'unsigned long long int' 'unsigned short int' 'unsigned char'; do
     2076       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2077/* end confdefs.h.  */
     2078$ac_includes_default
     2079int
     2080main ()
     2081{
     2082static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
     2083test_array [0] = 0;
     2084return test_array [0];
     2085
     2086  ;
     2087  return 0;
     2088}
     2089_ACEOF
     2090if ac_fn_c_try_compile "$LINENO"; then :
     2091  case $ac_type in #(
     2092  uint$2_t) :
     2093    eval "$3=yes" ;; #(
     2094  *) :
     2095    eval "$3=\$ac_type" ;;
     2096esac
     2097fi
     2098rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2099       if eval test \"x\$"$3"\" = x"no"; then :
     2100
     2101else
     2102  break
     2103fi
     2104     done
     2105fi
     2106eval ac_res=\$$3
     2107               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2108$as_echo "$ac_res" >&6; }
     2109  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2110
     2111} # ac_fn_c_find_uintX_t
    21222112cat >config.log <<_ACEOF
    21232113This file contains any messages produced by compilers while
     
    25012491
    25022492
    2503 
    25042493#AC_CONFIG_SRCDIR([src/main.cc])
    2505 ac_config_headers="$ac_config_headers config.h:src/config.h.in"
     2494ac_config_headers="$ac_config_headers config.h"
    25062495
    25072496# Check whether --enable-silent-rules was given.
     
    25132502  yes) AM_DEFAULT_VERBOSITY=0;;
    25142503   no) AM_DEFAULT_VERBOSITY=1;;
    2515     *) AM_DEFAULT_VERBOSITY=0;;
     2504    *) AM_DEFAULT_VERBOSITY=1;;
    25162505esac
    25172506am_make=${MAKE-make}
     
    25442533AM_BACKSLASH='\'
    25452534
    2546 
    2547 
    2548 
    2549 
    2550 
    2551 
    2552 
    2553 
    2554 # http://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_compile_flag.m4
    2555 
    2556 
    2557 # don't use the default CFLAGS as they unconditonnaly add -O2
    2558 : ${CFLAGS=""}
    25592535
    25602536am__api_version='1.15'
     
    30993075
    31003076
     3077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
     3078$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
     3079    # Check whether --enable-maintainer-mode was given.
     3080if test "${enable_maintainer_mode+set}" = set; then :
     3081  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
     3082else
     3083  USE_MAINTAINER_MODE=yes
     3084fi
     3085
     3086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
     3087$as_echo "$USE_MAINTAINER_MODE" >&6; }
     3088   if test $USE_MAINTAINER_MODE = yes; then
     3089  MAINTAINER_MODE_TRUE=
     3090  MAINTAINER_MODE_FALSE='#'
     3091else
     3092  MAINTAINER_MODE_TRUE='#'
     3093  MAINTAINER_MODE_FALSE=
     3094fi
     3095
     3096  MAINT=$MAINTAINER_MODE_TRUE
     3097
     3098                        # may require auto* software to be installed
     3099
    31013100# Allow program name tansformation
    31023101# will fill program_transform_name with appropriate sed regex
    31033102
    31043103
    3105 #==============================================================================
    31063104#Trasforming cc1 will break compilation
    3107 
    3108         if test "${program_transform_name}" = ""; then
    3109         as_fn_error $? "Program transform not supported.
    3110                         Use --with-cfa-name='[Desired name here]' instead" "$LINENO" 5
    3111         fi
    3112 
    3113         #Define the new name of the installed command
     3105if test "${program_transform_name}" = ""; then
     3106    as_fn_error $? "Program transform not supported.
     3107                Use --with-cfa-name='[Desired name here]' instead" "$LINENO" 5
     3108fi
     3109
    31143110
    31153111# Check whether --with-cfa-name was given.
     
    31213117
    31223118
    3123         CFA_NAME=${cfa_name}
    3124 
    3125 
    3126 
    3127 #==============================================================================
    3128 # version information
     3119#Define the new name of the installed command
     3120CFA_NAME=${cfa_name}
     3121
    31293122
    31303123rm -f version
     
    31783171
    31793172
    3180 #==============================================================================
    3181 # HACK to be able to use conditionnals inside makefiles
     3173# Installation paths
     3174
     3175
     3176# Check whether --with-backend-compiler was given.
     3177if test "${with_backend_compiler+set}" = set; then :
     3178  withval=$with_backend_compiler; backendcompiler=$withval
     3179else
     3180  backendcompiler=""
     3181fi
     3182
     3183if test "x$backendcompiler" != "x"; then
     3184        BACKEND_CC=${backendcompiler}
     3185else
     3186        # Extract the first word of "gcc", so it can be a program name with args.
     3187set dummy gcc; ac_word=$2
     3188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3189$as_echo_n "checking for $ac_word... " >&6; }
     3190if ${ac_cv_path_BACKEND_CC+:} false; then :
     3191  $as_echo_n "(cached) " >&6
     3192else
     3193  case $BACKEND_CC in
     3194  [\\/]* | ?:[\\/]*)
     3195  ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path.
     3196  ;;
     3197  *)
     3198  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3199for as_dir in $PATH
     3200do
     3201  IFS=$as_save_IFS
     3202  test -z "$as_dir" && as_dir=.
     3203    for ac_exec_ext in '' $ac_executable_extensions; do
     3204  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3205    ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext"
     3206    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3207    break 2
     3208  fi
     3209done
     3210  done
     3211IFS=$as_save_IFS
     3212
     3213  ;;
     3214esac
     3215fi
     3216BACKEND_CC=$ac_cv_path_BACKEND_CC
     3217if test -n "$BACKEND_CC"; then
     3218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5
     3219$as_echo "$BACKEND_CC" >&6; }
     3220else
     3221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3222$as_echo "no" >&6; }
     3223fi
     3224
     3225        # check gcc installed
     3226        if test "x$BACKEND_CC" = "x"; then
     3227                as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
     3228                exit 1
     3229        fi
     3230fi
     3231
     3232cat >>confdefs.h <<_ACEOF
     3233#define CFA_BACKEND_CC "${BACKEND_CC}"
     3234_ACEOF
     3235
     3236
     3237
     3238
     3239
     3240# Check whether --enable-target-release was given.
     3241if test "${enable_target_release+set}" = set; then :
     3242  enableval=$enable_target_release;
     3243fi
     3244
     3245# Check whether --enable-target-debug was given.
     3246if test "${enable_target_debug+set}" = set; then :
     3247  enableval=$enable_target_debug;
     3248fi
     3249
     3250# Check whether --enable-threading was given.
     3251if test "${enable_threading+set}" = set; then :
     3252  enableval=$enable_threading; case "${enableval}" in
     3253  yes) build_threading="yes" ;;
     3254  no)  build_threading="no" ;;
     3255  *) as_fn_error $? "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;;
     3256esac
     3257else
     3258  build_threading="yes"
     3259fi
     3260
     3261
     3262case "$enable_target_release" in
     3263        yes)
     3264                case "$enable_target_debug" in
     3265                        yes)
     3266                                build_release="yes"
     3267                                build_debug="yes"
     3268                                ;;
     3269                        no)
     3270                                build_release="yes"
     3271                                build_debug="no"
     3272                                ;;
     3273                        *)
     3274                                build_release="yes"
     3275                                build_debug="no"
     3276                                ;;
     3277                esac
     3278                ;;
     3279        no)
     3280                case "$enable_target_debug" in
     3281                        yes)
     3282                                build_release="no"
     3283                                build_debug="yes"
     3284                                ;;
     3285                        no)
     3286                                build_release="no"
     3287                                build_debug="no"
     3288                                ;;
     3289                        *)
     3290                                build_release="no"
     3291                                build_debug="yes"
     3292                                ;;
     3293                esac
     3294                ;;
     3295        *)
     3296                case "$enable_target_debug" in
     3297                        yes)
     3298                                build_release="no"
     3299                                build_debug="yes"
     3300                                ;;
     3301                        no)
     3302                                build_release="yes"
     3303                                build_debug="no"
     3304                                ;;
     3305                        *)
     3306                                build_release="yes"
     3307                                build_debug="yes"
     3308                                ;;
     3309                esac
     3310                ;;
     3311esac
     3312
     3313 if test "x$build_release" = "xyes"; then
     3314  BUILD_RELEASE_TRUE=
     3315  BUILD_RELEASE_FALSE='#'
     3316else
     3317  BUILD_RELEASE_TRUE='#'
     3318  BUILD_RELEASE_FALSE=
     3319fi
     3320
     3321 if test "x$build_debug" = "xyes"; then
     3322  BUILD_DEBUG_TRUE=
     3323  BUILD_DEBUG_FALSE='#'
     3324else
     3325  BUILD_DEBUG_TRUE='#'
     3326  BUILD_DEBUG_FALSE=
     3327fi
     3328
     3329 if test "x$build_release$build_debug" = "xnono"; then
     3330  BUILD_NO_LIB_TRUE=
     3331  BUILD_NO_LIB_FALSE='#'
     3332else
     3333  BUILD_NO_LIB_TRUE='#'
     3334  BUILD_NO_LIB_FALSE=
     3335fi
     3336
     3337 if test "x$build_threading" = "xyes"; then
     3338  BUILD_CONCURRENCY_TRUE=
     3339  BUILD_CONCURRENCY_FALSE='#'
     3340else
     3341  BUILD_CONCURRENCY_TRUE='#'
     3342  BUILD_CONCURRENCY_FALSE=
     3343fi
     3344
     3345
    31823346DOifskipcompile='ifeq ($(skipcompile),yes)
    31833347else'
     
    31893353
    31903354
    3191 #==============================================================================
    3192 # distcc support
    3193 
    3194 # Check whether --enable-distcc was given.
    3195 if test "${enable_distcc+set}" = set; then :
    3196   enableval=$enable_distcc; enable_distcc=$enableval
    3197 else
    3198   enable_distcc=no
    3199 fi
    3200 
    3201 
    3202  if test x$enable_distcc = xyes; then
    3203   ENABLE_DISTCC_TRUE=
    3204   ENABLE_DISTCC_FALSE='#'
    3205 else
    3206   ENABLE_DISTCC_TRUE='#'
    3207   ENABLE_DISTCC_FALSE=
    3208 fi
    3209 
    3210 HAS_DISTCC="False"
    3211 
    3212 if test x$enable_distcc = xyes; then
    3213         CXX="distcc ${CXX}"
    3214         LD="distcc ${LD} -lstdc++"
    3215         HAS_DISTCC="True"
    3216         echo "Enabling distributed builds"
    3217 fi
    3218 
    3219 
    3220 
    3221 
    3222 
    3223 #==============================================================================
    3224 # Installation paths
    3225 
    3226         if test "x$prefix" = "xNONE"; then
    3227                 cfa_prefix=${ac_default_prefix}
    3228         else
    3229                 cfa_prefix=${prefix}
    3230         fi
    3231         cfa_prefix="$(readlink -m ${cfa_prefix})/"
     3355if test "x$prefix" = "xNONE"; then
     3356        cfa_prefix=${ac_default_prefix}
     3357else
     3358        cfa_prefix=${prefix}
     3359fi
    32323360
    32333361cat >>confdefs.h <<_ACEOF
     
    32353363_ACEOF
    32363364
    3237         CFA_PREFIX=${cfa_prefix}
    3238 
    3239 
    3240         if test "$includedir" = '${prefix}/include'; then
    3241                 cfa_incdir="${cfa_prefix}include/${cfa_name}"
    3242         else
    3243                 cfa_incdir=${includedir}
    3244         fi
    3245         cfa_incdir="$(readlink -m ${cfa_incdir})/"
     3365CFA_PREFIX=${cfa_prefix}
     3366
     3367
     3368if test "$includedir" = '${prefix}/include'; then
     3369        cfa_incdir="${cfa_prefix}/include/${cfa_name}"
     3370else
     3371        cfa_incdir=${includedir}
     3372fi
    32463373
    32473374cat >>confdefs.h <<_ACEOF
     
    32493376_ACEOF
    32503377
    3251         CFA_INCDIR=${cfa_incdir}
    3252 
    3253 
    3254         if test "$bindir" = '${exec_prefix}/bin'; then
    3255                 cfa_bindir="${cfa_prefix}bin"
    3256         else
    3257                 cfa_bindir=${bindir}
    3258         fi
    3259         cfa_bindir="$(readlink -m ${cfa_bindir})/"
     3378CFA_INCDIR=${cfa_incdir}
     3379
     3380
     3381if test "$bindir" = '${exec_prefix}/bin'; then
     3382        cfa_bindir="${cfa_prefix}/bin"
     3383else
     3384        cfa_bindir=${bindir}
     3385fi
    32603386
    32613387cat >>confdefs.h <<_ACEOF
     
    32633389_ACEOF
    32643390
    3265         CFA_BINDIR=${cfa_bindir}
    3266 
    3267 
    3268         if test "$libdir" = '${exec_prefix}/lib'; then
    3269                 if test "${ARCHITECTURE}" != ""; then
    3270                         cfa_libdir="${cfa_prefix}lib/${cfa_name}/${ARCHITECTURE}-${CONFIGURATION}/"
    3271                 else
    3272                         cfa_libdir="${cfa_prefix}lib/${cfa_name}/"
    3273                 fi
    3274         else
    3275                 cfa_libdir="${libdir}/${ARCHITECTURE}${CONFIGURATION}"
    3276         fi
    3277         cfa_libdir="$(readlink -m ${cfa_libdir})/"
     3391CFA_BINDIR=${cfa_bindir}
     3392
     3393
     3394if test "$libdir" = '${exec_prefix}/lib'; then
     3395        cfa_libdir="${cfa_prefix}/lib/${cfa_name}"
     3396else
     3397        cfa_libdir=${libdir}
     3398fi
    32783399
    32793400cat >>confdefs.h <<_ACEOF
     
    32813402_ACEOF
    32823403
    3283         CFA_LIBDIR=${cfa_libdir}
    3284 
    3285 
    3286 
    3287 #==============================================================================
    3288 # Create variables for commonly used targets
    3289 
    3290 TOP_SRCDIR="$(readlink -m $ac_confdir/)/"
    3291 TOP_BUILDDIR="$(readlink -m $ac_pwd/)/"
    3292 
    3293 
    3294 cat >>confdefs.h <<_ACEOF
    3295 #define TOP_SRCDIR "$TOP_SRCDIR"
    3296 _ACEOF
    3297 
    3298 
    3299 cat >>confdefs.h <<_ACEOF
    3300 #define TOP_BUILDDIR "$TOP_BUILDDIR"
    3301 _ACEOF
    3302 
    3303 
    3304 DRIVER_DIR=${TOP_BUILDDIR}driver/
    3305 CFACC=${DRIVER_DIR}cfa
    3306 CFACC_INSTALL=${CFA_BINDIR}${CFA_NAME}
    3307 CFACPP=${DRIVER_DIR}cfa-cpp
    3308 
    3309 
    3310 
    3311 
    3312 
    3313 #==============================================================================
    3314 # Flag variables needed to build in tree
    3315 LIBCFA_SRC='${TOP_SRCDIR}/libcfa/src'
    3316 BUILD_IN_TREE_FLAGS="-XCFA -t -B${DRIVER_DIR}"
    3317 
    3318 
    3319 #==============================================================================
    3320 # handle the list of hosts to build for
    3321 for var in $ac_configure_args
    3322 do
    3323         #strip quotes surrouding values
    3324         case $var in
    3325                 # skip cross compilation related arguments
    3326                 \'--host=*) ;; \'host_alias=*) ;; \'--build=*) ;; \'build_alias=*) ;; \'--target=*) ;; \'target_alias=*) ;;
    3327 
    3328                 # skip the target hosts
    3329                 \'--with-target-hosts=*) ;;
    3330 
    3331                 # skip gprofiler for libcfa
    3332                 \'--enable-gprofiler=*) ;;
    3333                 \'--disable-gprofiler) ;;
    3334 
    3335                 # append all other arguments to the sub configure arguments
    3336                 *) LIBCFA_GENERAL_ARGS="${LIBCFA_GENERAL_ARGS} $var";;
    3337         esac
    3338 done
    3339 
    3340 #==============================================================================
    3341 # handle the list of hosts to build for
     3404CFA_LIBDIR=${cfa_libdir}
     3405
     3406
    33423407# Make sure we can run config.sub.
    33433408$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     
    34113476
    34123477
     3478MACHINE_TYPE=$host_cpu
     3479
    34133480
    34143481if ! test "$host_cpu" = "$build_cpu"; then
    34153482        case $host_cpu in
    34163483                i386)
    3417                         HOST_FLAGS="-m32"
     3484                        CFLAGS+=" -m32 "
     3485                        CXXFLAGS+=" -m32 "
     3486                        CFAFLAGS+=" -m32 "
     3487                        LDFLAGS+=" -m32 "
    34183488                        ;;
    34193489                i686)
    3420                         HOST_FLAGS="-m32"
     3490                        CFLAGS+=" -m32 "
     3491                  CXXFLAGS+=" -m32 "
     3492                  CFAFLAGS+=" -m32 "
     3493                  LDFLAGS+=" -m32 "
    34213494                        ;;
    34223495                x86_64)
    3423                         HOST_FLAGS="-m64"
     3496                        CFLAGS+=" -m64 "
     3497                        CXXFLAGS+=" -m64 "
     3498                        CFAFLAGS+=" -m64 "
     3499                        LDFLAGS+=" -m64 "
    34243500                        ;;
    34253501        esac
     
    34273503
    34283504
    3429 default_target="${host_cpu}:debug, ${host_cpu}:nodebug"
    3430 
    3431 # Check whether --with-target-hosts was given.
    3432 if test "${with_target_hosts+set}" = set; then :
    3433   withval=$with_target_hosts; target_hosts=$withval
    3434 else
    3435   target_hosts=${default_target}
    3436 fi
    3437 
    3438 
    3439 # Check whether --enable-gprofiler was given.
    3440 if test "${enable_gprofiler+set}" = set; then :
    3441   enableval=$enable_gprofiler; enable_gprofiler=$enableval
    3442 else
    3443   enable_gprofiler=yes
    3444 fi
    3445 
    3446 
    3447 # Check whether --enable-demangler was given.
    3448 if test "${enable_demangler+set}" = set; then :
    3449   enableval=$enable_demangler; enable_demangler=$enableval
    3450 else
    3451   enable_demangler=yes
    3452 fi
    3453 
    3454 
    3455 TARGET_HOSTS=${target_hosts}
    3456 
    3457 
    3458 LIBCFA_PATHS="DRIVER_DIR=${DRIVER_DIR}"
    3459 
    3460 for i in $(echo $target_hosts | sed "s/,/ /g")
    3461 do
    3462         # call your procedure/other scripts here below
    3463         arch_name=$(echo $i | sed -r "s/:(.*)//g")
    3464         lib_config=$(echo $i | sed -r "s/(.*)://g")
    3465 
    3466         case $lib_config in
    3467                 "nodebug") ;;
    3468                 "debug") ;;
    3469                 "nolib") ;;
    3470                 "profile") ;;
    3471                 *)
    3472                         >&2 echo "Configuration must be 'debug', 'nodebug' or 'nolib'"
    3473                         exit 1
    3474                 ;;
    3475         esac
    3476 
    3477 
    3478         case ${arch_name} in
    3479                 "host") arch_name=${host_cpu};;
    3480                 *) arch_name=${arch_name};;
    3481         esac
    3482 
    3483         case $arch_name in
    3484                 "x64"        ) cannon_arch_name="x64";;
    3485                 "x86-64"     ) cannon_arch_name="x64";;
    3486                 "x86_64"     ) cannon_arch_name="x64";;
    3487                 "aarch64"    ) cannon_arch_name="arm";;
    3488                 "x86"        ) cannon_arch_name="x86";;
    3489                 "i386"       ) cannon_arch_name="x86";;
    3490                 "i486"       ) cannon_arch_name="x86";;
    3491                 "i686"       ) cannon_arch_name="x86";;
    3492                 "Intel 80386") cannon_arch_name="x86";;
    3493                 "arm"        ) cannon_arch_name="arm";;
    3494                 "ARM"        ) cannon_arch_name="arm";;
    3495                 "armv7l"     ) cannon_arch_name="arm";;
    3496                 *)
    3497                 >&2 echo "Unknown architecture " $arch_name;
    3498                 exit 1
    3499                 ;;
    3500         esac
    3501 
    3502         lib_arch=${cannon_arch_name}
    3503         lib_dir="libcfa/${lib_arch}-${lib_config}"
    3504 
    3505         LIBCFA_TARGET_DIRS="${LIBCFA_TARGET_DIRS} ${lib_dir}"
    3506         LIBCFA_TARGET_MAKEFILES="${LIBCFA_TARGET_MAKEFILES} ${lib_dir}/Makefile"
    3507 
    3508         mkdir -p ${lib_dir}
    3509         echo -n "${LIBCFA_GENERAL_ARGS} " > ${lib_dir}/config.data
    3510         echo -n "${LIBCFA_PATHS} " >> ${lib_dir}/config.data
    3511         echo -n "ARCHITECTURE=${lib_arch} " >> ${lib_dir}/config.data
    3512         echo -n "CONFIGURATION=${lib_config} " >> ${lib_dir}/config.data
    3513         echo -n "CFA_VERSION=${ver_major}:${ver_minor}:${ver_patch}" >> ${lib_dir}/config.data
    3514 done
    3515 
    3516 
    3517 
    3518 
    3519 
    3520         case ${host_cpu} in
    3521                 "host") arch_name=${host_cpu};;
    3522                 *) arch_name=${host_cpu};;
    3523         esac
    3524 
    3525         case $arch_name in
    3526                 "x64"        ) cannon_arch_name="x64";;
    3527                 "x86-64"     ) cannon_arch_name="x64";;
    3528                 "x86_64"     ) cannon_arch_name="x64";;
    3529                 "aarch64"    ) cannon_arch_name="arm";;
    3530                 "x86"        ) cannon_arch_name="x86";;
    3531                 "i386"       ) cannon_arch_name="x86";;
    3532                 "i486"       ) cannon_arch_name="x86";;
    3533                 "i686"       ) cannon_arch_name="x86";;
    3534                 "Intel 80386") cannon_arch_name="x86";;
    3535                 "arm"        ) cannon_arch_name="arm";;
    3536                 "ARM"        ) cannon_arch_name="arm";;
    3537                 "armv7l"     ) cannon_arch_name="arm";;
    3538                 *)
    3539                 >&2 echo "Unknown architecture " $arch_name;
    3540                 exit 1
    3541                 ;;
    3542         esac
    3543 
    3544 
    3545 cat >>confdefs.h <<_ACEOF
    3546 #define CFA_DEFAULT_CPU "$cannon_arch_name"
    3547 _ACEOF
    3548 
    3549 
    3550 cat >>confdefs.h <<_ACEOF
    3551 #define CFA_64_CPU "x64"
    3552 _ACEOF
    3553 
    3554 
    3555 cat >>confdefs.h <<_ACEOF
    3556 #define CFA_32_CPU "x86"
    3557 _ACEOF
    3558 
    3559 
    3560 #==============================================================================
    3561 # CAFLAGS
    3562 
    35633505cat >>confdefs.h <<_ACEOF
    35643506#define CFA_FLAGS "${CFAFLAGS}"
     
    35683510
    35693511
    3570 #==============================================================================
    35713512# Checks for programs.
    35723513ac_ext=cpp
     
    51275068
    51285069
     5070        # deprecated
    51295071# These are often not installed and people miss seeing the "no", so stop the configure.
    51305072for ac_prog in 'bison -y' byacc
     
    53335275fi
    53345276if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi
    5335 case `pwd` in
    5336   *\ * | *\     *)
    5337     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
    5338 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
     5277
     5278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     5279$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
     5280set x ${MAKE-make}
     5281ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
     5282if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     5283  $as_echo_n "(cached) " >&6
     5284else
     5285  cat >conftest.make <<\_ACEOF
     5286SHELL = /bin/sh
     5287all:
     5288        @echo '@@@%%%=$(MAKE)=@@@%%%'
     5289_ACEOF
     5290# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     5291case `${MAKE-make} -f conftest.make 2>/dev/null` in
     5292  *@@@%%%=?*=@@@%%%*)
     5293    eval ac_cv_prog_make_${ac_make}_set=yes;;
     5294  *)
     5295    eval ac_cv_prog_make_${ac_make}_set=no;;
    53395296esac
    5340 
    5341 
    5342 
    5343 macro_version='2.4.6'
    5344 macro_revision='2.4.6'
    5345 
    5346 
    5347 
    5348 
    5349 
    5350 
    5351 
    5352 
    5353 
    5354 
    5355 
    5356 
    5357 
    5358 ltmain=$ac_aux_dir/ltmain.sh
    5359 
    5360 # Backslashify metacharacters that are still active within
    5361 # double-quoted strings.
    5362 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
    5363 
    5364 # Same as above, but do not quote variable references.
    5365 double_quote_subst='s/\(["`\\]\)/\\\1/g'
    5366 
    5367 # Sed substitution to delay expansion of an escaped shell variable in a
    5368 # double_quote_subst'ed string.
    5369 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
    5370 
    5371 # Sed substitution to delay expansion of an escaped single quote.
    5372 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
    5373 
    5374 # Sed substitution to avoid accidental globbing in evaled expressions
    5375 no_glob_subst='s/\*/\\\*/g'
    5376 
    5377 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    5378 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
    5379 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
    5380 
    5381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
    5382 $as_echo_n "checking how to print strings... " >&6; }
    5383 # Test print first, because it will be a builtin if present.
    5384 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
    5385    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    5386   ECHO='print -r --'
    5387 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
    5388   ECHO='printf %s\n'
    5389 else
    5390   # Use this function as a fallback that always works.
    5391   func_fallback_echo ()
    5392   {
    5393     eval 'cat <<_LTECHO_EOF
    5394 $1
    5395 _LTECHO_EOF'
    5396   }
    5397   ECHO='func_fallback_echo'
    5398 fi
    5399 
    5400 # func_echo_all arg...
    5401 # Invoke $ECHO with all args, space-separated.
    5402 func_echo_all ()
    5403 {
    5404     $ECHO ""
    5405 }
    5406 
    5407 case $ECHO in
    5408   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
    5409 $as_echo "printf" >&6; } ;;
    5410   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
    5411 $as_echo "print -r" >&6; } ;;
    5412   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
    5413 $as_echo "cat" >&6; } ;;
    5414 esac
    5415 
    5416 
    5417 
    5418 
    5419 
    5420 
    5421 
    5422 
    5423 
    5424 
    5425 
    5426 
    5427 
    5428 
    5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
    5430 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
    5431 if ${ac_cv_path_SED+:} false; then :
     5297rm -f conftest.make
     5298fi
     5299if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
     5300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     5301$as_echo "yes" >&6; }
     5302  SET_MAKE=
     5303else
     5304  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5305$as_echo "no" >&6; }
     5306  SET_MAKE="MAKE=${MAKE-make}"
     5307fi
     5308
     5309if test -n "$ac_tool_prefix"; then
     5310  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     5311set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     5312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5313$as_echo_n "checking for $ac_word... " >&6; }
     5314if ${ac_cv_prog_RANLIB+:} false; then :
    54325315  $as_echo_n "(cached) " >&6
    54335316else
    5434             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
    5435      for ac_i in 1 2 3 4 5 6 7; do
    5436        ac_script="$ac_script$as_nl$ac_script"
    5437      done
    5438      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
    5439      { ac_script=; unset ac_script;}
    5440      if test -z "$SED"; then
    5441   ac_path_SED_found=false
    5442   # Loop through the user's path and test for each of PROGNAME-LIST
    5443   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5317  if test -n "$RANLIB"; then
     5318  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     5319else
     5320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    54445321for as_dir in $PATH
    54455322do
    54465323  IFS=$as_save_IFS
    54475324  test -z "$as_dir" && as_dir=.
    5448     for ac_prog in sed gsed; do
    54495325    for ac_exec_ext in '' $ac_executable_extensions; do
    5450       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
    5451       as_fn_executable_p "$ac_path_SED" || continue
    5452 # Check for GNU ac_path_SED and select it if it is found.
    5453   # Check for GNU $ac_path_SED
    5454 case `"$ac_path_SED" --version 2>&1` in
    5455 *GNU*)
    5456   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
    5457 *)
    5458   ac_count=0
    5459   $as_echo_n 0123456789 >"conftest.in"
    5460   while :
    5461   do
    5462     cat "conftest.in" "conftest.in" >"conftest.tmp"
    5463     mv "conftest.tmp" "conftest.in"
    5464     cp "conftest.in" "conftest.nl"
    5465     $as_echo '' >> "conftest.nl"
    5466     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
    5467     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    5468     as_fn_arith $ac_count + 1 && ac_count=$as_val
    5469     if test $ac_count -gt ${ac_path_SED_max-0}; then
    5470       # Best one so far, save it but keep looking for a better one
    5471       ac_cv_path_SED="$ac_path_SED"
    5472       ac_path_SED_max=$ac_count
    5473     fi
    5474     # 10*(2^10) chars as input seems more than enough
    5475     test $ac_count -gt 10 && break
    5476   done
    5477   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    5478 esac
    5479 
    5480       $ac_path_SED_found && break 3
    5481     done
    5482   done
     5326  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5327    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     5328    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5329    break 2
     5330  fi
     5331done
    54835332  done
    54845333IFS=$as_save_IFS
    5485   if test -z "$ac_cv_path_SED"; then
    5486     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
     5334
     5335fi
     5336fi
     5337RANLIB=$ac_cv_prog_RANLIB
     5338if test -n "$RANLIB"; then
     5339  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     5340$as_echo "$RANLIB" >&6; }
     5341else
     5342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5343$as_echo "no" >&6; }
     5344fi
     5345
     5346
     5347fi
     5348if test -z "$ac_cv_prog_RANLIB"; then
     5349  ac_ct_RANLIB=$RANLIB
     5350  # Extract the first word of "ranlib", so it can be a program name with args.
     5351set dummy ranlib; ac_word=$2
     5352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5353$as_echo_n "checking for $ac_word... " >&6; }
     5354if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     5355  $as_echo_n "(cached) " >&6
     5356else
     5357  if test -n "$ac_ct_RANLIB"; then
     5358  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     5359else
     5360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5361for as_dir in $PATH
     5362do
     5363  IFS=$as_save_IFS
     5364  test -z "$as_dir" && as_dir=.
     5365    for ac_exec_ext in '' $ac_executable_extensions; do
     5366  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5367    ac_cv_prog_ac_ct_RANLIB="ranlib"
     5368    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5369    break 2
    54875370  fi
    5488 else
    5489   ac_cv_path_SED=$SED
    5490 fi
    5491 
    5492 fi
    5493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
    5494 $as_echo "$ac_cv_path_SED" >&6; }
    5495  SED="$ac_cv_path_SED"
    5496   rm -f conftest.sed
    5497 
    5498 test -z "$SED" && SED=sed
    5499 Xsed="$SED -e 1s/^X//"
    5500 
    5501 
    5502 
    5503 
    5504 
    5505 
    5506 
    5507 
    5508 
     5371done
     5372  done
     5373IFS=$as_save_IFS
     5374
     5375fi
     5376fi
     5377ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     5378if test -n "$ac_ct_RANLIB"; then
     5379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     5380$as_echo "$ac_ct_RANLIB" >&6; }
     5381else
     5382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5383$as_echo "no" >&6; }
     5384fi
     5385
     5386  if test "x$ac_ct_RANLIB" = x; then
     5387    RANLIB=":"
     5388  else
     5389    case $cross_compiling:$ac_tool_warned in
     5390yes:)
     5391{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5392$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5393ac_tool_warned=yes ;;
     5394esac
     5395    RANLIB=$ac_ct_RANLIB
     5396  fi
     5397else
     5398  RANLIB="$ac_cv_prog_RANLIB"
     5399fi
     5400
     5401
     5402# Checks for libraries.
     5403
     5404# Checks for header files.
     5405ac_ext=c
     5406ac_cpp='$CPP $CPPFLAGS'
     5407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5409ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     5411$as_echo_n "checking how to run the C preprocessor... " >&6; }
     5412# On Suns, sometimes $CPP names a directory.
     5413if test -n "$CPP" && test -d "$CPP"; then
     5414  CPP=
     5415fi
     5416if test -z "$CPP"; then
     5417  if ${ac_cv_prog_CPP+:} false; then :
     5418  $as_echo_n "(cached) " >&6
     5419else
     5420      # Double quotes because CPP needs to be expanded
     5421    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     5422    do
     5423      ac_preproc_ok=false
     5424for ac_c_preproc_warn_flag in '' yes
     5425do
     5426  # Use a header file that comes with gcc, so configuring glibc
     5427  # with a fresh cross-compiler works.
     5428  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5429  # <limits.h> exists even on freestanding compilers.
     5430  # On the NeXT, cc -E runs the code through the compiler's parser,
     5431  # not just through cpp. "Syntax error" is here to catch this case.
     5432  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5433/* end confdefs.h.  */
     5434#ifdef __STDC__
     5435# include <limits.h>
     5436#else
     5437# include <assert.h>
     5438#endif
     5439                     Syntax error
     5440_ACEOF
     5441if ac_fn_c_try_cpp "$LINENO"; then :
     5442
     5443else
     5444  # Broken: fails on valid input.
     5445continue
     5446fi
     5447rm -f conftest.err conftest.i conftest.$ac_ext
     5448
     5449  # OK, works on sane cases.  Now check whether nonexistent headers
     5450  # can be detected and how.
     5451  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5452/* end confdefs.h.  */
     5453#include <ac_nonexistent.h>
     5454_ACEOF
     5455if ac_fn_c_try_cpp "$LINENO"; then :
     5456  # Broken: success on invalid input.
     5457continue
     5458else
     5459  # Passes both tests.
     5460ac_preproc_ok=:
     5461break
     5462fi
     5463rm -f conftest.err conftest.i conftest.$ac_ext
     5464
     5465done
     5466# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     5467rm -f conftest.i conftest.err conftest.$ac_ext
     5468if $ac_preproc_ok; then :
     5469  break
     5470fi
     5471
     5472    done
     5473    ac_cv_prog_CPP=$CPP
     5474
     5475fi
     5476  CPP=$ac_cv_prog_CPP
     5477else
     5478  ac_cv_prog_CPP=$CPP
     5479fi
     5480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     5481$as_echo "$CPP" >&6; }
     5482ac_preproc_ok=false
     5483for ac_c_preproc_warn_flag in '' yes
     5484do
     5485  # Use a header file that comes with gcc, so configuring glibc
     5486  # with a fresh cross-compiler works.
     5487  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     5488  # <limits.h> exists even on freestanding compilers.
     5489  # On the NeXT, cc -E runs the code through the compiler's parser,
     5490  # not just through cpp. "Syntax error" is here to catch this case.
     5491  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5492/* end confdefs.h.  */
     5493#ifdef __STDC__
     5494# include <limits.h>
     5495#else
     5496# include <assert.h>
     5497#endif
     5498                     Syntax error
     5499_ACEOF
     5500if ac_fn_c_try_cpp "$LINENO"; then :
     5501
     5502else
     5503  # Broken: fails on valid input.
     5504continue
     5505fi
     5506rm -f conftest.err conftest.i conftest.$ac_ext
     5507
     5508  # OK, works on sane cases.  Now check whether nonexistent headers
     5509  # can be detected and how.
     5510  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5511/* end confdefs.h.  */
     5512#include <ac_nonexistent.h>
     5513_ACEOF
     5514if ac_fn_c_try_cpp "$LINENO"; then :
     5515  # Broken: success on invalid input.
     5516continue
     5517else
     5518  # Passes both tests.
     5519ac_preproc_ok=:
     5520break
     5521fi
     5522rm -f conftest.err conftest.i conftest.$ac_ext
     5523
     5524done
     5525# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     5526rm -f conftest.i conftest.err conftest.$ac_ext
     5527if $ac_preproc_ok; then :
     5528
     5529else
     5530  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     5531$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     5532as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     5533See \`config.log' for more details" "$LINENO" 5; }
     5534fi
     5535
     5536ac_ext=c
     5537ac_cpp='$CPP $CPPFLAGS'
     5538ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5539ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5540ac_compiler_gnu=$ac_cv_c_compiler_gnu
    55095541
    55105542
     
    56395671
    56405672
    5641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
    5642 $as_echo_n "checking for fgrep... " >&6; }
    5643 if ${ac_cv_path_FGREP+:} false; then :
    5644   $as_echo_n "(cached) " >&6
    5645 else
    5646   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
    5647    then ac_cv_path_FGREP="$GREP -F"
    5648    else
    5649      if test -z "$FGREP"; then
    5650   ac_path_FGREP_found=false
    5651   # Loop through the user's path and test for each of PROGNAME-LIST
    5652   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5653 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    5654 do
    5655   IFS=$as_save_IFS
    5656   test -z "$as_dir" && as_dir=.
    5657     for ac_prog in fgrep; do
    5658     for ac_exec_ext in '' $ac_executable_extensions; do
    5659       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
    5660       as_fn_executable_p "$ac_path_FGREP" || continue
    5661 # Check for GNU ac_path_FGREP and select it if it is found.
    5662   # Check for GNU $ac_path_FGREP
    5663 case `"$ac_path_FGREP" --version 2>&1` in
    5664 *GNU*)
    5665   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
    5666 *)
    5667   ac_count=0
    5668   $as_echo_n 0123456789 >"conftest.in"
    5669   while :
    5670   do
    5671     cat "conftest.in" "conftest.in" >"conftest.tmp"
    5672     mv "conftest.tmp" "conftest.in"
    5673     cp "conftest.in" "conftest.nl"
    5674     $as_echo 'FGREP' >> "conftest.nl"
    5675     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
    5676     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    5677     as_fn_arith $ac_count + 1 && ac_count=$as_val
    5678     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
    5679       # Best one so far, save it but keep looking for a better one
    5680       ac_cv_path_FGREP="$ac_path_FGREP"
    5681       ac_path_FGREP_max=$ac_count
    5682     fi
    5683     # 10*(2^10) chars as input seems more than enough
    5684     test $ac_count -gt 10 && break
    5685   done
    5686   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    5687 esac
    5688 
    5689       $ac_path_FGREP_found && break 3
    5690     done
    5691   done
    5692   done
    5693 IFS=$as_save_IFS
    5694   if test -z "$ac_cv_path_FGREP"; then
    5695     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    5696   fi
    5697 else
    5698   ac_cv_path_FGREP=$FGREP
    5699 fi
    5700 
    5701    fi
    5702 fi
    5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
    5704 $as_echo "$ac_cv_path_FGREP" >&6; }
    5705  FGREP="$ac_cv_path_FGREP"
    5706 
    5707 
    5708 test -z "$GREP" && GREP=grep
    5709 
    5710 
    5711 
    5712 
    5713 
    5714 
    5715 
    5716 
    5717 
    5718 
    5719 
    5720 
    5721 
    5722 
    5723 
    5724 
    5725 
    5726 
    5727 
    5728 # Check whether --with-gnu-ld was given.
    5729 if test "${with_gnu_ld+set}" = set; then :
    5730   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
    5731 else
    5732   with_gnu_ld=no
    5733 fi
    5734 
    5735 ac_prog=ld
    5736 if test yes = "$GCC"; then
    5737   # Check if gcc -print-prog-name=ld gives a path.
    5738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
    5739 $as_echo_n "checking for ld used by $CC... " >&6; }
    5740   case $host in
    5741   *-*-mingw*)
    5742     # gcc leaves a trailing carriage return, which upsets mingw
    5743     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    5744   *)
    5745     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    5746   esac
    5747   case $ac_prog in
    5748     # Accept absolute paths.
    5749     [\\/]* | ?:[\\/]*)
    5750       re_direlt='/[^/][^/]*/\.\./'
    5751       # Canonicalize the pathname of ld
    5752       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
    5753       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
    5754         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    5755       done
    5756       test -z "$LD" && LD=$ac_prog
    5757       ;;
    5758   "")
    5759     # If it fails, then pretend we aren't using GCC.
    5760     ac_prog=ld
    5761     ;;
    5762   *)
    5763     # If it is relative, then search for the first ld in PATH.
    5764     with_gnu_ld=unknown
    5765     ;;
    5766   esac
    5767 elif test yes = "$with_gnu_ld"; then
    5768   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
    5769 $as_echo_n "checking for GNU ld... " >&6; }
    5770 else
    5771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
    5772 $as_echo_n "checking for non-GNU ld... " >&6; }
    5773 fi
    5774 if ${lt_cv_path_LD+:} false; then :
    5775   $as_echo_n "(cached) " >&6
    5776 else
    5777   if test -z "$LD"; then
    5778   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    5779   for ac_dir in $PATH; do
    5780     IFS=$lt_save_ifs
    5781     test -z "$ac_dir" && ac_dir=.
    5782     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    5783       lt_cv_path_LD=$ac_dir/$ac_prog
    5784       # Check to see if the program is GNU ld.  I'd rather use --version,
    5785       # but apparently some variants of GNU ld only accept -v.
    5786       # Break only if it was the GNU/non-GNU ld that we prefer.
    5787       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    5788       *GNU* | *'with BFD'*)
    5789         test no != "$with_gnu_ld" && break
    5790         ;;
    5791       *)
    5792         test yes != "$with_gnu_ld" && break
    5793         ;;
    5794       esac
    5795     fi
    5796   done
    5797   IFS=$lt_save_ifs
    5798 else
    5799   lt_cv_path_LD=$LD # Let the user override the test with a path.
    5800 fi
    5801 fi
    5802 
    5803 LD=$lt_cv_path_LD
    5804 if test -n "$LD"; then
    5805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
    5806 $as_echo "$LD" >&6; }
    5807 else
    5808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5809 $as_echo "no" >&6; }
    5810 fi
    5811 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
    5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
    5813 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
    5814 if ${lt_cv_prog_gnu_ld+:} false; then :
    5815   $as_echo_n "(cached) " >&6
    5816 else
    5817   # I'd rather use --version here, but apparently some GNU lds only accept -v.
    5818 case `$LD -v 2>&1 </dev/null` in
    5819 *GNU* | *'with BFD'*)
    5820   lt_cv_prog_gnu_ld=yes
    5821   ;;
    5822 *)
    5823   lt_cv_prog_gnu_ld=no
    5824   ;;
    5825 esac
    5826 fi
    5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
    5828 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
    5829 with_gnu_ld=$lt_cv_prog_gnu_ld
    5830 
    5831 
    5832 
    5833 
    5834 
    5835 
    5836 
    5837 
    5838 
    5839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
    5840 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
    5841 if ${lt_cv_path_NM+:} false; then :
    5842   $as_echo_n "(cached) " >&6
    5843 else
    5844   if test -n "$NM"; then
    5845   # Let the user override the test.
    5846   lt_cv_path_NM=$NM
    5847 else
    5848   lt_nm_to_check=${ac_tool_prefix}nm
    5849   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
    5850     lt_nm_to_check="$lt_nm_to_check nm"
    5851   fi
    5852   for lt_tmp_nm in $lt_nm_to_check; do
    5853     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    5854     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
    5855       IFS=$lt_save_ifs
    5856       test -z "$ac_dir" && ac_dir=.
    5857       tmp_nm=$ac_dir/$lt_tmp_nm
    5858       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
    5859         # Check to see if the nm accepts a BSD-compat flag.
    5860         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
    5861         #   nm: unknown option "B" ignored
    5862         # Tru64's nm complains that /dev/null is an invalid object file
    5863         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
    5864         case $build_os in
    5865         mingw*) lt_bad_file=conftest.nm/nofile ;;
    5866         *) lt_bad_file=/dev/null ;;
    5867         esac
    5868         case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
    5869         *$lt_bad_file* | *'Invalid file or object type'*)
    5870           lt_cv_path_NM="$tmp_nm -B"
    5871           break 2
    5872           ;;
    5873         *)
    5874           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
    5875           */dev/null*)
    5876             lt_cv_path_NM="$tmp_nm -p"
    5877             break 2
    5878             ;;
    5879           *)
    5880             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    5881             continue # so that we can try to find one that supports BSD flags
    5882             ;;
    5883           esac
    5884           ;;
    5885         esac
    5886       fi
    5887     done
    5888     IFS=$lt_save_ifs
    5889   done
    5890   : ${lt_cv_path_NM=no}
    5891 fi
    5892 fi
    5893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
    5894 $as_echo "$lt_cv_path_NM" >&6; }
    5895 if test no != "$lt_cv_path_NM"; then
    5896   NM=$lt_cv_path_NM
    5897 else
    5898   # Didn't find any BSD compatible name lister, look for dumpbin.
    5899   if test -n "$DUMPBIN"; then :
    5900     # Let the user override the test.
    5901   else
    5902     if test -n "$ac_tool_prefix"; then
    5903   for ac_prog in dumpbin "link -dump"
    5904   do
    5905     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    5906 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5908 $as_echo_n "checking for $ac_word... " >&6; }
    5909 if ${ac_cv_prog_DUMPBIN+:} false; then :
    5910   $as_echo_n "(cached) " >&6
    5911 else
    5912   if test -n "$DUMPBIN"; then
    5913   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
    5914 else
    5915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5916 for as_dir in $PATH
    5917 do
    5918   IFS=$as_save_IFS
    5919   test -z "$as_dir" && as_dir=.
    5920     for ac_exec_ext in '' $ac_executable_extensions; do
    5921   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5922     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
    5923     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5924     break 2
    5925   fi
    5926 done
    5927   done
    5928 IFS=$as_save_IFS
    5929 
    5930 fi
    5931 fi
    5932 DUMPBIN=$ac_cv_prog_DUMPBIN
    5933 if test -n "$DUMPBIN"; then
    5934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
    5935 $as_echo "$DUMPBIN" >&6; }
    5936 else
    5937   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5938 $as_echo "no" >&6; }
    5939 fi
    5940 
    5941 
    5942     test -n "$DUMPBIN" && break
    5943   done
    5944 fi
    5945 if test -z "$DUMPBIN"; then
    5946   ac_ct_DUMPBIN=$DUMPBIN
    5947   for ac_prog in dumpbin "link -dump"
    5948 do
    5949   # Extract the first word of "$ac_prog", so it can be a program name with args.
    5950 set dummy $ac_prog; ac_word=$2
    5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5952 $as_echo_n "checking for $ac_word... " >&6; }
    5953 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
    5954   $as_echo_n "(cached) " >&6
    5955 else
    5956   if test -n "$ac_ct_DUMPBIN"; then
    5957   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
    5958 else
    5959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5960 for as_dir in $PATH
    5961 do
    5962   IFS=$as_save_IFS
    5963   test -z "$as_dir" && as_dir=.
    5964     for ac_exec_ext in '' $ac_executable_extensions; do
    5965   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5966     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
    5967     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5968     break 2
    5969   fi
    5970 done
    5971   done
    5972 IFS=$as_save_IFS
    5973 
    5974 fi
    5975 fi
    5976 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
    5977 if test -n "$ac_ct_DUMPBIN"; then
    5978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
    5979 $as_echo "$ac_ct_DUMPBIN" >&6; }
    5980 else
    5981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5982 $as_echo "no" >&6; }
    5983 fi
    5984 
    5985 
    5986   test -n "$ac_ct_DUMPBIN" && break
    5987 done
    5988 
    5989   if test "x$ac_ct_DUMPBIN" = x; then
    5990     DUMPBIN=":"
    5991   else
    5992     case $cross_compiling:$ac_tool_warned in
    5993 yes:)
    5994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    5995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    5996 ac_tool_warned=yes ;;
    5997 esac
    5998     DUMPBIN=$ac_ct_DUMPBIN
    5999   fi
    6000 fi
    6001 
    6002     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
    6003     *COFF*)
    6004       DUMPBIN="$DUMPBIN -symbols -headers"
    6005       ;;
    6006     *)
    6007       DUMPBIN=:
    6008       ;;
    6009     esac
    6010   fi
    6011 
    6012   if test : != "$DUMPBIN"; then
    6013     NM=$DUMPBIN
    6014   fi
    6015 fi
    6016 test -z "$NM" && NM=nm
    6017 
    6018 
    6019 
    6020 
    6021 
    6022 
    6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
    6024 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
    6025 if ${lt_cv_nm_interface+:} false; then :
    6026   $as_echo_n "(cached) " >&6
    6027 else
    6028   lt_cv_nm_interface="BSD nm"
    6029   echo "int some_variable = 0;" > conftest.$ac_ext
    6030   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
    6031   (eval "$ac_compile" 2>conftest.err)
    6032   cat conftest.err >&5
    6033   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
    6034   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
    6035   cat conftest.err >&5
    6036   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
    6037   cat conftest.out >&5
    6038   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
    6039     lt_cv_nm_interface="MS dumpbin"
    6040   fi
    6041   rm -f conftest*
    6042 fi
    6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
    6044 $as_echo "$lt_cv_nm_interface" >&6; }
    6045 
    6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    6047 $as_echo_n "checking whether ln -s works... " >&6; }
    6048 LN_S=$as_ln_s
    6049 if test "$LN_S" = "ln -s"; then
    6050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    6051 $as_echo "yes" >&6; }
    6052 else
    6053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    6054 $as_echo "no, using $LN_S" >&6; }
    6055 fi
    6056 
    6057 # find the maximum length of command line arguments
    6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
    6059 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
    6060 if ${lt_cv_sys_max_cmd_len+:} false; then :
    6061   $as_echo_n "(cached) " >&6
    6062 else
    6063     i=0
    6064   teststring=ABCD
    6065 
    6066   case $build_os in
    6067   msdosdjgpp*)
    6068     # On DJGPP, this test can blow up pretty badly due to problems in libc
    6069     # (any single argument exceeding 2000 bytes causes a buffer overrun
    6070     # during glob expansion).  Even if it were fixed, the result of this
    6071     # check would be larger than it should be.
    6072     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
    6073     ;;
    6074 
    6075   gnu*)
    6076     # Under GNU Hurd, this test is not required because there is
    6077     # no limit to the length of command line arguments.
    6078     # Libtool will interpret -1 as no limit whatsoever
    6079     lt_cv_sys_max_cmd_len=-1;
    6080     ;;
    6081 
    6082   cygwin* | mingw* | cegcc*)
    6083     # On Win9x/ME, this test blows up -- it succeeds, but takes
    6084     # about 5 minutes as the teststring grows exponentially.
    6085     # Worse, since 9x/ME are not pre-emptively multitasking,
    6086     # you end up with a "frozen" computer, even though with patience
    6087     # the test eventually succeeds (with a max line length of 256k).
    6088     # Instead, let's just punt: use the minimum linelength reported by
    6089     # all of the supported platforms: 8192 (on NT/2K/XP).
    6090     lt_cv_sys_max_cmd_len=8192;
    6091     ;;
    6092 
    6093   mint*)
    6094     # On MiNT this can take a long time and run out of memory.
    6095     lt_cv_sys_max_cmd_len=8192;
    6096     ;;
    6097 
    6098   amigaos*)
    6099     # On AmigaOS with pdksh, this test takes hours, literally.
    6100     # So we just punt and use a minimum line length of 8192.
    6101     lt_cv_sys_max_cmd_len=8192;
    6102     ;;
    6103 
    6104   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
    6105     # This has been around since 386BSD, at least.  Likely further.
    6106     if test -x /sbin/sysctl; then
    6107       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
    6108     elif test -x /usr/sbin/sysctl; then
    6109       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
    6110     else
    6111       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
    6112     fi
    6113     # And add a safety zone
    6114     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    6115     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
    6116     ;;
    6117 
    6118   interix*)
    6119     # We know the value 262144 and hardcode it with a safety zone (like BSD)
    6120     lt_cv_sys_max_cmd_len=196608
    6121     ;;
    6122 
    6123   os2*)
    6124     # The test takes a long time on OS/2.
    6125     lt_cv_sys_max_cmd_len=8192
    6126     ;;
    6127 
    6128   osf*)
    6129     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
    6130     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
    6131     # nice to cause kernel panics so lets avoid the loop below.
    6132     # First set a reasonable default.
    6133     lt_cv_sys_max_cmd_len=16384
    6134     #
    6135     if test -x /sbin/sysconfig; then
    6136       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
    6137         *1*) lt_cv_sys_max_cmd_len=-1 ;;
    6138       esac
    6139     fi
    6140     ;;
    6141   sco3.2v5*)
    6142     lt_cv_sys_max_cmd_len=102400
    6143     ;;
    6144   sysv5* | sco5v6* | sysv4.2uw2*)
    6145     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
    6146     if test -n "$kargmax"; then
    6147       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
    6148     else
    6149       lt_cv_sys_max_cmd_len=32768
    6150     fi
    6151     ;;
    6152   *)
    6153     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
    6154     if test -n "$lt_cv_sys_max_cmd_len" && \
    6155        test undefined != "$lt_cv_sys_max_cmd_len"; then
    6156       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    6157       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
    6158     else
    6159       # Make teststring a little bigger before we do anything with it.
    6160       # a 1K string should be a reasonable start.
    6161       for i in 1 2 3 4 5 6 7 8; do
    6162         teststring=$teststring$teststring
    6163       done
    6164       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
    6165       # If test is not a shell built-in, we'll probably end up computing a
    6166       # maximum length that is only half of the actual maximum length, but
    6167       # we can't tell.
    6168       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
    6169                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
    6170               test 17 != "$i" # 1/2 MB should be enough
    6171       do
    6172         i=`expr $i + 1`
    6173         teststring=$teststring$teststring
    6174       done
    6175       # Only check the string length outside the loop.
    6176       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
    6177       teststring=
    6178       # Add a significant safety factor because C++ compilers can tack on
    6179       # massive amounts of additional arguments before passing them to the
    6180       # linker.  It appears as though 1/2 is a usable value.
    6181       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
    6182     fi
    6183     ;;
    6184   esac
    6185 
    6186 fi
    6187 
    6188 if test -n "$lt_cv_sys_max_cmd_len"; then
    6189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
    6190 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
    6191 else
    6192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
    6193 $as_echo "none" >&6; }
    6194 fi
    6195 max_cmd_len=$lt_cv_sys_max_cmd_len
    6196 
    6197 
    6198 
    6199 
    6200 
    6201 
    6202 : ${CP="cp -f"}
    6203 : ${MV="mv -f"}
    6204 : ${RM="rm -f"}
    6205 
    6206 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    6207   lt_unset=unset
    6208 else
    6209   lt_unset=false
    6210 fi
    6211 
    6212 
    6213 
    6214 
    6215 
    6216 # test EBCDIC or ASCII
    6217 case `echo X|tr X '\101'` in
    6218  A) # ASCII based system
    6219     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
    6220   lt_SP2NL='tr \040 \012'
    6221   lt_NL2SP='tr \015\012 \040\040'
    6222   ;;
    6223  *) # EBCDIC based system
    6224   lt_SP2NL='tr \100 \n'
    6225   lt_NL2SP='tr \r\n \100\100'
    6226   ;;
    6227 esac
    6228 
    6229 
    6230 
    6231 
    6232 
    6233 
    6234 
    6235 
    6236 
    6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
    6238 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
    6239 if ${lt_cv_to_host_file_cmd+:} false; then :
    6240   $as_echo_n "(cached) " >&6
    6241 else
    6242   case $host in
    6243   *-*-mingw* )
    6244     case $build in
    6245       *-*-mingw* ) # actually msys
    6246         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
    6247         ;;
    6248       *-*-cygwin* )
    6249         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
    6250         ;;
    6251       * ) # otherwise, assume *nix
    6252         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
    6253         ;;
    6254     esac
    6255     ;;
    6256   *-*-cygwin* )
    6257     case $build in
    6258       *-*-mingw* ) # actually msys
    6259         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
    6260         ;;
    6261       *-*-cygwin* )
    6262         lt_cv_to_host_file_cmd=func_convert_file_noop
    6263         ;;
    6264       * ) # otherwise, assume *nix
    6265         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
    6266         ;;
    6267     esac
    6268     ;;
    6269   * ) # unhandled hosts (and "normal" native builds)
    6270     lt_cv_to_host_file_cmd=func_convert_file_noop
    6271     ;;
    6272 esac
    6273 
    6274 fi
    6275 
    6276 to_host_file_cmd=$lt_cv_to_host_file_cmd
    6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
    6278 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
    6279 
    6280 
    6281 
    6282 
    6283 
    6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
    6285 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
    6286 if ${lt_cv_to_tool_file_cmd+:} false; then :
    6287   $as_echo_n "(cached) " >&6
    6288 else
    6289   #assume ordinary cross tools, or native build.
    6290 lt_cv_to_tool_file_cmd=func_convert_file_noop
    6291 case $host in
    6292   *-*-mingw* )
    6293     case $build in
    6294       *-*-mingw* ) # actually msys
    6295         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
    6296         ;;
    6297     esac
    6298     ;;
    6299 esac
    6300 
    6301 fi
    6302 
    6303 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
    6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
    6305 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
    6306 
    6307 
    6308 
    6309 
    6310 
    6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
    6312 $as_echo_n "checking for $LD option to reload object files... " >&6; }
    6313 if ${lt_cv_ld_reload_flag+:} false; then :
    6314   $as_echo_n "(cached) " >&6
    6315 else
    6316   lt_cv_ld_reload_flag='-r'
    6317 fi
    6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
    6319 $as_echo "$lt_cv_ld_reload_flag" >&6; }
    6320 reload_flag=$lt_cv_ld_reload_flag
    6321 case $reload_flag in
    6322 "" | " "*) ;;
    6323 *) reload_flag=" $reload_flag" ;;
    6324 esac
    6325 reload_cmds='$LD$reload_flag -o $output$reload_objs'
    6326 case $host_os in
    6327   cygwin* | mingw* | pw32* | cegcc*)
    6328     if test yes != "$GCC"; then
    6329       reload_cmds=false
    6330     fi
    6331     ;;
    6332   darwin*)
    6333     if test yes = "$GCC"; then
    6334       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
    6335     else
    6336       reload_cmds='$LD$reload_flag -o $output$reload_objs'
    6337     fi
    6338     ;;
    6339 esac
    6340 
    6341 
    6342 
    6343 
    6344 
    6345 
    6346 
    6347 
    6348 
    6349 if test -n "$ac_tool_prefix"; then
    6350   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
    6351 set dummy ${ac_tool_prefix}objdump; ac_word=$2
    6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6353 $as_echo_n "checking for $ac_word... " >&6; }
    6354 if ${ac_cv_prog_OBJDUMP+:} false; then :
    6355   $as_echo_n "(cached) " >&6
    6356 else
    6357   if test -n "$OBJDUMP"; then
    6358   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
    6359 else
    6360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6361 for as_dir in $PATH
    6362 do
    6363   IFS=$as_save_IFS
    6364   test -z "$as_dir" && as_dir=.
    6365     for ac_exec_ext in '' $ac_executable_extensions; do
    6366   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6367     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
    6368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6369     break 2
    6370   fi
    6371 done
    6372   done
    6373 IFS=$as_save_IFS
    6374 
    6375 fi
    6376 fi
    6377 OBJDUMP=$ac_cv_prog_OBJDUMP
    6378 if test -n "$OBJDUMP"; then
    6379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
    6380 $as_echo "$OBJDUMP" >&6; }
    6381 else
    6382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6383 $as_echo "no" >&6; }
    6384 fi
    6385 
    6386 
    6387 fi
    6388 if test -z "$ac_cv_prog_OBJDUMP"; then
    6389   ac_ct_OBJDUMP=$OBJDUMP
    6390   # Extract the first word of "objdump", so it can be a program name with args.
    6391 set dummy objdump; ac_word=$2
    6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6393 $as_echo_n "checking for $ac_word... " >&6; }
    6394 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
    6395   $as_echo_n "(cached) " >&6
    6396 else
    6397   if test -n "$ac_ct_OBJDUMP"; then
    6398   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
    6399 else
    6400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6401 for as_dir in $PATH
    6402 do
    6403   IFS=$as_save_IFS
    6404   test -z "$as_dir" && as_dir=.
    6405     for ac_exec_ext in '' $ac_executable_extensions; do
    6406   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6407     ac_cv_prog_ac_ct_OBJDUMP="objdump"
    6408     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6409     break 2
    6410   fi
    6411 done
    6412   done
    6413 IFS=$as_save_IFS
    6414 
    6415 fi
    6416 fi
    6417 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
    6418 if test -n "$ac_ct_OBJDUMP"; then
    6419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
    6420 $as_echo "$ac_ct_OBJDUMP" >&6; }
    6421 else
    6422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6423 $as_echo "no" >&6; }
    6424 fi
    6425 
    6426   if test "x$ac_ct_OBJDUMP" = x; then
    6427     OBJDUMP="false"
    6428   else
    6429     case $cross_compiling:$ac_tool_warned in
    6430 yes:)
    6431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    6432 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    6433 ac_tool_warned=yes ;;
    6434 esac
    6435     OBJDUMP=$ac_ct_OBJDUMP
    6436   fi
    6437 else
    6438   OBJDUMP="$ac_cv_prog_OBJDUMP"
    6439 fi
    6440 
    6441 test -z "$OBJDUMP" && OBJDUMP=objdump
    6442 
    6443 
    6444 
    6445 
    6446 
    6447 
    6448 
    6449 
    6450 
    6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
    6452 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
    6453 if ${lt_cv_deplibs_check_method+:} false; then :
    6454   $as_echo_n "(cached) " >&6
    6455 else
    6456   lt_cv_file_magic_cmd='$MAGIC_CMD'
    6457 lt_cv_file_magic_test_file=
    6458 lt_cv_deplibs_check_method='unknown'
    6459 # Need to set the preceding variable on all platforms that support
    6460 # interlibrary dependencies.
    6461 # 'none' -- dependencies not supported.
    6462 # 'unknown' -- same as none, but documents that we really don't know.
    6463 # 'pass_all' -- all dependencies passed with no checks.
    6464 # 'test_compile' -- check by making test program.
    6465 # 'file_magic [[regex]]' -- check by looking for files in library path
    6466 # that responds to the $file_magic_cmd with a given extended regex.
    6467 # If you have 'file' or equivalent on your system and you're not sure
    6468 # whether 'pass_all' will *always* work, you probably want this one.
    6469 
    6470 case $host_os in
    6471 aix[4-9]*)
    6472   lt_cv_deplibs_check_method=pass_all
    6473   ;;
    6474 
    6475 beos*)
    6476   lt_cv_deplibs_check_method=pass_all
    6477   ;;
    6478 
    6479 bsdi[45]*)
    6480   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
    6481   lt_cv_file_magic_cmd='/usr/bin/file -L'
    6482   lt_cv_file_magic_test_file=/shlib/libc.so
    6483   ;;
    6484 
    6485 cygwin*)
    6486   # func_win32_libid is a shell function defined in ltmain.sh
    6487   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    6488   lt_cv_file_magic_cmd='func_win32_libid'
    6489   ;;
    6490 
    6491 mingw* | pw32*)
    6492   # Base MSYS/MinGW do not provide the 'file' command needed by
    6493   # func_win32_libid shell function, so use a weaker test based on 'objdump',
    6494   # unless we find 'file', for example because we are cross-compiling.
    6495   if ( file / ) >/dev/null 2>&1; then
    6496     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    6497     lt_cv_file_magic_cmd='func_win32_libid'
    6498   else
    6499     # Keep this pattern in sync with the one in func_win32_libid.
    6500     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
    6501     lt_cv_file_magic_cmd='$OBJDUMP -f'
    6502   fi
    6503   ;;
    6504 
    6505 cegcc*)
    6506   # use the weaker test based on 'objdump'. See mingw*.
    6507   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
    6508   lt_cv_file_magic_cmd='$OBJDUMP -f'
    6509   ;;
    6510 
    6511 darwin* | rhapsody*)
    6512   lt_cv_deplibs_check_method=pass_all
    6513   ;;
    6514 
    6515 freebsd* | dragonfly*)
    6516   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
    6517     case $host_cpu in
    6518     i*86 )
    6519       # Not sure whether the presence of OpenBSD here was a mistake.
    6520       # Let's accept both of them until this is cleared up.
    6521       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
    6522       lt_cv_file_magic_cmd=/usr/bin/file
    6523       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    6524       ;;
    6525     esac
    6526   else
    6527     lt_cv_deplibs_check_method=pass_all
    6528   fi
    6529   ;;
    6530 
    6531 haiku*)
    6532   lt_cv_deplibs_check_method=pass_all
    6533   ;;
    6534 
    6535 hpux10.20* | hpux11*)
    6536   lt_cv_file_magic_cmd=/usr/bin/file
    6537   case $host_cpu in
    6538   ia64*)
    6539     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
    6540     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
    6541     ;;
    6542   hppa*64*)
    6543     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]'
    6544     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
    6545     ;;
    6546   *)
    6547     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
    6548     lt_cv_file_magic_test_file=/usr/lib/libc.sl
    6549     ;;
    6550   esac
    6551   ;;
    6552 
    6553 interix[3-9]*)
    6554   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
    6555   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
    6556   ;;
    6557 
    6558 irix5* | irix6* | nonstopux*)
    6559   case $LD in
    6560   *-32|*"-32 ") libmagic=32-bit;;
    6561   *-n32|*"-n32 ") libmagic=N32;;
    6562   *-64|*"-64 ") libmagic=64-bit;;
    6563   *) libmagic=never-match;;
    6564   esac
    6565   lt_cv_deplibs_check_method=pass_all
    6566   ;;
    6567 
    6568 # This must be glibc/ELF.
    6569 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    6570   lt_cv_deplibs_check_method=pass_all
    6571   ;;
    6572 
    6573 netbsd* | netbsdelf*-gnu)
    6574   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
    6575     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
    6576   else
    6577     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
    6578   fi
    6579   ;;
    6580 
    6581 newos6*)
    6582   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
    6583   lt_cv_file_magic_cmd=/usr/bin/file
    6584   lt_cv_file_magic_test_file=/usr/lib/libnls.so
    6585   ;;
    6586 
    6587 *nto* | *qnx*)
    6588   lt_cv_deplibs_check_method=pass_all
    6589   ;;
    6590 
    6591 openbsd* | bitrig*)
    6592   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    6593     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
    6594   else
    6595     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
    6596   fi
    6597   ;;
    6598 
    6599 osf3* | osf4* | osf5*)
    6600   lt_cv_deplibs_check_method=pass_all
    6601   ;;
    6602 
    6603 rdos*)
    6604   lt_cv_deplibs_check_method=pass_all
    6605   ;;
    6606 
    6607 solaris*)
    6608   lt_cv_deplibs_check_method=pass_all
    6609   ;;
    6610 
    6611 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    6612   lt_cv_deplibs_check_method=pass_all
    6613   ;;
    6614 
    6615 sysv4 | sysv4.3*)
    6616   case $host_vendor in
    6617   motorola)
    6618     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]'
    6619     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    6620     ;;
    6621   ncr)
    6622     lt_cv_deplibs_check_method=pass_all
    6623     ;;
    6624   sequent)
    6625     lt_cv_file_magic_cmd='/bin/file'
    6626     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
    6627     ;;
    6628   sni)
    6629     lt_cv_file_magic_cmd='/bin/file'
    6630     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
    6631     lt_cv_file_magic_test_file=/lib/libc.so
    6632     ;;
    6633   siemens)
    6634     lt_cv_deplibs_check_method=pass_all
    6635     ;;
    6636   pc)
    6637     lt_cv_deplibs_check_method=pass_all
    6638     ;;
    6639   esac
    6640   ;;
    6641 
    6642 tpf*)
    6643   lt_cv_deplibs_check_method=pass_all
    6644   ;;
    6645 os2*)
    6646   lt_cv_deplibs_check_method=pass_all
    6647   ;;
    6648 esac
    6649 
    6650 fi
    6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
    6652 $as_echo "$lt_cv_deplibs_check_method" >&6; }
    6653 
    6654 file_magic_glob=
    6655 want_nocaseglob=no
    6656 if test "$build" = "$host"; then
    6657   case $host_os in
    6658   mingw* | pw32*)
    6659     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
    6660       want_nocaseglob=yes
    6661     else
    6662       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
    6663     fi
    6664     ;;
    6665   esac
    6666 fi
    6667 
    6668 file_magic_cmd=$lt_cv_file_magic_cmd
    6669 deplibs_check_method=$lt_cv_deplibs_check_method
    6670 test -z "$deplibs_check_method" && deplibs_check_method=unknown
    6671 
    6672 
    6673 
    6674 
    6675 
    6676 
    6677 
    6678 
    6679 
    6680 
    6681 
    6682 
    6683 
    6684 
    6685 
    6686 
    6687 
    6688 
    6689 
    6690 
    6691 
    6692 
    6693 if test -n "$ac_tool_prefix"; then
    6694   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
    6695 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
    6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6697 $as_echo_n "checking for $ac_word... " >&6; }
    6698 if ${ac_cv_prog_DLLTOOL+:} false; then :
    6699   $as_echo_n "(cached) " >&6
    6700 else
    6701   if test -n "$DLLTOOL"; then
    6702   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
    6703 else
    6704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6705 for as_dir in $PATH
    6706 do
    6707   IFS=$as_save_IFS
    6708   test -z "$as_dir" && as_dir=.
    6709     for ac_exec_ext in '' $ac_executable_extensions; do
    6710   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6711     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
    6712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6713     break 2
    6714   fi
    6715 done
    6716   done
    6717 IFS=$as_save_IFS
    6718 
    6719 fi
    6720 fi
    6721 DLLTOOL=$ac_cv_prog_DLLTOOL
    6722 if test -n "$DLLTOOL"; then
    6723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
    6724 $as_echo "$DLLTOOL" >&6; }
    6725 else
    6726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6727 $as_echo "no" >&6; }
    6728 fi
    6729 
    6730 
    6731 fi
    6732 if test -z "$ac_cv_prog_DLLTOOL"; then
    6733   ac_ct_DLLTOOL=$DLLTOOL
    6734   # Extract the first word of "dlltool", so it can be a program name with args.
    6735 set dummy dlltool; ac_word=$2
    6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6737 $as_echo_n "checking for $ac_word... " >&6; }
    6738 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
    6739   $as_echo_n "(cached) " >&6
    6740 else
    6741   if test -n "$ac_ct_DLLTOOL"; then
    6742   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
    6743 else
    6744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6745 for as_dir in $PATH
    6746 do
    6747   IFS=$as_save_IFS
    6748   test -z "$as_dir" && as_dir=.
    6749     for ac_exec_ext in '' $ac_executable_extensions; do
    6750   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6751     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
    6752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6753     break 2
    6754   fi
    6755 done
    6756   done
    6757 IFS=$as_save_IFS
    6758 
    6759 fi
    6760 fi
    6761 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
    6762 if test -n "$ac_ct_DLLTOOL"; then
    6763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
    6764 $as_echo "$ac_ct_DLLTOOL" >&6; }
    6765 else
    6766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6767 $as_echo "no" >&6; }
    6768 fi
    6769 
    6770   if test "x$ac_ct_DLLTOOL" = x; then
    6771     DLLTOOL="false"
    6772   else
    6773     case $cross_compiling:$ac_tool_warned in
    6774 yes:)
    6775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    6776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    6777 ac_tool_warned=yes ;;
    6778 esac
    6779     DLLTOOL=$ac_ct_DLLTOOL
    6780   fi
    6781 else
    6782   DLLTOOL="$ac_cv_prog_DLLTOOL"
    6783 fi
    6784 
    6785 test -z "$DLLTOOL" && DLLTOOL=dlltool
    6786 
    6787 
    6788 
    6789 
    6790 
    6791 
    6792 
    6793 
    6794 
    6795 
    6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
    6797 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
    6798 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
    6799   $as_echo_n "(cached) " >&6
    6800 else
    6801   lt_cv_sharedlib_from_linklib_cmd='unknown'
    6802 
    6803 case $host_os in
    6804 cygwin* | mingw* | pw32* | cegcc*)
    6805   # two different shell functions defined in ltmain.sh;
    6806   # decide which one to use based on capabilities of $DLLTOOL
    6807   case `$DLLTOOL --help 2>&1` in
    6808   *--identify-strict*)
    6809     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
    6810     ;;
    6811   *)
    6812     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
    6813     ;;
    6814   esac
    6815   ;;
    6816 *)
    6817   # fallback: assume linklib IS sharedlib
    6818   lt_cv_sharedlib_from_linklib_cmd=$ECHO
    6819   ;;
    6820 esac
    6821 
    6822 fi
    6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
    6824 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
    6825 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
    6826 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
    6827 
    6828 
    6829 
    6830 
    6831 
    6832 
    6833 
    6834 if test -n "$ac_tool_prefix"; then
    6835   for ac_prog in ar
    6836   do
    6837     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    6838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6840 $as_echo_n "checking for $ac_word... " >&6; }
    6841 if ${ac_cv_prog_AR+:} false; then :
    6842   $as_echo_n "(cached) " >&6
    6843 else
    6844   if test -n "$AR"; then
    6845   ac_cv_prog_AR="$AR" # Let the user override the test.
    6846 else
    6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6848 for as_dir in $PATH
    6849 do
    6850   IFS=$as_save_IFS
    6851   test -z "$as_dir" && as_dir=.
    6852     for ac_exec_ext in '' $ac_executable_extensions; do
    6853   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6854     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
    6855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6856     break 2
    6857   fi
    6858 done
    6859   done
    6860 IFS=$as_save_IFS
    6861 
    6862 fi
    6863 fi
    6864 AR=$ac_cv_prog_AR
    6865 if test -n "$AR"; then
    6866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    6867 $as_echo "$AR" >&6; }
    6868 else
    6869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6870 $as_echo "no" >&6; }
    6871 fi
    6872 
    6873 
    6874     test -n "$AR" && break
    6875   done
    6876 fi
    6877 if test -z "$AR"; then
    6878   ac_ct_AR=$AR
    6879   for ac_prog in ar
    6880 do
    6881   # Extract the first word of "$ac_prog", so it can be a program name with args.
    6882 set dummy $ac_prog; ac_word=$2
    6883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6884 $as_echo_n "checking for $ac_word... " >&6; }
    6885 if ${ac_cv_prog_ac_ct_AR+:} false; then :
    6886   $as_echo_n "(cached) " >&6
    6887 else
    6888   if test -n "$ac_ct_AR"; then
    6889   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
    6890 else
    6891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6892 for as_dir in $PATH
    6893 do
    6894   IFS=$as_save_IFS
    6895   test -z "$as_dir" && as_dir=.
    6896     for ac_exec_ext in '' $ac_executable_extensions; do
    6897   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6898     ac_cv_prog_ac_ct_AR="$ac_prog"
    6899     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6900     break 2
    6901   fi
    6902 done
    6903   done
    6904 IFS=$as_save_IFS
    6905 
    6906 fi
    6907 fi
    6908 ac_ct_AR=$ac_cv_prog_ac_ct_AR
    6909 if test -n "$ac_ct_AR"; then
    6910   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
    6911 $as_echo "$ac_ct_AR" >&6; }
    6912 else
    6913   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6914 $as_echo "no" >&6; }
    6915 fi
    6916 
    6917 
    6918   test -n "$ac_ct_AR" && break
    6919 done
    6920 
    6921   if test "x$ac_ct_AR" = x; then
    6922     AR="false"
    6923   else
    6924     case $cross_compiling:$ac_tool_warned in
    6925 yes:)
    6926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    6927 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    6928 ac_tool_warned=yes ;;
    6929 esac
    6930     AR=$ac_ct_AR
    6931   fi
    6932 fi
    6933 
    6934 : ${AR=ar}
    6935 : ${AR_FLAGS=cru}
    6936 
    6937 
    6938 
    6939 
    6940 
    6941 
    6942 
    6943 
    6944 
    6945 
    6946 
    6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
    6948 $as_echo_n "checking for archiver @FILE support... " >&6; }
    6949 if ${lt_cv_ar_at_file+:} false; then :
    6950   $as_echo_n "(cached) " >&6
    6951 else
    6952   lt_cv_ar_at_file=no
    6953    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6954 /* end confdefs.h.  */
    6955 
    6956 int
    6957 main ()
    6958 {
    6959 
    6960   ;
    6961   return 0;
    6962 }
    6963 _ACEOF
    6964 if ac_fn_c_try_compile "$LINENO"; then :
    6965   echo conftest.$ac_objext > conftest.lst
    6966       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
    6967       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
    6968   (eval $lt_ar_try) 2>&5
    6969   ac_status=$?
    6970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6971   test $ac_status = 0; }
    6972       if test 0 -eq "$ac_status"; then
    6973         # Ensure the archiver fails upon bogus file names.
    6974         rm -f conftest.$ac_objext libconftest.a
    6975         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
    6976   (eval $lt_ar_try) 2>&5
    6977   ac_status=$?
    6978   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6979   test $ac_status = 0; }
    6980         if test 0 -ne "$ac_status"; then
    6981           lt_cv_ar_at_file=@
    6982         fi
    6983       fi
    6984       rm -f conftest.* libconftest.a
    6985 
    6986 fi
    6987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6988 
    6989 fi
    6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
    6991 $as_echo "$lt_cv_ar_at_file" >&6; }
    6992 
    6993 if test no = "$lt_cv_ar_at_file"; then
    6994   archiver_list_spec=
    6995 else
    6996   archiver_list_spec=$lt_cv_ar_at_file
    6997 fi
    6998 
    6999 
    7000 
    7001 
    7002 
    7003 
    7004 
    7005 if test -n "$ac_tool_prefix"; then
    7006   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
    7007 set dummy ${ac_tool_prefix}strip; ac_word=$2
    7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7009 $as_echo_n "checking for $ac_word... " >&6; }
    7010 if ${ac_cv_prog_STRIP+:} false; then :
    7011   $as_echo_n "(cached) " >&6
    7012 else
    7013   if test -n "$STRIP"; then
    7014   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    7015 else
    7016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7017 for as_dir in $PATH
    7018 do
    7019   IFS=$as_save_IFS
    7020   test -z "$as_dir" && as_dir=.
    7021     for ac_exec_ext in '' $ac_executable_extensions; do
    7022   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7023     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    7024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7025     break 2
    7026   fi
    7027 done
    7028   done
    7029 IFS=$as_save_IFS
    7030 
    7031 fi
    7032 fi
    7033 STRIP=$ac_cv_prog_STRIP
    7034 if test -n "$STRIP"; then
    7035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
    7036 $as_echo "$STRIP" >&6; }
    7037 else
    7038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7039 $as_echo "no" >&6; }
    7040 fi
    7041 
    7042 
    7043 fi
    7044 if test -z "$ac_cv_prog_STRIP"; then
    7045   ac_ct_STRIP=$STRIP
    7046   # Extract the first word of "strip", so it can be a program name with args.
    7047 set dummy strip; ac_word=$2
    7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7049 $as_echo_n "checking for $ac_word... " >&6; }
    7050 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
    7051   $as_echo_n "(cached) " >&6
    7052 else
    7053   if test -n "$ac_ct_STRIP"; then
    7054   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
    7055 else
    7056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7057 for as_dir in $PATH
    7058 do
    7059   IFS=$as_save_IFS
    7060   test -z "$as_dir" && as_dir=.
    7061     for ac_exec_ext in '' $ac_executable_extensions; do
    7062   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7063     ac_cv_prog_ac_ct_STRIP="strip"
    7064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7065     break 2
    7066   fi
    7067 done
    7068   done
    7069 IFS=$as_save_IFS
    7070 
    7071 fi
    7072 fi
    7073 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
    7074 if test -n "$ac_ct_STRIP"; then
    7075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
    7076 $as_echo "$ac_ct_STRIP" >&6; }
    7077 else
    7078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7079 $as_echo "no" >&6; }
    7080 fi
    7081 
    7082   if test "x$ac_ct_STRIP" = x; then
    7083     STRIP=":"
    7084   else
    7085     case $cross_compiling:$ac_tool_warned in
    7086 yes:)
    7087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    7088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    7089 ac_tool_warned=yes ;;
    7090 esac
    7091     STRIP=$ac_ct_STRIP
    7092   fi
    7093 else
    7094   STRIP="$ac_cv_prog_STRIP"
    7095 fi
    7096 
    7097 test -z "$STRIP" && STRIP=:
    7098 
    7099 
    7100 
    7101 
    7102 
    7103 
    7104 if test -n "$ac_tool_prefix"; then
    7105   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    7106 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    7107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7108 $as_echo_n "checking for $ac_word... " >&6; }
    7109 if ${ac_cv_prog_RANLIB+:} false; then :
    7110   $as_echo_n "(cached) " >&6
    7111 else
    7112   if test -n "$RANLIB"; then
    7113   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    7114 else
    7115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7116 for as_dir in $PATH
    7117 do
    7118   IFS=$as_save_IFS
    7119   test -z "$as_dir" && as_dir=.
    7120     for ac_exec_ext in '' $ac_executable_extensions; do
    7121   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7122     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    7123     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7124     break 2
    7125   fi
    7126 done
    7127   done
    7128 IFS=$as_save_IFS
    7129 
    7130 fi
    7131 fi
    7132 RANLIB=$ac_cv_prog_RANLIB
    7133 if test -n "$RANLIB"; then
    7134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    7135 $as_echo "$RANLIB" >&6; }
    7136 else
    7137   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7138 $as_echo "no" >&6; }
    7139 fi
    7140 
    7141 
    7142 fi
    7143 if test -z "$ac_cv_prog_RANLIB"; then
    7144   ac_ct_RANLIB=$RANLIB
    7145   # Extract the first word of "ranlib", so it can be a program name with args.
    7146 set dummy ranlib; ac_word=$2
    7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7148 $as_echo_n "checking for $ac_word... " >&6; }
    7149 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    7150   $as_echo_n "(cached) " >&6
    7151 else
    7152   if test -n "$ac_ct_RANLIB"; then
    7153   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    7154 else
    7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7156 for as_dir in $PATH
    7157 do
    7158   IFS=$as_save_IFS
    7159   test -z "$as_dir" && as_dir=.
    7160     for ac_exec_ext in '' $ac_executable_extensions; do
    7161   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7162     ac_cv_prog_ac_ct_RANLIB="ranlib"
    7163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7164     break 2
    7165   fi
    7166 done
    7167   done
    7168 IFS=$as_save_IFS
    7169 
    7170 fi
    7171 fi
    7172 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    7173 if test -n "$ac_ct_RANLIB"; then
    7174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    7175 $as_echo "$ac_ct_RANLIB" >&6; }
    7176 else
    7177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7178 $as_echo "no" >&6; }
    7179 fi
    7180 
    7181   if test "x$ac_ct_RANLIB" = x; then
    7182     RANLIB=":"
    7183   else
    7184     case $cross_compiling:$ac_tool_warned in
    7185 yes:)
    7186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    7187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    7188 ac_tool_warned=yes ;;
    7189 esac
    7190     RANLIB=$ac_ct_RANLIB
    7191   fi
    7192 else
    7193   RANLIB="$ac_cv_prog_RANLIB"
    7194 fi
    7195 
    7196 test -z "$RANLIB" && RANLIB=:
    7197 
    7198 
    7199 
    7200 
    7201 
    7202 
    7203 # Determine commands to create old-style static archives.
    7204 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
    7205 old_postinstall_cmds='chmod 644 $oldlib'
    7206 old_postuninstall_cmds=
    7207 
    7208 if test -n "$RANLIB"; then
    7209   case $host_os in
    7210   bitrig* | openbsd*)
    7211     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
    7212     ;;
    7213   *)
    7214     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
    7215     ;;
    7216   esac
    7217   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
    7218 fi
    7219 
    7220 case $host_os in
    7221   darwin*)
    7222     lock_old_archive_extraction=yes ;;
    7223   *)
    7224     lock_old_archive_extraction=no ;;
    7225 esac
    7226 
    7227 
    7228 
    7229 
    7230 
    7231 
    7232 
    7233 
    7234 
    7235 
    7236 
    7237 
    7238 
    7239 
    7240 
    7241 
    7242 
    7243 
    7244 
    7245 
    7246 
    7247 
    7248 
    7249 
    7250 
    7251 
    7252 
    7253 
    7254 
    7255 
    7256 
    7257 
    7258 
    7259 
    7260 
    7261 
    7262 
    7263 
    7264 
    7265 # If no C compiler was specified, use CC.
    7266 LTCC=${LTCC-"$CC"}
    7267 
    7268 # If no C compiler flags were specified, use CFLAGS.
    7269 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
    7270 
    7271 # Allow CC to be a program name with arguments.
    7272 compiler=$CC
    7273 
    7274 
    7275 # Check for command to grab the raw symbol name followed by C symbol from nm.
    7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
    7277 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
    7278 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
    7279   $as_echo_n "(cached) " >&6
    7280 else
    7281 
    7282 # These are sane defaults that work on at least a few old systems.
    7283 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
    7284 
    7285 # Character class describing NM global symbol codes.
    7286 symcode='[BCDEGRST]'
    7287 
    7288 # Regexp to match symbols that can be accessed directly from C.
    7289 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
    7290 
    7291 # Define system-specific variables.
    7292 case $host_os in
    7293 aix*)
    7294   symcode='[BCDT]'
    7295   ;;
    7296 cygwin* | mingw* | pw32* | cegcc*)
    7297   symcode='[ABCDGISTW]'
    7298   ;;
    7299 hpux*)
    7300   if test ia64 = "$host_cpu"; then
    7301     symcode='[ABCDEGRST]'
    7302   fi
    7303   ;;
    7304 irix* | nonstopux*)
    7305   symcode='[BCDEGRST]'
    7306   ;;
    7307 osf*)
    7308   symcode='[BCDEGQRST]'
    7309   ;;
    7310 solaris*)
    7311   symcode='[BDRT]'
    7312   ;;
    7313 sco3.2v5*)
    7314   symcode='[DT]'
    7315   ;;
    7316 sysv4.2uw2*)
    7317   symcode='[DT]'
    7318   ;;
    7319 sysv5* | sco5v6* | unixware* | OpenUNIX*)
    7320   symcode='[ABDT]'
    7321   ;;
    7322 sysv4)
    7323   symcode='[DFNSTU]'
    7324   ;;
    7325 esac
    7326 
    7327 # If we're using GNU nm, then use its standard symbol codes.
    7328 case `$NM -V 2>&1` in
    7329 *GNU* | *'with BFD'*)
    7330   symcode='[ABCDGIRSTW]' ;;
    7331 esac
    7332 
    7333 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    7334   # Gets list of data symbols to import.
    7335   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
    7336   # Adjust the below global symbol transforms to fixup imported variables.
    7337   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
    7338   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
    7339   lt_c_name_lib_hook="\
    7340   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
    7341   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
    7342 else
    7343   # Disable hooks by default.
    7344   lt_cv_sys_global_symbol_to_import=
    7345   lt_cdecl_hook=
    7346   lt_c_name_hook=
    7347   lt_c_name_lib_hook=
    7348 fi
    7349 
    7350 # Transform an extracted symbol line into a proper C declaration.
    7351 # Some systems (esp. on ia64) link data and code symbols differently,
    7352 # so use this general approach.
    7353 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
    7354 $lt_cdecl_hook\
    7355 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
    7356 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
    7357 
    7358 # Transform an extracted symbol line into symbol name and symbol address
    7359 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
    7360 $lt_c_name_hook\
    7361 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
    7362 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
    7363 
    7364 # Transform an extracted symbol line into symbol name with lib prefix and
    7365 # symbol address.
    7366 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
    7367 $lt_c_name_lib_hook\
    7368 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
    7369 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
    7370 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
    7371 
    7372 # Handle CRLF in mingw tool chain
    7373 opt_cr=
    7374 case $build_os in
    7375 mingw*)
    7376   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
    7377   ;;
    7378 esac
    7379 
    7380 # Try without a prefix underscore, then with it.
    7381 for ac_symprfx in "" "_"; do
    7382 
    7383   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
    7384   symxfrm="\\1 $ac_symprfx\\2 \\2"
    7385 
    7386   # Write the raw and C identifiers.
    7387   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    7388     # Fake it for dumpbin and say T for any non-static function,
    7389     # D for any global variable and I for any imported variable.
    7390     # Also find C++ and __fastcall symbols from MSVC++,
    7391     # which start with @ or ?.
    7392     lt_cv_sys_global_symbol_pipe="$AWK '"\
    7393 "     {last_section=section; section=\$ 3};"\
    7394 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
    7395 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
    7396 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
    7397 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
    7398 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
    7399 "     \$ 0!~/External *\|/{next};"\
    7400 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
    7401 "     {if(hide[section]) next};"\
    7402 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
    7403 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
    7404 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
    7405 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
    7406 "     ' prfx=^$ac_symprfx"
    7407   else
    7408     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    7409   fi
    7410   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
    7411 
    7412   # Check to see that the pipe works correctly.
    7413   pipe_works=no
    7414 
    7415   rm -f conftest*
    7416   cat > conftest.$ac_ext <<_LT_EOF
    7417 #ifdef __cplusplus
    7418 extern "C" {
    7419 #endif
    7420 char nm_test_var;
    7421 void nm_test_func(void);
    7422 void nm_test_func(void){}
    7423 #ifdef __cplusplus
    7424 }
    7425 #endif
    7426 int main(){nm_test_var='a';nm_test_func();return(0);}
    7427 _LT_EOF
    7428 
    7429   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    7430   (eval $ac_compile) 2>&5
    7431   ac_status=$?
    7432   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7433   test $ac_status = 0; }; then
    7434     # Now try to grab the symbols.
    7435     nlist=conftest.nm
    7436     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
    7437   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
    7438   ac_status=$?
    7439   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7440   test $ac_status = 0; } && test -s "$nlist"; then
    7441       # Try sorting and uniquifying the output.
    7442       if sort "$nlist" | uniq > "$nlist"T; then
    7443         mv -f "$nlist"T "$nlist"
    7444       else
    7445         rm -f "$nlist"T
    7446       fi
    7447 
    7448       # Make sure that we snagged all the symbols we need.
    7449       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
    7450         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
    7451           cat <<_LT_EOF > conftest.$ac_ext
    7452 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
    7453 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
    7454 /* DATA imports from DLLs on WIN32 can't be const, because runtime
    7455    relocations are performed -- see ld's documentation on pseudo-relocs.  */
    7456 # define LT_DLSYM_CONST
    7457 #elif defined __osf__
    7458 /* This system does not cope well with relocations in const data.  */
    7459 # define LT_DLSYM_CONST
    7460 #else
    7461 # define LT_DLSYM_CONST const
    7462 #endif
    7463 
    7464 #ifdef __cplusplus
    7465 extern "C" {
    7466 #endif
    7467 
    7468 _LT_EOF
    7469           # Now generate the symbol file.
    7470           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
    7471 
    7472           cat <<_LT_EOF >> conftest.$ac_ext
    7473 
    7474 /* The mapping between symbol names and symbols.  */
    7475 LT_DLSYM_CONST struct {
    7476   const char *name;
    7477   void       *address;
    7478 }
    7479 lt__PROGRAM__LTX_preloaded_symbols[] =
    7480 {
    7481   { "@PROGRAM@", (void *) 0 },
    7482 _LT_EOF
    7483           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
    7484           cat <<\_LT_EOF >> conftest.$ac_ext
    7485   {0, (void *) 0}
    7486 };
    7487 
    7488 /* This works around a problem in FreeBSD linker */
    7489 #ifdef FREEBSD_WORKAROUND
    7490 static const void *lt_preloaded_setup() {
    7491   return lt__PROGRAM__LTX_preloaded_symbols;
    7492 }
    7493 #endif
    7494 
    7495 #ifdef __cplusplus
    7496 }
    7497 #endif
    7498 _LT_EOF
    7499           # Now try linking the two files.
    7500           mv conftest.$ac_objext conftstm.$ac_objext
    7501           lt_globsym_save_LIBS=$LIBS
    7502           lt_globsym_save_CFLAGS=$CFLAGS
    7503           LIBS=conftstm.$ac_objext
    7504           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
    7505           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
    7506   (eval $ac_link) 2>&5
    7507   ac_status=$?
    7508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7509   test $ac_status = 0; } && test -s conftest$ac_exeext; then
    7510             pipe_works=yes
    7511           fi
    7512           LIBS=$lt_globsym_save_LIBS
    7513           CFLAGS=$lt_globsym_save_CFLAGS
    7514         else
    7515           echo "cannot find nm_test_func in $nlist" >&5
    7516         fi
    7517       else
    7518         echo "cannot find nm_test_var in $nlist" >&5
    7519       fi
    7520     else
    7521       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
    7522     fi
    7523   else
    7524     echo "$progname: failed program was:" >&5
    7525     cat conftest.$ac_ext >&5
    7526   fi
    7527   rm -rf conftest* conftst*
    7528 
    7529   # Do not use the global_symbol_pipe unless it works.
    7530   if test yes = "$pipe_works"; then
    7531     break
    7532   else
    7533     lt_cv_sys_global_symbol_pipe=
    7534   fi
    7535 done
    7536 
    7537 fi
    7538 
    7539 if test -z "$lt_cv_sys_global_symbol_pipe"; then
    7540   lt_cv_sys_global_symbol_to_cdecl=
    7541 fi
    7542 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
    7543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
    7544 $as_echo "failed" >&6; }
    7545 else
    7546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
    7547 $as_echo "ok" >&6; }
    7548 fi
    7549 
    7550 # Response file support.
    7551 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    7552   nm_file_list_spec='@'
    7553 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
    7554   nm_file_list_spec='@'
    7555 fi
    7556 
    7557 
    7558 
    7559 
    7560 
    7561 
    7562 
    7563 
    7564 
    7565 
    7566 
    7567 
    7568 
    7569 
    7570 
    7571 
    7572 
    7573 
    7574 
    7575 
    7576 
    7577 
    7578 
    7579 
    7580 
    7581 
    7582 
    7583 
    7584 
    7585 
    7586 
    7587 
    7588 
    7589 
    7590 
    7591 
    7592 
    7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
    7594 $as_echo_n "checking for sysroot... " >&6; }
    7595 
    7596 # Check whether --with-sysroot was given.
    7597 if test "${with_sysroot+set}" = set; then :
    7598   withval=$with_sysroot;
    7599 else
    7600   with_sysroot=no
    7601 fi
    7602 
    7603 
    7604 lt_sysroot=
    7605 case $with_sysroot in #(
    7606  yes)
    7607    if test yes = "$GCC"; then
    7608      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
    7609    fi
    7610    ;; #(
    7611  /*)
    7612    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
    7613    ;; #(
    7614  no|'')
    7615    ;; #(
    7616  *)
    7617    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
    7618 $as_echo "$with_sysroot" >&6; }
    7619    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
    7620    ;;
    7621 esac
    7622 
    7623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
    7624 $as_echo "${lt_sysroot:-no}" >&6; }
    7625 
    7626 
    7627 
    7628 
    7629 
    7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
    7631 $as_echo_n "checking for a working dd... " >&6; }
    7632 if ${ac_cv_path_lt_DD+:} false; then :
    7633   $as_echo_n "(cached) " >&6
    7634 else
    7635   printf 0123456789abcdef0123456789abcdef >conftest.i
    7636 cat conftest.i conftest.i >conftest2.i
    7637 : ${lt_DD:=$DD}
    7638 if test -z "$lt_DD"; then
    7639   ac_path_lt_DD_found=false
    7640   # Loop through the user's path and test for each of PROGNAME-LIST
    7641   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7642 for as_dir in $PATH
    7643 do
    7644   IFS=$as_save_IFS
    7645   test -z "$as_dir" && as_dir=.
    7646     for ac_prog in dd; do
    7647     for ac_exec_ext in '' $ac_executable_extensions; do
    7648       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
    7649       as_fn_executable_p "$ac_path_lt_DD" || continue
    7650 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
    7651   cmp -s conftest.i conftest.out \
    7652   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
    7653 fi
    7654       $ac_path_lt_DD_found && break 3
    7655     done
    7656   done
    7657   done
    7658 IFS=$as_save_IFS
    7659   if test -z "$ac_cv_path_lt_DD"; then
    7660     :
    7661   fi
    7662 else
    7663   ac_cv_path_lt_DD=$lt_DD
    7664 fi
    7665 
    7666 rm -f conftest.i conftest2.i conftest.out
    7667 fi
    7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
    7669 $as_echo "$ac_cv_path_lt_DD" >&6; }
    7670 
    7671 
    7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
    7673 $as_echo_n "checking how to truncate binary pipes... " >&6; }
    7674 if ${lt_cv_truncate_bin+:} false; then :
    7675   $as_echo_n "(cached) " >&6
    7676 else
    7677   printf 0123456789abcdef0123456789abcdef >conftest.i
    7678 cat conftest.i conftest.i >conftest2.i
    7679 lt_cv_truncate_bin=
    7680 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
    7681   cmp -s conftest.i conftest.out \
    7682   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
    7683 fi
    7684 rm -f conftest.i conftest2.i conftest.out
    7685 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
    7686 fi
    7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
    7688 $as_echo "$lt_cv_truncate_bin" >&6; }
    7689 
    7690 
    7691 
    7692 
    7693 
    7694 
    7695 
    7696 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
    7697 func_cc_basename ()
    7698 {
    7699     for cc_temp in $*""; do
    7700       case $cc_temp in
    7701         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    7702         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    7703         \-*) ;;
    7704         *) break;;
    7705       esac
    7706     done
    7707     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
    7708 }
    7709 
    7710 # Check whether --enable-libtool-lock was given.
    7711 if test "${enable_libtool_lock+set}" = set; then :
    7712   enableval=$enable_libtool_lock;
    7713 fi
    7714 
    7715 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
    7716 
    7717 # Some flags need to be propagated to the compiler or linker for good
    7718 # libtool support.
    7719 case $host in
    7720 ia64-*-hpux*)
    7721   # Find out what ABI is being produced by ac_compile, and set mode
    7722   # options accordingly.
    7723   echo 'int i;' > conftest.$ac_ext
    7724   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    7725   (eval $ac_compile) 2>&5
    7726   ac_status=$?
    7727   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7728   test $ac_status = 0; }; then
    7729     case `/usr/bin/file conftest.$ac_objext` in
    7730       *ELF-32*)
    7731         HPUX_IA64_MODE=32
    7732         ;;
    7733       *ELF-64*)
    7734         HPUX_IA64_MODE=64
    7735         ;;
    7736     esac
    7737   fi
    7738   rm -rf conftest*
    7739   ;;
    7740 *-*-irix6*)
    7741   # Find out what ABI is being produced by ac_compile, and set linker
    7742   # options accordingly.
    7743   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
    7744   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    7745   (eval $ac_compile) 2>&5
    7746   ac_status=$?
    7747   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7748   test $ac_status = 0; }; then
    7749     if test yes = "$lt_cv_prog_gnu_ld"; then
    7750       case `/usr/bin/file conftest.$ac_objext` in
    7751         *32-bit*)
    7752           LD="${LD-ld} -melf32bsmip"
    7753           ;;
    7754         *N32*)
    7755           LD="${LD-ld} -melf32bmipn32"
    7756           ;;
    7757         *64-bit*)
    7758           LD="${LD-ld} -melf64bmip"
    7759         ;;
    7760       esac
    7761     else
    7762       case `/usr/bin/file conftest.$ac_objext` in
    7763         *32-bit*)
    7764           LD="${LD-ld} -32"
    7765           ;;
    7766         *N32*)
    7767           LD="${LD-ld} -n32"
    7768           ;;
    7769         *64-bit*)
    7770           LD="${LD-ld} -64"
    7771           ;;
    7772       esac
    7773     fi
    7774   fi
    7775   rm -rf conftest*
    7776   ;;
    7777 
    7778 mips64*-*linux*)
    7779   # Find out what ABI is being produced by ac_compile, and set linker
    7780   # options accordingly.
    7781   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
    7782   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    7783   (eval $ac_compile) 2>&5
    7784   ac_status=$?
    7785   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7786   test $ac_status = 0; }; then
    7787     emul=elf
    7788     case `/usr/bin/file conftest.$ac_objext` in
    7789       *32-bit*)
    7790         emul="${emul}32"
    7791         ;;
    7792       *64-bit*)
    7793         emul="${emul}64"
    7794         ;;
    7795     esac
    7796     case `/usr/bin/file conftest.$ac_objext` in
    7797       *MSB*)
    7798         emul="${emul}btsmip"
    7799         ;;
    7800       *LSB*)
    7801         emul="${emul}ltsmip"
    7802         ;;
    7803     esac
    7804     case `/usr/bin/file conftest.$ac_objext` in
    7805       *N32*)
    7806         emul="${emul}n32"
    7807         ;;
    7808     esac
    7809     LD="${LD-ld} -m $emul"
    7810   fi
    7811   rm -rf conftest*
    7812   ;;
    7813 
    7814 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
    7815 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
    7816   # Find out what ABI is being produced by ac_compile, and set linker
    7817   # options accordingly.  Note that the listed cases only cover the
    7818   # situations where additional linker options are needed (such as when
    7819   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
    7820   # vice versa); the common cases where no linker options are needed do
    7821   # not appear in the list.
    7822   echo 'int i;' > conftest.$ac_ext
    7823   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    7824   (eval $ac_compile) 2>&5
    7825   ac_status=$?
    7826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7827   test $ac_status = 0; }; then
    7828     case `/usr/bin/file conftest.o` in
    7829       *32-bit*)
    7830         case $host in
    7831           x86_64-*kfreebsd*-gnu)
    7832             LD="${LD-ld} -m elf_i386_fbsd"
    7833             ;;
    7834           x86_64-*linux*)
    7835             case `/usr/bin/file conftest.o` in
    7836               *x86-64*)
    7837                 LD="${LD-ld} -m elf32_x86_64"
    7838                 ;;
    7839               *)
    7840                 LD="${LD-ld} -m elf_i386"
    7841                 ;;
    7842             esac
    7843             ;;
    7844           powerpc64le-*linux*)
    7845             LD="${LD-ld} -m elf32lppclinux"
    7846             ;;
    7847           powerpc64-*linux*)
    7848             LD="${LD-ld} -m elf32ppclinux"
    7849             ;;
    7850           s390x-*linux*)
    7851             LD="${LD-ld} -m elf_s390"
    7852             ;;
    7853           sparc64-*linux*)
    7854             LD="${LD-ld} -m elf32_sparc"
    7855             ;;
    7856         esac
    7857         ;;
    7858       *64-bit*)
    7859         case $host in
    7860           x86_64-*kfreebsd*-gnu)
    7861             LD="${LD-ld} -m elf_x86_64_fbsd"
    7862             ;;
    7863           x86_64-*linux*)
    7864             LD="${LD-ld} -m elf_x86_64"
    7865             ;;
    7866           powerpcle-*linux*)
    7867             LD="${LD-ld} -m elf64lppc"
    7868             ;;
    7869           powerpc-*linux*)
    7870             LD="${LD-ld} -m elf64ppc"
    7871             ;;
    7872           s390*-*linux*|s390*-*tpf*)
    7873             LD="${LD-ld} -m elf64_s390"
    7874             ;;
    7875           sparc*-*linux*)
    7876             LD="${LD-ld} -m elf64_sparc"
    7877             ;;
    7878         esac
    7879         ;;
    7880     esac
    7881   fi
    7882   rm -rf conftest*
    7883   ;;
    7884 
    7885 *-*-sco3.2v5*)
    7886   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    7887   SAVE_CFLAGS=$CFLAGS
    7888   CFLAGS="$CFLAGS -belf"
    7889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
    7890 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
    7891 if ${lt_cv_cc_needs_belf+:} false; then :
    7892   $as_echo_n "(cached) " >&6
    7893 else
    7894   ac_ext=c
    7895 ac_cpp='$CPP $CPPFLAGS'
    7896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    7897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    7898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7899 
    7900      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7901 /* end confdefs.h.  */
    7902 
    7903 int
    7904 main ()
    7905 {
    7906 
    7907   ;
    7908   return 0;
    7909 }
    7910 _ACEOF
    7911 if ac_fn_c_try_link "$LINENO"; then :
    7912   lt_cv_cc_needs_belf=yes
    7913 else
    7914   lt_cv_cc_needs_belf=no
    7915 fi
    7916 rm -f core conftest.err conftest.$ac_objext \
    7917     conftest$ac_exeext conftest.$ac_ext
    7918      ac_ext=c
    7919 ac_cpp='$CPP $CPPFLAGS'
    7920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    7921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    7922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7923 
    7924 fi
    7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
    7926 $as_echo "$lt_cv_cc_needs_belf" >&6; }
    7927   if test yes != "$lt_cv_cc_needs_belf"; then
    7928     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    7929     CFLAGS=$SAVE_CFLAGS
    7930   fi
    7931   ;;
    7932 *-*solaris*)
    7933   # Find out what ABI is being produced by ac_compile, and set linker
    7934   # options accordingly.
    7935   echo 'int i;' > conftest.$ac_ext
    7936   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    7937   (eval $ac_compile) 2>&5
    7938   ac_status=$?
    7939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7940   test $ac_status = 0; }; then
    7941     case `/usr/bin/file conftest.o` in
    7942     *64-bit*)
    7943       case $lt_cv_prog_gnu_ld in
    7944       yes*)
    7945         case $host in
    7946         i?86-*-solaris*|x86_64-*-solaris*)
    7947           LD="${LD-ld} -m elf_x86_64"
    7948           ;;
    7949         sparc*-*-solaris*)
    7950           LD="${LD-ld} -m elf64_sparc"
    7951           ;;
    7952         esac
    7953         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
    7954         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
    7955           LD=${LD-ld}_sol2
    7956         fi
    7957         ;;
    7958       *)
    7959         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
    7960           LD="${LD-ld} -64"
    7961         fi
    7962         ;;
    7963       esac
    7964       ;;
    7965     esac
    7966   fi
    7967   rm -rf conftest*
    7968   ;;
    7969 esac
    7970 
    7971 need_locks=$enable_libtool_lock
    7972 
    7973 if test -n "$ac_tool_prefix"; then
    7974   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
    7975 set dummy ${ac_tool_prefix}mt; ac_word=$2
    7976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7977 $as_echo_n "checking for $ac_word... " >&6; }
    7978 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
    7979   $as_echo_n "(cached) " >&6
    7980 else
    7981   if test -n "$MANIFEST_TOOL"; then
    7982   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
    7983 else
    7984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7985 for as_dir in $PATH
    7986 do
    7987   IFS=$as_save_IFS
    7988   test -z "$as_dir" && as_dir=.
    7989     for ac_exec_ext in '' $ac_executable_extensions; do
    7990   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7991     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
    7992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7993     break 2
    7994   fi
    7995 done
    7996   done
    7997 IFS=$as_save_IFS
    7998 
    7999 fi
    8000 fi
    8001 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
    8002 if test -n "$MANIFEST_TOOL"; then
    8003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
    8004 $as_echo "$MANIFEST_TOOL" >&6; }
    8005 else
    8006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8007 $as_echo "no" >&6; }
    8008 fi
    8009 
    8010 
    8011 fi
    8012 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
    8013   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
    8014   # Extract the first word of "mt", so it can be a program name with args.
    8015 set dummy mt; ac_word=$2
    8016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8017 $as_echo_n "checking for $ac_word... " >&6; }
    8018 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
    8019   $as_echo_n "(cached) " >&6
    8020 else
    8021   if test -n "$ac_ct_MANIFEST_TOOL"; then
    8022   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
    8023 else
    8024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8025 for as_dir in $PATH
    8026 do
    8027   IFS=$as_save_IFS
    8028   test -z "$as_dir" && as_dir=.
    8029     for ac_exec_ext in '' $ac_executable_extensions; do
    8030   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8031     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
    8032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8033     break 2
    8034   fi
    8035 done
    8036   done
    8037 IFS=$as_save_IFS
    8038 
    8039 fi
    8040 fi
    8041 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
    8042 if test -n "$ac_ct_MANIFEST_TOOL"; then
    8043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
    8044 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
    8045 else
    8046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8047 $as_echo "no" >&6; }
    8048 fi
    8049 
    8050   if test "x$ac_ct_MANIFEST_TOOL" = x; then
    8051     MANIFEST_TOOL=":"
    8052   else
    8053     case $cross_compiling:$ac_tool_warned in
    8054 yes:)
    8055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    8056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    8057 ac_tool_warned=yes ;;
    8058 esac
    8059     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
    8060   fi
    8061 else
    8062   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
    8063 fi
    8064 
    8065 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
    8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
    8067 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
    8068 if ${lt_cv_path_mainfest_tool+:} false; then :
    8069   $as_echo_n "(cached) " >&6
    8070 else
    8071   lt_cv_path_mainfest_tool=no
    8072   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
    8073   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
    8074   cat conftest.err >&5
    8075   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
    8076     lt_cv_path_mainfest_tool=yes
    8077   fi
    8078   rm -f conftest*
    8079 fi
    8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
    8081 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
    8082 if test yes != "$lt_cv_path_mainfest_tool"; then
    8083   MANIFEST_TOOL=:
    8084 fi
    8085 
    8086 
    8087 
    8088 
    8089 
    8090 
    8091   case $host_os in
    8092     rhapsody* | darwin*)
    8093     if test -n "$ac_tool_prefix"; then
    8094   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
    8095 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
    8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8097 $as_echo_n "checking for $ac_word... " >&6; }
    8098 if ${ac_cv_prog_DSYMUTIL+:} false; then :
    8099   $as_echo_n "(cached) " >&6
    8100 else
    8101   if test -n "$DSYMUTIL"; then
    8102   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
    8103 else
    8104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8105 for as_dir in $PATH
    8106 do
    8107   IFS=$as_save_IFS
    8108   test -z "$as_dir" && as_dir=.
    8109     for ac_exec_ext in '' $ac_executable_extensions; do
    8110   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8111     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
    8112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8113     break 2
    8114   fi
    8115 done
    8116   done
    8117 IFS=$as_save_IFS
    8118 
    8119 fi
    8120 fi
    8121 DSYMUTIL=$ac_cv_prog_DSYMUTIL
    8122 if test -n "$DSYMUTIL"; then
    8123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
    8124 $as_echo "$DSYMUTIL" >&6; }
    8125 else
    8126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8127 $as_echo "no" >&6; }
    8128 fi
    8129 
    8130 
    8131 fi
    8132 if test -z "$ac_cv_prog_DSYMUTIL"; then
    8133   ac_ct_DSYMUTIL=$DSYMUTIL
    8134   # Extract the first word of "dsymutil", so it can be a program name with args.
    8135 set dummy dsymutil; ac_word=$2
    8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8137 $as_echo_n "checking for $ac_word... " >&6; }
    8138 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
    8139   $as_echo_n "(cached) " >&6
    8140 else
    8141   if test -n "$ac_ct_DSYMUTIL"; then
    8142   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
    8143 else
    8144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8145 for as_dir in $PATH
    8146 do
    8147   IFS=$as_save_IFS
    8148   test -z "$as_dir" && as_dir=.
    8149     for ac_exec_ext in '' $ac_executable_extensions; do
    8150   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8151     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
    8152     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8153     break 2
    8154   fi
    8155 done
    8156   done
    8157 IFS=$as_save_IFS
    8158 
    8159 fi
    8160 fi
    8161 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
    8162 if test -n "$ac_ct_DSYMUTIL"; then
    8163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
    8164 $as_echo "$ac_ct_DSYMUTIL" >&6; }
    8165 else
    8166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8167 $as_echo "no" >&6; }
    8168 fi
    8169 
    8170   if test "x$ac_ct_DSYMUTIL" = x; then
    8171     DSYMUTIL=":"
    8172   else
    8173     case $cross_compiling:$ac_tool_warned in
    8174 yes:)
    8175 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    8176 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    8177 ac_tool_warned=yes ;;
    8178 esac
    8179     DSYMUTIL=$ac_ct_DSYMUTIL
    8180   fi
    8181 else
    8182   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
    8183 fi
    8184 
    8185     if test -n "$ac_tool_prefix"; then
    8186   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
    8187 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
    8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8189 $as_echo_n "checking for $ac_word... " >&6; }
    8190 if ${ac_cv_prog_NMEDIT+:} false; then :
    8191   $as_echo_n "(cached) " >&6
    8192 else
    8193   if test -n "$NMEDIT"; then
    8194   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
    8195 else
    8196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8197 for as_dir in $PATH
    8198 do
    8199   IFS=$as_save_IFS
    8200   test -z "$as_dir" && as_dir=.
    8201     for ac_exec_ext in '' $ac_executable_extensions; do
    8202   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8203     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
    8204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8205     break 2
    8206   fi
    8207 done
    8208   done
    8209 IFS=$as_save_IFS
    8210 
    8211 fi
    8212 fi
    8213 NMEDIT=$ac_cv_prog_NMEDIT
    8214 if test -n "$NMEDIT"; then
    8215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
    8216 $as_echo "$NMEDIT" >&6; }
    8217 else
    8218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8219 $as_echo "no" >&6; }
    8220 fi
    8221 
    8222 
    8223 fi
    8224 if test -z "$ac_cv_prog_NMEDIT"; then
    8225   ac_ct_NMEDIT=$NMEDIT
    8226   # Extract the first word of "nmedit", so it can be a program name with args.
    8227 set dummy nmedit; ac_word=$2
    8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8229 $as_echo_n "checking for $ac_word... " >&6; }
    8230 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
    8231   $as_echo_n "(cached) " >&6
    8232 else
    8233   if test -n "$ac_ct_NMEDIT"; then
    8234   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
    8235 else
    8236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8237 for as_dir in $PATH
    8238 do
    8239   IFS=$as_save_IFS
    8240   test -z "$as_dir" && as_dir=.
    8241     for ac_exec_ext in '' $ac_executable_extensions; do
    8242   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8243     ac_cv_prog_ac_ct_NMEDIT="nmedit"
    8244     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8245     break 2
    8246   fi
    8247 done
    8248   done
    8249 IFS=$as_save_IFS
    8250 
    8251 fi
    8252 fi
    8253 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
    8254 if test -n "$ac_ct_NMEDIT"; then
    8255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
    8256 $as_echo "$ac_ct_NMEDIT" >&6; }
    8257 else
    8258   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8259 $as_echo "no" >&6; }
    8260 fi
    8261 
    8262   if test "x$ac_ct_NMEDIT" = x; then
    8263     NMEDIT=":"
    8264   else
    8265     case $cross_compiling:$ac_tool_warned in
    8266 yes:)
    8267 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    8268 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    8269 ac_tool_warned=yes ;;
    8270 esac
    8271     NMEDIT=$ac_ct_NMEDIT
    8272   fi
    8273 else
    8274   NMEDIT="$ac_cv_prog_NMEDIT"
    8275 fi
    8276 
    8277     if test -n "$ac_tool_prefix"; then
    8278   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
    8279 set dummy ${ac_tool_prefix}lipo; ac_word=$2
    8280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8281 $as_echo_n "checking for $ac_word... " >&6; }
    8282 if ${ac_cv_prog_LIPO+:} false; then :
    8283   $as_echo_n "(cached) " >&6
    8284 else
    8285   if test -n "$LIPO"; then
    8286   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
    8287 else
    8288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8289 for as_dir in $PATH
    8290 do
    8291   IFS=$as_save_IFS
    8292   test -z "$as_dir" && as_dir=.
    8293     for ac_exec_ext in '' $ac_executable_extensions; do
    8294   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8295     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
    8296     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8297     break 2
    8298   fi
    8299 done
    8300   done
    8301 IFS=$as_save_IFS
    8302 
    8303 fi
    8304 fi
    8305 LIPO=$ac_cv_prog_LIPO
    8306 if test -n "$LIPO"; then
    8307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
    8308 $as_echo "$LIPO" >&6; }
    8309 else
    8310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8311 $as_echo "no" >&6; }
    8312 fi
    8313 
    8314 
    8315 fi
    8316 if test -z "$ac_cv_prog_LIPO"; then
    8317   ac_ct_LIPO=$LIPO
    8318   # Extract the first word of "lipo", so it can be a program name with args.
    8319 set dummy lipo; ac_word=$2
    8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8321 $as_echo_n "checking for $ac_word... " >&6; }
    8322 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
    8323   $as_echo_n "(cached) " >&6
    8324 else
    8325   if test -n "$ac_ct_LIPO"; then
    8326   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
    8327 else
    8328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8329 for as_dir in $PATH
    8330 do
    8331   IFS=$as_save_IFS
    8332   test -z "$as_dir" && as_dir=.
    8333     for ac_exec_ext in '' $ac_executable_extensions; do
    8334   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8335     ac_cv_prog_ac_ct_LIPO="lipo"
    8336     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8337     break 2
    8338   fi
    8339 done
    8340   done
    8341 IFS=$as_save_IFS
    8342 
    8343 fi
    8344 fi
    8345 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
    8346 if test -n "$ac_ct_LIPO"; then
    8347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
    8348 $as_echo "$ac_ct_LIPO" >&6; }
    8349 else
    8350   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8351 $as_echo "no" >&6; }
    8352 fi
    8353 
    8354   if test "x$ac_ct_LIPO" = x; then
    8355     LIPO=":"
    8356   else
    8357     case $cross_compiling:$ac_tool_warned in
    8358 yes:)
    8359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    8360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    8361 ac_tool_warned=yes ;;
    8362 esac
    8363     LIPO=$ac_ct_LIPO
    8364   fi
    8365 else
    8366   LIPO="$ac_cv_prog_LIPO"
    8367 fi
    8368 
    8369     if test -n "$ac_tool_prefix"; then
    8370   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
    8371 set dummy ${ac_tool_prefix}otool; ac_word=$2
    8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8373 $as_echo_n "checking for $ac_word... " >&6; }
    8374 if ${ac_cv_prog_OTOOL+:} false; then :
    8375   $as_echo_n "(cached) " >&6
    8376 else
    8377   if test -n "$OTOOL"; then
    8378   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
    8379 else
    8380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8381 for as_dir in $PATH
    8382 do
    8383   IFS=$as_save_IFS
    8384   test -z "$as_dir" && as_dir=.
    8385     for ac_exec_ext in '' $ac_executable_extensions; do
    8386   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8387     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
    8388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8389     break 2
    8390   fi
    8391 done
    8392   done
    8393 IFS=$as_save_IFS
    8394 
    8395 fi
    8396 fi
    8397 OTOOL=$ac_cv_prog_OTOOL
    8398 if test -n "$OTOOL"; then
    8399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
    8400 $as_echo "$OTOOL" >&6; }
    8401 else
    8402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8403 $as_echo "no" >&6; }
    8404 fi
    8405 
    8406 
    8407 fi
    8408 if test -z "$ac_cv_prog_OTOOL"; then
    8409   ac_ct_OTOOL=$OTOOL
    8410   # Extract the first word of "otool", so it can be a program name with args.
    8411 set dummy otool; ac_word=$2
    8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8413 $as_echo_n "checking for $ac_word... " >&6; }
    8414 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
    8415   $as_echo_n "(cached) " >&6
    8416 else
    8417   if test -n "$ac_ct_OTOOL"; then
    8418   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
    8419 else
    8420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8421 for as_dir in $PATH
    8422 do
    8423   IFS=$as_save_IFS
    8424   test -z "$as_dir" && as_dir=.
    8425     for ac_exec_ext in '' $ac_executable_extensions; do
    8426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8427     ac_cv_prog_ac_ct_OTOOL="otool"
    8428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8429     break 2
    8430   fi
    8431 done
    8432   done
    8433 IFS=$as_save_IFS
    8434 
    8435 fi
    8436 fi
    8437 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
    8438 if test -n "$ac_ct_OTOOL"; then
    8439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
    8440 $as_echo "$ac_ct_OTOOL" >&6; }
    8441 else
    8442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8443 $as_echo "no" >&6; }
    8444 fi
    8445 
    8446   if test "x$ac_ct_OTOOL" = x; then
    8447     OTOOL=":"
    8448   else
    8449     case $cross_compiling:$ac_tool_warned in
    8450 yes:)
    8451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    8452 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    8453 ac_tool_warned=yes ;;
    8454 esac
    8455     OTOOL=$ac_ct_OTOOL
    8456   fi
    8457 else
    8458   OTOOL="$ac_cv_prog_OTOOL"
    8459 fi
    8460 
    8461     if test -n "$ac_tool_prefix"; then
    8462   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
    8463 set dummy ${ac_tool_prefix}otool64; ac_word=$2
    8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8465 $as_echo_n "checking for $ac_word... " >&6; }
    8466 if ${ac_cv_prog_OTOOL64+:} false; then :
    8467   $as_echo_n "(cached) " >&6
    8468 else
    8469   if test -n "$OTOOL64"; then
    8470   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
    8471 else
    8472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8473 for as_dir in $PATH
    8474 do
    8475   IFS=$as_save_IFS
    8476   test -z "$as_dir" && as_dir=.
    8477     for ac_exec_ext in '' $ac_executable_extensions; do
    8478   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8479     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
    8480     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8481     break 2
    8482   fi
    8483 done
    8484   done
    8485 IFS=$as_save_IFS
    8486 
    8487 fi
    8488 fi
    8489 OTOOL64=$ac_cv_prog_OTOOL64
    8490 if test -n "$OTOOL64"; then
    8491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
    8492 $as_echo "$OTOOL64" >&6; }
    8493 else
    8494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8495 $as_echo "no" >&6; }
    8496 fi
    8497 
    8498 
    8499 fi
    8500 if test -z "$ac_cv_prog_OTOOL64"; then
    8501   ac_ct_OTOOL64=$OTOOL64
    8502   # Extract the first word of "otool64", so it can be a program name with args.
    8503 set dummy otool64; ac_word=$2
    8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    8505 $as_echo_n "checking for $ac_word... " >&6; }
    8506 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
    8507   $as_echo_n "(cached) " >&6
    8508 else
    8509   if test -n "$ac_ct_OTOOL64"; then
    8510   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
    8511 else
    8512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8513 for as_dir in $PATH
    8514 do
    8515   IFS=$as_save_IFS
    8516   test -z "$as_dir" && as_dir=.
    8517     for ac_exec_ext in '' $ac_executable_extensions; do
    8518   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    8519     ac_cv_prog_ac_ct_OTOOL64="otool64"
    8520     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    8521     break 2
    8522   fi
    8523 done
    8524   done
    8525 IFS=$as_save_IFS
    8526 
    8527 fi
    8528 fi
    8529 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
    8530 if test -n "$ac_ct_OTOOL64"; then
    8531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
    8532 $as_echo "$ac_ct_OTOOL64" >&6; }
    8533 else
    8534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8535 $as_echo "no" >&6; }
    8536 fi
    8537 
    8538   if test "x$ac_ct_OTOOL64" = x; then
    8539     OTOOL64=":"
    8540   else
    8541     case $cross_compiling:$ac_tool_warned in
    8542 yes:)
    8543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    8544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    8545 ac_tool_warned=yes ;;
    8546 esac
    8547     OTOOL64=$ac_ct_OTOOL64
    8548   fi
    8549 else
    8550   OTOOL64="$ac_cv_prog_OTOOL64"
    8551 fi
    8552 
    8553 
    8554 
    8555 
    8556 
    8557 
    8558 
    8559 
    8560 
    8561 
    8562 
    8563 
    8564 
    8565 
    8566 
    8567 
    8568 
    8569 
    8570 
    8571 
    8572 
    8573 
    8574 
    8575 
    8576 
    8577 
    8578 
    8579     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
    8580 $as_echo_n "checking for -single_module linker flag... " >&6; }
    8581 if ${lt_cv_apple_cc_single_mod+:} false; then :
    8582   $as_echo_n "(cached) " >&6
    8583 else
    8584   lt_cv_apple_cc_single_mod=no
    8585       if test -z "$LT_MULTI_MODULE"; then
    8586         # By default we will add the -single_module flag. You can override
    8587         # by either setting the environment variable LT_MULTI_MODULE
    8588         # non-empty at configure time, or by adding -multi_module to the
    8589         # link flags.
    8590         rm -rf libconftest.dylib*
    8591         echo "int foo(void){return 1;}" > conftest.c
    8592         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
    8593 -dynamiclib -Wl,-single_module conftest.c" >&5
    8594         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
    8595           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
    8596         _lt_result=$?
    8597         # If there is a non-empty error log, and "single_module"
    8598         # appears in it, assume the flag caused a linker warning
    8599         if test -s conftest.err && $GREP single_module conftest.err; then
    8600           cat conftest.err >&5
    8601         # Otherwise, if the output was created with a 0 exit code from
    8602         # the compiler, it worked.
    8603         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
    8604           lt_cv_apple_cc_single_mod=yes
    8605         else
    8606           cat conftest.err >&5
    8607         fi
    8608         rm -rf libconftest.dylib*
    8609         rm -f conftest.*
    8610       fi
    8611 fi
    8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
    8613 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
    8614 
    8615     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
    8616 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
    8617 if ${lt_cv_ld_exported_symbols_list+:} false; then :
    8618   $as_echo_n "(cached) " >&6
    8619 else
    8620   lt_cv_ld_exported_symbols_list=no
    8621       save_LDFLAGS=$LDFLAGS
    8622       echo "_main" > conftest.sym
    8623       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
    8624       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    8625 /* end confdefs.h.  */
    8626 
    8627 int
    8628 main ()
    8629 {
    8630 
    8631   ;
    8632   return 0;
    8633 }
    8634 _ACEOF
    8635 if ac_fn_c_try_link "$LINENO"; then :
    8636   lt_cv_ld_exported_symbols_list=yes
    8637 else
    8638   lt_cv_ld_exported_symbols_list=no
    8639 fi
    8640 rm -f core conftest.err conftest.$ac_objext \
    8641     conftest$ac_exeext conftest.$ac_ext
    8642         LDFLAGS=$save_LDFLAGS
    8643 
    8644 fi
    8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
    8646 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
    8647 
    8648     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
    8649 $as_echo_n "checking for -force_load linker flag... " >&6; }
    8650 if ${lt_cv_ld_force_load+:} false; then :
    8651   $as_echo_n "(cached) " >&6
    8652 else
    8653   lt_cv_ld_force_load=no
    8654       cat > conftest.c << _LT_EOF
    8655 int forced_loaded() { return 2;}
    8656 _LT_EOF
    8657       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
    8658       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
    8659       echo "$AR cru libconftest.a conftest.o" >&5
    8660       $AR cru libconftest.a conftest.o 2>&5
    8661       echo "$RANLIB libconftest.a" >&5
    8662       $RANLIB libconftest.a 2>&5
    8663       cat > conftest.c << _LT_EOF
    8664 int main() { return 0;}
    8665 _LT_EOF
    8666       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
    8667       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
    8668       _lt_result=$?
    8669       if test -s conftest.err && $GREP force_load conftest.err; then
    8670         cat conftest.err >&5
    8671       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
    8672         lt_cv_ld_force_load=yes
    8673       else
    8674         cat conftest.err >&5
    8675       fi
    8676         rm -f conftest.err libconftest.a conftest conftest.c
    8677         rm -rf conftest.dSYM
    8678 
    8679 fi
    8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
    8681 $as_echo "$lt_cv_ld_force_load" >&6; }
    8682     case $host_os in
    8683     rhapsody* | darwin1.[012])
    8684       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
    8685     darwin1.*)
    8686       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    8687     darwin*) # darwin 5.x on
    8688       # if running on 10.5 or later, the deployment target defaults
    8689       # to the OS version, if on x86, and 10.4, the deployment
    8690       # target defaults to 10.4. Don't you love it?
    8691       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
    8692         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
    8693           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
    8694         10.[012][,.]*)
    8695           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    8696         10.*)
    8697           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
    8698       esac
    8699     ;;
    8700   esac
    8701     if test yes = "$lt_cv_apple_cc_single_mod"; then
    8702       _lt_dar_single_mod='$single_module'
    8703     fi
    8704     if test yes = "$lt_cv_ld_exported_symbols_list"; then
    8705       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
    8706     else
    8707       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
    8708     fi
    8709     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
    8710       _lt_dsymutil='~$DSYMUTIL $lib || :'
    8711     else
    8712       _lt_dsymutil=
    8713     fi
    8714     ;;
    8715   esac
    8716 
    8717 # func_munge_path_list VARIABLE PATH
    8718 # -----------------------------------
    8719 # VARIABLE is name of variable containing _space_ separated list of
    8720 # directories to be munged by the contents of PATH, which is string
    8721 # having a format:
    8722 # "DIR[:DIR]:"
    8723 #       string "DIR[ DIR]" will be prepended to VARIABLE
    8724 # ":DIR[:DIR]"
    8725 #       string "DIR[ DIR]" will be appended to VARIABLE
    8726 # "DIRP[:DIRP]::[DIRA:]DIRA"
    8727 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
    8728 #       "DIRA[ DIRA]" will be appended to VARIABLE
    8729 # "DIR[:DIR]"
    8730 #       VARIABLE will be replaced by "DIR[ DIR]"
    8731 func_munge_path_list ()
    8732 {
    8733     case x$2 in
    8734     x)
    8735         ;;
    8736     *:)
    8737         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
    8738         ;;
    8739     x:*)
    8740         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
    8741         ;;
    8742     *::*)
    8743         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
    8744         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
    8745         ;;
    8746     *)
    8747         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
    8748         ;;
    8749     esac
    8750 }
    8751 
    8752 ac_ext=c
    8753 ac_cpp='$CPP $CPPFLAGS'
    8754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    8755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    8756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    8758 $as_echo_n "checking how to run the C preprocessor... " >&6; }
    8759 # On Suns, sometimes $CPP names a directory.
    8760 if test -n "$CPP" && test -d "$CPP"; then
    8761   CPP=
    8762 fi
    8763 if test -z "$CPP"; then
    8764   if ${ac_cv_prog_CPP+:} false; then :
    8765   $as_echo_n "(cached) " >&6
    8766 else
    8767       # Double quotes because CPP needs to be expanded
    8768     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    8769     do
    8770       ac_preproc_ok=false
    8771 for ac_c_preproc_warn_flag in '' yes
    8772 do
    8773   # Use a header file that comes with gcc, so configuring glibc
    8774   # with a fresh cross-compiler works.
    8775   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    8776   # <limits.h> exists even on freestanding compilers.
    8777   # On the NeXT, cc -E runs the code through the compiler's parser,
    8778   # not just through cpp. "Syntax error" is here to catch this case.
    8779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    8780 /* end confdefs.h.  */
    8781 #ifdef __STDC__
    8782 # include <limits.h>
    8783 #else
    8784 # include <assert.h>
    8785 #endif
    8786                      Syntax error
    8787 _ACEOF
    8788 if ac_fn_c_try_cpp "$LINENO"; then :
    8789 
    8790 else
    8791   # Broken: fails on valid input.
    8792 continue
    8793 fi
    8794 rm -f conftest.err conftest.i conftest.$ac_ext
    8795 
    8796   # OK, works on sane cases.  Now check whether nonexistent headers
    8797   # can be detected and how.
    8798   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    8799 /* end confdefs.h.  */
    8800 #include <ac_nonexistent.h>
    8801 _ACEOF
    8802 if ac_fn_c_try_cpp "$LINENO"; then :
    8803   # Broken: success on invalid input.
    8804 continue
    8805 else
    8806   # Passes both tests.
    8807 ac_preproc_ok=:
    8808 break
    8809 fi
    8810 rm -f conftest.err conftest.i conftest.$ac_ext
    8811 
    8812 done
    8813 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    8814 rm -f conftest.i conftest.err conftest.$ac_ext
    8815 if $ac_preproc_ok; then :
    8816   break
    8817 fi
    8818 
    8819     done
    8820     ac_cv_prog_CPP=$CPP
    8821 
    8822 fi
    8823   CPP=$ac_cv_prog_CPP
    8824 else
    8825   ac_cv_prog_CPP=$CPP
    8826 fi
    8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    8828 $as_echo "$CPP" >&6; }
    8829 ac_preproc_ok=false
    8830 for ac_c_preproc_warn_flag in '' yes
    8831 do
    8832   # Use a header file that comes with gcc, so configuring glibc
    8833   # with a fresh cross-compiler works.
    8834   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    8835   # <limits.h> exists even on freestanding compilers.
    8836   # On the NeXT, cc -E runs the code through the compiler's parser,
    8837   # not just through cpp. "Syntax error" is here to catch this case.
    8838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    8839 /* end confdefs.h.  */
    8840 #ifdef __STDC__
    8841 # include <limits.h>
    8842 #else
    8843 # include <assert.h>
    8844 #endif
    8845                      Syntax error
    8846 _ACEOF
    8847 if ac_fn_c_try_cpp "$LINENO"; then :
    8848 
    8849 else
    8850   # Broken: fails on valid input.
    8851 continue
    8852 fi
    8853 rm -f conftest.err conftest.i conftest.$ac_ext
    8854 
    8855   # OK, works on sane cases.  Now check whether nonexistent headers
    8856   # can be detected and how.
    8857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    8858 /* end confdefs.h.  */
    8859 #include <ac_nonexistent.h>
    8860 _ACEOF
    8861 if ac_fn_c_try_cpp "$LINENO"; then :
    8862   # Broken: success on invalid input.
    8863 continue
    8864 else
    8865   # Passes both tests.
    8866 ac_preproc_ok=:
    8867 break
    8868 fi
    8869 rm -f conftest.err conftest.i conftest.$ac_ext
    8870 
    8871 done
    8872 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    8873 rm -f conftest.i conftest.err conftest.$ac_ext
    8874 if $ac_preproc_ok; then :
    8875 
    8876 else
    8877   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    8878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    8879 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    8880 See \`config.log' for more details" "$LINENO" 5; }
    8881 fi
    8882 
    8883 ac_ext=c
    8884 ac_cpp='$CPP $CPPFLAGS'
    8885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    8886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    8887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    8888 
    8889 
    88905673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    88915674$as_echo_n "checking for ANSI C header files... " >&6; }
     
    90175800
    90185801
    9019 for ac_header in dlfcn.h
    9020 do :
    9021   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
    9022 "
    9023 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
    9024   cat >>confdefs.h <<_ACEOF
    9025 #define HAVE_DLFCN_H 1
    9026 _ACEOF
    9027 
    9028 fi
    9029 
    9030 done
    9031 
    9032 
    9033 
    9034 
    9035 func_stripname_cnf ()
    9036 {
    9037   case $2 in
    9038   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
    9039   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
    9040   esac
    9041 } # func_stripname_cnf
    9042 
    9043 
    9044 
    9045 
    9046 
    9047 # Set options
    9048 
    9049 
    9050 
    9051         enable_dlopen=no
    9052 
    9053 
    9054   enable_win32_dll=no
    9055 
    9056 
    9057             # Check whether --enable-shared was given.
    9058 if test "${enable_shared+set}" = set; then :
    9059   enableval=$enable_shared; p=${PACKAGE-default}
    9060     case $enableval in
    9061     yes) enable_shared=yes ;;
    9062     no) enable_shared=no ;;
    9063     *)
    9064       enable_shared=no
    9065       # Look at the argument we got.  We use all the common list separators.
    9066       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    9067       for pkg in $enableval; do
    9068         IFS=$lt_save_ifs
    9069         if test "X$pkg" = "X$p"; then
    9070           enable_shared=yes
    9071         fi
    9072       done
    9073       IFS=$lt_save_ifs
    9074       ;;
    9075     esac
    9076 else
    9077   enable_shared=yes
    9078 fi
    9079 
    9080 
    9081 
    9082 
    9083 
    9084 
    9085 
    9086 
    9087 
    9088   # Check whether --enable-static was given.
    9089 if test "${enable_static+set}" = set; then :
    9090   enableval=$enable_static; p=${PACKAGE-default}
    9091     case $enableval in
    9092     yes) enable_static=yes ;;
    9093     no) enable_static=no ;;
    9094     *)
    9095      enable_static=no
    9096       # Look at the argument we got.  We use all the common list separators.
    9097       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    9098       for pkg in $enableval; do
    9099         IFS=$lt_save_ifs
    9100         if test "X$pkg" = "X$p"; then
    9101           enable_static=yes
    9102         fi
    9103       done
    9104       IFS=$lt_save_ifs
    9105       ;;
    9106     esac
    9107 else
    9108   enable_static=yes
    9109 fi
    9110 
    9111 
    9112 
    9113 
    9114 
    9115 
    9116 
    9117 
    9118 
    9119 
    9120 # Check whether --with-pic was given.
    9121 if test "${with_pic+set}" = set; then :
    9122   withval=$with_pic; lt_p=${PACKAGE-default}
    9123     case $withval in
    9124     yes|no) pic_mode=$withval ;;
    9125     *)
    9126       pic_mode=default
    9127       # Look at the argument we got.  We use all the common list separators.
    9128       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    9129       for lt_pkg in $withval; do
    9130         IFS=$lt_save_ifs
    9131         if test "X$lt_pkg" = "X$lt_p"; then
    9132           pic_mode=yes
    9133         fi
    9134       done
    9135       IFS=$lt_save_ifs
    9136       ;;
    9137     esac
    9138 else
    9139   pic_mode=default
    9140 fi
    9141 
    9142 
    9143 
    9144 
    9145 
    9146 
    9147 
    9148 
    9149   # Check whether --enable-fast-install was given.
    9150 if test "${enable_fast_install+set}" = set; then :
    9151   enableval=$enable_fast_install; p=${PACKAGE-default}
    9152     case $enableval in
    9153     yes) enable_fast_install=yes ;;
    9154     no) enable_fast_install=no ;;
    9155     *)
    9156       enable_fast_install=no
    9157       # Look at the argument we got.  We use all the common list separators.
    9158       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    9159       for pkg in $enableval; do
    9160         IFS=$lt_save_ifs
    9161         if test "X$pkg" = "X$p"; then
    9162           enable_fast_install=yes
    9163         fi
    9164       done
    9165       IFS=$lt_save_ifs
    9166       ;;
    9167     esac
    9168 else
    9169   enable_fast_install=yes
    9170 fi
    9171 
    9172 
    9173 
    9174 
    9175 
    9176 
    9177 
    9178 
    9179   shared_archive_member_spec=
    9180 case $host,$enable_shared in
    9181 power*-*-aix[5-9]*,yes)
    9182   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
    9183 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
    9184 
    9185 # Check whether --with-aix-soname was given.
    9186 if test "${with_aix_soname+set}" = set; then :
    9187   withval=$with_aix_soname; case $withval in
    9188     aix|svr4|both)
    9189       ;;
    9190     *)
    9191       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
    9192       ;;
    9193     esac
    9194     lt_cv_with_aix_soname=$with_aix_soname
    9195 else
    9196   if ${lt_cv_with_aix_soname+:} false; then :
    9197   $as_echo_n "(cached) " >&6
    9198 else
    9199   lt_cv_with_aix_soname=aix
    9200 fi
    9201 
    9202     with_aix_soname=$lt_cv_with_aix_soname
    9203 fi
    9204 
    9205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
    9206 $as_echo "$with_aix_soname" >&6; }
    9207   if test aix != "$with_aix_soname"; then
    9208     # For the AIX way of multilib, we name the shared archive member
    9209     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
    9210     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
    9211     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
    9212     # the AIX toolchain works better with OBJECT_MODE set (default 32).
    9213     if test 64 = "${OBJECT_MODE-32}"; then
    9214       shared_archive_member_spec=shr_64
    9215     else
    9216       shared_archive_member_spec=shr
    9217     fi
    9218   fi
    9219   ;;
    9220 *)
    9221   with_aix_soname=aix
    9222   ;;
    9223 esac
    9224 
    9225 
    9226 
    9227 
    9228 
    9229 
    9230 
    9231 
    9232 
    9233 
    9234 # This can be used to rebuild libtool when needed
    9235 LIBTOOL_DEPS=$ltmain
    9236 
    9237 # Always use our own libtool.
    9238 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
    9239 
    9240 
    9241 
    9242 
    9243 
    9244 
    9245 
    9246 
    9247 
    9248 
    9249 
    9250 
    9251 
    9252 
    9253 
    9254 
    9255 
    9256 
    9257 
    9258 
    9259 
    9260 
    9261 
    9262 
    9263 
    9264 
    9265 
    9266 
    9267 
    9268 
    9269 test -z "$LN_S" && LN_S="ln -s"
    9270 
    9271 
    9272 
    9273 
    9274 
    9275 
    9276 
    9277 
    9278 
    9279 
    9280 
    9281 
    9282 
    9283 
    9284 if test -n "${ZSH_VERSION+set}"; then
    9285    setopt NO_GLOB_SUBST
    9286 fi
    9287 
    9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
    9289 $as_echo_n "checking for objdir... " >&6; }
    9290 if ${lt_cv_objdir+:} false; then :
    9291   $as_echo_n "(cached) " >&6
    9292 else
    9293   rm -f .libs 2>/dev/null
    9294 mkdir .libs 2>/dev/null
    9295 if test -d .libs; then
    9296   lt_cv_objdir=.libs
    9297 else
    9298   # MS-DOS does not allow filenames that begin with a dot.
    9299   lt_cv_objdir=_libs
    9300 fi
    9301 rmdir .libs 2>/dev/null
    9302 fi
    9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
    9304 $as_echo "$lt_cv_objdir" >&6; }
    9305 objdir=$lt_cv_objdir
    9306 
    9307 
    9308 
    9309 
     5802ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
     5803if test "x$ac_cv_type_size_t" = xyes; then :
     5804
     5805else
    93105806
    93115807cat >>confdefs.h <<_ACEOF
    9312 #define LT_OBJDIR "$lt_cv_objdir/"
    9313 _ACEOF
    9314 
    9315 
    9316 
    9317 
    9318 case $host_os in
    9319 aix3*)
    9320   # AIX sometimes has problems with the GCC collect2 program.  For some
    9321   # reason, if we set the COLLECT_NAMES environment variable, the problems
    9322   # vanish in a puff of smoke.
    9323   if test set != "${COLLECT_NAMES+set}"; then
    9324     COLLECT_NAMES=
    9325     export COLLECT_NAMES
    9326   fi
    9327   ;;
    9328 esac
    9329 
    9330 # Global variables:
    9331 ofile=libtool
    9332 can_build_shared=yes
    9333 
    9334 # All known linkers require a '.a' archive for static linking (except MSVC,
    9335 # which needs '.lib').
    9336 libext=a
    9337 
    9338 with_gnu_ld=$lt_cv_prog_gnu_ld
    9339 
    9340 old_CC=$CC
    9341 old_CFLAGS=$CFLAGS
    9342 
    9343 # Set sane defaults for various variables
    9344 test -z "$CC" && CC=cc
    9345 test -z "$LTCC" && LTCC=$CC
    9346 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
    9347 test -z "$LD" && LD=ld
    9348 test -z "$ac_objext" && ac_objext=o
    9349 
    9350 func_cc_basename $compiler
    9351 cc_basename=$func_cc_basename_result
    9352 
    9353 
    9354 # Only perform the check for file, if the check method requires it
    9355 test -z "$MAGIC_CMD" && MAGIC_CMD=file
    9356 case $deplibs_check_method in
    9357 file_magic*)
    9358   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    9359     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
    9360 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
    9361 if ${lt_cv_path_MAGIC_CMD+:} false; then :
    9362   $as_echo_n "(cached) " >&6
    9363 else
    9364   case $MAGIC_CMD in
    9365 [\\/*] |  ?:[\\/]*)
    9366   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
    9367   ;;
    9368 *)
    9369   lt_save_MAGIC_CMD=$MAGIC_CMD
    9370   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    9371   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    9372   for ac_dir in $ac_dummy; do
    9373     IFS=$lt_save_ifs
    9374     test -z "$ac_dir" && ac_dir=.
    9375     if test -f "$ac_dir/${ac_tool_prefix}file"; then
    9376       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
    9377       if test -n "$file_magic_test_file"; then
    9378         case $deplibs_check_method in
    9379         "file_magic "*)
    9380           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    9381           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    9382           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    9383             $EGREP "$file_magic_regex" > /dev/null; then
    9384             :
    9385           else
    9386             cat <<_LT_EOF 1>&2
    9387 
    9388 *** Warning: the command libtool uses to detect shared libraries,
    9389 *** $file_magic_cmd, produces output that libtool cannot recognize.
    9390 *** The result is that libtool may fail to recognize shared libraries
    9391 *** as such.  This will affect the creation of libtool libraries that
    9392 *** depend on shared libraries, but programs linked with such libtool
    9393 *** libraries will work regardless of this problem.  Nevertheless, you
    9394 *** may want to report the problem to your system manager and/or to
    9395 *** bug-libtool@gnu.org
    9396 
    9397 _LT_EOF
    9398           fi ;;
    9399         esac
    9400       fi
    9401       break
    9402     fi
    9403   done
    9404   IFS=$lt_save_ifs
    9405   MAGIC_CMD=$lt_save_MAGIC_CMD
    9406   ;;
    9407 esac
    9408 fi
    9409 
    9410 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    9411 if test -n "$MAGIC_CMD"; then
    9412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
    9413 $as_echo "$MAGIC_CMD" >&6; }
    9414 else
    9415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    9416 $as_echo "no" >&6; }
    9417 fi
    9418 
    9419 
    9420 
    9421 
    9422 
    9423 if test -z "$lt_cv_path_MAGIC_CMD"; then
    9424   if test -n "$ac_tool_prefix"; then
    9425     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
    9426 $as_echo_n "checking for file... " >&6; }
    9427 if ${lt_cv_path_MAGIC_CMD+:} false; then :
    9428   $as_echo_n "(cached) " >&6
    9429 else
    9430   case $MAGIC_CMD in
    9431 [\\/*] |  ?:[\\/]*)
    9432   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
    9433   ;;
    9434 *)
    9435   lt_save_MAGIC_CMD=$MAGIC_CMD
    9436   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    9437   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    9438   for ac_dir in $ac_dummy; do
    9439     IFS=$lt_save_ifs
    9440     test -z "$ac_dir" && ac_dir=.
    9441     if test -f "$ac_dir/file"; then
    9442       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
    9443       if test -n "$file_magic_test_file"; then
    9444         case $deplibs_check_method in
    9445         "file_magic "*)
    9446           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    9447           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    9448           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    9449             $EGREP "$file_magic_regex" > /dev/null; then
    9450             :
    9451           else
    9452             cat <<_LT_EOF 1>&2
    9453 
    9454 *** Warning: the command libtool uses to detect shared libraries,
    9455 *** $file_magic_cmd, produces output that libtool cannot recognize.
    9456 *** The result is that libtool may fail to recognize shared libraries
    9457 *** as such.  This will affect the creation of libtool libraries that
    9458 *** depend on shared libraries, but programs linked with such libtool
    9459 *** libraries will work regardless of this problem.  Nevertheless, you
    9460 *** may want to report the problem to your system manager and/or to
    9461 *** bug-libtool@gnu.org
    9462 
    9463 _LT_EOF
    9464           fi ;;
    9465         esac
    9466       fi
    9467       break
    9468     fi
    9469   done
    9470   IFS=$lt_save_ifs
    9471   MAGIC_CMD=$lt_save_MAGIC_CMD
    9472   ;;
    9473 esac
    9474 fi
    9475 
    9476 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    9477 if test -n "$MAGIC_CMD"; then
    9478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
    9479 $as_echo "$MAGIC_CMD" >&6; }
    9480 else
    9481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    9482 $as_echo "no" >&6; }
    9483 fi
    9484 
    9485 
    9486   else
    9487     MAGIC_CMD=:
    9488   fi
    9489 fi
    9490 
    9491   fi
    9492   ;;
    9493 esac
    9494 
    9495 # Use C for the default configuration in the libtool script
    9496 
    9497 lt_save_CC=$CC
    9498 ac_ext=c
    9499 ac_cpp='$CPP $CPPFLAGS'
    9500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    9501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    9502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    9503 
    9504 
    9505 # Source file extension for C test sources.
    9506 ac_ext=c
    9507 
    9508 # Object file extension for compiled C test sources.
    9509 objext=o
    9510 objext=$objext
    9511 
    9512 # Code to be used in simple compile tests
    9513 lt_simple_compile_test_code="int some_variable = 0;"
    9514 
    9515 # Code to be used in simple link tests
    9516 lt_simple_link_test_code='int main(){return(0);}'
    9517 
    9518 
    9519 
    9520 
    9521 
    9522 
    9523 
    9524 # If no C compiler was specified, use CC.
    9525 LTCC=${LTCC-"$CC"}
    9526 
    9527 # If no C compiler flags were specified, use CFLAGS.
    9528 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
    9529 
    9530 # Allow CC to be a program name with arguments.
    9531 compiler=$CC
    9532 
    9533 # Save the default compiler, since it gets overwritten when the other
    9534 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
    9535 compiler_DEFAULT=$CC
    9536 
    9537 # save warnings/boilerplate of simple test code
    9538 ac_outfile=conftest.$ac_objext
    9539 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
    9540 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    9541 _lt_compiler_boilerplate=`cat conftest.err`
    9542 $RM conftest*
    9543 
    9544 ac_outfile=conftest.$ac_objext
    9545 echo "$lt_simple_link_test_code" >conftest.$ac_ext
    9546 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    9547 _lt_linker_boilerplate=`cat conftest.err`
    9548 $RM -r conftest*
    9549 
    9550 
    9551 ## CAVEAT EMPTOR:
    9552 ## There is no encapsulation within the following macros, do not change
    9553 ## the running order or otherwise move them around unless you know exactly
    9554 ## what you are doing...
    9555 if test -n "$compiler"; then
    9556 
    9557 lt_prog_compiler_no_builtin_flag=
    9558 
    9559 if test yes = "$GCC"; then
    9560   case $cc_basename in
    9561   nvcc*)
    9562     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
    9563   *)
    9564     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
    9565   esac
    9566 
    9567   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
    9568 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
    9569 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
    9570   $as_echo_n "(cached) " >&6
    9571 else
    9572   lt_cv_prog_compiler_rtti_exceptions=no
    9573    ac_outfile=conftest.$ac_objext
    9574    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    9575    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
    9576    # Insert the option either (1) after the last *FLAGS variable, or
    9577    # (2) before a word containing "conftest.", or (3) at the end.
    9578    # Note that $ac_compile itself does not contain backslashes and begins
    9579    # with a dollar sign (not a hyphen), so the echo should work correctly.
    9580    # The option is referenced via a variable to avoid confusing sed.
    9581    lt_compile=`echo "$ac_compile" | $SED \
    9582    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    9583    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    9584    -e 's:$: $lt_compiler_flag:'`
    9585    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    9586    (eval "$lt_compile" 2>conftest.err)
    9587    ac_status=$?
    9588    cat conftest.err >&5
    9589    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9590    if (exit $ac_status) && test -s "$ac_outfile"; then
    9591      # The compiler can only warn and ignore the option if not recognized
    9592      # So say no if there are warnings other than the usual output.
    9593      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    9594      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    9595      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    9596        lt_cv_prog_compiler_rtti_exceptions=yes
    9597      fi
    9598    fi
    9599    $RM conftest*
    9600 
    9601 fi
    9602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
    9603 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
    9604 
    9605 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
    9606     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
    9607 else
    9608     :
    9609 fi
    9610 
    9611 fi
    9612 
    9613 
    9614 
    9615 
    9616 
    9617 
    9618   lt_prog_compiler_wl=
    9619 lt_prog_compiler_pic=
    9620 lt_prog_compiler_static=
    9621 
    9622 
    9623   if test yes = "$GCC"; then
    9624     lt_prog_compiler_wl='-Wl,'
    9625     lt_prog_compiler_static='-static'
    9626 
    9627     case $host_os in
    9628       aix*)
    9629       # All AIX code is PIC.
    9630       if test ia64 = "$host_cpu"; then
    9631         # AIX 5 now supports IA64 processor
    9632         lt_prog_compiler_static='-Bstatic'
    9633       fi
    9634       lt_prog_compiler_pic='-fPIC'
    9635       ;;
    9636 
    9637     amigaos*)
    9638       case $host_cpu in
    9639       powerpc)
    9640             # see comment about AmigaOS4 .so support
    9641             lt_prog_compiler_pic='-fPIC'
    9642         ;;
    9643       m68k)
    9644             # FIXME: we need at least 68020 code to build shared libraries, but
    9645             # adding the '-m68020' flag to GCC prevents building anything better,
    9646             # like '-m68040'.
    9647             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
    9648         ;;
    9649       esac
    9650       ;;
    9651 
    9652     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    9653       # PIC is the default for these OSes.
    9654       ;;
    9655 
    9656     mingw* | cygwin* | pw32* | os2* | cegcc*)
    9657       # This hack is so that the source file can tell whether it is being
    9658       # built for inclusion in a dll (and should export symbols for example).
    9659       # Although the cygwin gcc ignores -fPIC, still need this for old-style
    9660       # (--disable-auto-import) libraries
    9661       lt_prog_compiler_pic='-DDLL_EXPORT'
    9662       case $host_os in
    9663       os2*)
    9664         lt_prog_compiler_static='$wl-static'
    9665         ;;
    9666       esac
    9667       ;;
    9668 
    9669     darwin* | rhapsody*)
    9670       # PIC is the default on this platform
    9671       # Common symbols not allowed in MH_DYLIB files
    9672       lt_prog_compiler_pic='-fno-common'
    9673       ;;
    9674 
    9675     haiku*)
    9676       # PIC is the default for Haiku.
    9677       # The "-static" flag exists, but is broken.
    9678       lt_prog_compiler_static=
    9679       ;;
    9680 
    9681     hpux*)
    9682       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
    9683       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
    9684       # sets the default TLS model and affects inlining.
    9685       case $host_cpu in
    9686       hppa*64*)
    9687         # +Z the default
    9688         ;;
    9689       *)
    9690         lt_prog_compiler_pic='-fPIC'
    9691         ;;
    9692       esac
    9693       ;;
    9694 
    9695     interix[3-9]*)
    9696       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    9697       # Instead, we relocate shared libraries at runtime.
    9698       ;;
    9699 
    9700     msdosdjgpp*)
    9701       # Just because we use GCC doesn't mean we suddenly get shared libraries
    9702       # on systems that don't support them.
    9703       lt_prog_compiler_can_build_shared=no
    9704       enable_shared=no
    9705       ;;
    9706 
    9707     *nto* | *qnx*)
    9708       # QNX uses GNU C++, but need to define -shared option too, otherwise
    9709       # it will coredump.
    9710       lt_prog_compiler_pic='-fPIC -shared'
    9711       ;;
    9712 
    9713     sysv4*MP*)
    9714       if test -d /usr/nec; then
    9715         lt_prog_compiler_pic=-Kconform_pic
    9716       fi
    9717       ;;
    9718 
    9719     *)
    9720       lt_prog_compiler_pic='-fPIC'
    9721       ;;
    9722     esac
    9723 
    9724     case $cc_basename in
    9725     nvcc*) # Cuda Compiler Driver 2.2
    9726       lt_prog_compiler_wl='-Xlinker '
    9727       if test -n "$lt_prog_compiler_pic"; then
    9728         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
    9729       fi
    9730       ;;
    9731     esac
    9732   else
    9733     # PORTME Check for flag to pass linker flags through the system compiler.
    9734     case $host_os in
    9735     aix*)
    9736       lt_prog_compiler_wl='-Wl,'
    9737       if test ia64 = "$host_cpu"; then
    9738         # AIX 5 now supports IA64 processor
    9739         lt_prog_compiler_static='-Bstatic'
    9740       else
    9741         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
    9742       fi
    9743       ;;
    9744 
    9745     darwin* | rhapsody*)
    9746       # PIC is the default on this platform
    9747       # Common symbols not allowed in MH_DYLIB files
    9748       lt_prog_compiler_pic='-fno-common'
    9749       case $cc_basename in
    9750       nagfor*)
    9751         # NAG Fortran compiler
    9752         lt_prog_compiler_wl='-Wl,-Wl,,'
    9753         lt_prog_compiler_pic='-PIC'
    9754         lt_prog_compiler_static='-Bstatic'
    9755         ;;
    9756       esac
    9757       ;;
    9758 
    9759     mingw* | cygwin* | pw32* | os2* | cegcc*)
    9760       # This hack is so that the source file can tell whether it is being
    9761       # built for inclusion in a dll (and should export symbols for example).
    9762       lt_prog_compiler_pic='-DDLL_EXPORT'
    9763       case $host_os in
    9764       os2*)
    9765         lt_prog_compiler_static='$wl-static'
    9766         ;;
    9767       esac
    9768       ;;
    9769 
    9770     hpux9* | hpux10* | hpux11*)
    9771       lt_prog_compiler_wl='-Wl,'
    9772       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    9773       # not for PA HP-UX.
    9774       case $host_cpu in
    9775       hppa*64*|ia64*)
    9776         # +Z the default
    9777         ;;
    9778       *)
    9779         lt_prog_compiler_pic='+Z'
    9780         ;;
    9781       esac
    9782       # Is there a better lt_prog_compiler_static that works with the bundled CC?
    9783       lt_prog_compiler_static='$wl-a ${wl}archive'
    9784       ;;
    9785 
    9786     irix5* | irix6* | nonstopux*)
    9787       lt_prog_compiler_wl='-Wl,'
    9788       # PIC (with -KPIC) is the default.
    9789       lt_prog_compiler_static='-non_shared'
    9790       ;;
    9791 
    9792     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    9793       case $cc_basename in
    9794       # old Intel for x86_64, which still supported -KPIC.
    9795       ecc*)
    9796         lt_prog_compiler_wl='-Wl,'
    9797         lt_prog_compiler_pic='-KPIC'
    9798         lt_prog_compiler_static='-static'
    9799         ;;
    9800       # icc used to be incompatible with GCC.
    9801       # ICC 10 doesn't accept -KPIC any more.
    9802       icc* | ifort*)
    9803         lt_prog_compiler_wl='-Wl,'
    9804         lt_prog_compiler_pic='-fPIC'
    9805         lt_prog_compiler_static='-static'
    9806         ;;
    9807       # Lahey Fortran 8.1.
    9808       lf95*)
    9809         lt_prog_compiler_wl='-Wl,'
    9810         lt_prog_compiler_pic='--shared'
    9811         lt_prog_compiler_static='--static'
    9812         ;;
    9813       nagfor*)
    9814         # NAG Fortran compiler
    9815         lt_prog_compiler_wl='-Wl,-Wl,,'
    9816         lt_prog_compiler_pic='-PIC'
    9817         lt_prog_compiler_static='-Bstatic'
    9818         ;;
    9819       tcc*)
    9820         # Fabrice Bellard et al's Tiny C Compiler
    9821         lt_prog_compiler_wl='-Wl,'
    9822         lt_prog_compiler_pic='-fPIC'
    9823         lt_prog_compiler_static='-static'
    9824         ;;
    9825       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
    9826         # Portland Group compilers (*not* the Pentium gcc compiler,
    9827         # which looks to be a dead project)
    9828         lt_prog_compiler_wl='-Wl,'
    9829         lt_prog_compiler_pic='-fpic'
    9830         lt_prog_compiler_static='-Bstatic'
    9831         ;;
    9832       ccc*)
    9833         lt_prog_compiler_wl='-Wl,'
    9834         # All Alpha code is PIC.
    9835         lt_prog_compiler_static='-non_shared'
    9836         ;;
    9837       xl* | bgxl* | bgf* | mpixl*)
    9838         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
    9839         lt_prog_compiler_wl='-Wl,'
    9840         lt_prog_compiler_pic='-qpic'
    9841         lt_prog_compiler_static='-qstaticlink'
    9842         ;;
    9843       *)
    9844         case `$CC -V 2>&1 | sed 5q` in
    9845         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
    9846           # Sun Fortran 8.3 passes all unrecognized flags to the linker
    9847           lt_prog_compiler_pic='-KPIC'
    9848           lt_prog_compiler_static='-Bstatic'
    9849           lt_prog_compiler_wl=''
    9850           ;;
    9851         *Sun\ F* | *Sun*Fortran*)
    9852           lt_prog_compiler_pic='-KPIC'
    9853           lt_prog_compiler_static='-Bstatic'
    9854           lt_prog_compiler_wl='-Qoption ld '
    9855           ;;
    9856         *Sun\ C*)
    9857           # Sun C 5.9
    9858           lt_prog_compiler_pic='-KPIC'
    9859           lt_prog_compiler_static='-Bstatic'
    9860           lt_prog_compiler_wl='-Wl,'
    9861           ;;
    9862         *Intel*\ [CF]*Compiler*)
    9863           lt_prog_compiler_wl='-Wl,'
    9864           lt_prog_compiler_pic='-fPIC'
    9865           lt_prog_compiler_static='-static'
    9866           ;;
    9867         *Portland\ Group*)
    9868           lt_prog_compiler_wl='-Wl,'
    9869           lt_prog_compiler_pic='-fpic'
    9870           lt_prog_compiler_static='-Bstatic'
    9871           ;;
    9872         esac
    9873         ;;
    9874       esac
    9875       ;;
    9876 
    9877     newsos6)
    9878       lt_prog_compiler_pic='-KPIC'
    9879       lt_prog_compiler_static='-Bstatic'
    9880       ;;
    9881 
    9882     *nto* | *qnx*)
    9883       # QNX uses GNU C++, but need to define -shared option too, otherwise
    9884       # it will coredump.
    9885       lt_prog_compiler_pic='-fPIC -shared'
    9886       ;;
    9887 
    9888     osf3* | osf4* | osf5*)
    9889       lt_prog_compiler_wl='-Wl,'
    9890       # All OSF/1 code is PIC.
    9891       lt_prog_compiler_static='-non_shared'
    9892       ;;
    9893 
    9894     rdos*)
    9895       lt_prog_compiler_static='-non_shared'
    9896       ;;
    9897 
    9898     solaris*)
    9899       lt_prog_compiler_pic='-KPIC'
    9900       lt_prog_compiler_static='-Bstatic'
    9901       case $cc_basename in
    9902       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
    9903         lt_prog_compiler_wl='-Qoption ld ';;
    9904       *)
    9905         lt_prog_compiler_wl='-Wl,';;
    9906       esac
    9907       ;;
    9908 
    9909     sunos4*)
    9910       lt_prog_compiler_wl='-Qoption ld '
    9911       lt_prog_compiler_pic='-PIC'
    9912       lt_prog_compiler_static='-Bstatic'
    9913       ;;
    9914 
    9915     sysv4 | sysv4.2uw2* | sysv4.3*)
    9916       lt_prog_compiler_wl='-Wl,'
    9917       lt_prog_compiler_pic='-KPIC'
    9918       lt_prog_compiler_static='-Bstatic'
    9919       ;;
    9920 
    9921     sysv4*MP*)
    9922       if test -d /usr/nec; then
    9923         lt_prog_compiler_pic='-Kconform_pic'
    9924         lt_prog_compiler_static='-Bstatic'
    9925       fi
    9926       ;;
    9927 
    9928     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
    9929       lt_prog_compiler_wl='-Wl,'
    9930       lt_prog_compiler_pic='-KPIC'
    9931       lt_prog_compiler_static='-Bstatic'
    9932       ;;
    9933 
    9934     unicos*)
    9935       lt_prog_compiler_wl='-Wl,'
    9936       lt_prog_compiler_can_build_shared=no
    9937       ;;
    9938 
    9939     uts4*)
    9940       lt_prog_compiler_pic='-pic'
    9941       lt_prog_compiler_static='-Bstatic'
    9942       ;;
    9943 
    9944     *)
    9945       lt_prog_compiler_can_build_shared=no
    9946       ;;
    9947     esac
    9948   fi
    9949 
    9950 case $host_os in
    9951   # For platforms that do not support PIC, -DPIC is meaningless:
    9952   *djgpp*)
    9953     lt_prog_compiler_pic=
    9954     ;;
    9955   *)
    9956     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
    9957     ;;
    9958 esac
    9959 
    9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
    9961 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
    9962 if ${lt_cv_prog_compiler_pic+:} false; then :
    9963   $as_echo_n "(cached) " >&6
    9964 else
    9965   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
    9966 fi
    9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
    9968 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
    9969 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
    9970 
    9971 #
    9972 # Check to make sure the PIC flag actually works.
    9973 #
    9974 if test -n "$lt_prog_compiler_pic"; then
    9975   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
    9976 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
    9977 if ${lt_cv_prog_compiler_pic_works+:} false; then :
    9978   $as_echo_n "(cached) " >&6
    9979 else
    9980   lt_cv_prog_compiler_pic_works=no
    9981    ac_outfile=conftest.$ac_objext
    9982    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    9983    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
    9984    # Insert the option either (1) after the last *FLAGS variable, or
    9985    # (2) before a word containing "conftest.", or (3) at the end.
    9986    # Note that $ac_compile itself does not contain backslashes and begins
    9987    # with a dollar sign (not a hyphen), so the echo should work correctly.
    9988    # The option is referenced via a variable to avoid confusing sed.
    9989    lt_compile=`echo "$ac_compile" | $SED \
    9990    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    9991    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    9992    -e 's:$: $lt_compiler_flag:'`
    9993    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    9994    (eval "$lt_compile" 2>conftest.err)
    9995    ac_status=$?
    9996    cat conftest.err >&5
    9997    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9998    if (exit $ac_status) && test -s "$ac_outfile"; then
    9999      # The compiler can only warn and ignore the option if not recognized
    10000      # So say no if there are warnings other than the usual output.
    10001      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    10002      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    10003      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    10004        lt_cv_prog_compiler_pic_works=yes
    10005      fi
    10006    fi
    10007    $RM conftest*
    10008 
    10009 fi
    10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
    10011 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
    10012 
    10013 if test yes = "$lt_cv_prog_compiler_pic_works"; then
    10014     case $lt_prog_compiler_pic in
    10015      "" | " "*) ;;
    10016      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
    10017      esac
    10018 else
    10019     lt_prog_compiler_pic=
    10020      lt_prog_compiler_can_build_shared=no
    10021 fi
    10022 
    10023 fi
    10024 
    10025 
    10026 
    10027 
    10028 
    10029 
    10030 
    10031 
    10032 
    10033 
    10034 
    10035 #
    10036 # Check to make sure the static flag actually works.
    10037 #
    10038 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
    10039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
    10040 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
    10041 if ${lt_cv_prog_compiler_static_works+:} false; then :
    10042   $as_echo_n "(cached) " >&6
    10043 else
    10044   lt_cv_prog_compiler_static_works=no
    10045    save_LDFLAGS=$LDFLAGS
    10046    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    10047    echo "$lt_simple_link_test_code" > conftest.$ac_ext
    10048    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    10049      # The linker can only warn and ignore the option if not recognized
    10050      # So say no if there are warnings
    10051      if test -s conftest.err; then
    10052        # Append any errors to the config.log.
    10053        cat conftest.err 1>&5
    10054        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
    10055        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    10056        if diff conftest.exp conftest.er2 >/dev/null; then
    10057          lt_cv_prog_compiler_static_works=yes
    10058        fi
    10059      else
    10060        lt_cv_prog_compiler_static_works=yes
    10061      fi
    10062    fi
    10063    $RM -r conftest*
    10064    LDFLAGS=$save_LDFLAGS
    10065 
    10066 fi
    10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
    10068 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
    10069 
    10070 if test yes = "$lt_cv_prog_compiler_static_works"; then
    10071     :
    10072 else
    10073     lt_prog_compiler_static=
    10074 fi
    10075 
    10076 
    10077 
    10078 
    10079 
    10080 
    10081 
    10082   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
    10083 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
    10084 if ${lt_cv_prog_compiler_c_o+:} false; then :
    10085   $as_echo_n "(cached) " >&6
    10086 else
    10087   lt_cv_prog_compiler_c_o=no
    10088    $RM -r conftest 2>/dev/null
    10089    mkdir conftest
    10090    cd conftest
    10091    mkdir out
    10092    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    10093 
    10094    lt_compiler_flag="-o out/conftest2.$ac_objext"
    10095    # Insert the option either (1) after the last *FLAGS variable, or
    10096    # (2) before a word containing "conftest.", or (3) at the end.
    10097    # Note that $ac_compile itself does not contain backslashes and begins
    10098    # with a dollar sign (not a hyphen), so the echo should work correctly.
    10099    lt_compile=`echo "$ac_compile" | $SED \
    10100    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    10101    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    10102    -e 's:$: $lt_compiler_flag:'`
    10103    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    10104    (eval "$lt_compile" 2>out/conftest.err)
    10105    ac_status=$?
    10106    cat out/conftest.err >&5
    10107    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10108    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    10109    then
    10110      # The compiler can only warn and ignore the option if not recognized
    10111      # So say no if there are warnings
    10112      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    10113      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    10114      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
    10115        lt_cv_prog_compiler_c_o=yes
    10116      fi
    10117    fi
    10118    chmod u+w . 2>&5
    10119    $RM conftest*
    10120    # SGI C++ compiler will create directory out/ii_files/ for
    10121    # template instantiation
    10122    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
    10123    $RM out/* && rmdir out
    10124    cd ..
    10125    $RM -r conftest
    10126    $RM conftest*
    10127 
    10128 fi
    10129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
    10130 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
    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; }
    10139 if ${lt_cv_prog_compiler_c_o+:} false; then :
    10140   $as_echo_n "(cached) " >&6
    10141 else
    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 
    10183 fi
    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 hard_links=nottested
    10191 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
    10192   # do not overwrite the value of need_locks provided by the user
    10193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
    10194 $as_echo_n "checking if we can lock with hard links... " >&6; }
    10195   hard_links=yes
    10196   $RM conftest*
    10197   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    10198   touch conftest.a
    10199   ln conftest.a conftest.b 2>&5 || hard_links=no
    10200   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    10201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
    10202 $as_echo "$hard_links" >&6; }
    10203   if test no = "$hard_links"; then
    10204     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
    10205 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
    10206     need_locks=warn
    10207   fi
    10208 else
    10209   need_locks=no
    10210 fi
    10211 
    10212 
    10213 
    10214 
    10215 
    10216 
    10217   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    10218 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
    10219 
    10220   runpath_var=
    10221   allow_undefined_flag=
    10222   always_export_symbols=no
    10223   archive_cmds=
    10224   archive_expsym_cmds=
    10225   compiler_needs_object=no
    10226   enable_shared_with_static_runtimes=no
    10227   export_dynamic_flag_spec=
    10228   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    10229   hardcode_automatic=no
    10230   hardcode_direct=no
    10231   hardcode_direct_absolute=no
    10232   hardcode_libdir_flag_spec=
    10233   hardcode_libdir_separator=
    10234   hardcode_minus_L=no
    10235   hardcode_shlibpath_var=unsupported
    10236   inherit_rpath=no
    10237   link_all_deplibs=unknown
    10238   module_cmds=
    10239   module_expsym_cmds=
    10240   old_archive_from_new_cmds=
    10241   old_archive_from_expsyms_cmds=
    10242   thread_safe_flag_spec=
    10243   whole_archive_flag_spec=
    10244   # include_expsyms should be a list of space-separated symbols to be *always*
    10245   # included in the symbol list
    10246   include_expsyms=
    10247   # exclude_expsyms can be an extended regexp of symbols to exclude
    10248   # it will be wrapped by ' (' and ')$', so one must not match beginning or
    10249   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
    10250   # as well as any symbol that contains 'd'.
    10251   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    10252   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    10253   # platforms (ab)use it in PIC code, but their linkers get confused if
    10254   # the symbol is explicitly referenced.  Since portable code cannot
    10255   # rely on this symbol name, it's probably fine to never include it in
    10256   # preloaded symbol tables.
    10257   # Exclude shared library initialization/finalization symbols.
    10258   extract_expsyms_cmds=
    10259 
    10260   case $host_os in
    10261   cygwin* | mingw* | pw32* | cegcc*)
    10262     # FIXME: the MSVC++ port hasn't been tested in a loooong time
    10263     # When not using gcc, we currently assume that we are using
    10264     # Microsoft Visual C++.
    10265     if test yes != "$GCC"; then
    10266       with_gnu_ld=no
    10267     fi
    10268     ;;
    10269   interix*)
    10270     # we just hope/assume this is gcc and not c89 (= MSVC++)
    10271     with_gnu_ld=yes
    10272     ;;
    10273   openbsd* | bitrig*)
    10274     with_gnu_ld=no
    10275     ;;
    10276   linux* | k*bsd*-gnu | gnu*)
    10277     link_all_deplibs=no
    10278     ;;
    10279   esac
    10280 
    10281   ld_shlibs=yes
    10282 
    10283   # On some targets, GNU ld is compatible enough with the native linker
    10284   # that we're better off using the native interface for both.
    10285   lt_use_gnu_ld_interface=no
    10286   if test yes = "$with_gnu_ld"; then
    10287     case $host_os in
    10288       aix*)
    10289         # The AIX port of GNU ld has always aspired to compatibility
    10290         # with the native linker.  However, as the warning in the GNU ld
    10291         # block says, versions before 2.19.5* couldn't really create working
    10292         # shared libraries, regardless of the interface used.
    10293         case `$LD -v 2>&1` in
    10294           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
    10295           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
    10296           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
    10297           *)
    10298             lt_use_gnu_ld_interface=yes
    10299             ;;
    10300         esac
    10301         ;;
    10302       *)
    10303         lt_use_gnu_ld_interface=yes
    10304         ;;
    10305     esac
    10306   fi
    10307 
    10308   if test yes = "$lt_use_gnu_ld_interface"; then
    10309     # If archive_cmds runs LD, not CC, wlarc should be empty
    10310     wlarc='$wl'
    10311 
    10312     # Set some defaults for GNU ld with shared library support. These
    10313     # are reset later if shared libraries are not supported. Putting them
    10314     # here allows them to be overridden if necessary.
    10315     runpath_var=LD_RUN_PATH
    10316     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    10317     export_dynamic_flag_spec='$wl--export-dynamic'
    10318     # ancient GNU ld didn't support --whole-archive et. al.
    10319     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
    10320       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    10321     else
    10322       whole_archive_flag_spec=
    10323     fi
    10324     supports_anon_versioning=no
    10325     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
    10326       *GNU\ gold*) supports_anon_versioning=yes ;;
    10327       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
    10328       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
    10329       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
    10330       *\ 2.11.*) ;; # other 2.11 versions
    10331       *) supports_anon_versioning=yes ;;
    10332     esac
    10333 
    10334     # See if GNU ld supports shared libraries.
    10335     case $host_os in
    10336     aix[3-9]*)
    10337       # On AIX/PPC, the GNU linker is very broken
    10338       if test ia64 != "$host_cpu"; then
    10339         ld_shlibs=no
    10340         cat <<_LT_EOF 1>&2
    10341 
    10342 *** Warning: the GNU linker, at least up to release 2.19, is reported
    10343 *** to be unable to reliably create shared libraries on AIX.
    10344 *** Therefore, libtool is disabling shared libraries support.  If you
    10345 *** really care for shared libraries, you may want to install binutils
    10346 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
    10347 *** You will then need to restart the configuration process.
    10348 
    10349 _LT_EOF
    10350       fi
    10351       ;;
    10352 
    10353     amigaos*)
    10354       case $host_cpu in
    10355       powerpc)
    10356             # see comment about AmigaOS4 .so support
    10357             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    10358             archive_expsym_cmds=''
    10359         ;;
    10360       m68k)
    10361             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)'
    10362             hardcode_libdir_flag_spec='-L$libdir'
    10363             hardcode_minus_L=yes
    10364         ;;
    10365       esac
    10366       ;;
    10367 
    10368     beos*)
    10369       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    10370         allow_undefined_flag=unsupported
    10371         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    10372         # support --undefined.  This deserves some investigation.  FIXME
    10373         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    10374       else
    10375         ld_shlibs=no
    10376       fi
    10377       ;;
    10378 
    10379     cygwin* | mingw* | pw32* | cegcc*)
    10380       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
    10381       # as there is no search path for DLLs.
    10382       hardcode_libdir_flag_spec='-L$libdir'
    10383       export_dynamic_flag_spec='$wl--export-all-symbols'
    10384       allow_undefined_flag=unsupported
    10385       always_export_symbols=no
    10386       enable_shared_with_static_runtimes=yes
    10387       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'
    10388       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
    10389 
    10390       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    10391         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    10392         # If the export-symbols file already is a .def file, use it as
    10393         # is; otherwise, prepend EXPORTS...
    10394         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    10395           cp $export_symbols $output_objdir/$soname.def;
    10396         else
    10397           echo EXPORTS > $output_objdir/$soname.def;
    10398           cat $export_symbols >> $output_objdir/$soname.def;
    10399         fi~
    10400         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    10401       else
    10402         ld_shlibs=no
    10403       fi
    10404       ;;
    10405 
    10406     haiku*)
    10407       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    10408       link_all_deplibs=yes
    10409       ;;
    10410 
    10411     os2*)
    10412       hardcode_libdir_flag_spec='-L$libdir'
    10413       hardcode_minus_L=yes
    10414       allow_undefined_flag=unsupported
    10415       shrext_cmds=.dll
    10416       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    10417         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    10418         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    10419         $ECHO EXPORTS >> $output_objdir/$libname.def~
    10420         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    10421         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    10422         emximp -o $lib $output_objdir/$libname.def'
    10423       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    10424         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    10425         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    10426         $ECHO EXPORTS >> $output_objdir/$libname.def~
    10427         prefix_cmds="$SED"~
    10428         if test EXPORTS = "`$SED 1q $export_symbols`"; then
    10429           prefix_cmds="$prefix_cmds -e 1d";
    10430         fi~
    10431         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    10432         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    10433         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    10434         emximp -o $lib $output_objdir/$libname.def'
    10435       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    10436       enable_shared_with_static_runtimes=yes
    10437       ;;
    10438 
    10439     interix[3-9]*)
    10440       hardcode_direct=no
    10441       hardcode_shlibpath_var=no
    10442       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
    10443       export_dynamic_flag_spec='$wl-E'
    10444       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    10445       # Instead, shared libraries are loaded at an image base (0x10000000 by
    10446       # default) and relocated if they conflict, which is a slow very memory
    10447       # consuming and fragmenting process.  To avoid this, we pick a random,
    10448       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    10449       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    10450       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    10451       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'
    10452       ;;
    10453 
    10454     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
    10455       tmp_diet=no
    10456       if test linux-dietlibc = "$host_os"; then
    10457         case $cc_basename in
    10458           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
    10459         esac
    10460       fi
    10461       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
    10462          && test no = "$tmp_diet"
    10463       then
    10464         tmp_addflag=' $pic_flag'
    10465         tmp_sharedflag='-shared'
    10466         case $cc_basename,$host_cpu in
    10467         pgcc*)                          # Portland Group C compiler
    10468           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'
    10469           tmp_addflag=' $pic_flag'
    10470           ;;
    10471         pgf77* | pgf90* | pgf95* | pgfortran*)
    10472                                         # Portland Group f77 and f90 compilers
    10473           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'
    10474           tmp_addflag=' $pic_flag -Mnomain' ;;
    10475         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
    10476           tmp_addflag=' -i_dynamic' ;;
    10477         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
    10478           tmp_addflag=' -i_dynamic -nofor_main' ;;
    10479         ifc* | ifort*)                  # Intel Fortran compiler
    10480           tmp_addflag=' -nofor_main' ;;
    10481         lf95*)                          # Lahey Fortran 8.1
    10482           whole_archive_flag_spec=
    10483           tmp_sharedflag='--shared' ;;
    10484         nagfor*)                        # NAGFOR 5.3
    10485           tmp_sharedflag='-Wl,-shared' ;;
    10486         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
    10487           tmp_sharedflag='-qmkshrobj'
    10488           tmp_addflag= ;;
    10489         nvcc*)  # Cuda Compiler Driver 2.2
    10490           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'
    10491           compiler_needs_object=yes
    10492           ;;
    10493         esac
    10494         case `$CC -V 2>&1 | sed 5q` in
    10495         *Sun\ C*)                       # Sun C 5.9
    10496           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'
    10497           compiler_needs_object=yes
    10498           tmp_sharedflag='-G' ;;
    10499         *Sun\ F*)                       # Sun Fortran 8.3
    10500           tmp_sharedflag='-G' ;;
    10501         esac
    10502         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    10503 
    10504         if test yes = "$supports_anon_versioning"; then
    10505           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
    10506             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    10507             echo "local: *; };" >> $output_objdir/$libname.ver~
    10508             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    10509         fi
    10510 
    10511         case $cc_basename in
    10512         tcc*)
    10513           export_dynamic_flag_spec='-rdynamic'
    10514           ;;
    10515         xlf* | bgf* | bgxlf* | mpixlf*)
    10516           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
    10517           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
    10518           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    10519           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
    10520           if test yes = "$supports_anon_versioning"; then
    10521             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
    10522               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    10523               echo "local: *; };" >> $output_objdir/$libname.ver~
    10524               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
    10525           fi
    10526           ;;
    10527         esac
    10528       else
    10529         ld_shlibs=no
    10530       fi
    10531       ;;
    10532 
    10533     netbsd* | netbsdelf*-gnu)
    10534       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    10535         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    10536         wlarc=
    10537       else
    10538         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    10539         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    10540       fi
    10541       ;;
    10542 
    10543     solaris*)
    10544       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
    10545         ld_shlibs=no
    10546         cat <<_LT_EOF 1>&2
    10547 
    10548 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
    10549 *** create shared libraries on Solaris systems.  Therefore, libtool
    10550 *** is disabling shared libraries support.  We urge you to upgrade GNU
    10551 *** binutils to release 2.9.1 or newer.  Another option is to modify
    10552 *** your PATH or compiler configuration so that the native linker is
    10553 *** used, and then restart.
    10554 
    10555 _LT_EOF
    10556       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    10557         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    10558         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    10559       else
    10560         ld_shlibs=no
    10561       fi
    10562       ;;
    10563 
    10564     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
    10565       case `$LD -v 2>&1` in
    10566         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
    10567         ld_shlibs=no
    10568         cat <<_LT_EOF 1>&2
    10569 
    10570 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
    10571 *** reliably create shared libraries on SCO systems.  Therefore, libtool
    10572 *** is disabling shared libraries support.  We urge you to upgrade GNU
    10573 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
    10574 *** your PATH or compiler configuration so that the native linker is
    10575 *** used, and then restart.
    10576 
    10577 _LT_EOF
    10578         ;;
    10579         *)
    10580           # For security reasons, it is highly recommended that you always
    10581           # use absolute paths for naming shared libraries, and exclude the
    10582           # DT_RUNPATH tag from executables and libraries.  But doing so
    10583           # requires that you compile everything twice, which is a pain.
    10584           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    10585             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    10586             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    10587             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    10588           else
    10589             ld_shlibs=no
    10590           fi
    10591         ;;
    10592       esac
    10593       ;;
    10594 
    10595     sunos4*)
    10596       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    10597       wlarc=
    10598       hardcode_direct=yes
    10599       hardcode_shlibpath_var=no
    10600       ;;
    10601 
    10602     *)
    10603       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    10604         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    10605         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    10606       else
    10607         ld_shlibs=no
    10608       fi
    10609       ;;
    10610     esac
    10611 
    10612     if test no = "$ld_shlibs"; then
    10613       runpath_var=
    10614       hardcode_libdir_flag_spec=
    10615       export_dynamic_flag_spec=
    10616       whole_archive_flag_spec=
    10617     fi
    10618   else
    10619     # PORTME fill in a description of your system's linker (not GNU ld)
    10620     case $host_os in
    10621     aix3*)
    10622       allow_undefined_flag=unsupported
    10623       always_export_symbols=yes
    10624       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'
    10625       # Note: this linker hardcodes the directories in LIBPATH if there
    10626       # are no directories specified by -L.
    10627       hardcode_minus_L=yes
    10628       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
    10629         # Neither direct hardcoding nor static linking is supported with a
    10630         # broken collect2.
    10631         hardcode_direct=unsupported
    10632       fi
    10633       ;;
    10634 
    10635     aix[4-9]*)
    10636       if test ia64 = "$host_cpu"; then
    10637         # On IA64, the linker does run time linking by default, so we don't
    10638         # have to do anything special.
    10639         aix_use_runtimelinking=no
    10640         exp_sym_flag='-Bexport'
    10641         no_entry_flag=
    10642       else
    10643         # If we're using GNU nm, then we don't want the "-C" option.
    10644         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
    10645         # Without the "-l" option, or with the "-B" option, AIX nm treats
    10646         # weak defined symbols like other global defined symbols, whereas
    10647         # GNU nm marks them as "W".
    10648         # While the 'weak' keyword is ignored in the Export File, we need
    10649         # it in the Import File for the 'aix-soname' feature, so we have
    10650         # to replace the "-B" option with "-P" for AIX nm.
    10651         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    10652           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'
    10653         else
    10654           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'
    10655         fi
    10656         aix_use_runtimelinking=no
    10657 
    10658         # Test if we are trying to use run time linking or normal
    10659         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    10660         # have runtime linking enabled, and use it for executables.
    10661         # For shared libraries, we enable/disable runtime linking
    10662         # depending on the kind of the shared library created -
    10663         # when "with_aix_soname,aix_use_runtimelinking" is:
    10664         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
    10665         # "aix,yes"  lib.so          shared, rtl:yes, for executables
    10666         #            lib.a           static archive
    10667         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
    10668         #            lib.a(lib.so.V) shared, rtl:no,  for executables
    10669         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
    10670         #            lib.a(lib.so.V) shared, rtl:no
    10671         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
    10672         #            lib.a           static archive
    10673         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    10674           for ld_flag in $LDFLAGS; do
    10675           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
    10676             aix_use_runtimelinking=yes
    10677             break
    10678           fi
    10679           done
    10680           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
    10681             # With aix-soname=svr4, we create the lib.so.V shared archives only,
    10682             # so we don't have lib.a shared libs to link our executables.
    10683             # We have to force runtime linking in this case.
    10684             aix_use_runtimelinking=yes
    10685             LDFLAGS="$LDFLAGS -Wl,-brtl"
    10686           fi
    10687           ;;
    10688         esac
    10689 
    10690         exp_sym_flag='-bexport'
    10691         no_entry_flag='-bnoentry'
    10692       fi
    10693 
    10694       # When large executables or shared objects are built, AIX ld can
    10695       # have problems creating the table of contents.  If linking a library
    10696       # or program results in "error TOC overflow" add -mminimal-toc to
    10697       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
    10698       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
    10699 
    10700       archive_cmds=''
    10701       hardcode_direct=yes
    10702       hardcode_direct_absolute=yes
    10703       hardcode_libdir_separator=':'
    10704       link_all_deplibs=yes
    10705       file_list_spec='$wl-f,'
    10706       case $with_aix_soname,$aix_use_runtimelinking in
    10707       aix,*) ;; # traditional, no import file
    10708       svr4,* | *,yes) # use import file
    10709         # The Import File defines what to hardcode.
    10710         hardcode_direct=no
    10711         hardcode_direct_absolute=no
    10712         ;;
    10713       esac
    10714 
    10715       if test yes = "$GCC"; then
    10716         case $host_os in aix4.[012]|aix4.[012].*)
    10717         # We only want to do this on AIX 4.2 and lower, the check
    10718         # below for broken collect2 doesn't work under 4.3+
    10719           collect2name=`$CC -print-prog-name=collect2`
    10720           if test -f "$collect2name" &&
    10721            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
    10722           then
    10723           # We have reworked collect2
    10724           :
    10725           else
    10726           # We have old collect2
    10727           hardcode_direct=unsupported
    10728           # It fails to find uninstalled libraries when the uninstalled
    10729           # path is not listed in the libpath.  Setting hardcode_minus_L
    10730           # to unsupported forces relinking
    10731           hardcode_minus_L=yes
    10732           hardcode_libdir_flag_spec='-L$libdir'
    10733           hardcode_libdir_separator=
    10734           fi
    10735           ;;
    10736         esac
    10737         shared_flag='-shared'
    10738         if test yes = "$aix_use_runtimelinking"; then
    10739           shared_flag="$shared_flag "'$wl-G'
    10740         fi
    10741         # Need to ensure runtime linking is disabled for the traditional
    10742         # shared library, or the linker may eventually find shared libraries
    10743         # /with/ Import File - we do not want to mix them.
    10744         shared_flag_aix='-shared'
    10745         shared_flag_svr4='-shared $wl-G'
    10746       else
    10747         # not using gcc
    10748         if test ia64 = "$host_cpu"; then
    10749         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    10750         # chokes on -Wl,-G. The following line is correct:
    10751           shared_flag='-G'
    10752         else
    10753           if test yes = "$aix_use_runtimelinking"; then
    10754             shared_flag='$wl-G'
    10755           else
    10756             shared_flag='$wl-bM:SRE'
    10757           fi
    10758           shared_flag_aix='$wl-bM:SRE'
    10759           shared_flag_svr4='$wl-G'
    10760         fi
    10761       fi
    10762 
    10763       export_dynamic_flag_spec='$wl-bexpall'
    10764       # It seems that -bexpall does not export symbols beginning with
    10765       # underscore (_), so it is better to generate a list of symbols to export.
    10766       always_export_symbols=yes
    10767       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
    10768         # Warning - without using the other runtime loading flags (-brtl),
    10769         # -berok will link without error, but may produce a broken library.
    10770         allow_undefined_flag='-berok'
    10771         # Determine the default libpath from the value encoded in an
    10772         # empty executable.
    10773         if test set = "${lt_cv_aix_libpath+set}"; then
    10774   aix_libpath=$lt_cv_aix_libpath
    10775 else
    10776   if ${lt_cv_aix_libpath_+:} false; then :
     5808#define size_t unsigned int
     5809_ACEOF
     5810
     5811fi
     5812
     5813# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
     5814# for constant arguments.  Useless!
     5815{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
     5816$as_echo_n "checking for working alloca.h... " >&6; }
     5817if ${ac_cv_working_alloca_h+:} false; then :
    107775818  $as_echo_n "(cached) " >&6
    107785819else
    107795820  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    107805821/* end confdefs.h.  */
    10781 
     5822#include <alloca.h>
    107825823int
    107835824main ()
    107845825{
    10785 
     5826char *p = (char *) alloca (2 * sizeof (int));
     5827                          if (p) return 0;
    107865828  ;
    107875829  return 0;
     
    107895831_ACEOF
    107905832if ac_fn_c_try_link "$LINENO"; then :
    10791 
    10792   lt_aix_libpath_sed='
    10793       /Import File Strings/,/^$/ {
    10794           /^0/ {
    10795               s/^0  *\([^ ]*\) *$/\1/
    10796               p
    10797           }
    10798       }'
    10799   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    10800   # Check for a 64-bit object if we didn't find anything.
    10801   if test -z "$lt_cv_aix_libpath_"; then
    10802     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    10803   fi
     5833  ac_cv_working_alloca_h=yes
     5834else
     5835  ac_cv_working_alloca_h=no
    108045836fi
    108055837rm -f core conftest.err conftest.$ac_objext \
    108065838    conftest$ac_exeext conftest.$ac_ext
    10807   if test -z "$lt_cv_aix_libpath_"; then
    10808     lt_cv_aix_libpath_=/usr/lib:/lib
    10809   fi
    10810 
    10811 fi
    10812 
    10813   aix_libpath=$lt_cv_aix_libpath_
    10814 fi
    10815 
    10816         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
    10817         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
    10818       else
    10819         if test ia64 = "$host_cpu"; then
    10820           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
    10821           allow_undefined_flag="-z nodefs"
    10822           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"
    10823         else
    10824          # Determine the default libpath from the value encoded in an
    10825          # empty executable.
    10826          if test set = "${lt_cv_aix_libpath+set}"; then
    10827   aix_libpath=$lt_cv_aix_libpath
    10828 else
    10829   if ${lt_cv_aix_libpath_+:} false; then :
     5839fi
     5840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
     5841$as_echo "$ac_cv_working_alloca_h" >&6; }
     5842if test $ac_cv_working_alloca_h = yes; then
     5843
     5844$as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
     5845
     5846fi
     5847
     5848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
     5849$as_echo_n "checking for alloca... " >&6; }
     5850if ${ac_cv_func_alloca_works+:} false; then :
    108305851  $as_echo_n "(cached) " >&6
    108315852else
    108325853  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    108335854/* end confdefs.h.  */
     5855#ifdef __GNUC__
     5856# define alloca __builtin_alloca
     5857#else
     5858# ifdef _MSC_VER
     5859#  include <malloc.h>
     5860#  define alloca _alloca
     5861# else
     5862#  ifdef HAVE_ALLOCA_H
     5863#   include <alloca.h>
     5864#  else
     5865#   ifdef _AIX
     5866 #pragma alloca
     5867#   else
     5868#    ifndef alloca /* predefined by HP cc +Olibcalls */
     5869void *alloca (size_t);
     5870#    endif
     5871#   endif
     5872#  endif
     5873# endif
     5874#endif
    108345875
    108355876int
    108365877main ()
    108375878{
    10838 
     5879char *p = (char *) alloca (1);
     5880                                    if (p) return 0;
    108395881  ;
    108405882  return 0;
     
    108425884_ACEOF
    108435885if ac_fn_c_try_link "$LINENO"; then :
    10844 
    10845   lt_aix_libpath_sed='
    10846       /Import File Strings/,/^$/ {
    10847           /^0/ {
    10848               s/^0  *\([^ ]*\) *$/\1/
    10849               p
    10850           }
    10851       }'
    10852   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    10853   # Check for a 64-bit object if we didn't find anything.
    10854   if test -z "$lt_cv_aix_libpath_"; then
    10855     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    10856   fi
     5886  ac_cv_func_alloca_works=yes
     5887else
     5888  ac_cv_func_alloca_works=no
    108575889fi
    108585890rm -f core conftest.err conftest.$ac_objext \
    108595891    conftest$ac_exeext conftest.$ac_ext
    10860   if test -z "$lt_cv_aix_libpath_"; then
    10861     lt_cv_aix_libpath_=/usr/lib:/lib
    10862   fi
    10863 
    10864 fi
    10865 
    10866   aix_libpath=$lt_cv_aix_libpath_
    10867 fi
    10868 
    10869          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
    10870           # Warning - without using the other run time loading flags,
    10871           # -berok will link without error, but may produce a broken library.
    10872           no_undefined_flag=' $wl-bernotok'
    10873           allow_undefined_flag=' $wl-berok'
    10874           if test yes = "$with_gnu_ld"; then
    10875             # We only use this code for GNU lds that support --whole-archive.
    10876             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
    10877           else
    10878             # Exported symbols can be pulled into shared objects from archives
    10879             whole_archive_flag_spec='$convenience'
    10880           fi
    10881           archive_cmds_need_lc=yes
    10882           archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
    10883           # -brtl affects multiple linker settings, -berok does not and is overridden later
    10884           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
    10885           if test svr4 != "$with_aix_soname"; then
    10886             # This is similar to how AIX traditionally builds its shared libraries.
    10887             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'
    10888           fi
    10889           if test aix != "$with_aix_soname"; then
    10890             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'
    10891           else
    10892             # used by -dlpreopen to get the symbols
    10893             archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
    10894           fi
    10895           archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
    10896         fi
    10897       fi
    10898       ;;
    10899 
    10900     amigaos*)
    10901       case $host_cpu in
    10902       powerpc)
    10903             # see comment about AmigaOS4 .so support
    10904             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    10905             archive_expsym_cmds=''
    10906         ;;
    10907       m68k)
    10908             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)'
    10909             hardcode_libdir_flag_spec='-L$libdir'
    10910             hardcode_minus_L=yes
    10911         ;;
    10912       esac
    10913       ;;
    10914 
    10915     bsdi[45]*)
    10916       export_dynamic_flag_spec=-rdynamic
    10917       ;;
    10918 
    10919     cygwin* | mingw* | pw32* | cegcc*)
    10920       # When not using gcc, we currently assume that we are using
    10921       # Microsoft Visual C++.
    10922       # hardcode_libdir_flag_spec is actually meaningless, as there is
    10923       # no search path for DLLs.
    10924       case $cc_basename in
    10925       cl*)
    10926         # Native MSVC
    10927         hardcode_libdir_flag_spec=' '
    10928         allow_undefined_flag=unsupported
    10929         always_export_symbols=yes
    10930         file_list_spec='@'
    10931         # Tell ltmain to make .lib files, not .a files.
    10932         libext=lib
    10933         # Tell ltmain to make .dll files, not .so files.
    10934         shrext_cmds=.dll
    10935         # FIXME: Setting linknames here is a bad hack.
    10936         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
    10937         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    10938             cp "$export_symbols" "$output_objdir/$soname.def";
    10939             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
    10940           else
    10941             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
    10942           fi~
    10943           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    10944           linknames='
    10945         # The linker will not automatically build a static lib if we build a DLL.
    10946         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
    10947         enable_shared_with_static_runtimes=yes
    10948         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
    10949         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
    10950         # Don't use ranlib
    10951         old_postinstall_cmds='chmod 644 $oldlib'
    10952         postlink_cmds='lt_outputfile="@OUTPUT@"~
    10953           lt_tool_outputfile="@TOOL_OUTPUT@"~
    10954           case $lt_outputfile in
    10955             *.exe|*.EXE) ;;
    10956             *)
    10957               lt_outputfile=$lt_outputfile.exe
    10958               lt_tool_outputfile=$lt_tool_outputfile.exe
    10959               ;;
    10960           esac~
    10961           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
    10962             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    10963             $RM "$lt_outputfile.manifest";
    10964           fi'
    10965         ;;
    10966       *)
    10967         # Assume MSVC wrapper
    10968         hardcode_libdir_flag_spec=' '
    10969         allow_undefined_flag=unsupported
    10970         # Tell ltmain to make .lib files, not .a files.
    10971         libext=lib
    10972         # Tell ltmain to make .dll files, not .so files.
    10973         shrext_cmds=.dll
    10974         # FIXME: Setting linknames here is a bad hack.
    10975         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
    10976         # The linker will automatically build a .lib file if we build a DLL.
    10977         old_archive_from_new_cmds='true'
    10978         # FIXME: Should let the user specify the lib program.
    10979         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
    10980         enable_shared_with_static_runtimes=yes
    10981         ;;
    10982       esac
    10983       ;;
    10984 
    10985     darwin* | rhapsody*)
    10986 
    10987 
    10988   archive_cmds_need_lc=no
    10989   hardcode_direct=no
    10990   hardcode_automatic=yes
    10991   hardcode_shlibpath_var=unsupported
    10992   if test yes = "$lt_cv_ld_force_load"; then
    10993     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\"`'
    10994 
    10995   else
    10996     whole_archive_flag_spec=''
    10997   fi
    10998   link_all_deplibs=yes
    10999   allow_undefined_flag=$_lt_dar_allow_undefined
    11000   case $cc_basename in
    11001      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
    11002      *) _lt_dar_can_shared=$GCC ;;
    11003   esac
    11004   if test yes = "$_lt_dar_can_shared"; then
    11005     output_verbose_link_cmd=func_echo_all
    11006     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
    11007     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
    11008     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"
    11009     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"
    11010 
    11011   else
    11012   ld_shlibs=no
    11013   fi
    11014 
    11015       ;;
    11016 
    11017     dgux*)
    11018       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    11019       hardcode_libdir_flag_spec='-L$libdir'
    11020       hardcode_shlibpath_var=no
    11021       ;;
    11022 
    11023     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
    11024     # support.  Future versions do this automatically, but an explicit c++rt0.o
    11025     # does not break anything, and helps significantly (at the cost of a little
    11026     # extra space).
    11027     freebsd2.2*)
    11028       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
    11029       hardcode_libdir_flag_spec='-R$libdir'
    11030       hardcode_direct=yes
    11031       hardcode_shlibpath_var=no
    11032       ;;
    11033 
    11034     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    11035     freebsd2.*)
    11036       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    11037       hardcode_direct=yes
    11038       hardcode_minus_L=yes
    11039       hardcode_shlibpath_var=no
    11040       ;;
    11041 
    11042     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
    11043     freebsd* | dragonfly*)
    11044       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    11045       hardcode_libdir_flag_spec='-R$libdir'
    11046       hardcode_direct=yes
    11047       hardcode_shlibpath_var=no
    11048       ;;
    11049 
    11050     hpux9*)
    11051       if test yes = "$GCC"; then
    11052         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'
    11053       else
    11054         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'
    11055       fi
    11056       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    11057       hardcode_libdir_separator=:
    11058       hardcode_direct=yes
    11059 
    11060       # hardcode_minus_L: Not really in the search PATH,
    11061       # but as the default location of the library.
    11062       hardcode_minus_L=yes
    11063       export_dynamic_flag_spec='$wl-E'
    11064       ;;
    11065 
    11066     hpux10*)
    11067       if test yes,no = "$GCC,$with_gnu_ld"; then
    11068         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    11069       else
    11070         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    11071       fi
    11072       if test no = "$with_gnu_ld"; then
    11073         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    11074         hardcode_libdir_separator=:
    11075         hardcode_direct=yes
    11076         hardcode_direct_absolute=yes
    11077         export_dynamic_flag_spec='$wl-E'
    11078         # hardcode_minus_L: Not really in the search PATH,
    11079         # but as the default location of the library.
    11080         hardcode_minus_L=yes
    11081       fi
    11082       ;;
    11083 
    11084     hpux11*)
    11085       if test yes,no = "$GCC,$with_gnu_ld"; then
    11086         case $host_cpu in
    11087         hppa*64*)
    11088           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    11089           ;;
    11090         ia64*)
    11091           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    11092           ;;
    11093         *)
    11094           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    11095           ;;
    11096         esac
    11097       else
    11098         case $host_cpu in
    11099         hppa*64*)
    11100           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    11101           ;;
    11102         ia64*)
    11103           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    11104           ;;
    11105         *)
    11106 
    11107           # Older versions of the 11.00 compiler do not understand -b yet
    11108           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
    11109           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
    11110 $as_echo_n "checking if $CC understands -b... " >&6; }
    11111 if ${lt_cv_prog_compiler__b+:} false; then :
     5892fi
     5893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
     5894$as_echo "$ac_cv_func_alloca_works" >&6; }
     5895
     5896if test $ac_cv_func_alloca_works = yes; then
     5897
     5898$as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
     5899
     5900else
     5901  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
     5902# that cause trouble.  Some versions do not even contain alloca or
     5903# contain a buggy version.  If you still want to use their alloca,
     5904# use ar to extract alloca.o from them instead of compiling alloca.c.
     5905
     5906ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
     5907
     5908$as_echo "#define C_ALLOCA 1" >>confdefs.h
     5909
     5910
     5911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
     5912$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
     5913if ${ac_cv_os_cray+:} false; then :
    111125914  $as_echo_n "(cached) " >&6
    111135915else
    11114   lt_cv_prog_compiler__b=no
    11115    save_LDFLAGS=$LDFLAGS
    11116    LDFLAGS="$LDFLAGS -b"
    11117    echo "$lt_simple_link_test_code" > conftest.$ac_ext
    11118    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    11119      # The linker can only warn and ignore the option if not recognized
    11120      # So say no if there are warnings
    11121      if test -s conftest.err; then
    11122        # Append any errors to the config.log.
    11123        cat conftest.err 1>&5
    11124        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
    11125        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    11126        if diff conftest.exp conftest.er2 >/dev/null; then
    11127          lt_cv_prog_compiler__b=yes
    11128        fi
    11129      else
    11130        lt_cv_prog_compiler__b=yes
    11131      fi
    11132    fi
    11133    $RM -r conftest*
    11134    LDFLAGS=$save_LDFLAGS
    11135 
    11136 fi
    11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
    11138 $as_echo "$lt_cv_prog_compiler__b" >&6; }
    11139 
    11140 if test yes = "$lt_cv_prog_compiler__b"; then
    11141     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    11142 else
    11143     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    11144 fi
    11145 
    11146           ;;
    11147         esac
    11148       fi
    11149       if test no = "$with_gnu_ld"; then
    11150         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    11151         hardcode_libdir_separator=:
    11152 
    11153         case $host_cpu in
    11154         hppa*64*|ia64*)
    11155           hardcode_direct=no
    11156           hardcode_shlibpath_var=no
    11157           ;;
    11158         *)
    11159           hardcode_direct=yes
    11160           hardcode_direct_absolute=yes
    11161           export_dynamic_flag_spec='$wl-E'
    11162 
    11163           # hardcode_minus_L: Not really in the search PATH,
    11164           # but as the default location of the library.
    11165           hardcode_minus_L=yes
    11166           ;;
    11167         esac
    11168       fi
    11169       ;;
    11170 
    11171     irix5* | irix6* | nonstopux*)
    11172       if test yes = "$GCC"; then
    11173         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'
    11174         # Try to use the -exported_symbol ld option, if it does not
    11175         # work, assume that -exports_file does not work either and
    11176         # implicitly export all symbols.
    11177         # This should be the same for all languages, so no per-tag cache variable.
    11178         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
    11179 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
    11180 if ${lt_cv_irix_exported_symbol+:} false; then :
    11181   $as_echo_n "(cached) " >&6
    11182 else
    11183   save_LDFLAGS=$LDFLAGS
    11184            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
    11185            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    11186 /* end confdefs.h.  */
    11187 int foo (void) { return 0; }
    11188 _ACEOF
    11189 if ac_fn_c_try_link "$LINENO"; then :
    11190   lt_cv_irix_exported_symbol=yes
    11191 else
    11192   lt_cv_irix_exported_symbol=no
    11193 fi
    11194 rm -f core conftest.err conftest.$ac_objext \
    11195     conftest$ac_exeext conftest.$ac_ext
    11196            LDFLAGS=$save_LDFLAGS
    11197 fi
    11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
    11199 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
    11200         if test yes = "$lt_cv_irix_exported_symbol"; then
    11201           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'
    11202         fi
    11203         link_all_deplibs=no
    11204       else
    11205         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'
    11206         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'
    11207       fi
    11208       archive_cmds_need_lc='no'
    11209       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    11210       hardcode_libdir_separator=:
    11211       inherit_rpath=yes
    11212       link_all_deplibs=yes
    11213       ;;
    11214 
    11215     linux*)
    11216       case $cc_basename in
    11217       tcc*)
    11218         # Fabrice Bellard et al's Tiny C Compiler
    11219         ld_shlibs=yes
    11220         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    11221         ;;
    11222       esac
    11223       ;;
    11224 
    11225     netbsd* | netbsdelf*-gnu)
    11226       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    11227         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
    11228       else
    11229         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
    11230       fi
    11231       hardcode_libdir_flag_spec='-R$libdir'
    11232       hardcode_direct=yes
    11233       hardcode_shlibpath_var=no
    11234       ;;
    11235 
    11236     newsos6)
    11237       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    11238       hardcode_direct=yes
    11239       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    11240       hardcode_libdir_separator=:
    11241       hardcode_shlibpath_var=no
    11242       ;;
    11243 
    11244     *nto* | *qnx*)
    11245       ;;
    11246 
    11247     openbsd* | bitrig*)
    11248       if test -f /usr/libexec/ld.so; then
    11249         hardcode_direct=yes
    11250         hardcode_shlibpath_var=no
    11251         hardcode_direct_absolute=yes
    11252         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    11253           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    11254           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
    11255           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
    11256           export_dynamic_flag_spec='$wl-E'
    11257         else
    11258           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    11259           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
    11260         fi
    11261       else
    11262         ld_shlibs=no
    11263       fi
    11264       ;;
    11265 
    11266     os2*)
    11267       hardcode_libdir_flag_spec='-L$libdir'
    11268       hardcode_minus_L=yes
    11269       allow_undefined_flag=unsupported
    11270       shrext_cmds=.dll
    11271       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    11272         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    11273         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    11274         $ECHO EXPORTS >> $output_objdir/$libname.def~
    11275         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    11276         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    11277         emximp -o $lib $output_objdir/$libname.def'
    11278       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    11279         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    11280         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    11281         $ECHO EXPORTS >> $output_objdir/$libname.def~
    11282         prefix_cmds="$SED"~
    11283         if test EXPORTS = "`$SED 1q $export_symbols`"; then
    11284           prefix_cmds="$prefix_cmds -e 1d";
    11285         fi~
    11286         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    11287         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    11288         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    11289         emximp -o $lib $output_objdir/$libname.def'
    11290       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    11291       enable_shared_with_static_runtimes=yes
    11292       ;;
    11293 
    11294     osf3*)
    11295       if test yes = "$GCC"; then
    11296         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
    11297         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'
    11298       else
    11299         allow_undefined_flag=' -expect_unresolved \*'
    11300         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'
    11301       fi
    11302       archive_cmds_need_lc='no'
    11303       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    11304       hardcode_libdir_separator=:
    11305       ;;
    11306 
    11307     osf4* | osf5*)      # as osf3* with the addition of -msym flag
    11308       if test yes = "$GCC"; then
    11309         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
    11310         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'
    11311         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    11312       else
    11313         allow_undefined_flag=' -expect_unresolved \*'
    11314         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'
    11315         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~
    11316           $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'
    11317 
    11318         # Both c and cxx compiler support -rpath directly
    11319         hardcode_libdir_flag_spec='-rpath $libdir'
    11320       fi
    11321       archive_cmds_need_lc='no'
    11322       hardcode_libdir_separator=:
    11323       ;;
    11324 
    11325     solaris*)
    11326       no_undefined_flag=' -z defs'
    11327       if test yes = "$GCC"; then
    11328         wlarc='$wl'
    11329         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    11330         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    11331           $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'
    11332       else
    11333         case `$CC -V 2>&1` in
    11334         *"Compilers 5.0"*)
    11335           wlarc=''
    11336           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
    11337           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    11338             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
    11339           ;;
    11340         *)
    11341           wlarc='$wl'
    11342           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
    11343           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    11344             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
    11345           ;;
    11346         esac
    11347       fi
    11348       hardcode_libdir_flag_spec='-R$libdir'
    11349       hardcode_shlibpath_var=no
    11350       case $host_os in
    11351       solaris2.[0-5] | solaris2.[0-5].*) ;;
    11352       *)
    11353         # The compiler driver will combine and reorder linker options,
    11354         # but understands '-z linker_flag'.  GCC discards it without '$wl',
    11355         # but is careful enough not to reorder.
    11356         # Supported since Solaris 2.6 (maybe 2.5.1?)
    11357         if test yes = "$GCC"; then
    11358           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
    11359         else
    11360           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
    11361         fi
    11362         ;;
    11363       esac
    11364       link_all_deplibs=yes
    11365       ;;
    11366 
    11367     sunos4*)
    11368       if test sequent = "$host_vendor"; then
    11369         # Use $CC to link under sequent, because it throws in some extra .o
    11370         # files that make .init and .fini sections work.
    11371         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    11372       else
    11373         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
    11374       fi
    11375       hardcode_libdir_flag_spec='-L$libdir'
    11376       hardcode_direct=yes
    11377       hardcode_minus_L=yes
    11378       hardcode_shlibpath_var=no
    11379       ;;
    11380 
    11381     sysv4)
    11382       case $host_vendor in
    11383         sni)
    11384           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    11385           hardcode_direct=yes # is this really true???
    11386         ;;
    11387         siemens)
    11388           ## LD is ld it makes a PLAMLIB
    11389           ## CC just makes a GrossModule.
    11390           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
    11391           reload_cmds='$CC -r -o $output$reload_objs'
    11392           hardcode_direct=no
    11393         ;;
    11394         motorola)
    11395           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    11396           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
    11397         ;;
    11398       esac
    11399       runpath_var='LD_RUN_PATH'
    11400       hardcode_shlibpath_var=no
    11401       ;;
    11402 
    11403     sysv4.3*)
    11404       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    11405       hardcode_shlibpath_var=no
    11406       export_dynamic_flag_spec='-Bexport'
    11407       ;;
    11408 
    11409     sysv4*MP*)
    11410       if test -d /usr/nec; then
    11411         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    11412         hardcode_shlibpath_var=no
    11413         runpath_var=LD_RUN_PATH
    11414         hardcode_runpath_var=yes
    11415         ld_shlibs=yes
    11416       fi
    11417       ;;
    11418 
    11419     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    11420       no_undefined_flag='$wl-z,text'
    11421       archive_cmds_need_lc=no
    11422       hardcode_shlibpath_var=no
    11423       runpath_var='LD_RUN_PATH'
    11424 
    11425       if test yes = "$GCC"; then
    11426         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    11427         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    11428       else
    11429         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    11430         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    11431       fi
    11432       ;;
    11433 
    11434     sysv5* | sco3.2v5* | sco5v6*)
    11435       # Note: We CANNOT use -z defs as we might desire, because we do not
    11436       # link with -lc, and that would cause any symbols used from libc to
    11437       # always be unresolved, which means just about no library would
    11438       # ever link correctly.  If we're not using GNU ld we use -z text
    11439       # though, which does catch some bad symbols but isn't as heavy-handed
    11440       # as -z defs.
    11441       no_undefined_flag='$wl-z,text'
    11442       allow_undefined_flag='$wl-z,nodefs'
    11443       archive_cmds_need_lc=no
    11444       hardcode_shlibpath_var=no
    11445       hardcode_libdir_flag_spec='$wl-R,$libdir'
    11446       hardcode_libdir_separator=':'
    11447       link_all_deplibs=yes
    11448       export_dynamic_flag_spec='$wl-Bexport'
    11449       runpath_var='LD_RUN_PATH'
    11450 
    11451       if test yes = "$GCC"; then
    11452         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    11453         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    11454       else
    11455         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    11456         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    11457       fi
    11458       ;;
    11459 
    11460     uts4*)
    11461       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    11462       hardcode_libdir_flag_spec='-L$libdir'
    11463       hardcode_shlibpath_var=no
    11464       ;;
    11465 
    11466     *)
    11467       ld_shlibs=no
    11468       ;;
    11469     esac
    11470 
    11471     if test sni = "$host_vendor"; then
    11472       case $host in
    11473       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    11474         export_dynamic_flag_spec='$wl-Blargedynsym'
    11475         ;;
    11476       esac
    11477     fi
    11478   fi
    11479 
    11480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
    11481 $as_echo "$ld_shlibs" >&6; }
    11482 test no = "$ld_shlibs" && can_build_shared=no
    11483 
    11484 with_gnu_ld=$with_gnu_ld
    11485 
    11486 
    11487 
    11488 
    11489 
    11490 
    11491 
    11492 
    11493 
    11494 
    11495 
    11496 
    11497 
    11498 
    11499 
    11500 #
    11501 # Do we need to explicitly link libc?
    11502 #
    11503 case "x$archive_cmds_need_lc" in
    11504 x|xyes)
    11505   # Assume -lc should be added
    11506   archive_cmds_need_lc=yes
    11507 
    11508   if test yes,yes = "$GCC,$enable_shared"; then
    11509     case $archive_cmds in
    11510     *'~'*)
    11511       # FIXME: we may have to deal with multi-command sequences.
    11512       ;;
    11513     '$CC '*)
    11514       # Test whether the compiler implicitly links with -lc since on some
    11515       # systems, -lgcc has to come before -lc. If gcc already passes -lc
    11516       # to ld, don't add -lc before -lgcc.
    11517       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
    11518 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
    11519 if ${lt_cv_archive_cmds_need_lc+:} false; then :
    11520   $as_echo_n "(cached) " >&6
    11521 else
    11522   $RM conftest*
    11523         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    11524 
    11525         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    11526   (eval $ac_compile) 2>&5
    11527   ac_status=$?
    11528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    11529   test $ac_status = 0; } 2>conftest.err; then
    11530           soname=conftest
    11531           lib=conftest
    11532           libobjs=conftest.$ac_objext
    11533           deplibs=
    11534           wl=$lt_prog_compiler_wl
    11535           pic_flag=$lt_prog_compiler_pic
    11536           compiler_flags=-v
    11537           linker_flags=-v
    11538           verstring=
    11539           output_objdir=.
    11540           libname=conftest
    11541           lt_save_allow_undefined_flag=$allow_undefined_flag
    11542           allow_undefined_flag=
    11543           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
    11544   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
    11545   ac_status=$?
    11546   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    11547   test $ac_status = 0; }
    11548           then
    11549             lt_cv_archive_cmds_need_lc=no
    11550           else
    11551             lt_cv_archive_cmds_need_lc=yes
    11552           fi
    11553           allow_undefined_flag=$lt_save_allow_undefined_flag
    11554         else
    11555           cat conftest.err 1>&5
    11556         fi
    11557         $RM conftest*
    11558 
    11559 fi
    11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
    11561 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
    11562       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
    11563       ;;
    11564     esac
    11565   fi
    11566   ;;
    11567 esac
    11568 
    11569 
    11570 
    11571 
    11572 
    11573 
    11574 
    11575 
    11576 
    11577 
    11578 
    11579 
    11580 
    11581 
    11582 
    11583 
    11584 
    11585 
    11586 
    11587 
    11588 
    11589 
    11590 
    11591 
    11592 
    11593 
    11594 
    11595 
    11596 
    11597 
    11598 
    11599 
    11600 
    11601 
    11602 
    11603 
    11604 
    11605 
    11606 
    11607 
    11608 
    11609 
    11610 
    11611 
    11612 
    11613 
    11614 
    11615 
    11616 
    11617 
    11618 
    11619 
    11620 
    11621 
    11622 
    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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
    11721 $as_echo_n "checking dynamic linker characteristics... " >&6; }
    11722 
    11723 if test yes = "$GCC"; then
    11724   case $host_os in
    11725     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
    11726     *) lt_awk_arg='/^libraries:/' ;;
    11727   esac
    11728   case $host_os in
    11729     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
    11730     *) lt_sed_strip_eq='s|=/|/|g' ;;
    11731   esac
    11732   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
    11733   case $lt_search_path_spec in
    11734   *\;*)
    11735     # if the path contains ";" then we assume it to be the separator
    11736     # otherwise default to the standard path separator (i.e. ":") - it is
    11737     # assumed that no part of a normal pathname contains ";" but that should
    11738     # okay in the real world where ";" in dirpaths is itself problematic.
    11739     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
    11740     ;;
    11741   *)
    11742     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
    11743     ;;
    11744   esac
    11745   # Ok, now we have the path, separated by spaces, we can step through it
    11746   # and add multilib dir if necessary...
    11747   lt_tmp_lt_search_path_spec=
    11748   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
    11749   # ...but if some path component already ends with the multilib dir we assume
    11750   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
    11751   case "$lt_multi_os_dir; $lt_search_path_spec " in
    11752   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
    11753     lt_multi_os_dir=
    11754     ;;
    11755   esac
    11756   for lt_sys_path in $lt_search_path_spec; do
    11757     if test -d "$lt_sys_path$lt_multi_os_dir"; then
    11758       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
    11759     elif test -n "$lt_multi_os_dir"; then
    11760       test -d "$lt_sys_path" && \
    11761         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
    11762     fi
    11763   done
    11764   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
    11765 BEGIN {RS = " "; FS = "/|\n";} {
    11766   lt_foo = "";
    11767   lt_count = 0;
    11768   for (lt_i = NF; lt_i > 0; lt_i--) {
    11769     if ($lt_i != "" && $lt_i != ".") {
    11770       if ($lt_i == "..") {
    11771         lt_count++;
    11772       } else {
    11773         if (lt_count == 0) {
    11774           lt_foo = "/" $lt_i lt_foo;
    11775         } else {
    11776           lt_count--;
    11777         }
    11778       }
    11779     }
    11780   }
    11781   if (lt_foo != "") { lt_freq[lt_foo]++; }
    11782   if (lt_freq[lt_foo] == 1) { print lt_foo; }
    11783 }'`
    11784   # AWK program above erroneously prepends '/' to C:/dos/paths
    11785   # for these hosts.
    11786   case $host_os in
    11787     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
    11788       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
    11789   esac
    11790   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
    11791 else
    11792   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    11793 fi
    11794 library_names_spec=
    11795 libname_spec='lib$name'
    11796 soname_spec=
    11797 shrext_cmds=.so
    11798 postinstall_cmds=
    11799 postuninstall_cmds=
    11800 finish_cmds=
    11801 finish_eval=
    11802 shlibpath_var=
    11803 shlibpath_overrides_runpath=unknown
    11804 version_type=none
    11805 dynamic_linker="$host_os ld.so"
    11806 sys_lib_dlsearch_path_spec="/lib /usr/lib"
    11807 need_lib_prefix=unknown
    11808 hardcode_into_libs=no
    11809 
    11810 # when you set need_version to no, make sure it does not cause -set_version
    11811 # flags to be left without arguments
    11812 need_version=unknown
    11813 
    11814 
    11815 
    11816 case $host_os in
    11817 aix3*)
    11818   version_type=linux # correct to gnu/linux during the next big refactor
    11819   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
    11820   shlibpath_var=LIBPATH
    11821 
    11822   # AIX 3 has no versioning support, so we append a major version to the name.
    11823   soname_spec='$libname$release$shared_ext$major'
    11824   ;;
    11825 
    11826 aix[4-9]*)
    11827   version_type=linux # correct to gnu/linux during the next big refactor
    11828   need_lib_prefix=no
    11829   need_version=no
    11830   hardcode_into_libs=yes
    11831   if test ia64 = "$host_cpu"; then
    11832     # AIX 5 supports IA64
    11833     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
    11834     shlibpath_var=LD_LIBRARY_PATH
    11835   else
    11836     # With GCC up to 2.95.x, collect2 would create an import file
    11837     # for dependence libraries.  The import file would start with
    11838     # the line '#! .'.  This would cause the generated library to
    11839     # depend on '.', always an invalid library.  This was fixed in
    11840     # development snapshots of GCC prior to 3.0.
    11841     case $host_os in
    11842       aix4 | aix4.[01] | aix4.[01].*)
    11843       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    11844            echo ' yes '
    11845            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
    11846         :
    11847       else
    11848         can_build_shared=no
    11849       fi
    11850       ;;
    11851     esac
    11852     # Using Import Files as archive members, it is possible to support
    11853     # filename-based versioning of shared library archives on AIX. While
    11854     # this would work for both with and without runtime linking, it will
    11855     # prevent static linking of such archives. So we do filename-based
    11856     # shared library versioning with .so extension only, which is used
    11857     # when both runtime linking and shared linking is enabled.
    11858     # Unfortunately, runtime linking may impact performance, so we do
    11859     # not want this to be the default eventually. Also, we use the
    11860     # versioned .so libs for executables only if there is the -brtl
    11861     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
    11862     # To allow for filename-based versioning support, we need to create
    11863     # libNAME.so.V as an archive file, containing:
    11864     # *) an Import File, referring to the versioned filename of the
    11865     #    archive as well as the shared archive member, telling the
    11866     #    bitwidth (32 or 64) of that shared object, and providing the
    11867     #    list of exported symbols of that shared object, eventually
    11868     #    decorated with the 'weak' keyword
    11869     # *) the shared object with the F_LOADONLY flag set, to really avoid
    11870     #    it being seen by the linker.
    11871     # At run time we better use the real file rather than another symlink,
    11872     # but for link time we create the symlink libNAME.so -> libNAME.so.V
    11873 
    11874     case $with_aix_soname,$aix_use_runtimelinking in
    11875     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
    11876     # soname into executable. Probably we can add versioning support to
    11877     # collect2, so additional links can be useful in future.
    11878     aix,yes) # traditional libtool
    11879       dynamic_linker='AIX unversionable lib.so'
    11880       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    11881       # instead of lib<name>.a to let people know that these are not
    11882       # typical AIX shared libraries.
    11883       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11884       ;;
    11885     aix,no) # traditional AIX only
    11886       dynamic_linker='AIX lib.a(lib.so.V)'
    11887       # We preserve .a as extension for shared libraries through AIX4.2
    11888       # and later when we are not doing run time linking.
    11889       library_names_spec='$libname$release.a $libname.a'
    11890       soname_spec='$libname$release$shared_ext$major'
    11891       ;;
    11892     svr4,*) # full svr4 only
    11893       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
    11894       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    11895       # We do not specify a path in Import Files, so LIBPATH fires.
    11896       shlibpath_overrides_runpath=yes
    11897       ;;
    11898     *,yes) # both, prefer svr4
    11899       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
    11900       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    11901       # unpreferred sharedlib libNAME.a needs extra handling
    11902       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"'
    11903       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"'
    11904       # We do not specify a path in Import Files, so LIBPATH fires.
    11905       shlibpath_overrides_runpath=yes
    11906       ;;
    11907     *,no) # both, prefer aix
    11908       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
    11909       library_names_spec='$libname$release.a $libname.a'
    11910       soname_spec='$libname$release$shared_ext$major'
    11911       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
    11912       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)'
    11913       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"'
    11914       ;;
    11915     esac
    11916     shlibpath_var=LIBPATH
    11917   fi
    11918   ;;
    11919 
    11920 amigaos*)
    11921   case $host_cpu in
    11922   powerpc)
    11923     # Since July 2007 AmigaOS4 officially supports .so libraries.
    11924     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    11925     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11926     ;;
    11927   m68k)
    11928     library_names_spec='$libname.ixlibrary $libname.a'
    11929     # Create ${libname}_ixlibrary.a entries in /sys/libs.
    11930     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'
    11931     ;;
    11932   esac
    11933   ;;
    11934 
    11935 beos*)
    11936   library_names_spec='$libname$shared_ext'
    11937   dynamic_linker="$host_os ld.so"
    11938   shlibpath_var=LIBRARY_PATH
    11939   ;;
    11940 
    11941 bsdi[45]*)
    11942   version_type=linux # correct to gnu/linux during the next big refactor
    11943   need_version=no
    11944   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11945   soname_spec='$libname$release$shared_ext$major'
    11946   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    11947   shlibpath_var=LD_LIBRARY_PATH
    11948   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
    11949   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
    11950   # the default ld.so.conf also contains /usr/contrib/lib and
    11951   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
    11952   # libtool to hard-code these into programs
    11953   ;;
    11954 
    11955 cygwin* | mingw* | pw32* | cegcc*)
    11956   version_type=windows
    11957   shrext_cmds=.dll
    11958   need_version=no
    11959   need_lib_prefix=no
    11960 
    11961   case $GCC,$cc_basename in
    11962   yes,*)
    11963     # gcc
    11964     library_names_spec='$libname.dll.a'
    11965     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    11966     postinstall_cmds='base_file=`basename \$file`~
    11967       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    11968       dldir=$destdir/`dirname \$dlpath`~
    11969       test -d \$dldir || mkdir -p \$dldir~
    11970       $install_prog $dir/$dlname \$dldir/$dlname~
    11971       chmod a+x \$dldir/$dlname~
    11972       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    11973         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    11974       fi'
    11975     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    11976       dlpath=$dir/\$dldll~
    11977        $RM \$dlpath'
    11978     shlibpath_overrides_runpath=yes
    11979 
    11980     case $host_os in
    11981     cygwin*)
    11982       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    11983       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    11984 
    11985       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
    11986       ;;
    11987     mingw* | cegcc*)
    11988       # MinGW DLLs use traditional 'lib' prefix
    11989       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    11990       ;;
    11991     pw32*)
    11992       # pw32 DLLs use 'pw' prefix rather than 'lib'
    11993       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    11994       ;;
    11995     esac
    11996     dynamic_linker='Win32 ld.exe'
    11997     ;;
    11998 
    11999   *,cl*)
    12000     # Native MSVC
    12001     libname_spec='$name'
    12002     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    12003     library_names_spec='$libname.dll.lib'
    12004 
    12005     case $build_os in
    12006     mingw*)
    12007       sys_lib_search_path_spec=
    12008       lt_save_ifs=$IFS
    12009       IFS=';'
    12010       for lt_path in $LIB
    12011       do
    12012         IFS=$lt_save_ifs
    12013         # Let DOS variable expansion print the short 8.3 style file name.
    12014         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
    12015         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
    12016       done
    12017       IFS=$lt_save_ifs
    12018       # Convert to MSYS style.
    12019       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
    12020       ;;
    12021     cygwin*)
    12022       # Convert to unix form, then to dos form, then back to unix form
    12023       # but this time dos style (no spaces!) so that the unix form looks
    12024       # like /cygdrive/c/PROGRA~1:/cygdr...
    12025       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
    12026       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
    12027       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    12028       ;;
    12029     *)
    12030       sys_lib_search_path_spec=$LIB
    12031       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
    12032         # It is most probably a Windows format PATH.
    12033         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    12034       else
    12035         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    12036       fi
    12037       # FIXME: find the short name or the path components, as spaces are
    12038       # common. (e.g. "Program Files" -> "PROGRA~1")
    12039       ;;
    12040     esac
    12041 
    12042     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    12043     postinstall_cmds='base_file=`basename \$file`~
    12044       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    12045       dldir=$destdir/`dirname \$dlpath`~
    12046       test -d \$dldir || mkdir -p \$dldir~
    12047       $install_prog $dir/$dlname \$dldir/$dlname'
    12048     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    12049       dlpath=$dir/\$dldll~
    12050        $RM \$dlpath'
    12051     shlibpath_overrides_runpath=yes
    12052     dynamic_linker='Win32 link.exe'
    12053     ;;
    12054 
    12055   *)
    12056     # Assume MSVC wrapper
    12057     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
    12058     dynamic_linker='Win32 ld.exe'
    12059     ;;
    12060   esac
    12061   # FIXME: first we should search . and the directory the executable is in
    12062   shlibpath_var=PATH
    12063   ;;
    12064 
    12065 darwin* | rhapsody*)
    12066   dynamic_linker="$host_os dyld"
    12067   version_type=darwin
    12068   need_lib_prefix=no
    12069   need_version=no
    12070   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
    12071   soname_spec='$libname$release$major$shared_ext'
    12072   shlibpath_overrides_runpath=yes
    12073   shlibpath_var=DYLD_LIBRARY_PATH
    12074   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
    12075 
    12076   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
    12077   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    12078   ;;
    12079 
    12080 dgux*)
    12081   version_type=linux # correct to gnu/linux during the next big refactor
    12082   need_lib_prefix=no
    12083   need_version=no
    12084   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12085   soname_spec='$libname$release$shared_ext$major'
    12086   shlibpath_var=LD_LIBRARY_PATH
    12087   ;;
    12088 
    12089 freebsd* | dragonfly*)
    12090   # DragonFly does not have aout.  When/if they implement a new
    12091   # versioning mechanism, adjust this.
    12092   if test -x /usr/bin/objformat; then
    12093     objformat=`/usr/bin/objformat`
    12094   else
    12095     case $host_os in
    12096     freebsd[23].*) objformat=aout ;;
    12097     *) objformat=elf ;;
    12098     esac
    12099   fi
    12100   version_type=freebsd-$objformat
    12101   case $version_type in
    12102     freebsd-elf*)
    12103       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12104       soname_spec='$libname$release$shared_ext$major'
    12105       need_version=no
    12106       need_lib_prefix=no
    12107       ;;
    12108     freebsd-*)
    12109       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    12110       need_version=yes
    12111       ;;
    12112   esac
    12113   shlibpath_var=LD_LIBRARY_PATH
    12114   case $host_os in
    12115   freebsd2.*)
    12116     shlibpath_overrides_runpath=yes
    12117     ;;
    12118   freebsd3.[01]* | freebsdelf3.[01]*)
    12119     shlibpath_overrides_runpath=yes
    12120     hardcode_into_libs=yes
    12121     ;;
    12122   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
    12123   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
    12124     shlibpath_overrides_runpath=no
    12125     hardcode_into_libs=yes
    12126     ;;
    12127   *) # from 4.6 on, and DragonFly
    12128     shlibpath_overrides_runpath=yes
    12129     hardcode_into_libs=yes
    12130     ;;
    12131   esac
    12132   ;;
    12133 
    12134 haiku*)
    12135   version_type=linux # correct to gnu/linux during the next big refactor
    12136   need_lib_prefix=no
    12137   need_version=no
    12138   dynamic_linker="$host_os runtime_loader"
    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=LIBRARY_PATH
    12142   shlibpath_overrides_runpath=no
    12143   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    12144   hardcode_into_libs=yes
    12145   ;;
    12146 
    12147 hpux9* | hpux10* | hpux11*)
    12148   # Give a soname corresponding to the major version so that dld.sl refuses to
    12149   # link against other versions.
    12150   version_type=sunos
    12151   need_lib_prefix=no
    12152   need_version=no
    12153   case $host_cpu in
    12154   ia64*)
    12155     shrext_cmds='.so'
    12156     hardcode_into_libs=yes
    12157     dynamic_linker="$host_os dld.so"
    12158     shlibpath_var=LD_LIBRARY_PATH
    12159     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    12160     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12161     soname_spec='$libname$release$shared_ext$major'
    12162     if test 32 = "$HPUX_IA64_MODE"; then
    12163       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
    12164       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    12165     else
    12166       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
    12167       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    12168     fi
    12169     ;;
    12170   hppa*64*)
    12171     shrext_cmds='.sl'
    12172     hardcode_into_libs=yes
    12173     dynamic_linker="$host_os dld.sl"
    12174     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    12175     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    12176     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12177     soname_spec='$libname$release$shared_ext$major'
    12178     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    12179     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    12180     ;;
    12181   *)
    12182     shrext_cmds='.sl'
    12183     dynamic_linker="$host_os dld.sl"
    12184     shlibpath_var=SHLIB_PATH
    12185     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    12186     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12187     soname_spec='$libname$release$shared_ext$major'
    12188     ;;
    12189   esac
    12190   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
    12191   postinstall_cmds='chmod 555 $lib'
    12192   # or fails outright, so override atomically:
    12193   install_override_mode=555
    12194   ;;
    12195 
    12196 interix[3-9]*)
    12197   version_type=linux # correct to gnu/linux during the next big refactor
    12198   need_lib_prefix=no
    12199   need_version=no
    12200   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12201   soname_spec='$libname$release$shared_ext$major'
    12202   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    12203   shlibpath_var=LD_LIBRARY_PATH
    12204   shlibpath_overrides_runpath=no
    12205   hardcode_into_libs=yes
    12206   ;;
    12207 
    12208 irix5* | irix6* | nonstopux*)
    12209   case $host_os in
    12210     nonstopux*) version_type=nonstopux ;;
    12211     *)
    12212         if test yes = "$lt_cv_prog_gnu_ld"; then
    12213                 version_type=linux # correct to gnu/linux during the next big refactor
    12214         else
    12215                 version_type=irix
    12216         fi ;;
    12217   esac
    12218   need_lib_prefix=no
    12219   need_version=no
    12220   soname_spec='$libname$release$shared_ext$major'
    12221   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
    12222   case $host_os in
    12223   irix5* | nonstopux*)
    12224     libsuff= shlibsuff=
    12225     ;;
    12226   *)
    12227     case $LD in # libtool.m4 will add one of these switches to LD
    12228     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
    12229       libsuff= shlibsuff= libmagic=32-bit;;
    12230     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
    12231       libsuff=32 shlibsuff=N32 libmagic=N32;;
    12232     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
    12233       libsuff=64 shlibsuff=64 libmagic=64-bit;;
    12234     *) libsuff= shlibsuff= libmagic=never-match;;
    12235     esac
    12236     ;;
    12237   esac
    12238   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    12239   shlibpath_overrides_runpath=no
    12240   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
    12241   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
    12242   hardcode_into_libs=yes
    12243   ;;
    12244 
    12245 # No shared lib support for Linux oldld, aout, or coff.
    12246 linux*oldld* | linux*aout* | linux*coff*)
    12247   dynamic_linker=no
    12248   ;;
    12249 
    12250 linux*android*)
    12251   version_type=none # Android doesn't support versioned libraries.
    12252   need_lib_prefix=no
    12253   need_version=no
    12254   library_names_spec='$libname$release$shared_ext'
    12255   soname_spec='$libname$release$shared_ext'
    12256   finish_cmds=
    12257   shlibpath_var=LD_LIBRARY_PATH
    12258   shlibpath_overrides_runpath=yes
    12259 
    12260   # This implies no fast_install, which is unacceptable.
    12261   # Some rework will be needed to allow for fast_install
    12262   # before this can be enabled.
    12263   hardcode_into_libs=yes
    12264 
    12265   dynamic_linker='Android linker'
    12266   # Don't embed -rpath directories since the linker doesn't support them.
    12267   hardcode_libdir_flag_spec='-L$libdir'
    12268   ;;
    12269 
    12270 # This must be glibc/ELF.
    12271 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    12272   version_type=linux # correct to gnu/linux during the next big refactor
    12273   need_lib_prefix=no
    12274   need_version=no
    12275   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12276   soname_spec='$libname$release$shared_ext$major'
    12277   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    12278   shlibpath_var=LD_LIBRARY_PATH
    12279   shlibpath_overrides_runpath=no
    12280 
    12281   # Some binutils ld are patched to set DT_RUNPATH
    12282   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
    12283   $as_echo_n "(cached) " >&6
    12284 else
    12285   lt_cv_shlibpath_overrides_runpath=no
    12286     save_LDFLAGS=$LDFLAGS
    12287     save_libdir=$libdir
    12288     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
    12289          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
    12290     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12291 /* end confdefs.h.  */
    12292 
    12293 int
    12294 main ()
    12295 {
    12296 
    12297   ;
    12298   return 0;
    12299 }
    12300 _ACEOF
    12301 if ac_fn_c_try_link "$LINENO"; then :
    12302   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
    12303   lt_cv_shlibpath_overrides_runpath=yes
    12304 fi
    12305 fi
    12306 rm -f core conftest.err conftest.$ac_objext \
    12307     conftest$ac_exeext conftest.$ac_ext
    12308     LDFLAGS=$save_LDFLAGS
    12309     libdir=$save_libdir
    12310 
    12311 fi
    12312 
    12313   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
    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   # Ideally, we could use ldconfig to report *all* directores which are
    12321   # searched for libraries, however this is still not possible.  Aside from not
    12322   # being certain /sbin/ldconfig is available, command
    12323   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
    12324   # even though it is searched at run-time.  Try to do the best guess by
    12325   # appending ld.so.conf contents (and includes) to the search path.
    12326   if test -f /etc/ld.so.conf; then
    12327     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' ' '`
    12328     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    12329   fi
    12330 
    12331   # We used to test for /lib/ld.so.1 and disable shared libraries on
    12332   # powerpc, because MkLinux only supported shared libraries with the
    12333   # GNU dynamic linker.  Since this was broken with cross compilers,
    12334   # most powerpc-linux boxes support dynamic linking these days and
    12335   # people can always --disable-shared, the test was removed, and we
    12336   # assume the GNU/Linux dynamic linker is in use.
    12337   dynamic_linker='GNU/Linux ld.so'
    12338   ;;
    12339 
    12340 netbsdelf*-gnu)
    12341   version_type=linux
    12342   need_lib_prefix=no
    12343   need_version=no
    12344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    12345   soname_spec='${libname}${release}${shared_ext}$major'
    12346   shlibpath_var=LD_LIBRARY_PATH
    12347   shlibpath_overrides_runpath=no
    12348   hardcode_into_libs=yes
    12349   dynamic_linker='NetBSD ld.elf_so'
    12350   ;;
    12351 
    12352 netbsd*)
    12353   version_type=sunos
    12354   need_lib_prefix=no
    12355   need_version=no
    12356   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    12357     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    12358     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    12359     dynamic_linker='NetBSD (a.out) ld.so'
    12360   else
    12361     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12362     soname_spec='$libname$release$shared_ext$major'
    12363     dynamic_linker='NetBSD ld.elf_so'
    12364   fi
    12365   shlibpath_var=LD_LIBRARY_PATH
    12366   shlibpath_overrides_runpath=yes
    12367   hardcode_into_libs=yes
    12368   ;;
    12369 
    12370 newsos6)
    12371   version_type=linux # correct to gnu/linux during the next big refactor
    12372   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12373   shlibpath_var=LD_LIBRARY_PATH
    12374   shlibpath_overrides_runpath=yes
    12375   ;;
    12376 
    12377 *nto* | *qnx*)
    12378   version_type=qnx
    12379   need_lib_prefix=no
    12380   need_version=no
    12381   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12382   soname_spec='$libname$release$shared_ext$major'
    12383   shlibpath_var=LD_LIBRARY_PATH
    12384   shlibpath_overrides_runpath=no
    12385   hardcode_into_libs=yes
    12386   dynamic_linker='ldqnx.so'
    12387   ;;
    12388 
    12389 openbsd* | bitrig*)
    12390   version_type=sunos
    12391   sys_lib_dlsearch_path_spec=/usr/lib
    12392   need_lib_prefix=no
    12393   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    12394     need_version=no
    12395   else
    12396     need_version=yes
    12397   fi
    12398   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    12399   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    12400   shlibpath_var=LD_LIBRARY_PATH
    12401   shlibpath_overrides_runpath=yes
    12402   ;;
    12403 
    12404 os2*)
    12405   libname_spec='$name'
    12406   version_type=windows
    12407   shrext_cmds=.dll
    12408   need_version=no
    12409   need_lib_prefix=no
    12410   # OS/2 can only load a DLL with a base name of 8 characters or less.
    12411   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
    12412     v=$($ECHO $release$versuffix | tr -d .-);
    12413     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
    12414     $ECHO $n$v`$shared_ext'
    12415   library_names_spec='${libname}_dll.$libext'
    12416   dynamic_linker='OS/2 ld.exe'
    12417   shlibpath_var=BEGINLIBPATH
    12418   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    12419   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    12420   postinstall_cmds='base_file=`basename \$file`~
    12421     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
    12422     dldir=$destdir/`dirname \$dlpath`~
    12423     test -d \$dldir || mkdir -p \$dldir~
    12424     $install_prog $dir/$dlname \$dldir/$dlname~
    12425     chmod a+x \$dldir/$dlname~
    12426     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    12427       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    12428     fi'
    12429   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
    12430     dlpath=$dir/\$dldll~
    12431     $RM \$dlpath'
    12432   ;;
    12433 
    12434 osf3* | osf4* | osf5*)
    12435   version_type=osf
    12436   need_lib_prefix=no
    12437   need_version=no
    12438   soname_spec='$libname$release$shared_ext$major'
    12439   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12440   shlibpath_var=LD_LIBRARY_PATH
    12441   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    12442   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    12443   ;;
    12444 
    12445 rdos*)
    12446   dynamic_linker=no
    12447   ;;
    12448 
    12449 solaris*)
    12450   version_type=linux # correct to gnu/linux during the next big refactor
    12451   need_lib_prefix=no
    12452   need_version=no
    12453   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12454   soname_spec='$libname$release$shared_ext$major'
    12455   shlibpath_var=LD_LIBRARY_PATH
    12456   shlibpath_overrides_runpath=yes
    12457   hardcode_into_libs=yes
    12458   # ldd complains unless libraries are executable
    12459   postinstall_cmds='chmod +x $lib'
    12460   ;;
    12461 
    12462 sunos4*)
    12463   version_type=sunos
    12464   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    12465   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    12466   shlibpath_var=LD_LIBRARY_PATH
    12467   shlibpath_overrides_runpath=yes
    12468   if test yes = "$with_gnu_ld"; then
    12469     need_lib_prefix=no
    12470   fi
    12471   need_version=yes
    12472   ;;
    12473 
    12474 sysv4 | sysv4.3*)
    12475   version_type=linux # correct to gnu/linux during the next big refactor
    12476   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12477   soname_spec='$libname$release$shared_ext$major'
    12478   shlibpath_var=LD_LIBRARY_PATH
    12479   case $host_vendor in
    12480     sni)
    12481       shlibpath_overrides_runpath=no
    12482       need_lib_prefix=no
    12483       runpath_var=LD_RUN_PATH
    12484       ;;
    12485     siemens)
    12486       need_lib_prefix=no
    12487       ;;
    12488     motorola)
    12489       need_lib_prefix=no
    12490       need_version=no
    12491       shlibpath_overrides_runpath=no
    12492       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
    12493       ;;
    12494   esac
    12495   ;;
    12496 
    12497 sysv4*MP*)
    12498   if test -d /usr/nec; then
    12499     version_type=linux # correct to gnu/linux during the next big refactor
    12500     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
    12501     soname_spec='$libname$shared_ext.$major'
    12502     shlibpath_var=LD_LIBRARY_PATH
    12503   fi
    12504   ;;
    12505 
    12506 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    12507   version_type=sco
    12508   need_lib_prefix=no
    12509   need_version=no
    12510   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
    12511   soname_spec='$libname$release$shared_ext$major'
    12512   shlibpath_var=LD_LIBRARY_PATH
    12513   shlibpath_overrides_runpath=yes
    12514   hardcode_into_libs=yes
    12515   if test yes = "$with_gnu_ld"; then
    12516     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    12517   else
    12518     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
    12519     case $host_os in
    12520       sco3.2v5*)
    12521         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
    12522         ;;
    12523     esac
    12524   fi
    12525   sys_lib_dlsearch_path_spec='/usr/lib'
    12526   ;;
    12527 
    12528 tpf*)
    12529   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
    12530   version_type=linux # correct to gnu/linux during the next big refactor
    12531   need_lib_prefix=no
    12532   need_version=no
    12533   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12534   shlibpath_var=LD_LIBRARY_PATH
    12535   shlibpath_overrides_runpath=no
    12536   hardcode_into_libs=yes
    12537   ;;
    12538 
    12539 uts4*)
    12540   version_type=linux # correct to gnu/linux during the next big refactor
    12541   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    12542   soname_spec='$libname$release$shared_ext$major'
    12543   shlibpath_var=LD_LIBRARY_PATH
    12544   ;;
    12545 
    12546 *)
    12547   dynamic_linker=no
    12548   ;;
    12549 esac
    12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
    12551 $as_echo "$dynamic_linker" >&6; }
    12552 test no = "$dynamic_linker" && can_build_shared=no
    12553 
    12554 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    12555 if test yes = "$GCC"; then
    12556   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    12557 fi
    12558 
    12559 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
    12560   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
    12561 fi
    12562 
    12563 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
    12564   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
    12565 fi
    12566 
    12567 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
    12568 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
    12569 
    12570 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
    12571 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
    12572 
    12573 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
    12574 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
    12575 
    12576 
    12577 
    12578 
    12579 
    12580 
    12581 
    12582 
    12583 
    12584 
    12585 
    12586 
    12587 
    12588 
    12589 
    12590 
    12591 
    12592 
    12593 
    12594 
    12595 
    12596 
    12597 
    12598 
    12599 
    12600 
    12601 
    12602 
    12603 
    12604 
    12605 
    12606 
    12607 
    12608 
    12609 
    12610 
    12611 
    12612 
    12613 
    12614 
    12615 
    12616 
    12617 
    12618 
    12619 
    12620 
    12621 
    12622 
    12623 
    12624 
    12625 
    12626 
    12627 
    12628 
    12629 
    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   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
    12673 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
    12674 hardcode_action=
    12675 if test -n "$hardcode_libdir_flag_spec" ||
    12676    test -n "$runpath_var" ||
    12677    test yes = "$hardcode_automatic"; then
    12678 
    12679   # We can hardcode non-existent directories.
    12680   if test no != "$hardcode_direct" &&
    12681      # If the only mechanism to avoid hardcoding is shlibpath_var, we
    12682      # have to relink, otherwise we might link with an installed library
    12683      # when we should be linking with a yet-to-be-installed one
    12684      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
    12685      test no != "$hardcode_minus_L"; then
    12686     # Linking always hardcodes the temporary library directory.
    12687     hardcode_action=relink
    12688   else
    12689     # We can link without hardcoding, and we can hardcode nonexisting dirs.
    12690     hardcode_action=immediate
    12691   fi
    12692 else
    12693   # We cannot hardcode anything, or else we can only hardcode existing
    12694   # directories.
    12695   hardcode_action=unsupported
    12696 fi
    12697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
    12698 $as_echo "$hardcode_action" >&6; }
    12699 
    12700 if test relink = "$hardcode_action" ||
    12701    test yes = "$inherit_rpath"; then
    12702   # Fast installation is not supported
    12703   enable_fast_install=no
    12704 elif test yes = "$shlibpath_overrides_runpath" ||
    12705      test no = "$enable_shared"; then
    12706   # Fast installation is not necessary
    12707   enable_fast_install=needless
    12708 fi
    12709 
    12710 
    12711 
    12712 
    12713 
    12714 
    12715   if test yes != "$enable_dlopen"; then
    12716   enable_dlopen=unknown
    12717   enable_dlopen_self=unknown
    12718   enable_dlopen_self_static=unknown
    12719 else
    12720   lt_cv_dlopen=no
    12721   lt_cv_dlopen_libs=
    12722 
    12723   case $host_os in
    12724   beos*)
    12725     lt_cv_dlopen=load_add_on
    12726     lt_cv_dlopen_libs=
    12727     lt_cv_dlopen_self=yes
    12728     ;;
    12729 
    12730   mingw* | pw32* | cegcc*)
    12731     lt_cv_dlopen=LoadLibrary
    12732     lt_cv_dlopen_libs=
    12733     ;;
    12734 
    12735   cygwin*)
    12736     lt_cv_dlopen=dlopen
    12737     lt_cv_dlopen_libs=
    12738     ;;
    12739 
    12740   darwin*)
    12741     # if libdl is installed we need to link against it
    12742     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    12743 $as_echo_n "checking for dlopen in -ldl... " >&6; }
    12744 if ${ac_cv_lib_dl_dlopen+:} false; then :
    12745   $as_echo_n "(cached) " >&6
    12746 else
    12747   ac_check_lib_save_LIBS=$LIBS
    12748 LIBS="-ldl  $LIBS"
    12749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12750 /* end confdefs.h.  */
    12751 
    12752 /* Override any GCC internal prototype to avoid an error.
    12753    Use char because int might match the return type of a GCC
    12754    builtin and then its argument prototype would still apply.  */
    12755 #ifdef __cplusplus
    12756 extern "C"
    12757 #endif
    12758 char dlopen ();
    12759 int
    12760 main ()
    12761 {
    12762 return dlopen ();
    12763   ;
    12764   return 0;
    12765 }
    12766 _ACEOF
    12767 if ac_fn_c_try_link "$LINENO"; then :
    12768   ac_cv_lib_dl_dlopen=yes
    12769 else
    12770   ac_cv_lib_dl_dlopen=no
    12771 fi
    12772 rm -f core conftest.err conftest.$ac_objext \
    12773     conftest$ac_exeext conftest.$ac_ext
    12774 LIBS=$ac_check_lib_save_LIBS
    12775 fi
    12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    12777 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    12778 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    12779   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
    12780 else
    12781 
    12782     lt_cv_dlopen=dyld
    12783     lt_cv_dlopen_libs=
    12784     lt_cv_dlopen_self=yes
    12785 
    12786 fi
    12787 
    12788     ;;
    12789 
    12790   tpf*)
    12791     # Don't try to run any link tests for TPF.  We know it's impossible
    12792     # because TPF is a cross-compiler, and we know how we open DSOs.
    12793     lt_cv_dlopen=dlopen
    12794     lt_cv_dlopen_libs=
    12795     lt_cv_dlopen_self=no
    12796     ;;
    12797 
    12798   *)
    12799     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
    12800 if test "x$ac_cv_func_shl_load" = xyes; then :
    12801   lt_cv_dlopen=shl_load
    12802 else
    12803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    12804 $as_echo_n "checking for shl_load in -ldld... " >&6; }
    12805 if ${ac_cv_lib_dld_shl_load+:} false; then :
    12806   $as_echo_n "(cached) " >&6
    12807 else
    12808   ac_check_lib_save_LIBS=$LIBS
    12809 LIBS="-ldld  $LIBS"
    12810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12811 /* end confdefs.h.  */
    12812 
    12813 /* Override any GCC internal prototype to avoid an error.
    12814    Use char because int might match the return type of a GCC
    12815    builtin and then its argument prototype would still apply.  */
    12816 #ifdef __cplusplus
    12817 extern "C"
    12818 #endif
    12819 char shl_load ();
    12820 int
    12821 main ()
    12822 {
    12823 return shl_load ();
    12824   ;
    12825   return 0;
    12826 }
    12827 _ACEOF
    12828 if ac_fn_c_try_link "$LINENO"; then :
    12829   ac_cv_lib_dld_shl_load=yes
    12830 else
    12831   ac_cv_lib_dld_shl_load=no
    12832 fi
    12833 rm -f core conftest.err conftest.$ac_objext \
    12834     conftest$ac_exeext conftest.$ac_ext
    12835 LIBS=$ac_check_lib_save_LIBS
    12836 fi
    12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    12838 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    12839 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    12840   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
    12841 else
    12842   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
    12843 if test "x$ac_cv_func_dlopen" = xyes; then :
    12844   lt_cv_dlopen=dlopen
    12845 else
    12846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    12847 $as_echo_n "checking for dlopen in -ldl... " >&6; }
    12848 if ${ac_cv_lib_dl_dlopen+:} false; then :
    12849   $as_echo_n "(cached) " >&6
    12850 else
    12851   ac_check_lib_save_LIBS=$LIBS
    12852 LIBS="-ldl  $LIBS"
    12853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12854 /* end confdefs.h.  */
    12855 
    12856 /* Override any GCC internal prototype to avoid an error.
    12857    Use char because int might match the return type of a GCC
    12858    builtin and then its argument prototype would still apply.  */
    12859 #ifdef __cplusplus
    12860 extern "C"
    12861 #endif
    12862 char dlopen ();
    12863 int
    12864 main ()
    12865 {
    12866 return dlopen ();
    12867   ;
    12868   return 0;
    12869 }
    12870 _ACEOF
    12871 if ac_fn_c_try_link "$LINENO"; then :
    12872   ac_cv_lib_dl_dlopen=yes
    12873 else
    12874   ac_cv_lib_dl_dlopen=no
    12875 fi
    12876 rm -f core conftest.err conftest.$ac_objext \
    12877     conftest$ac_exeext conftest.$ac_ext
    12878 LIBS=$ac_check_lib_save_LIBS
    12879 fi
    12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    12881 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    12882 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    12883   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
    12884 else
    12885   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
    12886 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
    12887 if ${ac_cv_lib_svld_dlopen+:} false; then :
    12888   $as_echo_n "(cached) " >&6
    12889 else
    12890   ac_check_lib_save_LIBS=$LIBS
    12891 LIBS="-lsvld  $LIBS"
    12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12893 /* end confdefs.h.  */
    12894 
    12895 /* Override any GCC internal prototype to avoid an error.
    12896    Use char because int might match the return type of a GCC
    12897    builtin and then its argument prototype would still apply.  */
    12898 #ifdef __cplusplus
    12899 extern "C"
    12900 #endif
    12901 char dlopen ();
    12902 int
    12903 main ()
    12904 {
    12905 return dlopen ();
    12906   ;
    12907   return 0;
    12908 }
    12909 _ACEOF
    12910 if ac_fn_c_try_link "$LINENO"; then :
    12911   ac_cv_lib_svld_dlopen=yes
    12912 else
    12913   ac_cv_lib_svld_dlopen=no
    12914 fi
    12915 rm -f core conftest.err conftest.$ac_objext \
    12916     conftest$ac_exeext conftest.$ac_ext
    12917 LIBS=$ac_check_lib_save_LIBS
    12918 fi
    12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
    12920 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
    12921 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
    12922   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
    12923 else
    12924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
    12925 $as_echo_n "checking for dld_link in -ldld... " >&6; }
    12926 if ${ac_cv_lib_dld_dld_link+:} false; then :
    12927   $as_echo_n "(cached) " >&6
    12928 else
    12929   ac_check_lib_save_LIBS=$LIBS
    12930 LIBS="-ldld  $LIBS"
    12931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12932 /* end confdefs.h.  */
    12933 
    12934 /* Override any GCC internal prototype to avoid an error.
    12935    Use char because int might match the return type of a GCC
    12936    builtin and then its argument prototype would still apply.  */
    12937 #ifdef __cplusplus
    12938 extern "C"
    12939 #endif
    12940 char dld_link ();
    12941 int
    12942 main ()
    12943 {
    12944 return dld_link ();
    12945   ;
    12946   return 0;
    12947 }
    12948 _ACEOF
    12949 if ac_fn_c_try_link "$LINENO"; then :
    12950   ac_cv_lib_dld_dld_link=yes
    12951 else
    12952   ac_cv_lib_dld_dld_link=no
    12953 fi
    12954 rm -f core conftest.err conftest.$ac_objext \
    12955     conftest$ac_exeext conftest.$ac_ext
    12956 LIBS=$ac_check_lib_save_LIBS
    12957 fi
    12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
    12959 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
    12960 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
    12961   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
    12962 fi
    12963 
    12964 
    12965 fi
    12966 
    12967 
    12968 fi
    12969 
    12970 
    12971 fi
    12972 
    12973 
    12974 fi
    12975 
    12976 
    12977 fi
    12978 
    12979     ;;
    12980   esac
    12981 
    12982   if test no = "$lt_cv_dlopen"; then
    12983     enable_dlopen=no
    12984   else
    12985     enable_dlopen=yes
    12986   fi
    12987 
    12988   case $lt_cv_dlopen in
    12989   dlopen)
    12990     save_CPPFLAGS=$CPPFLAGS
    12991     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    12992 
    12993     save_LDFLAGS=$LDFLAGS
    12994     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
    12995 
    12996     save_LIBS=$LIBS
    12997     LIBS="$lt_cv_dlopen_libs $LIBS"
    12998 
    12999     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
    13000 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
    13001 if ${lt_cv_dlopen_self+:} false; then :
    13002   $as_echo_n "(cached) " >&6
    13003 else
    13004           if test yes = "$cross_compiling"; then :
    13005   lt_cv_dlopen_self=cross
    13006 else
    13007   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    13008   lt_status=$lt_dlunknown
    13009   cat > conftest.$ac_ext <<_LT_EOF
    13010 #line $LINENO "configure"
    13011 #include "confdefs.h"
    13012 
    13013 #if HAVE_DLFCN_H
    13014 #include <dlfcn.h>
    13015 #endif
    13016 
    13017 #include <stdio.h>
    13018 
    13019 #ifdef RTLD_GLOBAL
    13020 #  define LT_DLGLOBAL           RTLD_GLOBAL
    13021 #else
    13022 #  ifdef DL_GLOBAL
    13023 #    define LT_DLGLOBAL         DL_GLOBAL
    13024 #  else
    13025 #    define LT_DLGLOBAL         0
    13026 #  endif
    13027 #endif
    13028 
    13029 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
    13030    find out it does not work in some platform. */
    13031 #ifndef LT_DLLAZY_OR_NOW
    13032 #  ifdef RTLD_LAZY
    13033 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
    13034 #  else
    13035 #    ifdef DL_LAZY
    13036 #      define LT_DLLAZY_OR_NOW          DL_LAZY
    13037 #    else
    13038 #      ifdef RTLD_NOW
    13039 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
    13040 #      else
    13041 #        ifdef DL_NOW
    13042 #          define LT_DLLAZY_OR_NOW      DL_NOW
    13043 #        else
    13044 #          define LT_DLLAZY_OR_NOW      0
    13045 #        endif
    13046 #      endif
    13047 #    endif
    13048 #  endif
    13049 #endif
    13050 
    13051 /* When -fvisibility=hidden is used, assume the code has been annotated
    13052    correspondingly for the symbols needed.  */
    13053 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    13054 int fnord () __attribute__((visibility("default")));
    13055 #endif
    13056 
    13057 int fnord () { return 42; }
    13058 int main ()
    13059 {
    13060   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
    13061   int status = $lt_dlunknown;
    13062 
    13063   if (self)
    13064     {
    13065       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
    13066       else
    13067         {
    13068           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
    13069           else puts (dlerror ());
    13070         }
    13071       /* dlclose (self); */
    13072     }
    13073   else
    13074     puts (dlerror ());
    13075 
    13076   return status;
    13077 }
    13078 _LT_EOF
    13079   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
    13080   (eval $ac_link) 2>&5
    13081   ac_status=$?
    13082   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    13083   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
    13084     (./conftest; exit; ) >&5 2>/dev/null
    13085     lt_status=$?
    13086     case x$lt_status in
    13087       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
    13088       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
    13089       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
    13090     esac
    13091   else :
    13092     # compilation failed
    13093     lt_cv_dlopen_self=no
    13094   fi
    13095 fi
    13096 rm -fr conftest*
    13097 
    13098 
    13099 fi
    13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
    13101 $as_echo "$lt_cv_dlopen_self" >&6; }
    13102 
    13103     if test yes = "$lt_cv_dlopen_self"; then
    13104       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
    13105       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
    13106 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
    13107 if ${lt_cv_dlopen_self_static+:} false; then :
    13108   $as_echo_n "(cached) " >&6
    13109 else
    13110           if test yes = "$cross_compiling"; then :
    13111   lt_cv_dlopen_self_static=cross
    13112 else
    13113   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    13114   lt_status=$lt_dlunknown
    13115   cat > conftest.$ac_ext <<_LT_EOF
    13116 #line $LINENO "configure"
    13117 #include "confdefs.h"
    13118 
    13119 #if HAVE_DLFCN_H
    13120 #include <dlfcn.h>
    13121 #endif
    13122 
    13123 #include <stdio.h>
    13124 
    13125 #ifdef RTLD_GLOBAL
    13126 #  define LT_DLGLOBAL           RTLD_GLOBAL
    13127 #else
    13128 #  ifdef DL_GLOBAL
    13129 #    define LT_DLGLOBAL         DL_GLOBAL
    13130 #  else
    13131 #    define LT_DLGLOBAL         0
    13132 #  endif
    13133 #endif
    13134 
    13135 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
    13136    find out it does not work in some platform. */
    13137 #ifndef LT_DLLAZY_OR_NOW
    13138 #  ifdef RTLD_LAZY
    13139 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
    13140 #  else
    13141 #    ifdef DL_LAZY
    13142 #      define LT_DLLAZY_OR_NOW          DL_LAZY
    13143 #    else
    13144 #      ifdef RTLD_NOW
    13145 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
    13146 #      else
    13147 #        ifdef DL_NOW
    13148 #          define LT_DLLAZY_OR_NOW      DL_NOW
    13149 #        else
    13150 #          define LT_DLLAZY_OR_NOW      0
    13151 #        endif
    13152 #      endif
    13153 #    endif
    13154 #  endif
    13155 #endif
    13156 
    13157 /* When -fvisibility=hidden is used, assume the code has been annotated
    13158    correspondingly for the symbols needed.  */
    13159 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    13160 int fnord () __attribute__((visibility("default")));
    13161 #endif
    13162 
    13163 int fnord () { return 42; }
    13164 int main ()
    13165 {
    13166   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
    13167   int status = $lt_dlunknown;
    13168 
    13169   if (self)
    13170     {
    13171       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
    13172       else
    13173         {
    13174           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
    13175           else puts (dlerror ());
    13176         }
    13177       /* dlclose (self); */
    13178     }
    13179   else
    13180     puts (dlerror ());
    13181 
    13182   return status;
    13183 }
    13184 _LT_EOF
    13185   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
    13186   (eval $ac_link) 2>&5
    13187   ac_status=$?
    13188   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    13189   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
    13190     (./conftest; exit; ) >&5 2>/dev/null
    13191     lt_status=$?
    13192     case x$lt_status in
    13193       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
    13194       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
    13195       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
    13196     esac
    13197   else :
    13198     # compilation failed
    13199     lt_cv_dlopen_self_static=no
    13200   fi
    13201 fi
    13202 rm -fr conftest*
    13203 
    13204 
    13205 fi
    13206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
    13207 $as_echo "$lt_cv_dlopen_self_static" >&6; }
    13208     fi
    13209 
    13210     CPPFLAGS=$save_CPPFLAGS
    13211     LDFLAGS=$save_LDFLAGS
    13212     LIBS=$save_LIBS
    13213     ;;
    13214   esac
    13215 
    13216   case $lt_cv_dlopen_self in
    13217   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
    13218   *) enable_dlopen_self=unknown ;;
    13219   esac
    13220 
    13221   case $lt_cv_dlopen_self_static in
    13222   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
    13223   *) enable_dlopen_self_static=unknown ;;
    13224   esac
    13225 fi
    13226 
    13227 
    13228 
    13229 
    13230 
    13231 
    13232 
    13233 
    13234 
    13235 
    13236 
    13237 
    13238 
    13239 
    13240 
    13241 
    13242 
    13243 striplib=
    13244 old_striplib=
    13245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
    13246 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
    13247 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
    13248   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
    13249   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
    13250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    13251 $as_echo "yes" >&6; }
    13252 else
    13253 # FIXME - insert some real tests, host_os isn't really good enough
    13254   case $host_os in
    13255   darwin*)
    13256     if test -n "$STRIP"; then
    13257       striplib="$STRIP -x"
    13258       old_striplib="$STRIP -S"
    13259       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    13260 $as_echo "yes" >&6; }
    13261     else
    13262       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    13263 $as_echo "no" >&6; }
    13264     fi
    13265     ;;
    13266   *)
    13267     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    13268 $as_echo "no" >&6; }
    13269     ;;
    13270   esac
    13271 fi
    13272 
    13273 
    13274 
    13275 
    13276 
    13277 
    13278 
    13279 
    13280 
    13281 
    13282 
    13283 
    13284   # Report what library types will actually be built
    13285   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
    13286 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
    13287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
    13288 $as_echo "$can_build_shared" >&6; }
    13289 
    13290   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
    13291 $as_echo_n "checking whether to build shared libraries... " >&6; }
    13292   test no = "$can_build_shared" && enable_shared=no
    13293 
    13294   # On AIX, shared libraries and static libraries use the same namespace, and
    13295   # are all built from PIC.
    13296   case $host_os in
    13297   aix3*)
    13298     test yes = "$enable_shared" && enable_static=no
    13299     if test -n "$RANLIB"; then
    13300       archive_cmds="$archive_cmds~\$RANLIB \$lib"
    13301       postinstall_cmds='$RANLIB $lib'
    13302     fi
    13303     ;;
    13304 
    13305   aix[4-9]*)
    13306     if test ia64 != "$host_cpu"; then
    13307       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
    13308       yes,aix,yes) ;;                   # shared object as lib.so file only
    13309       yes,svr4,*) ;;                    # shared object as lib.so archive member only
    13310       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
    13311       esac
    13312     fi
    13313     ;;
    13314   esac
    13315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
    13316 $as_echo "$enable_shared" >&6; }
    13317 
    13318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
    13319 $as_echo_n "checking whether to build static libraries... " >&6; }
    13320   # Make sure either enable_shared or enable_static is yes.
    13321   test yes = "$enable_shared" || enable_static=yes
    13322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
    13323 $as_echo "$enable_static" >&6; }
    13324 
    13325 
    13326 
    13327 
    13328 fi
    13329 ac_ext=c
    13330 ac_cpp='$CPP $CPPFLAGS'
    13331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    13332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    13333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    13334 
    13335 CC=$lt_save_CC
    13336 
    13337       if test -n "$CXX" && ( test no != "$CXX" &&
    13338     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
    13339     (test g++ != "$CXX"))); then
    13340   ac_ext=cpp
    13341 ac_cpp='$CXXCPP $CPPFLAGS'
    13342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    13343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    13344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    13345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
    13346 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    13347 if test -z "$CXXCPP"; then
    13348   if ${ac_cv_prog_CXXCPP+:} false; then :
    13349   $as_echo_n "(cached) " >&6
    13350 else
    13351       # Double quotes because CXXCPP needs to be expanded
    13352     for CXXCPP in "$CXX -E" "/lib/cpp"
    13353     do
    13354       ac_preproc_ok=false
    13355 for ac_cxx_preproc_warn_flag in '' yes
    13356 do
    13357   # Use a header file that comes with gcc, so configuring glibc
    13358   # with a fresh cross-compiler works.
    13359   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13360   # <limits.h> exists even on freestanding compilers.
    13361   # On the NeXT, cc -E runs the code through the compiler's parser,
    13362   # not just through cpp. "Syntax error" is here to catch this case.
    133635916  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    133645917/* end confdefs.h.  */
    13365 #ifdef __STDC__
    13366 # include <limits.h>
     5918#if defined CRAY && ! defined CRAY2
     5919webecray
    133675920#else
    13368 # include <assert.h>
     5921wenotbecray
    133695922#endif
    13370                      Syntax error
    13371 _ACEOF
    13372 if ac_fn_cxx_try_cpp "$LINENO"; then :
    13373 
    13374 else
    13375   # Broken: fails on valid input.
    13376 continue
    13377 fi
    13378 rm -f conftest.err conftest.i conftest.$ac_ext
    13379 
    13380   # OK, works on sane cases.  Now check whether nonexistent headers
    13381   # can be detected and how.
     5923
     5924_ACEOF
     5925if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     5926  $EGREP "webecray" >/dev/null 2>&1; then :
     5927  ac_cv_os_cray=yes
     5928else
     5929  ac_cv_os_cray=no
     5930fi
     5931rm -f conftest*
     5932
     5933fi
     5934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
     5935$as_echo "$ac_cv_os_cray" >&6; }
     5936if test $ac_cv_os_cray = yes; then
     5937  for ac_func in _getb67 GETB67 getb67; do
     5938    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     5939ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     5940if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     5941
     5942cat >>confdefs.h <<_ACEOF
     5943#define CRAY_STACKSEG_END $ac_func
     5944_ACEOF
     5945
     5946    break
     5947fi
     5948
     5949  done
     5950fi
     5951
     5952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
     5953$as_echo_n "checking stack direction for C alloca... " >&6; }
     5954if ${ac_cv_c_stack_direction+:} false; then :
     5955  $as_echo_n "(cached) " >&6
     5956else
     5957  if test "$cross_compiling" = yes; then :
     5958  ac_cv_c_stack_direction=0
     5959else
    133825960  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    133835961/* end confdefs.h.  */
    13384 #include <ac_nonexistent.h>
    13385 _ACEOF
    13386 if ac_fn_cxx_try_cpp "$LINENO"; then :
    13387   # Broken: success on invalid input.
    13388 continue
    13389 else
    13390   # Passes both tests.
    13391 ac_preproc_ok=:
    13392 break
    13393 fi
    13394 rm -f conftest.err conftest.i conftest.$ac_ext
    13395 
    13396 done
    13397 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    13398 rm -f conftest.i conftest.err conftest.$ac_ext
    13399 if $ac_preproc_ok; then :
    13400   break
    13401 fi
    13402 
    13403     done
    13404     ac_cv_prog_CXXCPP=$CXXCPP
    13405 
    13406 fi
    13407   CXXCPP=$ac_cv_prog_CXXCPP
    13408 else
    13409   ac_cv_prog_CXXCPP=$CXXCPP
    13410 fi
    13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
    13412 $as_echo "$CXXCPP" >&6; }
    13413 ac_preproc_ok=false
    13414 for ac_cxx_preproc_warn_flag in '' yes
    13415 do
    13416   # Use a header file that comes with gcc, so configuring glibc
    13417   # with a fresh cross-compiler works.
    13418   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13419   # <limits.h> exists even on freestanding compilers.
    13420   # On the NeXT, cc -E runs the code through the compiler's parser,
    13421   # not just through cpp. "Syntax error" is here to catch this case.
    13422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    13423 /* end confdefs.h.  */
    13424 #ifdef __STDC__
    13425 # include <limits.h>
    13426 #else
    13427 # include <assert.h>
    13428 #endif
    13429                      Syntax error
    13430 _ACEOF
    13431 if ac_fn_cxx_try_cpp "$LINENO"; then :
    13432 
    13433 else
    13434   # Broken: fails on valid input.
    13435 continue
    13436 fi
    13437 rm -f conftest.err conftest.i conftest.$ac_ext
    13438 
    13439   # OK, works on sane cases.  Now check whether nonexistent headers
    13440   # can be detected and how.
    13441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    13442 /* end confdefs.h.  */
    13443 #include <ac_nonexistent.h>
    13444 _ACEOF
    13445 if ac_fn_cxx_try_cpp "$LINENO"; then :
    13446   # Broken: success on invalid input.
    13447 continue
    13448 else
    13449   # Passes both tests.
    13450 ac_preproc_ok=:
    13451 break
    13452 fi
    13453 rm -f conftest.err conftest.i conftest.$ac_ext
    13454 
    13455 done
    13456 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    13457 rm -f conftest.i conftest.err conftest.$ac_ext
    13458 if $ac_preproc_ok; then :
    13459 
    13460 else
    13461   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    13462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    13463 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
    13464 See \`config.log' for more details" "$LINENO" 5; }
    13465 fi
    13466 
    13467 ac_ext=c
    13468 ac_cpp='$CPP $CPPFLAGS'
    13469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    13470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    13471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    13472 
    13473 else
    13474   _lt_caught_CXX_error=yes
    13475 fi
    13476 
    13477 ac_ext=cpp
    13478 ac_cpp='$CXXCPP $CPPFLAGS'
    13479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    13480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    13481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    13482 
    13483 archive_cmds_need_lc_CXX=no
    13484 allow_undefined_flag_CXX=
    13485 always_export_symbols_CXX=no
    13486 archive_expsym_cmds_CXX=
    13487 compiler_needs_object_CXX=no
    13488 export_dynamic_flag_spec_CXX=
    13489 hardcode_direct_CXX=no
    13490 hardcode_direct_absolute_CXX=no
    13491 hardcode_libdir_flag_spec_CXX=
    13492 hardcode_libdir_separator_CXX=
    13493 hardcode_minus_L_CXX=no
    13494 hardcode_shlibpath_var_CXX=unsupported
    13495 hardcode_automatic_CXX=no
    13496 inherit_rpath_CXX=no
    13497 module_cmds_CXX=
    13498 module_expsym_cmds_CXX=
    13499 link_all_deplibs_CXX=unknown
    13500 old_archive_cmds_CXX=$old_archive_cmds
    13501 reload_flag_CXX=$reload_flag
    13502 reload_cmds_CXX=$reload_cmds
    13503 no_undefined_flag_CXX=
    13504 whole_archive_flag_spec_CXX=
    13505 enable_shared_with_static_runtimes_CXX=no
    13506 
    13507 # Source file extension for C++ test sources.
    13508 ac_ext=cpp
    13509 
    13510 # Object file extension for compiled C++ test sources.
    13511 objext=o
    13512 objext_CXX=$objext
    13513 
    13514 # No sense in running all these tests if we already determined that
    13515 # the CXX compiler isn't working.  Some variables (like enable_shared)
    13516 # are currently assumed to apply to all compilers on this platform,
    13517 # and will be corrupted by setting them based on a non-working compiler.
    13518 if test yes != "$_lt_caught_CXX_error"; then
    13519   # Code to be used in simple compile tests
    13520   lt_simple_compile_test_code="int some_variable = 0;"
    13521 
    13522   # Code to be used in simple link tests
    13523   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
    13524 
    13525   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
    13526 
    13527 
    13528 
    13529 
    13530 
    13531 
    13532 # If no C compiler was specified, use CC.
    13533 LTCC=${LTCC-"$CC"}
    13534 
    13535 # If no C compiler flags were specified, use CFLAGS.
    13536 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
    13537 
    13538 # Allow CC to be a program name with arguments.
    13539 compiler=$CC
    13540 
    13541 
    13542   # save warnings/boilerplate of simple test code
    13543   ac_outfile=conftest.$ac_objext
    13544 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
    13545 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    13546 _lt_compiler_boilerplate=`cat conftest.err`
    13547 $RM conftest*
    13548 
    13549   ac_outfile=conftest.$ac_objext
    13550 echo "$lt_simple_link_test_code" >conftest.$ac_ext
    13551 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    13552 _lt_linker_boilerplate=`cat conftest.err`
    13553 $RM -r conftest*
    13554 
    13555 
    13556   # Allow CC to be a program name with arguments.
    13557   lt_save_CC=$CC
    13558   lt_save_CFLAGS=$CFLAGS
    13559   lt_save_LD=$LD
    13560   lt_save_GCC=$GCC
    13561   GCC=$GXX
    13562   lt_save_with_gnu_ld=$with_gnu_ld
    13563   lt_save_path_LD=$lt_cv_path_LD
    13564   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
    13565     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
    13566   else
    13567     $as_unset lt_cv_prog_gnu_ld
    13568   fi
    13569   if test -n "${lt_cv_path_LDCXX+set}"; then
    13570     lt_cv_path_LD=$lt_cv_path_LDCXX
    13571   else
    13572     $as_unset lt_cv_path_LD
    13573   fi
    13574   test -z "${LDCXX+set}" || LD=$LDCXX
    13575   CC=${CXX-"c++"}
    13576   CFLAGS=$CXXFLAGS
    13577   compiler=$CC
    13578   compiler_CXX=$CC
    13579   func_cc_basename $compiler
    13580 cc_basename=$func_cc_basename_result
    13581 
    13582 
    13583   if test -n "$compiler"; then
    13584     # We don't want -fno-exception when compiling C++ code, so set the
    13585     # no_builtin_flag separately
    13586     if test yes = "$GXX"; then
    13587       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
    13588     else
    13589       lt_prog_compiler_no_builtin_flag_CXX=
    13590     fi
    13591 
    13592     if test yes = "$GXX"; then
    13593       # Set up default GNU C++ configuration
    13594 
    13595 
    13596 
    13597 # Check whether --with-gnu-ld was given.
    13598 if test "${with_gnu_ld+set}" = set; then :
    13599   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
    13600 else
    13601   with_gnu_ld=no
    13602 fi
    13603 
    13604 ac_prog=ld
    13605 if test yes = "$GCC"; then
    13606   # Check if gcc -print-prog-name=ld gives a path.
    13607   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
    13608 $as_echo_n "checking for ld used by $CC... " >&6; }
    13609   case $host in
    13610   *-*-mingw*)
    13611     # gcc leaves a trailing carriage return, which upsets mingw
    13612     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    13613   *)
    13614     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    13615   esac
    13616   case $ac_prog in
    13617     # Accept absolute paths.
    13618     [\\/]* | ?:[\\/]*)
    13619       re_direlt='/[^/][^/]*/\.\./'
    13620       # Canonicalize the pathname of ld
    13621       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
    13622       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
    13623         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    13624       done
    13625       test -z "$LD" && LD=$ac_prog
    13626       ;;
    13627   "")
    13628     # If it fails, then pretend we aren't using GCC.
    13629     ac_prog=ld
    13630     ;;
    13631   *)
    13632     # If it is relative, then search for the first ld in PATH.
    13633     with_gnu_ld=unknown
    13634     ;;
    13635   esac
    13636 elif test yes = "$with_gnu_ld"; then
    13637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
    13638 $as_echo_n "checking for GNU ld... " >&6; }
    13639 else
    13640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
    13641 $as_echo_n "checking for non-GNU ld... " >&6; }
    13642 fi
    13643 if ${lt_cv_path_LD+:} false; then :
    13644   $as_echo_n "(cached) " >&6
    13645 else
    13646   if test -z "$LD"; then
    13647   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    13648   for ac_dir in $PATH; do
    13649     IFS=$lt_save_ifs
    13650     test -z "$ac_dir" && ac_dir=.
    13651     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    13652       lt_cv_path_LD=$ac_dir/$ac_prog
    13653       # Check to see if the program is GNU ld.  I'd rather use --version,
    13654       # but apparently some variants of GNU ld only accept -v.
    13655       # Break only if it was the GNU/non-GNU ld that we prefer.
    13656       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    13657       *GNU* | *'with BFD'*)
    13658         test no != "$with_gnu_ld" && break
    13659         ;;
    13660       *)
    13661         test yes != "$with_gnu_ld" && break
    13662         ;;
    13663       esac
    13664     fi
    13665   done
    13666   IFS=$lt_save_ifs
    13667 else
    13668   lt_cv_path_LD=$LD # Let the user override the test with a path.
    13669 fi
    13670 fi
    13671 
    13672 LD=$lt_cv_path_LD
    13673 if test -n "$LD"; then
    13674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
    13675 $as_echo "$LD" >&6; }
    13676 else
    13677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    13678 $as_echo "no" >&6; }
    13679 fi
    13680 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
    13681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
    13682 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
    13683 if ${lt_cv_prog_gnu_ld+:} false; then :
    13684   $as_echo_n "(cached) " >&6
    13685 else
    13686   # I'd rather use --version here, but apparently some GNU lds only accept -v.
    13687 case `$LD -v 2>&1 </dev/null` in
    13688 *GNU* | *'with BFD'*)
    13689   lt_cv_prog_gnu_ld=yes
    13690   ;;
    13691 *)
    13692   lt_cv_prog_gnu_ld=no
    13693   ;;
    13694 esac
    13695 fi
    13696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
    13697 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
    13698 with_gnu_ld=$lt_cv_prog_gnu_ld
    13699 
    13700 
    13701 
    13702 
    13703 
    13704 
    13705 
    13706       # Check if GNU C++ uses GNU ld as the underlying linker, since the
    13707       # archiving commands below assume that GNU ld is being used.
    13708       if test yes = "$with_gnu_ld"; then
    13709         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    13710         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'
    13711 
    13712         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    13713         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    13714 
    13715         # If archive_cmds runs LD, not CC, wlarc should be empty
    13716         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
    13717         #     investigate it a little bit more. (MM)
    13718         wlarc='$wl'
    13719 
    13720         # ancient GNU ld didn't support --whole-archive et. al.
    13721         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
    13722           $GREP 'no-whole-archive' > /dev/null; then
    13723           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    13724         else
    13725           whole_archive_flag_spec_CXX=
    13726         fi
    13727       else
    13728         with_gnu_ld=no
    13729         wlarc=
    13730 
    13731         # A generic and very simple default shared library creation
    13732         # command for GNU C++ for the case where it uses the native
    13733         # linker, instead of GNU ld.  If possible, this setting should
    13734         # overridden to take advantage of the native linker features on
    13735         # the platform it is being used on.
    13736         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    13737       fi
    13738 
    13739       # Commands to make compiler produce verbose output that lists
    13740       # what "hidden" libraries, object files and flags are used when
    13741       # linking a shared library.
    13742       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    13743 
    13744     else
    13745       GXX=no
    13746       with_gnu_ld=no
    13747       wlarc=
    13748     fi
    13749 
    13750     # PORTME: fill in a description of your system's C++ link characteristics
    13751     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    13752 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
    13753     ld_shlibs_CXX=yes
    13754     case $host_os in
    13755       aix3*)
    13756         # FIXME: insert proper C++ library support
    13757         ld_shlibs_CXX=no
    13758         ;;
    13759       aix[4-9]*)
    13760         if test ia64 = "$host_cpu"; then
    13761           # On IA64, the linker does run time linking by default, so we don't
    13762           # have to do anything special.
    13763           aix_use_runtimelinking=no
    13764           exp_sym_flag='-Bexport'
    13765           no_entry_flag=
    13766         else
    13767           aix_use_runtimelinking=no
    13768 
    13769           # Test if we are trying to use run time linking or normal
    13770           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    13771           # have runtime linking enabled, and use it for executables.
    13772           # For shared libraries, we enable/disable runtime linking
    13773           # depending on the kind of the shared library created -
    13774           # when "with_aix_soname,aix_use_runtimelinking" is:
    13775           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
    13776           # "aix,yes"  lib.so          shared, rtl:yes, for executables
    13777           #            lib.a           static archive
    13778           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
    13779           #            lib.a(lib.so.V) shared, rtl:no,  for executables
    13780           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
    13781           #            lib.a(lib.so.V) shared, rtl:no
    13782           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
    13783           #            lib.a           static archive
    13784           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    13785             for ld_flag in $LDFLAGS; do
    13786               case $ld_flag in
    13787               *-brtl*)
    13788                 aix_use_runtimelinking=yes
    13789                 break
    13790                 ;;
    13791               esac
    13792             done
    13793             if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
    13794               # With aix-soname=svr4, we create the lib.so.V shared archives only,
    13795               # so we don't have lib.a shared libs to link our executables.
    13796               # We have to force runtime linking in this case.
    13797               aix_use_runtimelinking=yes
    13798               LDFLAGS="$LDFLAGS -Wl,-brtl"
    13799             fi
    13800             ;;
    13801           esac
    13802 
    13803           exp_sym_flag='-bexport'
    13804           no_entry_flag='-bnoentry'
    13805         fi
    13806 
    13807         # When large executables or shared objects are built, AIX ld can
    13808         # have problems creating the table of contents.  If linking a library
    13809         # or program results in "error TOC overflow" add -mminimal-toc to
    13810         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
    13811         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
    13812 
    13813         archive_cmds_CXX=''
    13814         hardcode_direct_CXX=yes
    13815         hardcode_direct_absolute_CXX=yes
    13816         hardcode_libdir_separator_CXX=':'
    13817         link_all_deplibs_CXX=yes
    13818         file_list_spec_CXX='$wl-f,'
    13819         case $with_aix_soname,$aix_use_runtimelinking in
    13820         aix,*) ;;       # no import file
    13821         svr4,* | *,yes) # use import file
    13822           # The Import File defines what to hardcode.
    13823           hardcode_direct_CXX=no
    13824           hardcode_direct_absolute_CXX=no
    13825           ;;
    13826         esac
    13827 
    13828         if test yes = "$GXX"; then
    13829           case $host_os in aix4.[012]|aix4.[012].*)
    13830           # We only want to do this on AIX 4.2 and lower, the check
    13831           # below for broken collect2 doesn't work under 4.3+
    13832           collect2name=`$CC -print-prog-name=collect2`
    13833           if test -f "$collect2name" &&
    13834              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
    13835           then
    13836             # We have reworked collect2
    13837             :
    13838           else
    13839             # We have old collect2
    13840             hardcode_direct_CXX=unsupported
    13841             # It fails to find uninstalled libraries when the uninstalled
    13842             # path is not listed in the libpath.  Setting hardcode_minus_L
    13843             # to unsupported forces relinking
    13844             hardcode_minus_L_CXX=yes
    13845             hardcode_libdir_flag_spec_CXX='-L$libdir'
    13846             hardcode_libdir_separator_CXX=
    13847           fi
    13848           esac
    13849           shared_flag='-shared'
    13850           if test yes = "$aix_use_runtimelinking"; then
    13851             shared_flag=$shared_flag' $wl-G'
    13852           fi
    13853           # Need to ensure runtime linking is disabled for the traditional
    13854           # shared library, or the linker may eventually find shared libraries
    13855           # /with/ Import File - we do not want to mix them.
    13856           shared_flag_aix='-shared'
    13857           shared_flag_svr4='-shared $wl-G'
    13858         else
    13859           # not using gcc
    13860           if test ia64 = "$host_cpu"; then
    13861           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    13862           # chokes on -Wl,-G. The following line is correct:
    13863           shared_flag='-G'
    13864           else
    13865             if test yes = "$aix_use_runtimelinking"; then
    13866               shared_flag='$wl-G'
    13867             else
    13868               shared_flag='$wl-bM:SRE'
    13869             fi
    13870             shared_flag_aix='$wl-bM:SRE'
    13871             shared_flag_svr4='$wl-G'
    13872           fi
    13873         fi
    13874 
    13875         export_dynamic_flag_spec_CXX='$wl-bexpall'
    13876         # It seems that -bexpall does not export symbols beginning with
    13877         # underscore (_), so it is better to generate a list of symbols to
    13878         # export.
    13879         always_export_symbols_CXX=yes
    13880         if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
    13881           # Warning - without using the other runtime loading flags (-brtl),
    13882           # -berok will link without error, but may produce a broken library.
    13883           # The "-G" linker flag allows undefined symbols.
    13884           no_undefined_flag_CXX='-bernotok'
    13885           # Determine the default libpath from the value encoded in an empty
    13886           # executable.
    13887           if test set = "${lt_cv_aix_libpath+set}"; then
    13888   aix_libpath=$lt_cv_aix_libpath
    13889 else
    13890   if ${lt_cv_aix_libpath__CXX+:} false; then :
    13891   $as_echo_n "(cached) " >&6
    13892 else
    13893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    13894 /* end confdefs.h.  */
    13895 
     5962$ac_includes_default
    138965963int
    13897 main ()
     5964find_stack_direction (int *addr, int depth)
    138985965{
    13899 
    13900   ;
    13901   return 0;
     5966  int dir, dummy = 0;
     5967  if (! addr)
     5968    addr = &dummy;
     5969  *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
     5970  dir = depth ? find_stack_direction (addr, depth - 1) : 0;
     5971  return dir + dummy;
    139025972}
    13903 _ACEOF
    13904 if ac_fn_cxx_try_link "$LINENO"; then :
    13905 
    13906   lt_aix_libpath_sed='
    13907       /Import File Strings/,/^$/ {
    13908           /^0/ {
    13909               s/^0  *\([^ ]*\) *$/\1/
    13910               p
    13911           }
    13912       }'
    13913   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    13914   # Check for a 64-bit object if we didn't find anything.
    13915   if test -z "$lt_cv_aix_libpath__CXX"; then
    13916     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    13917   fi
    13918 fi
    13919 rm -f core conftest.err conftest.$ac_objext \
    13920     conftest$ac_exeext conftest.$ac_ext
    13921   if test -z "$lt_cv_aix_libpath__CXX"; then
    13922     lt_cv_aix_libpath__CXX=/usr/lib:/lib
    13923   fi
    13924 
    13925 fi
    13926 
    13927   aix_libpath=$lt_cv_aix_libpath__CXX
    13928 fi
    13929 
    13930           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
    13931 
    13932           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
    13933         else
    13934           if test ia64 = "$host_cpu"; then
    13935             hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
    13936             allow_undefined_flag_CXX="-z nodefs"
    13937             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"
    13938           else
    13939             # Determine the default libpath from the value encoded in an
    13940             # empty executable.
    13941             if test set = "${lt_cv_aix_libpath+set}"; then
    13942   aix_libpath=$lt_cv_aix_libpath
    13943 else
    13944   if ${lt_cv_aix_libpath__CXX+:} false; then :
    13945   $as_echo_n "(cached) " >&6
    13946 else
    13947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    13948 /* end confdefs.h.  */
    139495973
    139505974int
    13951 main ()
     5975main (int argc, char **argv)
    139525976{
    13953 
    13954   ;
    13955   return 0;
     5977  return find_stack_direction (0, argc + !argv + 20) < 0;
    139565978}
    139575979_ACEOF
    13958 if ac_fn_cxx_try_link "$LINENO"; then :
    13959 
    13960   lt_aix_libpath_sed='
    13961       /Import File Strings/,/^$/ {
    13962           /^0/ {
    13963               s/^0  *\([^ ]*\) *$/\1/
    13964               p
    13965           }
    13966       }'
    13967   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    13968   # Check for a 64-bit object if we didn't find anything.
    13969   if test -z "$lt_cv_aix_libpath__CXX"; then
    13970     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    13971   fi
    13972 fi
    13973 rm -f core conftest.err conftest.$ac_objext \
    13974     conftest$ac_exeext conftest.$ac_ext
    13975   if test -z "$lt_cv_aix_libpath__CXX"; then
    13976     lt_cv_aix_libpath__CXX=/usr/lib:/lib
    13977   fi
    13978 
    13979 fi
    13980 
    13981   aix_libpath=$lt_cv_aix_libpath__CXX
    13982 fi
    13983 
    13984             hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
    13985             # Warning - without using the other run time loading flags,
    13986             # -berok will link without error, but may produce a broken library.
    13987             no_undefined_flag_CXX=' $wl-bernotok'
    13988             allow_undefined_flag_CXX=' $wl-berok'
    13989             if test yes = "$with_gnu_ld"; then
    13990               # We only use this code for GNU lds that support --whole-archive.
    13991               whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
    13992             else
    13993               # Exported symbols can be pulled into shared objects from archives
    13994               whole_archive_flag_spec_CXX='$convenience'
    13995             fi
    13996             archive_cmds_need_lc_CXX=yes
    13997             archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
    13998             # -brtl affects multiple linker settings, -berok does not and is overridden later
    13999             compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
    14000             if test svr4 != "$with_aix_soname"; then
    14001               # This is similar to how AIX traditionally builds its shared
    14002               # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
    14003               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'
    14004             fi
    14005             if test aix != "$with_aix_soname"; then
    14006               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'
    14007             else
    14008               # used by -dlpreopen to get the symbols
    14009               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
    14010             fi
    14011             archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
    14012           fi
    14013         fi
    14014         ;;
    14015 
    14016       beos*)
    14017         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    14018           allow_undefined_flag_CXX=unsupported
    14019           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    14020           # support --undefined.  This deserves some investigation.  FIXME
    14021           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    14022         else
    14023           ld_shlibs_CXX=no
    14024         fi
    14025         ;;
    14026 
    14027       chorus*)
    14028         case $cc_basename in
    14029           *)
    14030           # FIXME: insert proper C++ library support
    14031           ld_shlibs_CXX=no
    14032           ;;
    14033         esac
    14034         ;;
    14035 
    14036       cygwin* | mingw* | pw32* | cegcc*)
    14037         case $GXX,$cc_basename in
    14038         ,cl* | no,cl*)
    14039           # Native MSVC
    14040           # hardcode_libdir_flag_spec is actually meaningless, as there is
    14041           # no search path for DLLs.
    14042           hardcode_libdir_flag_spec_CXX=' '
    14043           allow_undefined_flag_CXX=unsupported
    14044           always_export_symbols_CXX=yes
    14045           file_list_spec_CXX='@'
    14046           # Tell ltmain to make .lib files, not .a files.
    14047           libext=lib
    14048           # Tell ltmain to make .dll files, not .so files.
    14049           shrext_cmds=.dll
    14050           # FIXME: Setting linknames here is a bad hack.
    14051           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
    14052           archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    14053               cp "$export_symbols" "$output_objdir/$soname.def";
    14054               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
    14055             else
    14056               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
    14057             fi~
    14058             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    14059             linknames='
    14060           # The linker will not automatically build a static lib if we build a DLL.
    14061           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
    14062           enable_shared_with_static_runtimes_CXX=yes
    14063           # Don't use ranlib
    14064           old_postinstall_cmds_CXX='chmod 644 $oldlib'
    14065           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
    14066             lt_tool_outputfile="@TOOL_OUTPUT@"~
    14067             case $lt_outputfile in
    14068               *.exe|*.EXE) ;;
    14069               *)
    14070                 lt_outputfile=$lt_outputfile.exe
    14071                 lt_tool_outputfile=$lt_tool_outputfile.exe
    14072                 ;;
    14073             esac~
    14074             func_to_tool_file "$lt_outputfile"~
    14075             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
    14076               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    14077               $RM "$lt_outputfile.manifest";
    14078             fi'
    14079           ;;
    14080         *)
    14081           # g++
    14082           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
    14083           # as there is no search path for DLLs.
    14084           hardcode_libdir_flag_spec_CXX='-L$libdir'
    14085           export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
    14086           allow_undefined_flag_CXX=unsupported
    14087           always_export_symbols_CXX=no
    14088           enable_shared_with_static_runtimes_CXX=yes
    14089 
    14090           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    14091             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'
    14092             # If the export-symbols file already is a .def file, use it as
    14093             # is; otherwise, prepend EXPORTS...
    14094             archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    14095               cp $export_symbols $output_objdir/$soname.def;
    14096             else
    14097               echo EXPORTS > $output_objdir/$soname.def;
    14098               cat $export_symbols >> $output_objdir/$soname.def;
    14099             fi~
    14100             $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'
    14101           else
    14102             ld_shlibs_CXX=no
    14103           fi
    14104           ;;
    14105         esac
    14106         ;;
    14107       darwin* | rhapsody*)
    14108 
    14109 
    14110   archive_cmds_need_lc_CXX=no
    14111   hardcode_direct_CXX=no
    14112   hardcode_automatic_CXX=yes
    14113   hardcode_shlibpath_var_CXX=unsupported
    14114   if test yes = "$lt_cv_ld_force_load"; then
    14115     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\"`'
    14116 
    14117   else
    14118     whole_archive_flag_spec_CXX=''
    14119   fi
    14120   link_all_deplibs_CXX=yes
    14121   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
    14122   case $cc_basename in
    14123      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
    14124      *) _lt_dar_can_shared=$GCC ;;
    14125   esac
    14126   if test yes = "$_lt_dar_can_shared"; then
    14127     output_verbose_link_cmd=func_echo_all
    14128     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"
    14129     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
    14130     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"
    14131     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"
    14132        if test yes != "$lt_cv_apple_cc_single_mod"; then
    14133       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"
    14134       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"
    14135     fi
    14136 
    14137   else
    14138   ld_shlibs_CXX=no
    14139   fi
    14140 
    14141         ;;
    14142 
    14143       os2*)
    14144         hardcode_libdir_flag_spec_CXX='-L$libdir'
    14145         hardcode_minus_L_CXX=yes
    14146         allow_undefined_flag_CXX=unsupported
    14147         shrext_cmds=.dll
    14148         archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    14149           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    14150           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    14151           $ECHO EXPORTS >> $output_objdir/$libname.def~
    14152           emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    14153           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    14154           emximp -o $lib $output_objdir/$libname.def'
    14155         archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    14156           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    14157           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    14158           $ECHO EXPORTS >> $output_objdir/$libname.def~
    14159           prefix_cmds="$SED"~
    14160           if test EXPORTS = "`$SED 1q $export_symbols`"; then
    14161             prefix_cmds="$prefix_cmds -e 1d";
    14162           fi~
    14163           prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    14164           cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    14165           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    14166           emximp -o $lib $output_objdir/$libname.def'
    14167         old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    14168         enable_shared_with_static_runtimes_CXX=yes
    14169         ;;
    14170 
    14171       dgux*)
    14172         case $cc_basename in
    14173           ec++*)
    14174             # FIXME: insert proper C++ library support
    14175             ld_shlibs_CXX=no
    14176             ;;
    14177           ghcx*)
    14178             # Green Hills C++ Compiler
    14179             # FIXME: insert proper C++ library support
    14180             ld_shlibs_CXX=no
    14181             ;;
    14182           *)
    14183             # FIXME: insert proper C++ library support
    14184             ld_shlibs_CXX=no
    14185             ;;
    14186         esac
    14187         ;;
    14188 
    14189       freebsd2.*)
    14190         # C++ shared libraries reported to be fairly broken before
    14191         # switch to ELF
    14192         ld_shlibs_CXX=no
    14193         ;;
    14194 
    14195       freebsd-elf*)
    14196         archive_cmds_need_lc_CXX=no
    14197         ;;
    14198 
    14199       freebsd* | dragonfly*)
    14200         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
    14201         # conventions
    14202         ld_shlibs_CXX=yes
    14203         ;;
    14204 
    14205       haiku*)
    14206         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    14207         link_all_deplibs_CXX=yes
    14208         ;;
    14209 
    14210       hpux9*)
    14211         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
    14212         hardcode_libdir_separator_CXX=:
    14213         export_dynamic_flag_spec_CXX='$wl-E'
    14214         hardcode_direct_CXX=yes
    14215         hardcode_minus_L_CXX=yes # Not in the search PATH,
    14216                                              # but as the default
    14217                                              # location of the library.
    14218 
    14219         case $cc_basename in
    14220           CC*)
    14221             # FIXME: insert proper C++ library support
    14222             ld_shlibs_CXX=no
    14223             ;;
    14224           aCC*)
    14225             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'
    14226             # Commands to make compiler produce verbose output that lists
    14227             # what "hidden" libraries, object files and flags are used when
    14228             # linking a shared library.
    14229             #
    14230             # There doesn't appear to be a way to prevent this compiler from
    14231             # explicitly linking system object files so we need to strip them
    14232             # from the output so that they don't get included in the library
    14233             # dependencies.
    14234             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"'
    14235             ;;
    14236           *)
    14237             if test yes = "$GXX"; then
    14238               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'
    14239             else
    14240               # FIXME: insert proper C++ library support
    14241               ld_shlibs_CXX=no
    14242             fi
    14243             ;;
    14244         esac
    14245         ;;
    14246 
    14247       hpux10*|hpux11*)
    14248         if test no = "$with_gnu_ld"; then
    14249           hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
    14250           hardcode_libdir_separator_CXX=:
    14251 
    14252           case $host_cpu in
    14253             hppa*64*|ia64*)
    14254               ;;
    14255             *)
    14256               export_dynamic_flag_spec_CXX='$wl-E'
    14257               ;;
    14258           esac
    14259         fi
    14260         case $host_cpu in
    14261           hppa*64*|ia64*)
    14262             hardcode_direct_CXX=no
    14263             hardcode_shlibpath_var_CXX=no
    14264             ;;
    14265           *)
    14266             hardcode_direct_CXX=yes
    14267             hardcode_direct_absolute_CXX=yes
    14268             hardcode_minus_L_CXX=yes # Not in the search PATH,
    14269                                                  # but as the default
    14270                                                  # location of the library.
    14271             ;;
    14272         esac
    14273 
    14274         case $cc_basename in
    14275           CC*)
    14276             # FIXME: insert proper C++ library support
    14277             ld_shlibs_CXX=no
    14278             ;;
    14279           aCC*)
    14280             case $host_cpu in
    14281               hppa*64*)
    14282                 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    14283                 ;;
    14284               ia64*)
    14285                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    14286                 ;;
    14287               *)
    14288                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    14289                 ;;
    14290             esac
    14291             # Commands to make compiler produce verbose output that lists
    14292             # what "hidden" libraries, object files and flags are used when
    14293             # linking a shared library.
    14294             #
    14295             # There doesn't appear to be a way to prevent this compiler from
    14296             # explicitly linking system object files so we need to strip them
    14297             # from the output so that they don't get included in the library
    14298             # dependencies.
    14299             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"'
    14300             ;;
    14301           *)
    14302             if test yes = "$GXX"; then
    14303               if test no = "$with_gnu_ld"; then
    14304                 case $host_cpu in
    14305                   hppa*64*)
    14306                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    14307                     ;;
    14308                   ia64*)
    14309                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    14310                     ;;
    14311                   *)
    14312                     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'
    14313                     ;;
    14314                 esac
    14315               fi
    14316             else
    14317               # FIXME: insert proper C++ library support
    14318               ld_shlibs_CXX=no
    14319             fi
    14320             ;;
    14321         esac
    14322         ;;
    14323 
    14324       interix[3-9]*)
    14325         hardcode_direct_CXX=no
    14326         hardcode_shlibpath_var_CXX=no
    14327         hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    14328         export_dynamic_flag_spec_CXX='$wl-E'
    14329         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    14330         # Instead, shared libraries are loaded at an image base (0x10000000 by
    14331         # default) and relocated if they conflict, which is a slow very memory
    14332         # consuming and fragmenting process.  To avoid this, we pick a random,
    14333         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    14334         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    14335         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'
    14336         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'
    14337         ;;
    14338       irix5* | irix6*)
    14339         case $cc_basename in
    14340           CC*)
    14341             # SGI C++
    14342             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'
    14343 
    14344             # Archives containing C++ object files must be created using
    14345             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
    14346             # necessary to make sure instantiated templates are included
    14347             # in the archive.
    14348             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
    14349             ;;
    14350           *)
    14351             if test yes = "$GXX"; then
    14352               if test no = "$with_gnu_ld"; then
    14353                 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'
    14354               else
    14355                 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'
    14356               fi
    14357             fi
    14358             link_all_deplibs_CXX=yes
    14359             ;;
    14360         esac
    14361         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    14362         hardcode_libdir_separator_CXX=:
    14363         inherit_rpath_CXX=yes
    14364         ;;
    14365 
    14366       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    14367         case $cc_basename in
    14368           KCC*)
    14369             # Kuck and Associates, Inc. (KAI) C++ Compiler
    14370 
    14371             # KCC will only create a shared library if the output file
    14372             # ends with ".so" (or ".sl" for HP-UX), so rename the library
    14373             # to its proper name (with version) after linking.
    14374             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'
    14375             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'
    14376             # Commands to make compiler produce verbose output that lists
    14377             # what "hidden" libraries, object files and flags are used when
    14378             # linking a shared library.
    14379             #
    14380             # There doesn't appear to be a way to prevent this compiler from
    14381             # explicitly linking system object files so we need to strip them
    14382             # from the output so that they don't get included in the library
    14383             # dependencies.
    14384             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"'
    14385 
    14386             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    14387             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    14388 
    14389             # Archives containing C++ object files must be created using
    14390             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
    14391             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
    14392             ;;
    14393           icpc* | ecpc* )
    14394             # Intel C++
    14395             with_gnu_ld=yes
    14396             # version 8.0 and above of icpc choke on multiply defined symbols
    14397             # if we add $predep_objects and $postdep_objects, however 7.1 and
    14398             # earlier do not add the objects themselves.
    14399             case `$CC -V 2>&1` in
    14400               *"Version 7."*)
    14401                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    14402                 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'
    14403                 ;;
    14404               *)  # Version 8.0 or newer
    14405                 tmp_idyn=
    14406                 case $host_cpu in
    14407                   ia64*) tmp_idyn=' -i_dynamic';;
    14408                 esac
    14409                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    14410                 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'
    14411                 ;;
    14412             esac
    14413             archive_cmds_need_lc_CXX=no
    14414             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    14415             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    14416             whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
    14417             ;;
    14418           pgCC* | pgcpp*)
    14419             # Portland Group C++ compiler
    14420             case `$CC -V` in
    14421             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
    14422               prelink_cmds_CXX='tpldir=Template.dir~
    14423                rm -rf $tpldir~
    14424                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
    14425                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
    14426               old_archive_cmds_CXX='tpldir=Template.dir~
    14427                 rm -rf $tpldir~
    14428                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
    14429                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
    14430                 $RANLIB $oldlib'
    14431               archive_cmds_CXX='tpldir=Template.dir~
    14432                 rm -rf $tpldir~
    14433                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    14434                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    14435               archive_expsym_cmds_CXX='tpldir=Template.dir~
    14436                 rm -rf $tpldir~
    14437                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    14438                 $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'
    14439               ;;
    14440             *) # Version 6 and above use weak symbols
    14441               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    14442               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'
    14443               ;;
    14444             esac
    14445 
    14446             hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
    14447             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    14448             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'
    14449             ;;
    14450           cxx*)
    14451             # Compaq C++
    14452             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    14453             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'
    14454 
    14455             runpath_var=LD_RUN_PATH
    14456             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
    14457             hardcode_libdir_separator_CXX=:
    14458 
    14459             # Commands to make compiler produce verbose output that lists
    14460             # what "hidden" libraries, object files and flags are used when
    14461             # linking a shared library.
    14462             #
    14463             # There doesn't appear to be a way to prevent this compiler from
    14464             # explicitly linking system object files so we need to strip them
    14465             # from the output so that they don't get included in the library
    14466             # dependencies.
    14467             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'
    14468             ;;
    14469           xl* | mpixl* | bgxl*)
    14470             # IBM XL 8.0 on PPC, with GNU ld
    14471             hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    14472             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    14473             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    14474             if test yes = "$supports_anon_versioning"; then
    14475               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
    14476                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    14477                 echo "local: *; };" >> $output_objdir/$libname.ver~
    14478                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    14479             fi
    14480             ;;
    14481           *)
    14482             case `$CC -V 2>&1 | sed 5q` in
    14483             *Sun\ C*)
    14484               # Sun C++ 5.9
    14485               no_undefined_flag_CXX=' -zdefs'
    14486               archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    14487               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'
    14488               hardcode_libdir_flag_spec_CXX='-R$libdir'
    14489               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'
    14490               compiler_needs_object_CXX=yes
    14491 
    14492               # Not sure whether something based on
    14493               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
    14494               # would be better.
    14495               output_verbose_link_cmd='func_echo_all'
    14496 
    14497               # Archives containing C++ object files must be created using
    14498               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
    14499               # necessary to make sure instantiated templates are included
    14500               # in the archive.
    14501               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
    14502               ;;
    14503             esac
    14504             ;;
    14505         esac
    14506         ;;
    14507 
    14508       lynxos*)
    14509         # FIXME: insert proper C++ library support
    14510         ld_shlibs_CXX=no
    14511         ;;
    14512 
    14513       m88k*)
    14514         # FIXME: insert proper C++ library support
    14515         ld_shlibs_CXX=no
    14516         ;;
    14517 
    14518       mvs*)
    14519         case $cc_basename in
    14520           cxx*)
    14521             # FIXME: insert proper C++ library support
    14522             ld_shlibs_CXX=no
    14523             ;;
    14524           *)
    14525             # FIXME: insert proper C++ library support
    14526             ld_shlibs_CXX=no
    14527             ;;
    14528         esac
    14529         ;;
    14530 
    14531       netbsd*)
    14532         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    14533           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
    14534           wlarc=
    14535           hardcode_libdir_flag_spec_CXX='-R$libdir'
    14536           hardcode_direct_CXX=yes
    14537           hardcode_shlibpath_var_CXX=no
    14538         fi
    14539         # Workaround some broken pre-1.5 toolchains
    14540         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
    14541         ;;
    14542 
    14543       *nto* | *qnx*)
    14544         ld_shlibs_CXX=yes
    14545         ;;
    14546 
    14547       openbsd* | bitrig*)
    14548         if test -f /usr/libexec/ld.so; then
    14549           hardcode_direct_CXX=yes
    14550           hardcode_shlibpath_var_CXX=no
    14551           hardcode_direct_absolute_CXX=yes
    14552           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    14553           hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    14554           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
    14555             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
    14556             export_dynamic_flag_spec_CXX='$wl-E'
    14557             whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    14558           fi
    14559           output_verbose_link_cmd=func_echo_all
    14560         else
    14561           ld_shlibs_CXX=no
    14562         fi
    14563         ;;
    14564 
    14565       osf3* | osf4* | osf5*)
    14566         case $cc_basename in
    14567           KCC*)
    14568             # Kuck and Associates, Inc. (KAI) C++ Compiler
    14569 
    14570             # KCC will only create a shared library if the output file
    14571             # ends with ".so" (or ".sl" for HP-UX), so rename the library
    14572             # to its proper name (with version) after linking.
    14573             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'
    14574 
    14575             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    14576             hardcode_libdir_separator_CXX=:
    14577 
    14578             # Archives containing C++ object files must be created using
    14579             # the KAI C++ compiler.
    14580             case $host in
    14581               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
    14582               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
    14583             esac
    14584             ;;
    14585           RCC*)
    14586             # Rational C++ 2.4.1
    14587             # FIXME: insert proper C++ library support
    14588             ld_shlibs_CXX=no
    14589             ;;
    14590           cxx*)
    14591             case $host in
    14592               osf3*)
    14593                 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
    14594                 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'
    14595                 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    14596                 ;;
    14597               *)
    14598                 allow_undefined_flag_CXX=' -expect_unresolved \*'
    14599                 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'
    14600                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
    14601                   echo "-hidden">> $lib.exp~
    14602                   $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~
    14603                   $RM $lib.exp'
    14604                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
    14605                 ;;
    14606             esac
    14607 
    14608             hardcode_libdir_separator_CXX=:
    14609 
    14610             # Commands to make compiler produce verbose output that lists
    14611             # what "hidden" libraries, object files and flags are used when
    14612             # linking a shared library.
    14613             #
    14614             # There doesn't appear to be a way to prevent this compiler from
    14615             # explicitly linking system object files so we need to strip them
    14616             # from the output so that they don't get included in the library
    14617             # dependencies.
    14618             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"'
    14619             ;;
    14620           *)
    14621             if test yes,no = "$GXX,$with_gnu_ld"; then
    14622               allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
    14623               case $host in
    14624                 osf3*)
    14625                   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'
    14626                   ;;
    14627                 *)
    14628                   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'
    14629                   ;;
    14630               esac
    14631 
    14632               hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    14633               hardcode_libdir_separator_CXX=:
    14634 
    14635               # Commands to make compiler produce verbose output that lists
    14636               # what "hidden" libraries, object files and flags are used when
    14637               # linking a shared library.
    14638               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    14639 
    14640             else
    14641               # FIXME: insert proper C++ library support
    14642               ld_shlibs_CXX=no
    14643             fi
    14644             ;;
    14645         esac
    14646         ;;
    14647 
    14648       psos*)
    14649         # FIXME: insert proper C++ library support
    14650         ld_shlibs_CXX=no
    14651         ;;
    14652 
    14653       sunos4*)
    14654         case $cc_basename in
    14655           CC*)
    14656             # Sun C++ 4.x
    14657             # FIXME: insert proper C++ library support
    14658             ld_shlibs_CXX=no
    14659             ;;
    14660           lcc*)
    14661             # Lucid
    14662             # FIXME: insert proper C++ library support
    14663             ld_shlibs_CXX=no
    14664             ;;
    14665           *)
    14666             # FIXME: insert proper C++ library support
    14667             ld_shlibs_CXX=no
    14668             ;;
    14669         esac
    14670         ;;
    14671 
    14672       solaris*)
    14673         case $cc_basename in
    14674           CC* | sunCC*)
    14675             # Sun C++ 4.2, 5.x and Centerline C++
    14676             archive_cmds_need_lc_CXX=yes
    14677             no_undefined_flag_CXX=' -zdefs'
    14678             archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    14679             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    14680               $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'
    14681 
    14682             hardcode_libdir_flag_spec_CXX='-R$libdir'
    14683             hardcode_shlibpath_var_CXX=no
    14684             case $host_os in
    14685               solaris2.[0-5] | solaris2.[0-5].*) ;;
    14686               *)
    14687                 # The compiler driver will combine and reorder linker options,
    14688                 # but understands '-z linker_flag'.
    14689                 # Supported since Solaris 2.6 (maybe 2.5.1?)
    14690                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
    14691                 ;;
    14692             esac
    14693             link_all_deplibs_CXX=yes
    14694 
    14695             output_verbose_link_cmd='func_echo_all'
    14696 
    14697             # Archives containing C++ object files must be created using
    14698             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
    14699             # necessary to make sure instantiated templates are included
    14700             # in the archive.
    14701             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
    14702             ;;
    14703           gcx*)
    14704             # Green Hills C++ Compiler
    14705             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    14706 
    14707             # The C++ compiler must be used to create the archive.
    14708             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
    14709             ;;
    14710           *)
    14711             # GNU C++ compiler with Solaris linker
    14712             if test yes,no = "$GXX,$with_gnu_ld"; then
    14713               no_undefined_flag_CXX=' $wl-z ${wl}defs'
    14714               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
    14715                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    14716                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    14717                   $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'
    14718 
    14719                 # Commands to make compiler produce verbose output that lists
    14720                 # what "hidden" libraries, object files and flags are used when
    14721                 # linking a shared library.
    14722                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    14723               else
    14724                 # g++ 2.7 appears to require '-G' NOT '-shared' on this
    14725                 # platform.
    14726                 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    14727                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    14728                   $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'
    14729 
    14730                 # Commands to make compiler produce verbose output that lists
    14731                 # what "hidden" libraries, object files and flags are used when
    14732                 # linking a shared library.
    14733                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    14734               fi
    14735 
    14736               hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
    14737               case $host_os in
    14738                 solaris2.[0-5] | solaris2.[0-5].*) ;;
    14739                 *)
    14740                   whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
    14741                   ;;
    14742               esac
    14743             fi
    14744             ;;
    14745         esac
    14746         ;;
    14747 
    14748     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    14749       no_undefined_flag_CXX='$wl-z,text'
    14750       archive_cmds_need_lc_CXX=no
    14751       hardcode_shlibpath_var_CXX=no
    14752       runpath_var='LD_RUN_PATH'
    14753 
    14754       case $cc_basename in
    14755         CC*)
    14756           archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14757           archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14758           ;;
    14759         *)
    14760           archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14761           archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14762           ;;
    14763       esac
    14764       ;;
    14765 
    14766       sysv5* | sco3.2v5* | sco5v6*)
    14767         # Note: We CANNOT use -z defs as we might desire, because we do not
    14768         # link with -lc, and that would cause any symbols used from libc to
    14769         # always be unresolved, which means just about no library would
    14770         # ever link correctly.  If we're not using GNU ld we use -z text
    14771         # though, which does catch some bad symbols but isn't as heavy-handed
    14772         # as -z defs.
    14773         no_undefined_flag_CXX='$wl-z,text'
    14774         allow_undefined_flag_CXX='$wl-z,nodefs'
    14775         archive_cmds_need_lc_CXX=no
    14776         hardcode_shlibpath_var_CXX=no
    14777         hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
    14778         hardcode_libdir_separator_CXX=':'
    14779         link_all_deplibs_CXX=yes
    14780         export_dynamic_flag_spec_CXX='$wl-Bexport'
    14781         runpath_var='LD_RUN_PATH'
    14782 
    14783         case $cc_basename in
    14784           CC*)
    14785             archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14786             archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14787             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
    14788               '"$old_archive_cmds_CXX"
    14789             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
    14790               '"$reload_cmds_CXX"
    14791             ;;
    14792           *)
    14793             archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14794             archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14795             ;;
    14796         esac
    14797       ;;
    14798 
    14799       tandem*)
    14800         case $cc_basename in
    14801           NCC*)
    14802             # NonStop-UX NCC 3.20
    14803             # FIXME: insert proper C++ library support
    14804             ld_shlibs_CXX=no
    14805             ;;
    14806           *)
    14807             # FIXME: insert proper C++ library support
    14808             ld_shlibs_CXX=no
    14809             ;;
    14810         esac
    14811         ;;
    14812 
    14813       vxworks*)
    14814         # FIXME: insert proper C++ library support
    14815         ld_shlibs_CXX=no
    14816         ;;
    14817 
    14818       *)
    14819         # FIXME: insert proper C++ library support
    14820         ld_shlibs_CXX=no
    14821         ;;
    14822     esac
    14823 
    14824     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
    14825 $as_echo "$ld_shlibs_CXX" >&6; }
    14826     test no = "$ld_shlibs_CXX" && can_build_shared=no
    14827 
    14828     GCC_CXX=$GXX
    14829     LD_CXX=$LD
    14830 
    14831     ## CAVEAT EMPTOR:
    14832     ## There is no encapsulation within the following macros, do not change
    14833     ## the running order or otherwise move them around unless you know exactly
    14834     ## what you are doing...
    14835     # Dependencies to place before and after the object being linked:
    14836 predep_objects_CXX=
    14837 postdep_objects_CXX=
    14838 predeps_CXX=
    14839 postdeps_CXX=
    14840 compiler_lib_search_path_CXX=
    14841 
    14842 cat > conftest.$ac_ext <<_LT_EOF
    14843 class Foo
    14844 {
    14845 public:
    14846   Foo (void) { a = 0; }
    14847 private:
    14848   int a;
    14849 };
    14850 _LT_EOF
    14851 
    14852 
    14853 _lt_libdeps_save_CFLAGS=$CFLAGS
    14854 case "$CC $CFLAGS " in #(
    14855 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
    14856 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
    14857 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
    14858 esac
    14859 
    14860 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    14861   (eval $ac_compile) 2>&5
    14862   ac_status=$?
    14863   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    14864   test $ac_status = 0; }; then
    14865   # Parse the compiler output and extract the necessary
    14866   # objects, libraries and library flags.
    14867 
    14868   # Sentinel used to keep track of whether or not we are before
    14869   # the conftest object file.
    14870   pre_test_object_deps_done=no
    14871 
    14872   for p in `eval "$output_verbose_link_cmd"`; do
    14873     case $prev$p in
    14874 
    14875     -L* | -R* | -l*)
    14876        # Some compilers place space between "-{L,R}" and the path.
    14877        # Remove the space.
    14878        if test x-L = "$p" ||
    14879           test x-R = "$p"; then
    14880          prev=$p
    14881          continue
    14882        fi
    14883 
    14884        # Expand the sysroot to ease extracting the directories later.
    14885        if test -z "$prev"; then
    14886          case $p in
    14887          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
    14888          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
    14889          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
    14890          esac
    14891        fi
    14892        case $p in
    14893        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
    14894        esac
    14895        if test no = "$pre_test_object_deps_done"; then
    14896          case $prev in
    14897          -L | -R)
    14898            # Internal compiler library paths should come after those
    14899            # provided the user.  The postdeps already come after the
    14900            # user supplied libs so there is no need to process them.
    14901            if test -z "$compiler_lib_search_path_CXX"; then
    14902              compiler_lib_search_path_CXX=$prev$p
    14903            else
    14904              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
    14905            fi
    14906            ;;
    14907          # The "-l" case would never come before the object being
    14908          # linked, so don't bother handling this case.
    14909          esac
    14910        else
    14911          if test -z "$postdeps_CXX"; then
    14912            postdeps_CXX=$prev$p
    14913          else
    14914            postdeps_CXX="${postdeps_CXX} $prev$p"
    14915          fi
    14916        fi
    14917        prev=
    14918        ;;
    14919 
    14920     *.lto.$objext) ;; # Ignore GCC LTO objects
    14921     *.$objext)
    14922        # This assumes that the test object file only shows up
    14923        # once in the compiler output.
    14924        if test "$p" = "conftest.$objext"; then
    14925          pre_test_object_deps_done=yes
    14926          continue
    14927        fi
    14928 
    14929        if test no = "$pre_test_object_deps_done"; then
    14930          if test -z "$predep_objects_CXX"; then
    14931            predep_objects_CXX=$p
    14932          else
    14933            predep_objects_CXX="$predep_objects_CXX $p"
    14934          fi
    14935        else
    14936          if test -z "$postdep_objects_CXX"; then
    14937            postdep_objects_CXX=$p
    14938          else
    14939            postdep_objects_CXX="$postdep_objects_CXX $p"
    14940          fi
    14941        fi
    14942        ;;
    14943 
    14944     *) ;; # Ignore the rest.
    14945 
    14946     esac
    14947   done
    14948 
    14949   # Clean up.
    14950   rm -f a.out a.exe
    14951 else
    14952   echo "libtool.m4: error: problem compiling CXX test program"
    14953 fi
    14954 
    14955 $RM -f confest.$objext
    14956 CFLAGS=$_lt_libdeps_save_CFLAGS
    14957 
    14958 # PORTME: override above test on systems where it is broken
    14959 case $host_os in
    14960 interix[3-9]*)
    14961   # Interix 3.5 installs completely hosed .la files for C++, so rather than
    14962   # hack all around it, let's just trust "g++" to DTRT.
    14963   predep_objects_CXX=
    14964   postdep_objects_CXX=
    14965   postdeps_CXX=
    14966   ;;
    14967 esac
    14968 
    14969 
    14970 case " $postdeps_CXX " in
    14971 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
    14972 esac
    14973  compiler_lib_search_dirs_CXX=
    14974 if test -n "${compiler_lib_search_path_CXX}"; then
    14975  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
    14976 fi
    14977 
    14978 
    14979 
    14980 
    14981 
    14982 
    14983 
    14984 
    14985 
    14986 
    14987 
    14988 
    14989 
    14990 
    14991 
    14992 
    14993 
    14994 
    14995 
    14996 
    14997 
    14998 
    14999 
    15000 
    15001 
    15002 
    15003 
    15004 
    15005 
    15006 
    15007 
    15008     lt_prog_compiler_wl_CXX=
    15009 lt_prog_compiler_pic_CXX=
    15010 lt_prog_compiler_static_CXX=
    15011 
    15012 
    15013   # C++ specific cases for pic, static, wl, etc.
    15014   if test yes = "$GXX"; then
    15015     lt_prog_compiler_wl_CXX='-Wl,'
    15016     lt_prog_compiler_static_CXX='-static'
    15017 
    15018     case $host_os in
    15019     aix*)
    15020       # All AIX code is PIC.
    15021       if test ia64 = "$host_cpu"; then
    15022         # AIX 5 now supports IA64 processor
    15023         lt_prog_compiler_static_CXX='-Bstatic'
    15024       fi
    15025       lt_prog_compiler_pic_CXX='-fPIC'
    15026       ;;
    15027 
    15028     amigaos*)
    15029       case $host_cpu in
    15030       powerpc)
    15031             # see comment about AmigaOS4 .so support
    15032             lt_prog_compiler_pic_CXX='-fPIC'
    15033         ;;
    15034       m68k)
    15035             # FIXME: we need at least 68020 code to build shared libraries, but
    15036             # adding the '-m68020' flag to GCC prevents building anything better,
    15037             # like '-m68040'.
    15038             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
    15039         ;;
    15040       esac
    15041       ;;
    15042 
    15043     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    15044       # PIC is the default for these OSes.
    15045       ;;
    15046     mingw* | cygwin* | os2* | pw32* | cegcc*)
    15047       # This hack is so that the source file can tell whether it is being
    15048       # built for inclusion in a dll (and should export symbols for example).
    15049       # Although the cygwin gcc ignores -fPIC, still need this for old-style
    15050       # (--disable-auto-import) libraries
    15051       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
    15052       case $host_os in
    15053       os2*)
    15054         lt_prog_compiler_static_CXX='$wl-static'
    15055         ;;
    15056       esac
    15057       ;;
    15058     darwin* | rhapsody*)
    15059       # PIC is the default on this platform
    15060       # Common symbols not allowed in MH_DYLIB files
    15061       lt_prog_compiler_pic_CXX='-fno-common'
    15062       ;;
    15063     *djgpp*)
    15064       # DJGPP does not support shared libraries at all
    15065       lt_prog_compiler_pic_CXX=
    15066       ;;
    15067     haiku*)
    15068       # PIC is the default for Haiku.
    15069       # The "-static" flag exists, but is broken.
    15070       lt_prog_compiler_static_CXX=
    15071       ;;
    15072     interix[3-9]*)
    15073       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    15074       # Instead, we relocate shared libraries at runtime.
    15075       ;;
    15076     sysv4*MP*)
    15077       if test -d /usr/nec; then
    15078         lt_prog_compiler_pic_CXX=-Kconform_pic
    15079       fi
    15080       ;;
    15081     hpux*)
    15082       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
    15083       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
    15084       # sets the default TLS model and affects inlining.
    15085       case $host_cpu in
    15086       hppa*64*)
    15087         ;;
    15088       *)
    15089         lt_prog_compiler_pic_CXX='-fPIC'
    15090         ;;
    15091       esac
    15092       ;;
    15093     *qnx* | *nto*)
    15094       # QNX uses GNU C++, but need to define -shared option too, otherwise
    15095       # it will coredump.
    15096       lt_prog_compiler_pic_CXX='-fPIC -shared'
    15097       ;;
    15098     *)
    15099       lt_prog_compiler_pic_CXX='-fPIC'
    15100       ;;
    15101     esac
    15102   else
    15103     case $host_os in
    15104       aix[4-9]*)
    15105         # All AIX code is PIC.
    15106         if test ia64 = "$host_cpu"; then
    15107           # AIX 5 now supports IA64 processor
    15108           lt_prog_compiler_static_CXX='-Bstatic'
    15109         else
    15110           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
    15111         fi
    15112         ;;
    15113       chorus*)
    15114         case $cc_basename in
    15115         cxch68*)
    15116           # Green Hills C++ Compiler
    15117           # _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"
    15118           ;;
    15119         esac
    15120         ;;
    15121       mingw* | cygwin* | os2* | pw32* | cegcc*)
    15122         # This hack is so that the source file can tell whether it is being
    15123         # built for inclusion in a dll (and should export symbols for example).
    15124         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
    15125         ;;
    15126       dgux*)
    15127         case $cc_basename in
    15128           ec++*)
    15129             lt_prog_compiler_pic_CXX='-KPIC'
    15130             ;;
    15131           ghcx*)
    15132             # Green Hills C++ Compiler
    15133             lt_prog_compiler_pic_CXX='-pic'
    15134             ;;
    15135           *)
    15136             ;;
    15137         esac
    15138         ;;
    15139       freebsd* | dragonfly*)
    15140         # FreeBSD uses GNU C++
    15141         ;;
    15142       hpux9* | hpux10* | hpux11*)
    15143         case $cc_basename in
    15144           CC*)
    15145             lt_prog_compiler_wl_CXX='-Wl,'
    15146             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
    15147             if test ia64 != "$host_cpu"; then
    15148               lt_prog_compiler_pic_CXX='+Z'
    15149             fi
    15150             ;;
    15151           aCC*)
    15152             lt_prog_compiler_wl_CXX='-Wl,'
    15153             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
    15154             case $host_cpu in
    15155             hppa*64*|ia64*)
    15156               # +Z the default
    15157               ;;
    15158             *)
    15159               lt_prog_compiler_pic_CXX='+Z'
    15160               ;;
    15161             esac
    15162             ;;
    15163           *)
    15164             ;;
    15165         esac
    15166         ;;
    15167       interix*)
    15168         # This is c89, which is MS Visual C++ (no shared libs)
    15169         # Anyone wants to do a port?
    15170         ;;
    15171       irix5* | irix6* | nonstopux*)
    15172         case $cc_basename in
    15173           CC*)
    15174             lt_prog_compiler_wl_CXX='-Wl,'
    15175             lt_prog_compiler_static_CXX='-non_shared'
    15176             # CC pic flag -KPIC is the default.
    15177             ;;
    15178           *)
    15179             ;;
    15180         esac
    15181         ;;
    15182       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    15183         case $cc_basename in
    15184           KCC*)
    15185             # KAI C++ Compiler
    15186             lt_prog_compiler_wl_CXX='--backend -Wl,'
    15187             lt_prog_compiler_pic_CXX='-fPIC'
    15188             ;;
    15189           ecpc* )
    15190             # old Intel C++ for x86_64, which still supported -KPIC.
    15191             lt_prog_compiler_wl_CXX='-Wl,'
    15192             lt_prog_compiler_pic_CXX='-KPIC'
    15193             lt_prog_compiler_static_CXX='-static'
    15194             ;;
    15195           icpc* )
    15196             # Intel C++, used to be incompatible with GCC.
    15197             # ICC 10 doesn't accept -KPIC any more.
    15198             lt_prog_compiler_wl_CXX='-Wl,'
    15199             lt_prog_compiler_pic_CXX='-fPIC'
    15200             lt_prog_compiler_static_CXX='-static'
    15201             ;;
    15202           pgCC* | pgcpp*)
    15203             # Portland Group C++ compiler
    15204             lt_prog_compiler_wl_CXX='-Wl,'
    15205             lt_prog_compiler_pic_CXX='-fpic'
    15206             lt_prog_compiler_static_CXX='-Bstatic'
    15207             ;;
    15208           cxx*)
    15209             # Compaq C++
    15210             # Make sure the PIC flag is empty.  It appears that all Alpha
    15211             # Linux and Compaq Tru64 Unix objects are PIC.
    15212             lt_prog_compiler_pic_CXX=
    15213             lt_prog_compiler_static_CXX='-non_shared'
    15214             ;;
    15215           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
    15216             # IBM XL 8.0, 9.0 on PPC and BlueGene
    15217             lt_prog_compiler_wl_CXX='-Wl,'
    15218             lt_prog_compiler_pic_CXX='-qpic'
    15219             lt_prog_compiler_static_CXX='-qstaticlink'
    15220             ;;
    15221           *)
    15222             case `$CC -V 2>&1 | sed 5q` in
    15223             *Sun\ C*)
    15224               # Sun C++ 5.9
    15225               lt_prog_compiler_pic_CXX='-KPIC'
    15226               lt_prog_compiler_static_CXX='-Bstatic'
    15227               lt_prog_compiler_wl_CXX='-Qoption ld '
    15228               ;;
    15229             esac
    15230             ;;
    15231         esac
    15232         ;;
    15233       lynxos*)
    15234         ;;
    15235       m88k*)
    15236         ;;
    15237       mvs*)
    15238         case $cc_basename in
    15239           cxx*)
    15240             lt_prog_compiler_pic_CXX='-W c,exportall'
    15241             ;;
    15242           *)
    15243             ;;
    15244         esac
    15245         ;;
    15246       netbsd* | netbsdelf*-gnu)
    15247         ;;
    15248       *qnx* | *nto*)
    15249         # QNX uses GNU C++, but need to define -shared option too, otherwise
    15250         # it will coredump.
    15251         lt_prog_compiler_pic_CXX='-fPIC -shared'
    15252         ;;
    15253       osf3* | osf4* | osf5*)
    15254         case $cc_basename in
    15255           KCC*)
    15256             lt_prog_compiler_wl_CXX='--backend -Wl,'
    15257             ;;
    15258           RCC*)
    15259             # Rational C++ 2.4.1
    15260             lt_prog_compiler_pic_CXX='-pic'
    15261             ;;
    15262           cxx*)
    15263             # Digital/Compaq C++
    15264             lt_prog_compiler_wl_CXX='-Wl,'
    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           *)
    15271             ;;
    15272         esac
    15273         ;;
    15274       psos*)
    15275         ;;
    15276       solaris*)
    15277         case $cc_basename in
    15278           CC* | sunCC*)
    15279             # Sun C++ 4.2, 5.x and Centerline C++
    15280             lt_prog_compiler_pic_CXX='-KPIC'
    15281             lt_prog_compiler_static_CXX='-Bstatic'
    15282             lt_prog_compiler_wl_CXX='-Qoption ld '
    15283             ;;
    15284           gcx*)
    15285             # Green Hills C++ Compiler
    15286             lt_prog_compiler_pic_CXX='-PIC'
    15287             ;;
    15288           *)
    15289             ;;
    15290         esac
    15291         ;;
    15292       sunos4*)
    15293         case $cc_basename in
    15294           CC*)
    15295             # Sun C++ 4.x
    15296             lt_prog_compiler_pic_CXX='-pic'
    15297             lt_prog_compiler_static_CXX='-Bstatic'
    15298             ;;
    15299           lcc*)
    15300             # Lucid
    15301             lt_prog_compiler_pic_CXX='-pic'
    15302             ;;
    15303           *)
    15304             ;;
    15305         esac
    15306         ;;
    15307       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
    15308         case $cc_basename in
    15309           CC*)
    15310             lt_prog_compiler_wl_CXX='-Wl,'
    15311             lt_prog_compiler_pic_CXX='-KPIC'
    15312             lt_prog_compiler_static_CXX='-Bstatic'
    15313             ;;
    15314         esac
    15315         ;;
    15316       tandem*)
    15317         case $cc_basename in
    15318           NCC*)
    15319             # NonStop-UX NCC 3.20
    15320             lt_prog_compiler_pic_CXX='-KPIC'
    15321             ;;
    15322           *)
    15323             ;;
    15324         esac
    15325         ;;
    15326       vxworks*)
    15327         ;;
    15328       *)
    15329         lt_prog_compiler_can_build_shared_CXX=no
    15330         ;;
    15331     esac
    15332   fi
    15333 
    15334 case $host_os in
    15335   # For platforms that do not support PIC, -DPIC is meaningless:
    15336   *djgpp*)
    15337     lt_prog_compiler_pic_CXX=
    15338     ;;
    15339   *)
    15340     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
    15341     ;;
    15342 esac
    15343 
    15344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
    15345 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
    15346 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
    15347   $as_echo_n "(cached) " >&6
    15348 else
    15349   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
    15350 fi
    15351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
    15352 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
    15353 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
    15354 
    15355 #
    15356 # Check to make sure the PIC flag actually works.
    15357 #
    15358 if test -n "$lt_prog_compiler_pic_CXX"; then
    15359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
    15360 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
    15361 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
    15362   $as_echo_n "(cached) " >&6
    15363 else
    15364   lt_cv_prog_compiler_pic_works_CXX=no
    15365    ac_outfile=conftest.$ac_objext
    15366    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    15367    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
    15368    # Insert the option either (1) after the last *FLAGS variable, or
    15369    # (2) before a word containing "conftest.", or (3) at the end.
    15370    # Note that $ac_compile itself does not contain backslashes and begins
    15371    # with a dollar sign (not a hyphen), so the echo should work correctly.
    15372    # The option is referenced via a variable to avoid confusing sed.
    15373    lt_compile=`echo "$ac_compile" | $SED \
    15374    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    15375    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    15376    -e 's:$: $lt_compiler_flag:'`
    15377    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    15378    (eval "$lt_compile" 2>conftest.err)
    15379    ac_status=$?
    15380    cat conftest.err >&5
    15381    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15382    if (exit $ac_status) && test -s "$ac_outfile"; then
    15383      # The compiler can only warn and ignore the option if not recognized
    15384      # So say no if there are warnings other than the usual output.
    15385      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    15386      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    15387      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    15388        lt_cv_prog_compiler_pic_works_CXX=yes
    15389      fi
    15390    fi
    15391    $RM conftest*
    15392 
    15393 fi
    15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
    15395 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
    15396 
    15397 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
    15398     case $lt_prog_compiler_pic_CXX in
    15399      "" | " "*) ;;
    15400      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
    15401      esac
    15402 else
    15403     lt_prog_compiler_pic_CXX=
    15404      lt_prog_compiler_can_build_shared_CXX=no
    15405 fi
    15406 
    15407 fi
    15408 
    15409 
    15410 
    15411 
    15412 
    15413 #
    15414 # Check to make sure the static flag actually works.
    15415 #
    15416 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
    15417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
    15418 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
    15419 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
    15420   $as_echo_n "(cached) " >&6
    15421 else
    15422   lt_cv_prog_compiler_static_works_CXX=no
    15423    save_LDFLAGS=$LDFLAGS
    15424    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    15425    echo "$lt_simple_link_test_code" > conftest.$ac_ext
    15426    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    15427      # The linker can only warn and ignore the option if not recognized
    15428      # So say no if there are warnings
    15429      if test -s conftest.err; then
    15430        # Append any errors to the config.log.
    15431        cat conftest.err 1>&5
    15432        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
    15433        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    15434        if diff conftest.exp conftest.er2 >/dev/null; then
    15435          lt_cv_prog_compiler_static_works_CXX=yes
    15436        fi
    15437      else
    15438        lt_cv_prog_compiler_static_works_CXX=yes
    15439      fi
    15440    fi
    15441    $RM -r conftest*
    15442    LDFLAGS=$save_LDFLAGS
    15443 
    15444 fi
    15445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
    15446 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
    15447 
    15448 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
    15449     :
    15450 else
    15451     lt_prog_compiler_static_CXX=
    15452 fi
    15453 
    15454 
    15455 
    15456 
    15457     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
    15458 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
    15459 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
    15460   $as_echo_n "(cached) " >&6
    15461 else
    15462   lt_cv_prog_compiler_c_o_CXX=no
    15463    $RM -r conftest 2>/dev/null
    15464    mkdir conftest
    15465    cd conftest
    15466    mkdir out
    15467    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    15468 
    15469    lt_compiler_flag="-o out/conftest2.$ac_objext"
    15470    # Insert the option either (1) after the last *FLAGS variable, or
    15471    # (2) before a word containing "conftest.", or (3) at the end.
    15472    # Note that $ac_compile itself does not contain backslashes and begins
    15473    # with a dollar sign (not a hyphen), so the echo should work correctly.
    15474    lt_compile=`echo "$ac_compile" | $SED \
    15475    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    15476    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    15477    -e 's:$: $lt_compiler_flag:'`
    15478    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    15479    (eval "$lt_compile" 2>out/conftest.err)
    15480    ac_status=$?
    15481    cat out/conftest.err >&5
    15482    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15483    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    15484    then
    15485      # The compiler can only warn and ignore the option if not recognized
    15486      # So say no if there are warnings
    15487      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    15488      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    15489      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
    15490        lt_cv_prog_compiler_c_o_CXX=yes
    15491      fi
    15492    fi
    15493    chmod u+w . 2>&5
    15494    $RM conftest*
    15495    # SGI C++ compiler will create directory out/ii_files/ for
    15496    # template instantiation
    15497    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
    15498    $RM out/* && rmdir out
    15499    cd ..
    15500    $RM -r conftest
    15501    $RM conftest*
    15502 
    15503 fi
    15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
    15505 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
    15506 
    15507 
    15508 
    15509     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
    15510 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
    15511 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
    15512   $as_echo_n "(cached) " >&6
    15513 else
    15514   lt_cv_prog_compiler_c_o_CXX=no
    15515    $RM -r conftest 2>/dev/null
    15516    mkdir conftest
    15517    cd conftest
    15518    mkdir out
    15519    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    15520 
    15521    lt_compiler_flag="-o out/conftest2.$ac_objext"
    15522    # Insert the option either (1) after the last *FLAGS variable, or
    15523    # (2) before a word containing "conftest.", or (3) at the end.
    15524    # Note that $ac_compile itself does not contain backslashes and begins
    15525    # with a dollar sign (not a hyphen), so the echo should work correctly.
    15526    lt_compile=`echo "$ac_compile" | $SED \
    15527    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    15528    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    15529    -e 's:$: $lt_compiler_flag:'`
    15530    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    15531    (eval "$lt_compile" 2>out/conftest.err)
    15532    ac_status=$?
    15533    cat out/conftest.err >&5
    15534    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15535    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    15536    then
    15537      # The compiler can only warn and ignore the option if not recognized
    15538      # So say no if there are warnings
    15539      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    15540      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    15541      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
    15542        lt_cv_prog_compiler_c_o_CXX=yes
    15543      fi
    15544    fi
    15545    chmod u+w . 2>&5
    15546    $RM conftest*
    15547    # SGI C++ compiler will create directory out/ii_files/ for
    15548    # template instantiation
    15549    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
    15550    $RM out/* && rmdir out
    15551    cd ..
    15552    $RM -r conftest
    15553    $RM conftest*
    15554 
    15555 fi
    15556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
    15557 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
    15558 
    15559 
    15560 
    15561 
    15562 hard_links=nottested
    15563 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
    15564   # do not overwrite the value of need_locks provided by the user
    15565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
    15566 $as_echo_n "checking if we can lock with hard links... " >&6; }
    15567   hard_links=yes
    15568   $RM conftest*
    15569   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    15570   touch conftest.a
    15571   ln conftest.a conftest.b 2>&5 || hard_links=no
    15572   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    15573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
    15574 $as_echo "$hard_links" >&6; }
    15575   if test no = "$hard_links"; then
    15576     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
    15577 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
    15578     need_locks=warn
    15579   fi
    15580 else
    15581   need_locks=no
    15582 fi
    15583 
    15584 
    15585 
    15586     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    15587 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
    15588 
    15589   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    15590   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    15591   case $host_os in
    15592   aix[4-9]*)
    15593     # If we're using GNU nm, then we don't want the "-C" option.
    15594     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
    15595     # Without the "-l" option, or with the "-B" option, AIX nm treats
    15596     # weak defined symbols like other global defined symbols, whereas
    15597     # GNU nm marks them as "W".
    15598     # While the 'weak' keyword is ignored in the Export File, we need
    15599     # it in the Import File for the 'aix-soname' feature, so we have
    15600     # to replace the "-B" option with "-P" for AIX nm.
    15601     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    15602       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'
    15603     else
    15604       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'
    15605     fi
    15606     ;;
    15607   pw32*)
    15608     export_symbols_cmds_CXX=$ltdll_cmds
    15609     ;;
    15610   cygwin* | mingw* | cegcc*)
    15611     case $cc_basename in
    15612     cl*)
    15613       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
    15614       ;;
    15615     *)
    15616       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'
    15617       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
    15618       ;;
    15619     esac
    15620     ;;
    15621   linux* | k*bsd*-gnu | gnu*)
    15622     link_all_deplibs_CXX=no
    15623     ;;
    15624   *)
    15625     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    15626     ;;
    15627   esac
    15628 
    15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
    15630 $as_echo "$ld_shlibs_CXX" >&6; }
    15631 test no = "$ld_shlibs_CXX" && can_build_shared=no
    15632 
    15633 with_gnu_ld_CXX=$with_gnu_ld
    15634 
    15635 
    15636 
    15637 
    15638 
    15639 
    15640 #
    15641 # Do we need to explicitly link libc?
    15642 #
    15643 case "x$archive_cmds_need_lc_CXX" in
    15644 x|xyes)
    15645   # Assume -lc should be added
    15646   archive_cmds_need_lc_CXX=yes
    15647 
    15648   if test yes,yes = "$GCC,$enable_shared"; then
    15649     case $archive_cmds_CXX in
    15650     *'~'*)
    15651       # FIXME: we may have to deal with multi-command sequences.
    15652       ;;
    15653     '$CC '*)
    15654       # Test whether the compiler implicitly links with -lc since on some
    15655       # systems, -lgcc has to come before -lc. If gcc already passes -lc
    15656       # to ld, don't add -lc before -lgcc.
    15657       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
    15658 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
    15659 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
    15660   $as_echo_n "(cached) " >&6
    15661 else
    15662   $RM conftest*
    15663         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    15664 
    15665         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    15666   (eval $ac_compile) 2>&5
    15667   ac_status=$?
    15668   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    15669   test $ac_status = 0; } 2>conftest.err; then
    15670           soname=conftest
    15671           lib=conftest
    15672           libobjs=conftest.$ac_objext
    15673           deplibs=
    15674           wl=$lt_prog_compiler_wl_CXX
    15675           pic_flag=$lt_prog_compiler_pic_CXX
    15676           compiler_flags=-v
    15677           linker_flags=-v
    15678           verstring=
    15679           output_objdir=.
    15680           libname=conftest
    15681           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
    15682           allow_undefined_flag_CXX=
    15683           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
    15684   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
    15685   ac_status=$?
    15686   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    15687   test $ac_status = 0; }
    15688           then
    15689             lt_cv_archive_cmds_need_lc_CXX=no
    15690           else
    15691             lt_cv_archive_cmds_need_lc_CXX=yes
    15692           fi
    15693           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
    15694         else
    15695           cat conftest.err 1>&5
    15696         fi
    15697         $RM conftest*
    15698 
    15699 fi
    15700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
    15701 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
    15702       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
    15703       ;;
    15704     esac
    15705   fi
    15706   ;;
    15707 esac
    15708 
    15709 
    15710 
    15711 
    15712 
    15713 
    15714 
    15715 
    15716 
    15717 
    15718 
    15719 
    15720 
    15721 
    15722 
    15723 
    15724 
    15725 
    15726 
    15727 
    15728 
    15729 
    15730 
    15731 
    15732 
    15733 
    15734 
    15735 
    15736 
    15737 
    15738 
    15739 
    15740 
    15741 
    15742 
    15743 
    15744 
    15745 
    15746 
    15747 
    15748 
    15749 
    15750 
    15751 
    15752 
    15753 
    15754 
    15755 
    15756 
    15757 
    15758 
    15759 
    15760 
    15761 
    15762 
    15763 
    15764 
    15765 
    15766 
    15767 
    15768 
    15769 
    15770     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
    15771 $as_echo_n "checking dynamic linker characteristics... " >&6; }
    15772 
    15773 library_names_spec=
    15774 libname_spec='lib$name'
    15775 soname_spec=
    15776 shrext_cmds=.so
    15777 postinstall_cmds=
    15778 postuninstall_cmds=
    15779 finish_cmds=
    15780 finish_eval=
    15781 shlibpath_var=
    15782 shlibpath_overrides_runpath=unknown
    15783 version_type=none
    15784 dynamic_linker="$host_os ld.so"
    15785 sys_lib_dlsearch_path_spec="/lib /usr/lib"
    15786 need_lib_prefix=unknown
    15787 hardcode_into_libs=no
    15788 
    15789 # when you set need_version to no, make sure it does not cause -set_version
    15790 # flags to be left without arguments
    15791 need_version=unknown
    15792 
    15793 
    15794 
    15795 case $host_os in
    15796 aix3*)
    15797   version_type=linux # correct to gnu/linux during the next big refactor
    15798   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
    15799   shlibpath_var=LIBPATH
    15800 
    15801   # AIX 3 has no versioning support, so we append a major version to the name.
    15802   soname_spec='$libname$release$shared_ext$major'
    15803   ;;
    15804 
    15805 aix[4-9]*)
    15806   version_type=linux # correct to gnu/linux during the next big refactor
    15807   need_lib_prefix=no
    15808   need_version=no
    15809   hardcode_into_libs=yes
    15810   if test ia64 = "$host_cpu"; then
    15811     # AIX 5 supports IA64
    15812     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
    15813     shlibpath_var=LD_LIBRARY_PATH
    15814   else
    15815     # With GCC up to 2.95.x, collect2 would create an import file
    15816     # for dependence libraries.  The import file would start with
    15817     # the line '#! .'.  This would cause the generated library to
    15818     # depend on '.', always an invalid library.  This was fixed in
    15819     # development snapshots of GCC prior to 3.0.
    15820     case $host_os in
    15821       aix4 | aix4.[01] | aix4.[01].*)
    15822       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    15823            echo ' yes '
    15824            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
    15825         :
    15826       else
    15827         can_build_shared=no
    15828       fi
    15829       ;;
    15830     esac
    15831     # Using Import Files as archive members, it is possible to support
    15832     # filename-based versioning of shared library archives on AIX. While
    15833     # this would work for both with and without runtime linking, it will
    15834     # prevent static linking of such archives. So we do filename-based
    15835     # shared library versioning with .so extension only, which is used
    15836     # when both runtime linking and shared linking is enabled.
    15837     # Unfortunately, runtime linking may impact performance, so we do
    15838     # not want this to be the default eventually. Also, we use the
    15839     # versioned .so libs for executables only if there is the -brtl
    15840     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
    15841     # To allow for filename-based versioning support, we need to create
    15842     # libNAME.so.V as an archive file, containing:
    15843     # *) an Import File, referring to the versioned filename of the
    15844     #    archive as well as the shared archive member, telling the
    15845     #    bitwidth (32 or 64) of that shared object, and providing the
    15846     #    list of exported symbols of that shared object, eventually
    15847     #    decorated with the 'weak' keyword
    15848     # *) the shared object with the F_LOADONLY flag set, to really avoid
    15849     #    it being seen by the linker.
    15850     # At run time we better use the real file rather than another symlink,
    15851     # but for link time we create the symlink libNAME.so -> libNAME.so.V
    15852 
    15853     case $with_aix_soname,$aix_use_runtimelinking in
    15854     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
    15855     # soname into executable. Probably we can add versioning support to
    15856     # collect2, so additional links can be useful in future.
    15857     aix,yes) # traditional libtool
    15858       dynamic_linker='AIX unversionable lib.so'
    15859       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    15860       # instead of lib<name>.a to let people know that these are not
    15861       # typical AIX shared libraries.
    15862       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15863       ;;
    15864     aix,no) # traditional AIX only
    15865       dynamic_linker='AIX lib.a(lib.so.V)'
    15866       # We preserve .a as extension for shared libraries through AIX4.2
    15867       # and later when we are not doing run time linking.
    15868       library_names_spec='$libname$release.a $libname.a'
    15869       soname_spec='$libname$release$shared_ext$major'
    15870       ;;
    15871     svr4,*) # full svr4 only
    15872       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
    15873       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    15874       # We do not specify a path in Import Files, so LIBPATH fires.
    15875       shlibpath_overrides_runpath=yes
    15876       ;;
    15877     *,yes) # both, prefer svr4
    15878       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
    15879       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    15880       # unpreferred sharedlib libNAME.a needs extra handling
    15881       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"'
    15882       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"'
    15883       # We do not specify a path in Import Files, so LIBPATH fires.
    15884       shlibpath_overrides_runpath=yes
    15885       ;;
    15886     *,no) # both, prefer aix
    15887       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
    15888       library_names_spec='$libname$release.a $libname.a'
    15889       soname_spec='$libname$release$shared_ext$major'
    15890       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
    15891       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)'
    15892       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"'
    15893       ;;
    15894     esac
    15895     shlibpath_var=LIBPATH
    15896   fi
    15897   ;;
    15898 
    15899 amigaos*)
    15900   case $host_cpu in
    15901   powerpc)
    15902     # Since July 2007 AmigaOS4 officially supports .so libraries.
    15903     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    15904     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15905     ;;
    15906   m68k)
    15907     library_names_spec='$libname.ixlibrary $libname.a'
    15908     # Create ${libname}_ixlibrary.a entries in /sys/libs.
    15909     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'
    15910     ;;
    15911   esac
    15912   ;;
    15913 
    15914 beos*)
    15915   library_names_spec='$libname$shared_ext'
    15916   dynamic_linker="$host_os ld.so"
    15917   shlibpath_var=LIBRARY_PATH
    15918   ;;
    15919 
    15920 bsdi[45]*)
    15921   version_type=linux # correct to gnu/linux during the next big refactor
    15922   need_version=no
    15923   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15924   soname_spec='$libname$release$shared_ext$major'
    15925   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    15926   shlibpath_var=LD_LIBRARY_PATH
    15927   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
    15928   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
    15929   # the default ld.so.conf also contains /usr/contrib/lib and
    15930   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
    15931   # libtool to hard-code these into programs
    15932   ;;
    15933 
    15934 cygwin* | mingw* | pw32* | cegcc*)
    15935   version_type=windows
    15936   shrext_cmds=.dll
    15937   need_version=no
    15938   need_lib_prefix=no
    15939 
    15940   case $GCC,$cc_basename in
    15941   yes,*)
    15942     # gcc
    15943     library_names_spec='$libname.dll.a'
    15944     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    15945     postinstall_cmds='base_file=`basename \$file`~
    15946       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    15947       dldir=$destdir/`dirname \$dlpath`~
    15948       test -d \$dldir || mkdir -p \$dldir~
    15949       $install_prog $dir/$dlname \$dldir/$dlname~
    15950       chmod a+x \$dldir/$dlname~
    15951       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    15952         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    15953       fi'
    15954     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    15955       dlpath=$dir/\$dldll~
    15956        $RM \$dlpath'
    15957     shlibpath_overrides_runpath=yes
    15958 
    15959     case $host_os in
    15960     cygwin*)
    15961       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    15962       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    15963 
    15964       ;;
    15965     mingw* | cegcc*)
    15966       # MinGW DLLs use traditional 'lib' prefix
    15967       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    15968       ;;
    15969     pw32*)
    15970       # pw32 DLLs use 'pw' prefix rather than 'lib'
    15971       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    15972       ;;
    15973     esac
    15974     dynamic_linker='Win32 ld.exe'
    15975     ;;
    15976 
    15977   *,cl*)
    15978     # Native MSVC
    15979     libname_spec='$name'
    15980     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    15981     library_names_spec='$libname.dll.lib'
    15982 
    15983     case $build_os in
    15984     mingw*)
    15985       sys_lib_search_path_spec=
    15986       lt_save_ifs=$IFS
    15987       IFS=';'
    15988       for lt_path in $LIB
    15989       do
    15990         IFS=$lt_save_ifs
    15991         # Let DOS variable expansion print the short 8.3 style file name.
    15992         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
    15993         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
    15994       done
    15995       IFS=$lt_save_ifs
    15996       # Convert to MSYS style.
    15997       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
    15998       ;;
    15999     cygwin*)
    16000       # Convert to unix form, then to dos form, then back to unix form
    16001       # but this time dos style (no spaces!) so that the unix form looks
    16002       # like /cygdrive/c/PROGRA~1:/cygdr...
    16003       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
    16004       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
    16005       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    16006       ;;
    16007     *)
    16008       sys_lib_search_path_spec=$LIB
    16009       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
    16010         # It is most probably a Windows format PATH.
    16011         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    16012       else
    16013         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    16014       fi
    16015       # FIXME: find the short name or the path components, as spaces are
    16016       # common. (e.g. "Program Files" -> "PROGRA~1")
    16017       ;;
    16018     esac
    16019 
    16020     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    16021     postinstall_cmds='base_file=`basename \$file`~
    16022       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    16023       dldir=$destdir/`dirname \$dlpath`~
    16024       test -d \$dldir || mkdir -p \$dldir~
    16025       $install_prog $dir/$dlname \$dldir/$dlname'
    16026     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    16027       dlpath=$dir/\$dldll~
    16028        $RM \$dlpath'
    16029     shlibpath_overrides_runpath=yes
    16030     dynamic_linker='Win32 link.exe'
    16031     ;;
    16032 
    16033   *)
    16034     # Assume MSVC wrapper
    16035     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
    16036     dynamic_linker='Win32 ld.exe'
    16037     ;;
    16038   esac
    16039   # FIXME: first we should search . and the directory the executable is in
    16040   shlibpath_var=PATH
    16041   ;;
    16042 
    16043 darwin* | rhapsody*)
    16044   dynamic_linker="$host_os dyld"
    16045   version_type=darwin
    16046   need_lib_prefix=no
    16047   need_version=no
    16048   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
    16049   soname_spec='$libname$release$major$shared_ext'
    16050   shlibpath_overrides_runpath=yes
    16051   shlibpath_var=DYLD_LIBRARY_PATH
    16052   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
    16053 
    16054   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    16055   ;;
    16056 
    16057 dgux*)
    16058   version_type=linux # correct to gnu/linux during the next big refactor
    16059   need_lib_prefix=no
    16060   need_version=no
    16061   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16062   soname_spec='$libname$release$shared_ext$major'
    16063   shlibpath_var=LD_LIBRARY_PATH
    16064   ;;
    16065 
    16066 freebsd* | dragonfly*)
    16067   # DragonFly does not have aout.  When/if they implement a new
    16068   # versioning mechanism, adjust this.
    16069   if test -x /usr/bin/objformat; then
    16070     objformat=`/usr/bin/objformat`
    16071   else
    16072     case $host_os in
    16073     freebsd[23].*) objformat=aout ;;
    16074     *) objformat=elf ;;
    16075     esac
    16076   fi
    16077   version_type=freebsd-$objformat
    16078   case $version_type in
    16079     freebsd-elf*)
    16080       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16081       soname_spec='$libname$release$shared_ext$major'
    16082       need_version=no
    16083       need_lib_prefix=no
    16084       ;;
    16085     freebsd-*)
    16086       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    16087       need_version=yes
    16088       ;;
    16089   esac
    16090   shlibpath_var=LD_LIBRARY_PATH
    16091   case $host_os in
    16092   freebsd2.*)
    16093     shlibpath_overrides_runpath=yes
    16094     ;;
    16095   freebsd3.[01]* | freebsdelf3.[01]*)
    16096     shlibpath_overrides_runpath=yes
    16097     hardcode_into_libs=yes
    16098     ;;
    16099   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
    16100   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
    16101     shlibpath_overrides_runpath=no
    16102     hardcode_into_libs=yes
    16103     ;;
    16104   *) # from 4.6 on, and DragonFly
    16105     shlibpath_overrides_runpath=yes
    16106     hardcode_into_libs=yes
    16107     ;;
    16108   esac
    16109   ;;
    16110 
    16111 haiku*)
    16112   version_type=linux # correct to gnu/linux during the next big refactor
    16113   need_lib_prefix=no
    16114   need_version=no
    16115   dynamic_linker="$host_os runtime_loader"
    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=LIBRARY_PATH
    16119   shlibpath_overrides_runpath=no
    16120   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    16121   hardcode_into_libs=yes
    16122   ;;
    16123 
    16124 hpux9* | hpux10* | hpux11*)
    16125   # Give a soname corresponding to the major version so that dld.sl refuses to
    16126   # link against other versions.
    16127   version_type=sunos
    16128   need_lib_prefix=no
    16129   need_version=no
    16130   case $host_cpu in
    16131   ia64*)
    16132     shrext_cmds='.so'
    16133     hardcode_into_libs=yes
    16134     dynamic_linker="$host_os dld.so"
    16135     shlibpath_var=LD_LIBRARY_PATH
    16136     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    16137     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16138     soname_spec='$libname$release$shared_ext$major'
    16139     if test 32 = "$HPUX_IA64_MODE"; then
    16140       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
    16141       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    16142     else
    16143       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
    16144       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    16145     fi
    16146     ;;
    16147   hppa*64*)
    16148     shrext_cmds='.sl'
    16149     hardcode_into_libs=yes
    16150     dynamic_linker="$host_os dld.sl"
    16151     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    16152     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    16153     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16154     soname_spec='$libname$release$shared_ext$major'
    16155     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    16156     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    16157     ;;
    16158   *)
    16159     shrext_cmds='.sl'
    16160     dynamic_linker="$host_os dld.sl"
    16161     shlibpath_var=SHLIB_PATH
    16162     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    16163     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16164     soname_spec='$libname$release$shared_ext$major'
    16165     ;;
    16166   esac
    16167   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
    16168   postinstall_cmds='chmod 555 $lib'
    16169   # or fails outright, so override atomically:
    16170   install_override_mode=555
    16171   ;;
    16172 
    16173 interix[3-9]*)
    16174   version_type=linux # correct to gnu/linux during the next big refactor
    16175   need_lib_prefix=no
    16176   need_version=no
    16177   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16178   soname_spec='$libname$release$shared_ext$major'
    16179   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    16180   shlibpath_var=LD_LIBRARY_PATH
    16181   shlibpath_overrides_runpath=no
    16182   hardcode_into_libs=yes
    16183   ;;
    16184 
    16185 irix5* | irix6* | nonstopux*)
    16186   case $host_os in
    16187     nonstopux*) version_type=nonstopux ;;
    16188     *)
    16189         if test yes = "$lt_cv_prog_gnu_ld"; then
    16190                 version_type=linux # correct to gnu/linux during the next big refactor
    16191         else
    16192                 version_type=irix
    16193         fi ;;
    16194   esac
    16195   need_lib_prefix=no
    16196   need_version=no
    16197   soname_spec='$libname$release$shared_ext$major'
    16198   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
    16199   case $host_os in
    16200   irix5* | nonstopux*)
    16201     libsuff= shlibsuff=
    16202     ;;
    16203   *)
    16204     case $LD in # libtool.m4 will add one of these switches to LD
    16205     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
    16206       libsuff= shlibsuff= libmagic=32-bit;;
    16207     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
    16208       libsuff=32 shlibsuff=N32 libmagic=N32;;
    16209     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
    16210       libsuff=64 shlibsuff=64 libmagic=64-bit;;
    16211     *) libsuff= shlibsuff= libmagic=never-match;;
    16212     esac
    16213     ;;
    16214   esac
    16215   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    16216   shlibpath_overrides_runpath=no
    16217   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
    16218   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
    16219   hardcode_into_libs=yes
    16220   ;;
    16221 
    16222 # No shared lib support for Linux oldld, aout, or coff.
    16223 linux*oldld* | linux*aout* | linux*coff*)
    16224   dynamic_linker=no
    16225   ;;
    16226 
    16227 linux*android*)
    16228   version_type=none # Android doesn't support versioned libraries.
    16229   need_lib_prefix=no
    16230   need_version=no
    16231   library_names_spec='$libname$release$shared_ext'
    16232   soname_spec='$libname$release$shared_ext'
    16233   finish_cmds=
    16234   shlibpath_var=LD_LIBRARY_PATH
    16235   shlibpath_overrides_runpath=yes
    16236 
    16237   # This implies no fast_install, which is unacceptable.
    16238   # Some rework will be needed to allow for fast_install
    16239   # before this can be enabled.
    16240   hardcode_into_libs=yes
    16241 
    16242   dynamic_linker='Android linker'
    16243   # Don't embed -rpath directories since the linker doesn't support them.
    16244   hardcode_libdir_flag_spec_CXX='-L$libdir'
    16245   ;;
    16246 
    16247 # This must be glibc/ELF.
    16248 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    16249   version_type=linux # correct to gnu/linux during the next big refactor
    16250   need_lib_prefix=no
    16251   need_version=no
    16252   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16253   soname_spec='$libname$release$shared_ext$major'
    16254   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    16255   shlibpath_var=LD_LIBRARY_PATH
    16256   shlibpath_overrides_runpath=no
    16257 
    16258   # Some binutils ld are patched to set DT_RUNPATH
    16259   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
    16260   $as_echo_n "(cached) " >&6
    16261 else
    16262   lt_cv_shlibpath_overrides_runpath=no
    16263     save_LDFLAGS=$LDFLAGS
    16264     save_libdir=$libdir
    16265     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
    16266          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
    16267     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16268 /* end confdefs.h.  */
    16269 
    16270 int
    16271 main ()
    16272 {
    16273 
    16274   ;
    16275   return 0;
    16276 }
    16277 _ACEOF
    16278 if ac_fn_cxx_try_link "$LINENO"; then :
    16279   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
    16280   lt_cv_shlibpath_overrides_runpath=yes
    16281 fi
    16282 fi
    16283 rm -f core conftest.err conftest.$ac_objext \
    16284     conftest$ac_exeext conftest.$ac_ext
    16285     LDFLAGS=$save_LDFLAGS
    16286     libdir=$save_libdir
    16287 
    16288 fi
    16289 
    16290   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
    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   # Ideally, we could use ldconfig to report *all* directores which are
    16298   # searched for libraries, however this is still not possible.  Aside from not
    16299   # being certain /sbin/ldconfig is available, command
    16300   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
    16301   # even though it is searched at run-time.  Try to do the best guess by
    16302   # appending ld.so.conf contents (and includes) to the search path.
    16303   if test -f /etc/ld.so.conf; then
    16304     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' ' '`
    16305     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    16306   fi
    16307 
    16308   # We used to test for /lib/ld.so.1 and disable shared libraries on
    16309   # powerpc, because MkLinux only supported shared libraries with the
    16310   # GNU dynamic linker.  Since this was broken with cross compilers,
    16311   # most powerpc-linux boxes support dynamic linking these days and
    16312   # people can always --disable-shared, the test was removed, and we
    16313   # assume the GNU/Linux dynamic linker is in use.
    16314   dynamic_linker='GNU/Linux ld.so'
    16315   ;;
    16316 
    16317 netbsdelf*-gnu)
    16318   version_type=linux
    16319   need_lib_prefix=no
    16320   need_version=no
    16321   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    16322   soname_spec='${libname}${release}${shared_ext}$major'
    16323   shlibpath_var=LD_LIBRARY_PATH
    16324   shlibpath_overrides_runpath=no
    16325   hardcode_into_libs=yes
    16326   dynamic_linker='NetBSD ld.elf_so'
    16327   ;;
    16328 
    16329 netbsd*)
    16330   version_type=sunos
    16331   need_lib_prefix=no
    16332   need_version=no
    16333   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    16334     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    16335     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    16336     dynamic_linker='NetBSD (a.out) ld.so'
    16337   else
    16338     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16339     soname_spec='$libname$release$shared_ext$major'
    16340     dynamic_linker='NetBSD ld.elf_so'
    16341   fi
    16342   shlibpath_var=LD_LIBRARY_PATH
    16343   shlibpath_overrides_runpath=yes
    16344   hardcode_into_libs=yes
    16345   ;;
    16346 
    16347 newsos6)
    16348   version_type=linux # correct to gnu/linux during the next big refactor
    16349   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16350   shlibpath_var=LD_LIBRARY_PATH
    16351   shlibpath_overrides_runpath=yes
    16352   ;;
    16353 
    16354 *nto* | *qnx*)
    16355   version_type=qnx
    16356   need_lib_prefix=no
    16357   need_version=no
    16358   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16359   soname_spec='$libname$release$shared_ext$major'
    16360   shlibpath_var=LD_LIBRARY_PATH
    16361   shlibpath_overrides_runpath=no
    16362   hardcode_into_libs=yes
    16363   dynamic_linker='ldqnx.so'
    16364   ;;
    16365 
    16366 openbsd* | bitrig*)
    16367   version_type=sunos
    16368   sys_lib_dlsearch_path_spec=/usr/lib
    16369   need_lib_prefix=no
    16370   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    16371     need_version=no
    16372   else
    16373     need_version=yes
    16374   fi
    16375   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    16376   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    16377   shlibpath_var=LD_LIBRARY_PATH
    16378   shlibpath_overrides_runpath=yes
    16379   ;;
    16380 
    16381 os2*)
    16382   libname_spec='$name'
    16383   version_type=windows
    16384   shrext_cmds=.dll
    16385   need_version=no
    16386   need_lib_prefix=no
    16387   # OS/2 can only load a DLL with a base name of 8 characters or less.
    16388   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
    16389     v=$($ECHO $release$versuffix | tr -d .-);
    16390     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
    16391     $ECHO $n$v`$shared_ext'
    16392   library_names_spec='${libname}_dll.$libext'
    16393   dynamic_linker='OS/2 ld.exe'
    16394   shlibpath_var=BEGINLIBPATH
    16395   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    16396   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    16397   postinstall_cmds='base_file=`basename \$file`~
    16398     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
    16399     dldir=$destdir/`dirname \$dlpath`~
    16400     test -d \$dldir || mkdir -p \$dldir~
    16401     $install_prog $dir/$dlname \$dldir/$dlname~
    16402     chmod a+x \$dldir/$dlname~
    16403     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    16404       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    16405     fi'
    16406   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
    16407     dlpath=$dir/\$dldll~
    16408     $RM \$dlpath'
    16409   ;;
    16410 
    16411 osf3* | osf4* | osf5*)
    16412   version_type=osf
    16413   need_lib_prefix=no
    16414   need_version=no
    16415   soname_spec='$libname$release$shared_ext$major'
    16416   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16417   shlibpath_var=LD_LIBRARY_PATH
    16418   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    16419   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    16420   ;;
    16421 
    16422 rdos*)
    16423   dynamic_linker=no
    16424   ;;
    16425 
    16426 solaris*)
    16427   version_type=linux # correct to gnu/linux during the next big refactor
    16428   need_lib_prefix=no
    16429   need_version=no
    16430   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16431   soname_spec='$libname$release$shared_ext$major'
    16432   shlibpath_var=LD_LIBRARY_PATH
    16433   shlibpath_overrides_runpath=yes
    16434   hardcode_into_libs=yes
    16435   # ldd complains unless libraries are executable
    16436   postinstall_cmds='chmod +x $lib'
    16437   ;;
    16438 
    16439 sunos4*)
    16440   version_type=sunos
    16441   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    16442   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    16443   shlibpath_var=LD_LIBRARY_PATH
    16444   shlibpath_overrides_runpath=yes
    16445   if test yes = "$with_gnu_ld"; then
    16446     need_lib_prefix=no
    16447   fi
    16448   need_version=yes
    16449   ;;
    16450 
    16451 sysv4 | sysv4.3*)
    16452   version_type=linux # correct to gnu/linux during the next big refactor
    16453   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16454   soname_spec='$libname$release$shared_ext$major'
    16455   shlibpath_var=LD_LIBRARY_PATH
    16456   case $host_vendor in
    16457     sni)
    16458       shlibpath_overrides_runpath=no
    16459       need_lib_prefix=no
    16460       runpath_var=LD_RUN_PATH
    16461       ;;
    16462     siemens)
    16463       need_lib_prefix=no
    16464       ;;
    16465     motorola)
    16466       need_lib_prefix=no
    16467       need_version=no
    16468       shlibpath_overrides_runpath=no
    16469       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
    16470       ;;
    16471   esac
    16472   ;;
    16473 
    16474 sysv4*MP*)
    16475   if test -d /usr/nec; then
    16476     version_type=linux # correct to gnu/linux during the next big refactor
    16477     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
    16478     soname_spec='$libname$shared_ext.$major'
    16479     shlibpath_var=LD_LIBRARY_PATH
    16480   fi
    16481   ;;
    16482 
    16483 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    16484   version_type=sco
    16485   need_lib_prefix=no
    16486   need_version=no
    16487   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
    16488   soname_spec='$libname$release$shared_ext$major'
    16489   shlibpath_var=LD_LIBRARY_PATH
    16490   shlibpath_overrides_runpath=yes
    16491   hardcode_into_libs=yes
    16492   if test yes = "$with_gnu_ld"; then
    16493     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    16494   else
    16495     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
    16496     case $host_os in
    16497       sco3.2v5*)
    16498         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
    16499         ;;
    16500     esac
    16501   fi
    16502   sys_lib_dlsearch_path_spec='/usr/lib'
    16503   ;;
    16504 
    16505 tpf*)
    16506   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
    16507   version_type=linux # correct to gnu/linux during the next big refactor
    16508   need_lib_prefix=no
    16509   need_version=no
    16510   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16511   shlibpath_var=LD_LIBRARY_PATH
    16512   shlibpath_overrides_runpath=no
    16513   hardcode_into_libs=yes
    16514   ;;
    16515 
    16516 uts4*)
    16517   version_type=linux # correct to gnu/linux during the next big refactor
    16518   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    16519   soname_spec='$libname$release$shared_ext$major'
    16520   shlibpath_var=LD_LIBRARY_PATH
    16521   ;;
    16522 
    16523 *)
    16524   dynamic_linker=no
    16525   ;;
    16526 esac
    16527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
    16528 $as_echo "$dynamic_linker" >&6; }
    16529 test no = "$dynamic_linker" && can_build_shared=no
    16530 
    16531 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    16532 if test yes = "$GCC"; then
    16533   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    16534 fi
    16535 
    16536 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
    16537   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
    16538 fi
    16539 
    16540 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
    16541   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
    16542 fi
    16543 
    16544 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
    16545 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
    16546 
    16547 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
    16548 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
    16549 
    16550 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
    16551 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
    16552 
    16553 
    16554 
    16555 
    16556 
    16557 
    16558 
    16559 
    16560 
    16561 
    16562 
    16563 
    16564 
    16565 
    16566 
    16567 
    16568 
    16569 
    16570 
    16571 
    16572 
    16573 
    16574 
    16575 
    16576 
    16577 
    16578 
    16579 
    16580 
    16581 
    16582 
    16583 
    16584 
    16585 
    16586 
    16587 
    16588 
    16589 
    16590 
    16591 
    16592     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
    16593 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
    16594 hardcode_action_CXX=
    16595 if test -n "$hardcode_libdir_flag_spec_CXX" ||
    16596    test -n "$runpath_var_CXX" ||
    16597    test yes = "$hardcode_automatic_CXX"; then
    16598 
    16599   # We can hardcode non-existent directories.
    16600   if test no != "$hardcode_direct_CXX" &&
    16601      # If the only mechanism to avoid hardcoding is shlibpath_var, we
    16602      # have to relink, otherwise we might link with an installed library
    16603      # when we should be linking with a yet-to-be-installed one
    16604      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
    16605      test no != "$hardcode_minus_L_CXX"; then
    16606     # Linking always hardcodes the temporary library directory.
    16607     hardcode_action_CXX=relink
    16608   else
    16609     # We can link without hardcoding, and we can hardcode nonexisting dirs.
    16610     hardcode_action_CXX=immediate
    16611   fi
    16612 else
    16613   # We cannot hardcode anything, or else we can only hardcode existing
    16614   # directories.
    16615   hardcode_action_CXX=unsupported
    16616 fi
    16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
    16618 $as_echo "$hardcode_action_CXX" >&6; }
    16619 
    16620 if test relink = "$hardcode_action_CXX" ||
    16621    test yes = "$inherit_rpath_CXX"; then
    16622   # Fast installation is not supported
    16623   enable_fast_install=no
    16624 elif test yes = "$shlibpath_overrides_runpath" ||
    16625      test no = "$enable_shared"; then
    16626   # Fast installation is not necessary
    16627   enable_fast_install=needless
    16628 fi
    16629 
    16630 
    16631 
    16632 
    16633 
    16634 
    16635 
    16636   fi # test -n "$compiler"
    16637 
    16638   CC=$lt_save_CC
    16639   CFLAGS=$lt_save_CFLAGS
    16640   LDCXX=$LD
    16641   LD=$lt_save_LD
    16642   GCC=$lt_save_GCC
    16643   with_gnu_ld=$lt_save_with_gnu_ld
    16644   lt_cv_path_LDCXX=$lt_cv_path_LD
    16645   lt_cv_path_LD=$lt_save_path_LD
    16646   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
    16647   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
    16648 fi # test yes != "$_lt_caught_CXX_error"
    16649 
    16650 ac_ext=c
    16651 ac_cpp='$CPP $CPPFLAGS'
    16652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    16653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    16654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    16655 
    16656 
    16657 
    16658 
    16659 
    16660 
    16661 
    16662 
    16663 
    16664 
    16665 
    16666 
    16667 
    16668 
    16669 
    16670         ac_config_commands="$ac_config_commands libtool"
    16671 
    16672 
    16673 
    16674 
    16675 # Only expand once:
    16676 
    16677 
    16678 
    16679 
    16680 # Checks for libraries.
    16681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fibre::yield in -lfibre" >&5
    16682 $as_echo_n "checking for Fibre::yield in -lfibre... " >&6; }
    16683 if ${ac_cv_lib_fibre_Fibre__yield+:} false; then :
    16684   $as_echo_n "(cached) " >&6
    16685 else
    16686   ac_check_lib_save_LIBS=$LIBS
    16687 LIBS="-lfibre  $LIBS"
    16688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16689 /* end confdefs.h.  */
    16690 
    16691 /* Override any GCC internal prototype to avoid an error.
    16692    Use char because int might match the return type of a GCC
    16693    builtin and then its argument prototype would still apply.  */
    16694 #ifdef __cplusplus
    16695 extern "C"
    16696 #endif
    16697 char Fibre::yield ();
    16698 int
    16699 main ()
    16700 {
    16701 return Fibre::yield ();
    16702   ;
    16703   return 0;
    16704 }
    16705 _ACEOF
    16706 if ac_fn_c_try_link "$LINENO"; then :
    16707   ac_cv_lib_fibre_Fibre__yield=yes
    16708 else
    16709   ac_cv_lib_fibre_Fibre__yield=no
    16710 fi
    16711 rm -f core conftest.err conftest.$ac_objext \
    16712     conftest$ac_exeext conftest.$ac_ext
    16713 LIBS=$ac_check_lib_save_LIBS
    16714 fi
    16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fibre_Fibre__yield" >&5
    16716 $as_echo "$ac_cv_lib_fibre_Fibre__yield" >&6; }
    16717 if test "x$ac_cv_lib_fibre_Fibre__yield" = xyes; then :
    16718   HAVE_LIBFIBRE=1
    16719 else
    16720   HAVE_LIBFIBRE=0
    16721 fi
    16722 
    16723  if test "$HAVE_LIBFIBRE" -eq 1; then
    16724   WITH_LIBFIBRE_TRUE=
    16725   WITH_LIBFIBRE_FALSE='#'
    16726 else
    16727   WITH_LIBFIBRE_TRUE='#'
    16728   WITH_LIBFIBRE_FALSE=
    16729 fi
    16730 
    16731 
    16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ProfilingIsEnabledForAllThreads in -lprofiler" >&5
    16733 $as_echo_n "checking for ProfilingIsEnabledForAllThreads in -lprofiler... " >&6; }
    16734 if ${ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads+:} false; then :
    16735   $as_echo_n "(cached) " >&6
    16736 else
    16737   ac_check_lib_save_LIBS=$LIBS
    16738 LIBS="-lprofiler  $LIBS"
    16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16740 /* end confdefs.h.  */
    16741 
    16742 /* Override any GCC internal prototype to avoid an error.
    16743    Use char because int might match the return type of a GCC
    16744    builtin and then its argument prototype would still apply.  */
    16745 #ifdef __cplusplus
    16746 extern "C"
    16747 #endif
    16748 char ProfilingIsEnabledForAllThreads ();
    16749 int
    16750 main ()
    16751 {
    16752 return ProfilingIsEnabledForAllThreads ();
    16753   ;
    16754   return 0;
    16755 }
    16756 _ACEOF
    16757 if ac_fn_c_try_link "$LINENO"; then :
    16758   ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads=yes
    16759 else
    16760   ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads=no
    16761 fi
    16762 rm -f core conftest.err conftest.$ac_objext \
    16763     conftest$ac_exeext conftest.$ac_ext
    16764 LIBS=$ac_check_lib_save_LIBS
    16765 fi
    16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads" >&5
    16767 $as_echo "$ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads" >&6; }
    16768 if test "x$ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads" = xyes; then :
    16769   HAVE_LIBPROFILER=1
    16770 else
    16771   HAVE_LIBPROFILER=0
    16772 fi
    16773 
    16774  if test "x$enable_gprofiler" = "xyes" -a "$HAVE_LIBPROFILER" -eq 1; then
    16775   WITH_LIBPROFILER_TRUE=
    16776   WITH_LIBPROFILER_FALSE='#'
    16777 else
    16778   WITH_LIBPROFILER_TRUE='#'
    16779   WITH_LIBPROFILER_FALSE=
    16780 fi
    16781 
    16782 
    16783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -ltcmalloc" >&5
    16784 $as_echo_n "checking for malloc in -ltcmalloc... " >&6; }
    16785 if ${ac_cv_lib_tcmalloc_malloc+:} false; then :
    16786   $as_echo_n "(cached) " >&6
    16787 else
    16788   ac_check_lib_save_LIBS=$LIBS
    16789 LIBS="-ltcmalloc  $LIBS"
    16790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16791 /* end confdefs.h.  */
    16792 
    16793 /* Override any GCC internal prototype to avoid an error.
    16794    Use char because int might match the return type of a GCC
    16795    builtin and then its argument prototype would still apply.  */
    16796 #ifdef __cplusplus
    16797 extern "C"
    16798 #endif
    16799 char malloc ();
    16800 int
    16801 main ()
    16802 {
    16803 return malloc ();
    16804   ;
    16805   return 0;
    16806 }
    16807 _ACEOF
    16808 if ac_fn_c_try_link "$LINENO"; then :
    16809   ac_cv_lib_tcmalloc_malloc=yes
    16810 else
    16811   ac_cv_lib_tcmalloc_malloc=no
    16812 fi
    16813 rm -f core conftest.err conftest.$ac_objext \
    16814     conftest$ac_exeext conftest.$ac_ext
    16815 LIBS=$ac_check_lib_save_LIBS
    16816 fi
    16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tcmalloc_malloc" >&5
    16818 $as_echo "$ac_cv_lib_tcmalloc_malloc" >&6; }
    16819 if test "x$ac_cv_lib_tcmalloc_malloc" = xyes; then :
    16820   HAVE_LIBTCMALLOC=1
    16821 else
    16822   HAVE_LIBTCMALLOC=0
    16823 fi
    16824 
    16825  if test "x$enable_gprofiler" = "xyes" -a "$HAVE_LIBTCMALLOC" -eq 1; then
    16826   WITH_LIBTCMALLOC_TRUE=
    16827   WITH_LIBTCMALLOC_FALSE='#'
    16828 else
    16829   WITH_LIBTCMALLOC_TRUE='#'
    16830   WITH_LIBTCMALLOC_FALSE=
    16831 fi
    16832 
    16833 
    16834 # conditionnally build the demangler
    16835 if test "x$enable_demangler" == xyes; then
    16836         LIBDEMANGLE="libdemangle.a"
    16837         DEMANGLER="demangler"
    16838 else
    16839         LIBDEMANGLE=""
    16840         DEMANGLER=""
    16841 fi
    16842 
    16843 
    16844 
    16845 # Checks for header files.
    16846 for ac_header in libintl.h malloc.h unistd.h
     5980if ac_fn_c_try_run "$LINENO"; then :
     5981  ac_cv_c_stack_direction=1
     5982else
     5983  ac_cv_c_stack_direction=-1
     5984fi
     5985rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     5986  conftest.$ac_objext conftest.beam conftest.$ac_ext
     5987fi
     5988
     5989fi
     5990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
     5991$as_echo "$ac_cv_c_stack_direction" >&6; }
     5992cat >>confdefs.h <<_ACEOF
     5993#define STACK_DIRECTION $ac_cv_c_stack_direction
     5994_ACEOF
     5995
     5996
     5997fi
     5998
     5999for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h
    168476000do :
    168486001  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    168536006_ACEOF
    168546007
    16855 else
    16856   echo "Error: Missing required header"; exit 1
    168576008fi
    168586009
     
    168616012
    168626013# Checks for typedefs, structures, and compiler characteristics.
    16863 ac_fn_c_check_type "$LINENO" "_Float32" "ac_cv_type__Float32" "
    16864 "
    16865 if test "x$ac_cv_type__Float32" = xyes; then :
    16866 
    16867 cat >>confdefs.h <<_ACEOF
    16868 #define HAVE__FLOAT32 1
    16869 _ACEOF
    16870 
    16871 
    16872 $as_echo "#define HAVE_KEYWORDS_FLOATXX /**/" >>confdefs.h
    16873 
    16874 fi
    16875 
    16876 
    16877 # Checks for compiler flags.
    16878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C compiler accepts -Wcast-function-type" >&5
    16879 $as_echo_n "checking whether C compiler accepts -Wcast-function-type... " >&6; }
    16880 if ${m4cfa_cv_check_cflags___Wcast_function_type+:} false; then :
     6014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
     6015$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
     6016if ${ac_cv_header_stdbool_h+:} false; then :
    168816017  $as_echo_n "(cached) " >&6
    168826018else
    16883 
    16884         m4cfa_check_save_flags=$CFLAGS
    16885         CFLAGS="$CFLAGS  -Wcast-function-type"
    16886         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6019  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    168876020/* end confdefs.h.  */
     6021
     6022             #include <stdbool.h>
     6023             #ifndef bool
     6024              "error: bool is not defined"
     6025             #endif
     6026             #ifndef false
     6027              "error: false is not defined"
     6028             #endif
     6029             #if false
     6030              "error: false is not 0"
     6031             #endif
     6032             #ifndef true
     6033              "error: true is not defined"
     6034             #endif
     6035             #if true != 1
     6036              "error: true is not 1"
     6037             #endif
     6038             #ifndef __bool_true_false_are_defined
     6039              "error: __bool_true_false_are_defined is not defined"
     6040             #endif
     6041
     6042             struct s { _Bool s: 1; _Bool t; } s;
     6043
     6044             char a[true == 1 ? 1 : -1];
     6045             char b[false == 0 ? 1 : -1];
     6046             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
     6047             char d[(bool) 0.5 == true ? 1 : -1];
     6048             /* See body of main program for 'e'.  */
     6049             char f[(_Bool) 0.0 == false ? 1 : -1];
     6050             char g[true];
     6051             char h[sizeof (_Bool)];
     6052             char i[sizeof s.t];
     6053             enum { j = false, k = true, l = false * true, m = true * 256 };
     6054             /* The following fails for
     6055                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
     6056             _Bool n[m];
     6057             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
     6058             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
     6059             /* Catch a bug in an HP-UX C compiler.  See
     6060                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
     6061                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
     6062              */
     6063             _Bool q = true;
     6064             _Bool *pq = &q;
    168886065
    168896066int
     
    168916068{
    168926069
     6070             bool e = &s;
     6071             *pq |= q;
     6072             *pq |= ! q;
     6073             /* Refer to every declared value, to avoid compiler optimizations.  */
     6074             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
     6075                     + !m + !n + !o + !p + !q + !pq);
     6076
    168936077  ;
    168946078  return 0;
     
    168966080_ACEOF
    168976081if ac_fn_c_try_compile "$LINENO"; then :
    16898   m4cfa_cv_check_cflags___Wcast_function_type=yes
    16899 else
    16900   m4cfa_cv_check_cflags___Wcast_function_type=no
     6082  ac_cv_header_stdbool_h=yes
     6083else
     6084  ac_cv_header_stdbool_h=no
    169016085fi
    169026086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16903         CFLAGS=$m4cfa_check_save_flags
    16904 fi
    16905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $m4cfa_cv_check_cflags___Wcast_function_type" >&5
    16906 $as_echo "$m4cfa_cv_check_cflags___Wcast_function_type" >&6; }
    16907 if test "x$m4cfa_cv_check_cflags___Wcast_function_type" = xyes; then :
    16908 
    16909 $as_echo "#define HAVE_CAST_FUNCTION_TYPE /**/" >>confdefs.h
    16910 
    16911 else
    16912   :
    16913 fi
    16914 
    16915 
    16916 #==============================================================================
    16917 # backend compiler implementation
     6087fi
     6088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
     6089$as_echo "$ac_cv_header_stdbool_h" >&6; }
     6090   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
     6091if test "x$ac_cv_type__Bool" = xyes; then :
    169186092
    169196093cat >>confdefs.h <<_ACEOF
    16920 #define CFA_BACKEND_CC "${CC}"
    16921 _ACEOF
    16922 
    16923 
    16924 
    16925 #==============================================================================
    16926 ac_config_files="$ac_config_files Makefile driver/Makefile src/Makefile benchmark/Makefile tests/Makefile longrun_tests/Makefile tools/Makefile tools/prettyprinter/Makefile"
    16927 
    16928 
    16929 ac_config_links="$ac_config_links tests/test.py:tests/test.py"
    16930 
    16931 
    16932 ac_config_files="$ac_config_files tests/config.py"
     6094#define HAVE__BOOL 1
     6095_ACEOF
     6096
     6097
     6098fi
     6099
     6100
     6101if test $ac_cv_header_stdbool_h = yes; then
     6102
     6103$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
     6104
     6105fi
     6106
     6107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
     6108$as_echo_n "checking for inline... " >&6; }
     6109if ${ac_cv_c_inline+:} false; then :
     6110  $as_echo_n "(cached) " >&6
     6111else
     6112  ac_cv_c_inline=no
     6113for ac_kw in inline __inline__ __inline; do
     6114  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6115/* end confdefs.h.  */
     6116#ifndef __cplusplus
     6117typedef int foo_t;
     6118static $ac_kw foo_t static_foo () {return 0; }
     6119$ac_kw foo_t foo () {return 0; }
     6120#endif
     6121
     6122_ACEOF
     6123if ac_fn_c_try_compile "$LINENO"; then :
     6124  ac_cv_c_inline=$ac_kw
     6125fi
     6126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6127  test "$ac_cv_c_inline" != no && break
     6128done
     6129
     6130fi
     6131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
     6132$as_echo "$ac_cv_c_inline" >&6; }
     6133
     6134case $ac_cv_c_inline in
     6135  inline | yes) ;;
     6136  *)
     6137    case $ac_cv_c_inline in
     6138      no) ac_val=;;
     6139      *) ac_val=$ac_cv_c_inline;;
     6140    esac
     6141    cat >>confdefs.h <<_ACEOF
     6142#ifndef __cplusplus
     6143#define inline $ac_val
     6144#endif
     6145_ACEOF
     6146    ;;
     6147esac
     6148
     6149ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
     6150case $ac_cv_c_int16_t in #(
     6151  no|yes) ;; #(
     6152  *)
     6153
     6154cat >>confdefs.h <<_ACEOF
     6155#define int16_t $ac_cv_c_int16_t
     6156_ACEOF
     6157;;
     6158esac
     6159
     6160ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
     6161case $ac_cv_c_int32_t in #(
     6162  no|yes) ;; #(
     6163  *)
     6164
     6165cat >>confdefs.h <<_ACEOF
     6166#define int32_t $ac_cv_c_int32_t
     6167_ACEOF
     6168;;
     6169esac
     6170
     6171ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
     6172case $ac_cv_c_int8_t in #(
     6173  no|yes) ;; #(
     6174  *)
     6175
     6176cat >>confdefs.h <<_ACEOF
     6177#define int8_t $ac_cv_c_int8_t
     6178_ACEOF
     6179;;
     6180esac
     6181
     6182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
     6183$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
     6184if ${ac_cv_c_restrict+:} false; then :
     6185  $as_echo_n "(cached) " >&6
     6186else
     6187  ac_cv_c_restrict=no
     6188   # The order here caters to the fact that C++ does not require restrict.
     6189   for ac_kw in __restrict __restrict__ _Restrict restrict; do
     6190     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6191/* end confdefs.h.  */
     6192typedef int * int_ptr;
     6193        int foo (int_ptr $ac_kw ip) {
     6194        return ip[0];
     6195       }
     6196int
     6197main ()
     6198{
     6199int s[1];
     6200        int * $ac_kw t = s;
     6201        t[0] = 0;
     6202        return foo(t)
     6203  ;
     6204  return 0;
     6205}
     6206_ACEOF
     6207if ac_fn_c_try_compile "$LINENO"; then :
     6208  ac_cv_c_restrict=$ac_kw
     6209fi
     6210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6211     test "$ac_cv_c_restrict" != no && break
     6212   done
     6213
     6214fi
     6215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
     6216$as_echo "$ac_cv_c_restrict" >&6; }
     6217
     6218 case $ac_cv_c_restrict in
     6219   restrict) ;;
     6220   no) $as_echo "#define restrict /**/" >>confdefs.h
     6221 ;;
     6222   *)  cat >>confdefs.h <<_ACEOF
     6223#define restrict $ac_cv_c_restrict
     6224_ACEOF
     6225 ;;
     6226 esac
     6227
     6228ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
     6229if test "x$ac_cv_type_size_t" = xyes; then :
     6230
     6231else
     6232
     6233cat >>confdefs.h <<_ACEOF
     6234#define size_t unsigned int
     6235_ACEOF
     6236
     6237fi
     6238
     6239ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
     6240case $ac_cv_c_uint16_t in #(
     6241  no|yes) ;; #(
     6242  *)
     6243
     6244
     6245cat >>confdefs.h <<_ACEOF
     6246#define uint16_t $ac_cv_c_uint16_t
     6247_ACEOF
     6248;;
     6249  esac
     6250
     6251ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
     6252case $ac_cv_c_uint32_t in #(
     6253  no|yes) ;; #(
     6254  *)
     6255
     6256$as_echo "#define _UINT32_T 1" >>confdefs.h
     6257
     6258
     6259cat >>confdefs.h <<_ACEOF
     6260#define uint32_t $ac_cv_c_uint32_t
     6261_ACEOF
     6262;;
     6263  esac
     6264
     6265ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
     6266case $ac_cv_c_uint8_t in #(
     6267  no|yes) ;; #(
     6268  *)
     6269
     6270$as_echo "#define _UINT8_T 1" >>confdefs.h
     6271
     6272
     6273cat >>confdefs.h <<_ACEOF
     6274#define uint8_t $ac_cv_c_uint8_t
     6275_ACEOF
     6276;;
     6277  esac
     6278
     6279
     6280# Checks for library functions.
     6281for ac_func in memset putenv strchr strtol
     6282do :
     6283  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     6284ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
     6285if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
     6286  cat >>confdefs.h <<_ACEOF
     6287#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     6288_ACEOF
     6289
     6290fi
     6291done
     6292
     6293
     6294ac_config_files="$ac_config_files Makefile src/driver/Makefile src/Makefile src/benchmark/Makefile src/examples/Makefile src/tests/Makefile src/tests/preempt_longrun/Makefile src/prelude/Makefile src/libcfa/Makefile tools/Makefile tools/prettyprinter/Makefile"
     6295
    169336296
    169346297cat >confcache <<\_ACEOF
     
    170576420fi
    170586421
    17059 if test -z "${ENABLE_DISTCC_TRUE}" && test -z "${ENABLE_DISTCC_FALSE}"; then
    17060   as_fn_error $? "conditional \"ENABLE_DISTCC\" was never defined.
     6422if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
     6423  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
     6424Usually this means the macro was only invoked conditionally." "$LINENO" 5
     6425fi
     6426if test -z "${BUILD_RELEASE_TRUE}" && test -z "${BUILD_RELEASE_FALSE}"; then
     6427  as_fn_error $? "conditional \"BUILD_RELEASE\" was never defined.
     6428Usually this means the macro was only invoked conditionally." "$LINENO" 5
     6429fi
     6430if test -z "${BUILD_DEBUG_TRUE}" && test -z "${BUILD_DEBUG_FALSE}"; then
     6431  as_fn_error $? "conditional \"BUILD_DEBUG\" was never defined.
     6432Usually this means the macro was only invoked conditionally." "$LINENO" 5
     6433fi
     6434if test -z "${BUILD_NO_LIB_TRUE}" && test -z "${BUILD_NO_LIB_FALSE}"; then
     6435  as_fn_error $? "conditional \"BUILD_NO_LIB\" was never defined.
     6436Usually this means the macro was only invoked conditionally." "$LINENO" 5
     6437fi
     6438if test -z "${BUILD_CONCURRENCY_TRUE}" && test -z "${BUILD_CONCURRENCY_FALSE}"; then
     6439  as_fn_error $? "conditional \"BUILD_CONCURRENCY\" was never defined.
    170616440Usually this means the macro was only invoked conditionally." "$LINENO" 5
    170626441fi
     
    170756454if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
    170766455  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
    17077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    17078 fi
    17079 if test -z "${WITH_LIBFIBRE_TRUE}" && test -z "${WITH_LIBFIBRE_FALSE}"; then
    17080   as_fn_error $? "conditional \"WITH_LIBFIBRE\" was never defined.
    17081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    17082 fi
    17083 if test -z "${WITH_LIBPROFILER_TRUE}" && test -z "${WITH_LIBPROFILER_FALSE}"; then
    17084   as_fn_error $? "conditional \"WITH_LIBPROFILER\" was never defined.
    17085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    17086 fi
    17087 if test -z "${WITH_LIBTCMALLOC_TRUE}" && test -z "${WITH_LIBTCMALLOC_FALSE}"; then
    17088   as_fn_error $? "conditional \"WITH_LIBTCMALLOC\" was never defined.
    170896456Usually this means the macro was only invoked conditionally." "$LINENO" 5
    170906457fi
     
    175136880config_files="$ac_config_files"
    175146881config_headers="$ac_config_headers"
    17515 config_links="$ac_config_links"
    175166882config_commands="$ac_config_commands"
    175176883
     
    175436909Configuration headers:
    175446910$config_headers
    17545 
    17546 Configuration links:
    17547 $config_links
    175486911
    175496912Configuration commands:
     
    176777040AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
    176787041
    17679 
    17680 # The HP-UX ksh and POSIX shell print the target directory to stdout
    17681 # if CDPATH is set.
    17682 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    17683 
    17684 sed_quote_subst='$sed_quote_subst'
    17685 double_quote_subst='$double_quote_subst'
    17686 delay_variable_subst='$delay_variable_subst'
    17687 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
    17688 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
    17689 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
    17690 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
    17691 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
    17692 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
    17693 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
    17694 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
    17695 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
    17696 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
    17697 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
    17698 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
    17699 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
    17700 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
    17701 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
    17702 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
    17703 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
    17704 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
    17705 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
    17706 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
    17707 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
    17708 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
    17709 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
    17710 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
    17711 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
    17712 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
    17713 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
    17714 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
    17715 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
    17716 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
    17717 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
    17718 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
    17719 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
    17720 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
    17721 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
    17722 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
    17723 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
    17724 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
    17725 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
    17726 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
    17727 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
    17728 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
    17729 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
    17730 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
    17731 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
    17732 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
    17733 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
    17734 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
    17735 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
    17736 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
    17737 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
    17738 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
    17739 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
    17740 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
    17741 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
    17742 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
    17743 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
    17744 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
    17745 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
    17746 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
    17747 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
    17748 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
    17749 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
    17750 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
    17751 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
    17752 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
    17753 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
    17754 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
    17755 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
    17756 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
    17757 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
    17758 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
    17759 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
    17760 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
    17761 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
    17762 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
    17763 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
    17764 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
    17765 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
    17766 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
    17767 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
    17768 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
    17769 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
    17770 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
    17771 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
    17772 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
    17773 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
    17774 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
    17775 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
    17776 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
    17777 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
    17778 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
    17779 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
    17780 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
    17781 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
    17782 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
    17783 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
    17784 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
    17785 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
    17786 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
    17787 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
    17788 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
    17789 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
    17790 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
    17791 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
    17792 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
    17793 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
    17794 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
    17795 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
    17796 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
    17797 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
    17798 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
    17799 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
    17800 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
    17801 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
    17802 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
    17803 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
    17804 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
    17805 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
    17806 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
    17807 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
    17808 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
    17809 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
    17810 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
    17811 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
    17812 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
    17813 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
    17814 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
    17815 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
    17816 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
    17817 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
    17818 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
    17819 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
    17820 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
    17821 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
    17822 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
    17823 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
    17824 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
    17825 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
    17826 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
    17827 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
    17828 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
    17829 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
    17830 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17831 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17832 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
    17833 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
    17834 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
    17835 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
    17836 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
    17837 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
    17838 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
    17839 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
    17840 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
    17841 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
    17842 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
    17843 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
    17844 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17845 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17846 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17847 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17848 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17849 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17850 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
    17851 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
    17852 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
    17853 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
    17854 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
    17855 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
    17856 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
    17857 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
    17858 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
    17859 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
    17860 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
    17861 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
    17862 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
    17863 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17864 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
    17865 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
    17866 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17867 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17868 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
    17869 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
    17870 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
    17871 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
    17872 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
    17873 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
    17874 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
    17875 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
    17876 
    17877 LTCC='$LTCC'
    17878 LTCFLAGS='$LTCFLAGS'
    17879 compiler='$compiler_DEFAULT'
    17880 
    17881 # A function that is used when there is no print builtin or printf.
    17882 func_fallback_echo ()
    17883 {
    17884   eval 'cat <<_LTECHO_EOF
    17885 \$1
    17886 _LTECHO_EOF'
    17887 }
    17888 
    17889 # Quote evaled strings.
    17890 for var in SHELL \
    17891 ECHO \
    17892 PATH_SEPARATOR \
    17893 SED \
    17894 GREP \
    17895 EGREP \
    17896 FGREP \
    17897 LD \
    17898 NM \
    17899 LN_S \
    17900 lt_SP2NL \
    17901 lt_NL2SP \
    17902 reload_flag \
    17903 OBJDUMP \
    17904 deplibs_check_method \
    17905 file_magic_cmd \
    17906 file_magic_glob \
    17907 want_nocaseglob \
    17908 DLLTOOL \
    17909 sharedlib_from_linklib_cmd \
    17910 AR \
    17911 AR_FLAGS \
    17912 archiver_list_spec \
    17913 STRIP \
    17914 RANLIB \
    17915 CC \
    17916 CFLAGS \
    17917 compiler \
    17918 lt_cv_sys_global_symbol_pipe \
    17919 lt_cv_sys_global_symbol_to_cdecl \
    17920 lt_cv_sys_global_symbol_to_import \
    17921 lt_cv_sys_global_symbol_to_c_name_address \
    17922 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
    17923 lt_cv_nm_interface \
    17924 nm_file_list_spec \
    17925 lt_cv_truncate_bin \
    17926 lt_prog_compiler_no_builtin_flag \
    17927 lt_prog_compiler_pic \
    17928 lt_prog_compiler_wl \
    17929 lt_prog_compiler_static \
    17930 lt_cv_prog_compiler_c_o \
    17931 need_locks \
    17932 MANIFEST_TOOL \
    17933 DSYMUTIL \
    17934 NMEDIT \
    17935 LIPO \
    17936 OTOOL \
    17937 OTOOL64 \
    17938 shrext_cmds \
    17939 export_dynamic_flag_spec \
    17940 whole_archive_flag_spec \
    17941 compiler_needs_object \
    17942 with_gnu_ld \
    17943 allow_undefined_flag \
    17944 no_undefined_flag \
    17945 hardcode_libdir_flag_spec \
    17946 hardcode_libdir_separator \
    17947 exclude_expsyms \
    17948 include_expsyms \
    17949 file_list_spec \
    17950 variables_saved_for_relink \
    17951 libname_spec \
    17952 library_names_spec \
    17953 soname_spec \
    17954 install_override_mode \
    17955 finish_eval \
    17956 old_striplib \
    17957 striplib \
    17958 compiler_lib_search_dirs \
    17959 predep_objects \
    17960 postdep_objects \
    17961 predeps \
    17962 postdeps \
    17963 compiler_lib_search_path \
    17964 LD_CXX \
    17965 reload_flag_CXX \
    17966 compiler_CXX \
    17967 lt_prog_compiler_no_builtin_flag_CXX \
    17968 lt_prog_compiler_pic_CXX \
    17969 lt_prog_compiler_wl_CXX \
    17970 lt_prog_compiler_static_CXX \
    17971 lt_cv_prog_compiler_c_o_CXX \
    17972 export_dynamic_flag_spec_CXX \
    17973 whole_archive_flag_spec_CXX \
    17974 compiler_needs_object_CXX \
    17975 with_gnu_ld_CXX \
    17976 allow_undefined_flag_CXX \
    17977 no_undefined_flag_CXX \
    17978 hardcode_libdir_flag_spec_CXX \
    17979 hardcode_libdir_separator_CXX \
    17980 exclude_expsyms_CXX \
    17981 include_expsyms_CXX \
    17982 file_list_spec_CXX \
    17983 compiler_lib_search_dirs_CXX \
    17984 predep_objects_CXX \
    17985 postdep_objects_CXX \
    17986 predeps_CXX \
    17987 postdeps_CXX \
    17988 compiler_lib_search_path_CXX; do
    17989     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    17990     *[\\\\\\\`\\"\\\$]*)
    17991       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    17992       ;;
    17993     *)
    17994       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
    17995       ;;
    17996     esac
    17997 done
    17998 
    17999 # Double-quote double-evaled strings.
    18000 for var in reload_cmds \
    18001 old_postinstall_cmds \
    18002 old_postuninstall_cmds \
    18003 old_archive_cmds \
    18004 extract_expsyms_cmds \
    18005 old_archive_from_new_cmds \
    18006 old_archive_from_expsyms_cmds \
    18007 archive_cmds \
    18008 archive_expsym_cmds \
    18009 module_cmds \
    18010 module_expsym_cmds \
    18011 export_symbols_cmds \
    18012 prelink_cmds \
    18013 postlink_cmds \
    18014 postinstall_cmds \
    18015 postuninstall_cmds \
    18016 finish_cmds \
    18017 sys_lib_search_path_spec \
    18018 configure_time_dlsearch_path \
    18019 configure_time_lt_sys_library_path \
    18020 reload_cmds_CXX \
    18021 old_archive_cmds_CXX \
    18022 old_archive_from_new_cmds_CXX \
    18023 old_archive_from_expsyms_cmds_CXX \
    18024 archive_cmds_CXX \
    18025 archive_expsym_cmds_CXX \
    18026 module_cmds_CXX \
    18027 module_expsym_cmds_CXX \
    18028 export_symbols_cmds_CXX \
    18029 prelink_cmds_CXX \
    18030 postlink_cmds_CXX; do
    18031     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    18032     *[\\\\\\\`\\"\\\$]*)
    18033       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    18034       ;;
    18035     *)
    18036       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
    18037       ;;
    18038     esac
    18039 done
    18040 
    18041 ac_aux_dir='$ac_aux_dir'
    18042 
    18043 # See if we are running on zsh, and set the options that allow our
    18044 # commands through without removal of \ escapes INIT.
    18045 if test -n "\${ZSH_VERSION+set}"; then
    18046    setopt NO_GLOB_SUBST
    18047 fi
    18048 
    18049 
    18050     PACKAGE='$PACKAGE'
    18051     VERSION='$VERSION'
    18052     RM='$RM'
    18053     ofile='$ofile'
    18054 
    18055 
    18056 
    18057 
    18058 
    18059 
    180607042_ACEOF
    180617043
     
    180667048do
    180677049  case $ac_config_target in
    18068     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:src/config.h.in" ;;
     7050    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
    180697051    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    18070     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
    180717052    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    18072     "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;;
     7053    "src/driver/Makefile") CONFIG_FILES="$CONFIG_FILES src/driver/Makefile" ;;
    180737054    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
    18074     "benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES benchmark/Makefile" ;;
    18075     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
    18076     "longrun_tests/Makefile") CONFIG_FILES="$CONFIG_FILES longrun_tests/Makefile" ;;
     7055    "src/benchmark/Makefile") CONFIG_FILES="$CONFIG_FILES src/benchmark/Makefile" ;;
     7056    "src/examples/Makefile") CONFIG_FILES="$CONFIG_FILES src/examples/Makefile" ;;
     7057    "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;;
     7058    "src/tests/preempt_longrun/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/preempt_longrun/Makefile" ;;
     7059    "src/prelude/Makefile") CONFIG_FILES="$CONFIG_FILES src/prelude/Makefile" ;;
     7060    "src/libcfa/Makefile") CONFIG_FILES="$CONFIG_FILES src/libcfa/Makefile" ;;
    180777061    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
    180787062    "tools/prettyprinter/Makefile") CONFIG_FILES="$CONFIG_FILES tools/prettyprinter/Makefile" ;;
    18079     "tests/test.py") CONFIG_LINKS="$CONFIG_LINKS tests/test.py:tests/test.py" ;;
    18080     "tests/config.py") CONFIG_FILES="$CONFIG_FILES tests/config.py" ;;
    180817063
    180827064  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     
    180927074  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    180937075  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
    18094   test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
    180957076  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
    180967077fi
     
    183907371
    183917372
    18392 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS"
     7373eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
    183937374shift
    183947375for ac_tag
     
    186677648          s/.*/./; q'`/stamp-h$_am_stamp_count
    186687649 ;;
    18669   :L)
    18670   #
    18671   # CONFIG_LINK
    18672   #
    18673 
    18674   if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
    18675     :
    18676   else
    18677     # Prefer the file from the source tree if names are identical.
    18678     if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
    18679       ac_source=$srcdir/$ac_source
    18680     fi
    18681 
    18682     { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
    18683 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
    18684 
    18685     if test ! -r "$ac_source"; then
    18686       as_fn_error $? "$ac_source: file not found" "$LINENO" 5
    18687     fi
    18688     rm -f "$ac_file"
    18689 
    18690     # Try a relative symlink, then a hard link, then a copy.
    18691     case $ac_source in
    18692     [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
    18693         *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
    18694     esac
    18695     ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
    18696       ln "$ac_source" "$ac_file" 2>/dev/null ||
    18697       cp -p "$ac_source" "$ac_file" ||
    18698       as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
    18699   fi
    18700  ;;
     7650
    187017651  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
    187027652$as_echo "$as_me: executing $ac_file commands" >&6;}
     
    187997749}
    188007750 ;;
    18801     "libtool":C)
    18802 
    18803     # See if we are running on zsh, and set the options that allow our
    18804     # commands through without removal of \ escapes.
    18805     if test -n "${ZSH_VERSION+set}"; then
    18806       setopt NO_GLOB_SUBST
    18807     fi
    18808 
    18809     cfgfile=${ofile}T
    18810     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
    18811     $RM "$cfgfile"
    18812 
    18813     cat <<_LT_EOF >> "$cfgfile"
    18814 #! $SHELL
    18815 # Generated automatically by $as_me ($PACKAGE) $VERSION
    18816 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    18817 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
    18818 
    18819 # Provide generalized library-building support services.
    18820 # Written by Gordon Matzigkeit, 1996
    18821 
    18822 # Copyright (C) 2014 Free Software Foundation, Inc.
    18823 # This is free software; see the source for copying conditions.  There is NO
    18824 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    18825 
    18826 # GNU Libtool is free software; you can redistribute it and/or modify
    18827 # it under the terms of the GNU General Public License as published by
    18828 # the Free Software Foundation; either version 2 of of the License, or
    18829 # (at your option) any later version.
    18830 #
    18831 # As a special exception to the GNU General Public License, if you
    18832 # distribute this file as part of a program or library that is built
    18833 # using GNU Libtool, you may include this file under the  same
    18834 # distribution terms that you use for the rest of that program.
    18835 #
    18836 # GNU Libtool is distributed in the hope that it will be useful, but
    18837 # WITHOUT ANY WARRANTY; without even the implied warranty of
    18838 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    18839 # GNU General Public License for more details.
    18840 #
    18841 # You should have received a copy of the GNU General Public License
    18842 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    18843 
    18844 
    18845 # The names of the tagged configurations supported by this script.
    18846 available_tags='CXX '
    18847 
    18848 # Configured defaults for sys_lib_dlsearch_path munging.
    18849 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
    18850 
    18851 # ### BEGIN LIBTOOL CONFIG
    18852 
    18853 # Which release of libtool.m4 was used?
    18854 macro_version=$macro_version
    18855 macro_revision=$macro_revision
    18856 
    18857 # Whether or not to build shared libraries.
    18858 build_libtool_libs=$enable_shared
    18859 
    18860 # Whether or not to build static libraries.
    18861 build_old_libs=$enable_static
    18862 
    18863 # What type of objects to build.
    18864 pic_mode=$pic_mode
    18865 
    18866 # Whether or not to optimize for fast installation.
    18867 fast_install=$enable_fast_install
    18868 
    18869 # Shared archive member basename,for filename based shared library versioning on AIX.
    18870 shared_archive_member_spec=$shared_archive_member_spec
    18871 
    18872 # Shell to use when invoking shell scripts.
    18873 SHELL=$lt_SHELL
    18874 
    18875 # An echo program that protects backslashes.
    18876 ECHO=$lt_ECHO
    18877 
    18878 # The PATH separator for the build system.
    18879 PATH_SEPARATOR=$lt_PATH_SEPARATOR
    18880 
    18881 # The host system.
    18882 host_alias=$host_alias
    18883 host=$host
    18884 host_os=$host_os
    18885 
    18886 # The build system.
    18887 build_alias=$build_alias
    18888 build=$build
    18889 build_os=$build_os
    18890 
    18891 # A sed program that does not truncate output.
    18892 SED=$lt_SED
    18893 
    18894 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
    18895 Xsed="\$SED -e 1s/^X//"
    18896 
    18897 # A grep program that handles long lines.
    18898 GREP=$lt_GREP
    18899 
    18900 # An ERE matcher.
    18901 EGREP=$lt_EGREP
    18902 
    18903 # A literal string matcher.
    18904 FGREP=$lt_FGREP
    18905 
    18906 # A BSD- or MS-compatible name lister.
    18907 NM=$lt_NM
    18908 
    18909 # Whether we need soft or hard links.
    18910 LN_S=$lt_LN_S
    18911 
    18912 # What is the maximum length of a command?
    18913 max_cmd_len=$max_cmd_len
    18914 
    18915 # Object file suffix (normally "o").
    18916 objext=$ac_objext
    18917 
    18918 # Executable file suffix (normally "").
    18919 exeext=$exeext
    18920 
    18921 # whether the shell understands "unset".
    18922 lt_unset=$lt_unset
    18923 
    18924 # turn spaces into newlines.
    18925 SP2NL=$lt_lt_SP2NL
    18926 
    18927 # turn newlines into spaces.
    18928 NL2SP=$lt_lt_NL2SP
    18929 
    18930 # convert \$build file names to \$host format.
    18931 to_host_file_cmd=$lt_cv_to_host_file_cmd
    18932 
    18933 # convert \$build files to toolchain format.
    18934 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
    18935 
    18936 # An object symbol dumper.
    18937 OBJDUMP=$lt_OBJDUMP
    18938 
    18939 # Method to check whether dependent libraries are shared objects.
    18940 deplibs_check_method=$lt_deplibs_check_method
    18941 
    18942 # Command to use when deplibs_check_method = "file_magic".
    18943 file_magic_cmd=$lt_file_magic_cmd
    18944 
    18945 # How to find potential files when deplibs_check_method = "file_magic".
    18946 file_magic_glob=$lt_file_magic_glob
    18947 
    18948 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
    18949 want_nocaseglob=$lt_want_nocaseglob
    18950 
    18951 # DLL creation program.
    18952 DLLTOOL=$lt_DLLTOOL
    18953 
    18954 # Command to associate shared and link libraries.
    18955 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
    18956 
    18957 # The archiver.
    18958 AR=$lt_AR
    18959 
    18960 # Flags to create an archive.
    18961 AR_FLAGS=$lt_AR_FLAGS
    18962 
    18963 # How to feed a file listing to the archiver.
    18964 archiver_list_spec=$lt_archiver_list_spec
    18965 
    18966 # A symbol stripping program.
    18967 STRIP=$lt_STRIP
    18968 
    18969 # Commands used to install an old-style archive.
    18970 RANLIB=$lt_RANLIB
    18971 old_postinstall_cmds=$lt_old_postinstall_cmds
    18972 old_postuninstall_cmds=$lt_old_postuninstall_cmds
    18973 
    18974 # Whether to use a lock for old archive extraction.
    18975 lock_old_archive_extraction=$lock_old_archive_extraction
    18976 
    18977 # A C compiler.
    18978 LTCC=$lt_CC
    18979 
    18980 # LTCC compiler flags.
    18981 LTCFLAGS=$lt_CFLAGS
    18982 
    18983 # Take the output of nm and produce a listing of raw symbols and C names.
    18984 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
    18985 
    18986 # Transform the output of nm in a proper C declaration.
    18987 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    18988 
    18989 # Transform the output of nm into a list of symbols to manually relocate.
    18990 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
    18991 
    18992 # Transform the output of nm in a C name address pair.
    18993 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
    18994 
    18995 # Transform the output of nm in a C name address pair when lib prefix is needed.
    18996 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
    18997 
    18998 # The name lister interface.
    18999 nm_interface=$lt_lt_cv_nm_interface
    19000 
    19001 # Specify filename containing input files for \$NM.
    19002 nm_file_list_spec=$lt_nm_file_list_spec
    19003 
    19004 # The root where to search for dependent libraries,and where our libraries should be installed.
    19005 lt_sysroot=$lt_sysroot
    19006 
    19007 # Command to truncate a binary pipe.
    19008 lt_truncate_bin=$lt_lt_cv_truncate_bin
    19009 
    19010 # The name of the directory that contains temporary libtool files.
    19011 objdir=$objdir
    19012 
    19013 # Used to examine libraries when file_magic_cmd begins with "file".
    19014 MAGIC_CMD=$MAGIC_CMD
    19015 
    19016 # Must we lock files when doing compilation?
    19017 need_locks=$lt_need_locks
    19018 
    19019 # Manifest tool.
    19020 MANIFEST_TOOL=$lt_MANIFEST_TOOL
    19021 
    19022 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
    19023 DSYMUTIL=$lt_DSYMUTIL
    19024 
    19025 # Tool to change global to local symbols on Mac OS X.
    19026 NMEDIT=$lt_NMEDIT
    19027 
    19028 # Tool to manipulate fat objects and archives on Mac OS X.
    19029 LIPO=$lt_LIPO
    19030 
    19031 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
    19032 OTOOL=$lt_OTOOL
    19033 
    19034 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
    19035 OTOOL64=$lt_OTOOL64
    19036 
    19037 # Old archive suffix (normally "a").
    19038 libext=$libext
    19039 
    19040 # Shared library suffix (normally ".so").
    19041 shrext_cmds=$lt_shrext_cmds
    19042 
    19043 # The commands to extract the exported symbol list from a shared archive.
    19044 extract_expsyms_cmds=$lt_extract_expsyms_cmds
    19045 
    19046 # Variables whose values should be saved in libtool wrapper scripts and
    19047 # restored at link time.
    19048 variables_saved_for_relink=$lt_variables_saved_for_relink
    19049 
    19050 # Do we need the "lib" prefix for modules?
    19051 need_lib_prefix=$need_lib_prefix
    19052 
    19053 # Do we need a version for libraries?
    19054 need_version=$need_version
    19055 
    19056 # Library versioning type.
    19057 version_type=$version_type
    19058 
    19059 # Shared library runtime path variable.
    19060 runpath_var=$runpath_var
    19061 
    19062 # Shared library path variable.
    19063 shlibpath_var=$shlibpath_var
    19064 
    19065 # Is shlibpath searched before the hard-coded library search path?
    19066 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
    19067 
    19068 # Format of library name prefix.
    19069 libname_spec=$lt_libname_spec
    19070 
    19071 # List of archive names.  First name is the real one, the rest are links.
    19072 # The last name is the one that the linker finds with -lNAME
    19073 library_names_spec=$lt_library_names_spec
    19074 
    19075 # The coded name of the library, if different from the real name.
    19076 soname_spec=$lt_soname_spec
    19077 
    19078 # Permission mode override for installation of shared libraries.
    19079 install_override_mode=$lt_install_override_mode
    19080 
    19081 # Command to use after installation of a shared archive.
    19082 postinstall_cmds=$lt_postinstall_cmds
    19083 
    19084 # Command to use after uninstallation of a shared archive.
    19085 postuninstall_cmds=$lt_postuninstall_cmds
    19086 
    19087 # Commands used to finish a libtool library installation in a directory.
    19088 finish_cmds=$lt_finish_cmds
    19089 
    19090 # As "finish_cmds", except a single script fragment to be evaled but
    19091 # not shown.
    19092 finish_eval=$lt_finish_eval
    19093 
    19094 # Whether we should hardcode library paths into libraries.
    19095 hardcode_into_libs=$hardcode_into_libs
    19096 
    19097 # Compile-time system search path for libraries.
    19098 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    19099 
    19100 # Detected run-time system search path for libraries.
    19101 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
    19102 
    19103 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
    19104 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
    19105 
    19106 # Whether dlopen is supported.
    19107 dlopen_support=$enable_dlopen
    19108 
    19109 # Whether dlopen of programs is supported.
    19110 dlopen_self=$enable_dlopen_self
    19111 
    19112 # Whether dlopen of statically linked programs is supported.
    19113 dlopen_self_static=$enable_dlopen_self_static
    19114 
    19115 # Commands to strip libraries.
    19116 old_striplib=$lt_old_striplib
    19117 striplib=$lt_striplib
    19118 
    19119 
    19120 # The linker used to build libraries.
    19121 LD=$lt_LD
    19122 
    19123 # How to create reloadable object files.
    19124 reload_flag=$lt_reload_flag
    19125 reload_cmds=$lt_reload_cmds
    19126 
    19127 # Commands used to build an old-style archive.
    19128 old_archive_cmds=$lt_old_archive_cmds
    19129 
    19130 # A language specific compiler.
    19131 CC=$lt_compiler
    19132 
    19133 # Is the compiler the GNU compiler?
    19134 with_gcc=$GCC
    19135 
    19136 # Compiler flag to turn off builtin functions.
    19137 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
    19138 
    19139 # Additional compiler flags for building library objects.
    19140 pic_flag=$lt_lt_prog_compiler_pic
    19141 
    19142 # How to pass a linker flag through the compiler.
    19143 wl=$lt_lt_prog_compiler_wl
    19144 
    19145 # Compiler flag to prevent dynamic linking.
    19146 link_static_flag=$lt_lt_prog_compiler_static
    19147 
    19148 # Does compiler simultaneously support -c and -o options?
    19149 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
    19150 
    19151 # Whether or not to add -lc for building shared libraries.
    19152 build_libtool_need_lc=$archive_cmds_need_lc
    19153 
    19154 # Whether or not to disallow shared libs when runtime libs are static.
    19155 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
    19156 
    19157 # Compiler flag to allow reflexive dlopens.
    19158 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
    19159 
    19160 # Compiler flag to generate shared objects directly from archives.
    19161 whole_archive_flag_spec=$lt_whole_archive_flag_spec
    19162 
    19163 # Whether the compiler copes with passing no objects directly.
    19164 compiler_needs_object=$lt_compiler_needs_object
    19165 
    19166 # Create an old-style archive from a shared archive.
    19167 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
    19168 
    19169 # Create a temporary old-style archive to link instead of a shared archive.
    19170 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
    19171 
    19172 # Commands used to build a shared archive.
    19173 archive_cmds=$lt_archive_cmds
    19174 archive_expsym_cmds=$lt_archive_expsym_cmds
    19175 
    19176 # Commands used to build a loadable module if different from building
    19177 # a shared archive.
    19178 module_cmds=$lt_module_cmds
    19179 module_expsym_cmds=$lt_module_expsym_cmds
    19180 
    19181 # Whether we are building with GNU ld or not.
    19182 with_gnu_ld=$lt_with_gnu_ld
    19183 
    19184 # Flag that allows shared libraries with undefined symbols to be built.
    19185 allow_undefined_flag=$lt_allow_undefined_flag
    19186 
    19187 # Flag that enforces no undefined symbols.
    19188 no_undefined_flag=$lt_no_undefined_flag
    19189 
    19190 # Flag to hardcode \$libdir into a binary during linking.
    19191 # This must work even if \$libdir does not exist
    19192 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
    19193 
    19194 # Whether we need a single "-rpath" flag with a separated argument.
    19195 hardcode_libdir_separator=$lt_hardcode_libdir_separator
    19196 
    19197 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    19198 # DIR into the resulting binary.
    19199 hardcode_direct=$hardcode_direct
    19200 
    19201 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    19202 # DIR into the resulting binary and the resulting library dependency is
    19203 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
    19204 # library is relocated.
    19205 hardcode_direct_absolute=$hardcode_direct_absolute
    19206 
    19207 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
    19208 # into the resulting binary.
    19209 hardcode_minus_L=$hardcode_minus_L
    19210 
    19211 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
    19212 # into the resulting binary.
    19213 hardcode_shlibpath_var=$hardcode_shlibpath_var
    19214 
    19215 # Set to "yes" if building a shared library automatically hardcodes DIR
    19216 # into the library and all subsequent libraries and executables linked
    19217 # against it.
    19218 hardcode_automatic=$hardcode_automatic
    19219 
    19220 # Set to yes if linker adds runtime paths of dependent libraries
    19221 # to runtime path list.
    19222 inherit_rpath=$inherit_rpath
    19223 
    19224 # Whether libtool must link a program against all its dependency libraries.
    19225 link_all_deplibs=$link_all_deplibs
    19226 
    19227 # Set to "yes" if exported symbols are required.
    19228 always_export_symbols=$always_export_symbols
    19229 
    19230 # The commands to list exported symbols.
    19231 export_symbols_cmds=$lt_export_symbols_cmds
    19232 
    19233 # Symbols that should not be listed in the preloaded symbols.
    19234 exclude_expsyms=$lt_exclude_expsyms
    19235 
    19236 # Symbols that must always be exported.
    19237 include_expsyms=$lt_include_expsyms
    19238 
    19239 # Commands necessary for linking programs (against libraries) with templates.
    19240 prelink_cmds=$lt_prelink_cmds
    19241 
    19242 # Commands necessary for finishing linking programs.
    19243 postlink_cmds=$lt_postlink_cmds
    19244 
    19245 # Specify filename containing input files.
    19246 file_list_spec=$lt_file_list_spec
    19247 
    19248 # How to hardcode a shared library path into an executable.
    19249 hardcode_action=$hardcode_action
    19250 
    19251 # The directories searched by this compiler when creating a shared library.
    19252 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
    19253 
    19254 # Dependencies to place before and after the objects being linked to
    19255 # create a shared library.
    19256 predep_objects=$lt_predep_objects
    19257 postdep_objects=$lt_postdep_objects
    19258 predeps=$lt_predeps
    19259 postdeps=$lt_postdeps
    19260 
    19261 # The library search path used internally by the compiler when linking
    19262 # a shared library.
    19263 compiler_lib_search_path=$lt_compiler_lib_search_path
    19264 
    19265 # ### END LIBTOOL CONFIG
    19266 
    19267 _LT_EOF
    19268 
    19269     cat <<'_LT_EOF' >> "$cfgfile"
    19270 
    19271 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
    19272 
    19273 # func_munge_path_list VARIABLE PATH
    19274 # -----------------------------------
    19275 # VARIABLE is name of variable containing _space_ separated list of
    19276 # directories to be munged by the contents of PATH, which is string
    19277 # having a format:
    19278 # "DIR[:DIR]:"
    19279 #       string "DIR[ DIR]" will be prepended to VARIABLE
    19280 # ":DIR[:DIR]"
    19281 #       string "DIR[ DIR]" will be appended to VARIABLE
    19282 # "DIRP[:DIRP]::[DIRA:]DIRA"
    19283 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
    19284 #       "DIRA[ DIRA]" will be appended to VARIABLE
    19285 # "DIR[:DIR]"
    19286 #       VARIABLE will be replaced by "DIR[ DIR]"
    19287 func_munge_path_list ()
    19288 {
    19289     case x$2 in
    19290     x)
    19291         ;;
    19292     *:)
    19293         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
    19294         ;;
    19295     x:*)
    19296         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
    19297         ;;
    19298     *::*)
    19299         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
    19300         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
    19301         ;;
    19302     *)
    19303         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
    19304         ;;
    19305     esac
    19306 }
    19307 
    19308 
    19309 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
    19310 func_cc_basename ()
    19311 {
    19312     for cc_temp in $*""; do
    19313       case $cc_temp in
    19314         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    19315         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    19316         \-*) ;;
    19317         *) break;;
    19318       esac
    19319     done
    19320     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
    19321 }
    19322 
    19323 
    19324 # ### END FUNCTIONS SHARED WITH CONFIGURE
    19325 
    19326 _LT_EOF
    19327 
    19328   case $host_os in
    19329   aix3*)
    19330     cat <<\_LT_EOF >> "$cfgfile"
    19331 # AIX sometimes has problems with the GCC collect2 program.  For some
    19332 # reason, if we set the COLLECT_NAMES environment variable, the problems
    19333 # vanish in a puff of smoke.
    19334 if test set != "${COLLECT_NAMES+set}"; then
    19335   COLLECT_NAMES=
    19336   export COLLECT_NAMES
    19337 fi
    19338 _LT_EOF
    19339     ;;
    19340   esac
    19341 
    19342 
    19343 ltmain=$ac_aux_dir/ltmain.sh
    19344 
    19345 
    19346   # We use sed instead of cat because bash on DJGPP gets confused if
    19347   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    19348   # text mode, it properly converts lines to CR/LF.  This bash problem
    19349   # is reportedly fixed, but why not run on old versions too?
    19350   sed '$q' "$ltmain" >> "$cfgfile" \
    19351      || (rm -f "$cfgfile"; exit 1)
    19352 
    19353    mv -f "$cfgfile" "$ofile" ||
    19354     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    19355   chmod +x "$ofile"
    19356 
    19357 
    19358     cat <<_LT_EOF >> "$ofile"
    19359 
    19360 # ### BEGIN LIBTOOL TAG CONFIG: CXX
    19361 
    19362 # The linker used to build libraries.
    19363 LD=$lt_LD_CXX
    19364 
    19365 # How to create reloadable object files.
    19366 reload_flag=$lt_reload_flag_CXX
    19367 reload_cmds=$lt_reload_cmds_CXX
    19368 
    19369 # Commands used to build an old-style archive.
    19370 old_archive_cmds=$lt_old_archive_cmds_CXX
    19371 
    19372 # A language specific compiler.
    19373 CC=$lt_compiler_CXX
    19374 
    19375 # Is the compiler the GNU compiler?
    19376 with_gcc=$GCC_CXX
    19377 
    19378 # Compiler flag to turn off builtin functions.
    19379 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
    19380 
    19381 # Additional compiler flags for building library objects.
    19382 pic_flag=$lt_lt_prog_compiler_pic_CXX
    19383 
    19384 # How to pass a linker flag through the compiler.
    19385 wl=$lt_lt_prog_compiler_wl_CXX
    19386 
    19387 # Compiler flag to prevent dynamic linking.
    19388 link_static_flag=$lt_lt_prog_compiler_static_CXX
    19389 
    19390 # Does compiler simultaneously support -c and -o options?
    19391 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
    19392 
    19393 # Whether or not to add -lc for building shared libraries.
    19394 build_libtool_need_lc=$archive_cmds_need_lc_CXX
    19395 
    19396 # Whether or not to disallow shared libs when runtime libs are static.
    19397 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
    19398 
    19399 # Compiler flag to allow reflexive dlopens.
    19400 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
    19401 
    19402 # Compiler flag to generate shared objects directly from archives.
    19403 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
    19404 
    19405 # Whether the compiler copes with passing no objects directly.
    19406 compiler_needs_object=$lt_compiler_needs_object_CXX
    19407 
    19408 # Create an old-style archive from a shared archive.
    19409 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
    19410 
    19411 # Create a temporary old-style archive to link instead of a shared archive.
    19412 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
    19413 
    19414 # Commands used to build a shared archive.
    19415 archive_cmds=$lt_archive_cmds_CXX
    19416 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
    19417 
    19418 # Commands used to build a loadable module if different from building
    19419 # a shared archive.
    19420 module_cmds=$lt_module_cmds_CXX
    19421 module_expsym_cmds=$lt_module_expsym_cmds_CXX
    19422 
    19423 # Whether we are building with GNU ld or not.
    19424 with_gnu_ld=$lt_with_gnu_ld_CXX
    19425 
    19426 # Flag that allows shared libraries with undefined symbols to be built.
    19427 allow_undefined_flag=$lt_allow_undefined_flag_CXX
    19428 
    19429 # Flag that enforces no undefined symbols.
    19430 no_undefined_flag=$lt_no_undefined_flag_CXX
    19431 
    19432 # Flag to hardcode \$libdir into a binary during linking.
    19433 # This must work even if \$libdir does not exist
    19434 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
    19435 
    19436 # Whether we need a single "-rpath" flag with a separated argument.
    19437 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
    19438 
    19439 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    19440 # DIR into the resulting binary.
    19441 hardcode_direct=$hardcode_direct_CXX
    19442 
    19443 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    19444 # DIR into the resulting binary and the resulting library dependency is
    19445 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
    19446 # library is relocated.
    19447 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
    19448 
    19449 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
    19450 # into the resulting binary.
    19451 hardcode_minus_L=$hardcode_minus_L_CXX
    19452 
    19453 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
    19454 # into the resulting binary.
    19455 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
    19456 
    19457 # Set to "yes" if building a shared library automatically hardcodes DIR
    19458 # into the library and all subsequent libraries and executables linked
    19459 # against it.
    19460 hardcode_automatic=$hardcode_automatic_CXX
    19461 
    19462 # Set to yes if linker adds runtime paths of dependent libraries
    19463 # to runtime path list.
    19464 inherit_rpath=$inherit_rpath_CXX
    19465 
    19466 # Whether libtool must link a program against all its dependency libraries.
    19467 link_all_deplibs=$link_all_deplibs_CXX
    19468 
    19469 # Set to "yes" if exported symbols are required.
    19470 always_export_symbols=$always_export_symbols_CXX
    19471 
    19472 # The commands to list exported symbols.
    19473 export_symbols_cmds=$lt_export_symbols_cmds_CXX
    19474 
    19475 # Symbols that should not be listed in the preloaded symbols.
    19476 exclude_expsyms=$lt_exclude_expsyms_CXX
    19477 
    19478 # Symbols that must always be exported.
    19479 include_expsyms=$lt_include_expsyms_CXX
    19480 
    19481 # Commands necessary for linking programs (against libraries) with templates.
    19482 prelink_cmds=$lt_prelink_cmds_CXX
    19483 
    19484 # Commands necessary for finishing linking programs.
    19485 postlink_cmds=$lt_postlink_cmds_CXX
    19486 
    19487 # Specify filename containing input files.
    19488 file_list_spec=$lt_file_list_spec_CXX
    19489 
    19490 # How to hardcode a shared library path into an executable.
    19491 hardcode_action=$hardcode_action_CXX
    19492 
    19493 # The directories searched by this compiler when creating a shared library.
    19494 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
    19495 
    19496 # Dependencies to place before and after the objects being linked to
    19497 # create a shared library.
    19498 predep_objects=$lt_predep_objects_CXX
    19499 postdep_objects=$lt_postdep_objects_CXX
    19500 predeps=$lt_predeps_CXX
    19501 postdeps=$lt_postdeps_CXX
    19502 
    19503 # The library search path used internally by the compiler when linking
    19504 # a shared library.
    19505 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
    19506 
    19507 # ### END LIBTOOL TAG CONFIG: CXX
    19508 _LT_EOF
    19509 
    19510  ;;
    195117751
    195127752  esac
     
    195487788
    195497789
     7790if test -z "$BUILD_RELEASE_TRUE"; then :
     7791  if test -z "$BUILD_DEBUG_TRUE"; then :
     7792  { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release & debug" >&5
     7793$as_echo "$as_me: Building libcfa for target: release & debug" >&6;}
     7794else
     7795  { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: release" >&5
     7796$as_echo "$as_me: Building libcfa for target: release" >&6;}
     7797fi
     7798else
     7799  if test -z "$BUILD_DEBUG_TRUE"; then :
     7800  { $as_echo "$as_me:${as_lineno-$LINENO}: Building libcfa for target: debug" >&5
     7801$as_echo "$as_me: Building libcfa for target: debug" >&6;}
     7802else
     7803  { $as_echo "$as_me:${as_lineno-$LINENO}: Running cfa without libcfa" >&5
     7804$as_echo "$as_me: Running cfa without libcfa" >&6;}
     7805fi
     7806fi
     7807
    195507808# Final text
    195517809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Cforall configuraton completed. Type \"make -j 8 install\"." >&5
Note: See TracChangeset for help on using the changeset viewer.