Changeset b067d9b for configure


Ignore:
Timestamp:
Oct 29, 2019, 4:01:24 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum, stuck-waitfor-destruct
Children:
773db65, 9421f3d8
Parents:
7951100 (diff), 8364209 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r7951100 rb067d9b  
    199199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     201
     202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
     203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
     205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
     206    PATH=/empty FPATH=/empty; export PATH FPATH
     207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
     208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    201209test \$(( 1 + 1 )) = 2 || exit 1"
    202210  if (eval "$as_required") 2>/dev/null; then :
     
    557565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    558566
     567SHELL=${CONFIG_SHELL-/bin/sh}
     568
    559569
    560570test -n "$DJDIR" || exec 7<&0 </dev/null
     
    626636LTLIBOBJS
    627637LIBOBJS
    628 ALLOCA
     638CFA_BACKEND_CC
     639DEMANGLER
     640LIBDEMANGLE
     641WITH_LIBTCMALLOC_FALSE
     642WITH_LIBTCMALLOC_TRUE
     643WITH_LIBPROFILER_FALSE
     644WITH_LIBPROFILER_TRUE
     645WITH_LIBFIBRE_FALSE
     646WITH_LIBFIBRE_TRUE
     647CXXCPP
     648CPP
     649LT_SYS_LIBRARY_PATH
     650OTOOL64
     651OTOOL
     652LIPO
     653NMEDIT
     654DSYMUTIL
     655MANIFEST_TOOL
     656RANLIB
     657ac_ct_AR
     658AR
     659DLLTOOL
     660OBJDUMP
     661LN_S
     662NM
     663ac_ct_DUMPBIN
     664DUMPBIN
     665FGREP
    629666EGREP
    630667GREP
    631 CPP
    632 RANLIB
     668SED
     669LIBTOOL
    633670LEXLIB
    634671LEX_OUTPUT_ROOT
     
    663700LDFLAGS
    664701CXXFLAGS
    665 CXX
    666702CFA_FLAGS
    667 MACHINE_TYPE
     703LIBCFA_TARGET_MAKEFILES
     704LIBCFA_TARGET_DIRS
     705TARGET_HOSTS
     706HOST_FLAGS
    668707host_os
    669708host_vendor
     
    674713build_cpu
    675714build
     715BUILD_IN_TREE_FLAGS
     716CFACPP
     717CFACC_INSTALL
     718CFACC
     719DRIVER_DIR
    676720CFA_LIBDIR
    677721CFA_BINDIR
    678722CFA_INCDIR
    679723CFA_PREFIX
     724HAS_DISTCC
     725LD
     726CXX
     727ENABLE_DISTCC_FALSE
     728ENABLE_DISTCC_TRUE
    680729DOendif
    681730DOifskipcompile
    682 BUILD_CONCURRENCY_FALSE
    683 BUILD_CONCURRENCY_TRUE
    684 BUILD_NO_LIB_FALSE
    685 BUILD_NO_LIB_TRUE
    686 BUILD_DEBUG_FALSE
    687 BUILD_DEBUG_TRUE
    688 BUILD_RELEASE_FALSE
    689 BUILD_RELEASE_TRUE
    690 CFA_BACKEND_CC
    691 BACKEND_CC
    692731CFA_NAME
    693 MAINT
    694 MAINTAINER_MODE_FALSE
    695 MAINTAINER_MODE_TRUE
    696732am__untar
    697733am__tar
     
    764800enable_option_checking
    765801enable_silent_rules
    766 enable_maintainer_mode
    767802with_cfa_name
    768 with_backend_compiler
    769 enable_target_release
    770 enable_target_debug
    771 enable_threading
     803enable_distcc
     804with_target_hosts
     805enable_gprofiler
     806enable_demangler
    772807enable_dependency_tracking
     808enable_shared
     809enable_static
     810with_pic
     811enable_fast_install
     812with_aix_soname
     813with_gnu_ld
     814with_sysroot
     815enable_libtool_lock
    773816'
    774817      ac_precious_vars='build_alias
     
    787830YACC
    788831YFLAGS
    789 CPP'
     832LT_SYS_LIBRARY_PATH
     833CPP
     834CXXCPP'
    790835
    791836
     
    14191464  --enable-silent-rules   less verbose build output (undo: "make V=1")
    14201465  --disable-silent-rules  verbose build output (undo: "make V=0")
    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)
     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)
    14281469  --enable-dependency-tracking
    14291470                          do not reject slow dependency extractors
    14301471  --disable-dependency-tracking
    14311472                          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)
    14321478
    14331479Optional Packages:
     
    14351481  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    14361482  --with-cfa-name=NAME     NAME too which cfa will be installed
    1437   --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible)
     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).
    14381492
    14391493Some influential environment variables:
     
    14551509              This script will default YFLAGS to the empty string to avoid a
    14561510              default value of `-d' given by some make applications.
     1511  LT_SYS_LIBRARY_PATH
     1512              User-defined run-time library search path.
    14571513  CPP         C preprocessor
     1514  CXXCPP      C++ preprocessor
    14581515
    14591516Use these variables to override the choices made by `configure' or to help
     
    16591716} # ac_fn_c_try_link
    16601717
    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.
    1665 ac_fn_c_check_type ()
     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.
     1722ac_fn_c_check_header_compile ()
    16661723{
    16671724  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     
    16711728  $as_echo_n "(cached) " >&6
    16721729else
    1673   eval "$3=no"
    16741730  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16751731/* end confdefs.h.  */
    16761732$4
    1677 int
    1678 main ()
    1679 {
    1680 if (sizeof ($2))
    1681          return 0;
    1682   ;
    1683   return 0;
    1684 }
     1733#include <$2>
    16851734_ACEOF
    16861735if ac_fn_c_try_compile "$LINENO"; then :
    1687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1688 /* end confdefs.h.  */
    1689 $4
    1690 int
    1691 main ()
    1692 {
    1693 if (sizeof (($2)))
    1694             return 0;
    1695   ;
    1696   return 0;
    1697 }
    1698 _ACEOF
    1699 if ac_fn_c_try_compile "$LINENO"; then :
    1700 
    1701 else
    17021736  eval "$3=yes"
    1703 fi
    1704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1737else
     1738  eval "$3=no"
    17051739fi
    17061740rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     
    17111745  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    17121746
    1713 } # ac_fn_c_check_type
     1747} # ac_fn_c_check_header_compile
    17141748
    17151749# ac_fn_c_try_cpp LINENO
     
    17921826} # ac_fn_c_try_run
    17931827
    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.
    1798 ac_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; }
    1803 if eval \${$3+:} false; then :
    1804   $as_echo_n "(cached) " >&6
    1805 else
    1806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1807 /* end confdefs.h.  */
    1808 $4
    1809 #include <$2>
    1810 _ACEOF
    1811 if ac_fn_c_try_compile "$LINENO"; then :
    1812   eval "$3=yes"
    1813 else
    1814   eval "$3=no"
    1815 fi
    1816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1817 fi
    1818 eval 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 
    18251828# ac_fn_c_check_func LINENO FUNC VAR
    18261829# ----------------------------------
     
    18891892
    18901893} # 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.
     1898ac_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"
     1902case "(($ac_try" in
     1903  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1904  *) ac_try_echo=$ac_try;;
     1905esac
     1906eval 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
     1921else
     1922  $as_echo "$as_me: failed program was:" >&5
     1923sed 's/^/| /' conftest.$ac_ext >&5
     1924
     1925    ac_retval=1
     1926fi
     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.
     1935ac_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"
     1940case "(($ac_try" in
     1941  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1942  *) ac_try_echo=$ac_try;;
     1943esac
     1944eval 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
     1962else
     1963  $as_echo "$as_me: failed program was:" >&5
     1964sed 's/^/| /' conftest.$ac_ext >&5
     1965
     1966        ac_retval=1
     1967fi
     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
    18911977
    18921978# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     
    19812067} # ac_fn_c_check_header_mongrel
    19822068
    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.
    1987 ac_fn_c_find_intX_t ()
     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.
     2073ac_fn_c_check_type ()
    19882074{
    19892075  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1990   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5
    1991 $as_echo_n "checking for int$2_t... " >&6; }
     2076  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2077$as_echo_n "checking for $2... " >&6; }
    19922078if eval \${$3+:} false; then :
    19932079  $as_echo_n "(cached) " >&6
    19942080else
    19952081  eval "$3=no"
    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
     2082  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    20012083/* end confdefs.h.  */
    2002 $ac_includes_default
    2003              enum { N = $2 / 2 - 1 };
     2084$4
    20042085int
    20052086main ()
    20062087{
    2007 static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))];
    2008 test_array [0] = 0;
    2009 return test_array [0];
    2010 
     2088if (sizeof ($2))
     2089         return 0;
    20112090  ;
    20122091  return 0;
     
    20162095  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    20172096/* end confdefs.h.  */
    2018 $ac_includes_default
    2019                 enum { N = $2 / 2 - 1 };
     2097$4
    20202098int
    20212099main ()
    20222100{
    2023 static 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))];
    2025 test_array [0] = 0;
    2026 return test_array [0];
    2027 
     2101if (sizeof (($2)))
     2102            return 0;
    20282103  ;
    20292104  return 0;
     
    20332108
    20342109else
    2035   case $ac_type in #(
    2036   int$2_t) :
    2037     eval "$3=yes" ;; #(
    2038   *) :
    2039     eval "$3=\$ac_type" ;;
    2040 esac
     2110  eval "$3=yes"
    20412111fi
    20422112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    20432113fi
    20442114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2045        if eval test \"x\$"$3"\" = x"no"; then :
    2046 
    2047 else
    2048   break
    2049 fi
    2050      done
    20512115fi
    20522116eval ac_res=\$$3
     
    20552119  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    20562120
    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.
    2063 ac_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; }
    2068 if eval \${$3+:} false; then :
    2069   $as_echo_n "(cached) " >&6
    2070 else
    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
    2079 int
    2080 main ()
    2081 {
    2082 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
    2083 test_array [0] = 0;
    2084 return test_array [0];
    2085 
    2086   ;
    2087   return 0;
    2088 }
    2089 _ACEOF
    2090 if 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" ;;
    2096 esac
    2097 fi
    2098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2099        if eval test \"x\$"$3"\" = x"no"; then :
    2100 
    2101 else
    2102   break
    2103 fi
    2104      done
    2105 fi
    2106 eval 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
     2121} # ac_fn_c_check_type
    21122122cat >config.log <<_ACEOF
    21132123This file contains any messages produced by compilers while
     
    24912501
    24922502
     2503
    24932504#AC_CONFIG_SRCDIR([src/main.cc])
    2494 ac_config_headers="$ac_config_headers config.h"
     2505ac_config_headers="$ac_config_headers config.h:src/config.h.in"
    24952506
    24962507# Check whether --enable-silent-rules was given.
     
    25022513  yes) AM_DEFAULT_VERBOSITY=0;;
    25032514   no) AM_DEFAULT_VERBOSITY=1;;
    2504     *) AM_DEFAULT_VERBOSITY=1;;
     2515    *) AM_DEFAULT_VERBOSITY=0;;
    25052516esac
    25062517am_make=${MAKE-make}
     
    25332544AM_BACKSLASH='\'
    25342545
     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=""}
    25352559
    25362560am__api_version='1.15'
     
    30753099
    30763100
    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.
    3080 if test "${enable_maintainer_mode+set}" = set; then :
    3081   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
    3082 else
    3083   USE_MAINTAINER_MODE=yes
    3084 fi
    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='#'
    3091 else
    3092   MAINTAINER_MODE_TRUE='#'
    3093   MAINTAINER_MODE_FALSE=
    3094 fi
    3095 
    3096   MAINT=$MAINTAINER_MODE_TRUE
    3097 
    3098                         # may require auto* software to be installed
    3099 
    31003101# Allow program name tansformation
    31013102# will fill program_transform_name with appropriate sed regex
    31023103
    31033104
     3105#==============================================================================
    31043106#Trasforming cc1 will break compilation
    3105 if test "${program_transform_name}" = ""; then
    3106     as_fn_error $? "Program transform not supported.
    3107                 Use --with-cfa-name='[Desired name here]' instead" "$LINENO" 5
    3108 fi
    3109 
     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
    31103114
    31113115# Check whether --with-cfa-name was given.
     
    31173121
    31183122
    3119 #Define the new name of the installed command
    3120 CFA_NAME=${cfa_name}
    3121 
     3123        CFA_NAME=${cfa_name}
     3124
     3125
     3126
     3127#==============================================================================
     3128# version information
    31223129
    31233130rm -f version
     
    31713178
    31723179
    3173 # Installation paths
    3174 
    3175 
    3176 # Check whether --with-backend-compiler was given.
    3177 if test "${with_backend_compiler+set}" = set; then :
    3178   withval=$with_backend_compiler; backendcompiler=$withval
    3179 else
    3180   backendcompiler=""
    3181 fi
    3182 
    3183 if test "x$backendcompiler" != "x"; then
    3184         BACKEND_CC=${backendcompiler}
    3185 else
    3186         # Extract the first word of "gcc", so it can be a program name with args.
    3187 set 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; }
    3190 if ${ac_cv_path_BACKEND_CC+:} false; then :
    3191   $as_echo_n "(cached) " >&6
    3192 else
    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
    3199 for as_dir in $PATH
    3200 do
    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
    3209 done
    3210   done
    3211 IFS=$as_save_IFS
    3212 
    3213   ;;
    3214 esac
    3215 fi
    3216 BACKEND_CC=$ac_cv_path_BACKEND_CC
    3217 if test -n "$BACKEND_CC"; then
    3218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5
    3219 $as_echo "$BACKEND_CC" >&6; }
    3220 else
    3221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3222 $as_echo "no" >&6; }
    3223 fi
    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
    3230 fi
    3231 
    3232 cat >>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.
    3241 if test "${enable_target_release+set}" = set; then :
    3242   enableval=$enable_target_release;
    3243 fi
    3244 
    3245 # Check whether --enable-target-debug was given.
    3246 if test "${enable_target_debug+set}" = set; then :
    3247   enableval=$enable_target_debug;
    3248 fi
    3249 
    3250 # Check whether --enable-threading was given.
    3251 if 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 ;;
    3256 esac
    3257 else
    3258   build_threading="yes"
    3259 fi
    3260 
    3261 
    3262 case "$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                 ;;
    3311 esac
    3312 
    3313  if test "x$build_release" = "xyes"; then
    3314   BUILD_RELEASE_TRUE=
    3315   BUILD_RELEASE_FALSE='#'
    3316 else
    3317   BUILD_RELEASE_TRUE='#'
    3318   BUILD_RELEASE_FALSE=
    3319 fi
    3320 
    3321  if test "x$build_debug" = "xyes"; then
    3322   BUILD_DEBUG_TRUE=
    3323   BUILD_DEBUG_FALSE='#'
    3324 else
    3325   BUILD_DEBUG_TRUE='#'
    3326   BUILD_DEBUG_FALSE=
    3327 fi
    3328 
    3329  if test "x$build_release$build_debug" = "xnono"; then
    3330   BUILD_NO_LIB_TRUE=
    3331   BUILD_NO_LIB_FALSE='#'
    3332 else
    3333   BUILD_NO_LIB_TRUE='#'
    3334   BUILD_NO_LIB_FALSE=
    3335 fi
    3336 
    3337  if test "x$build_threading" = "xyes"; then
    3338   BUILD_CONCURRENCY_TRUE=
    3339   BUILD_CONCURRENCY_FALSE='#'
    3340 else
    3341   BUILD_CONCURRENCY_TRUE='#'
    3342   BUILD_CONCURRENCY_FALSE=
    3343 fi
    3344 
    3345 
     3180#==============================================================================
     3181# HACK to be able to use conditionnals inside makefiles
    33463182DOifskipcompile='ifeq ($(skipcompile),yes)
    33473183else'
     
    33533189
    33543190
    3355 if test "x$prefix" = "xNONE"; then
    3356         cfa_prefix=${ac_default_prefix}
    3357 else
    3358         cfa_prefix=${prefix}
    3359 fi
     3191#==============================================================================
     3192# distcc support
     3193
     3194# Check whether --enable-distcc was given.
     3195if test "${enable_distcc+set}" = set; then :
     3196  enableval=$enable_distcc; enable_distcc=$enableval
     3197else
     3198  enable_distcc=no
     3199fi
     3200
     3201
     3202 if test x$enable_distcc = xyes; then
     3203  ENABLE_DISTCC_TRUE=
     3204  ENABLE_DISTCC_FALSE='#'
     3205else
     3206  ENABLE_DISTCC_TRUE='#'
     3207  ENABLE_DISTCC_FALSE=
     3208fi
     3209
     3210HAS_DISTCC="False"
     3211
     3212if test x$enable_distcc = xyes; then
     3213        CXX="distcc ${CXX}"
     3214        LD="distcc ${LD} -lstdc++"
     3215        HAS_DISTCC="True"
     3216        echo "Enabling distributed builds"
     3217fi
     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})/"
    33603232
    33613233cat >>confdefs.h <<_ACEOF
     
    33633235_ACEOF
    33643236
    3365 CFA_PREFIX=${cfa_prefix}
    3366 
    3367 
    3368 if test "$includedir" = '${prefix}/include'; then
    3369         cfa_incdir="${cfa_prefix}/include/${cfa_name}"
    3370 else
    3371         cfa_incdir=${includedir}
    3372 fi
     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})/"
    33733246
    33743247cat >>confdefs.h <<_ACEOF
     
    33763249_ACEOF
    33773250
    3378 CFA_INCDIR=${cfa_incdir}
    3379 
    3380 
    3381 if test "$bindir" = '${exec_prefix}/bin'; then
    3382         cfa_bindir="${cfa_prefix}/bin"
    3383 else
    3384         cfa_bindir=${bindir}
    3385 fi
     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})/"
    33863260
    33873261cat >>confdefs.h <<_ACEOF
     
    33893263_ACEOF
    33903264
    3391 CFA_BINDIR=${cfa_bindir}
    3392 
    3393 
    3394 if test "$libdir" = '${exec_prefix}/lib'; then
    3395         cfa_libdir="${cfa_prefix}/lib/${cfa_name}"
    3396 else
    3397         cfa_libdir=${libdir}
    3398 fi
     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})/"
    33993278
    34003279cat >>confdefs.h <<_ACEOF
     
    34023281_ACEOF
    34033282
    3404 CFA_LIBDIR=${cfa_libdir}
    3405 
    3406 
     3283        CFA_LIBDIR=${cfa_libdir}
     3284
     3285
     3286
     3287#==============================================================================
     3288# Create variables for commonly used targets
     3289
     3290TOP_SRCDIR="$(readlink -m $ac_confdir/)/"
     3291TOP_BUILDDIR="$(readlink -m $ac_pwd/)/"
     3292
     3293
     3294cat >>confdefs.h <<_ACEOF
     3295#define TOP_SRCDIR "$TOP_SRCDIR"
     3296_ACEOF
     3297
     3298
     3299cat >>confdefs.h <<_ACEOF
     3300#define TOP_BUILDDIR "$TOP_BUILDDIR"
     3301_ACEOF
     3302
     3303
     3304DRIVER_DIR=${TOP_BUILDDIR}driver/
     3305CFACC=${DRIVER_DIR}cfa
     3306CFACC_INSTALL=${CFA_BINDIR}${CFA_NAME}
     3307CFACPP=${DRIVER_DIR}cfa-cpp
     3308
     3309
     3310
     3311
     3312
     3313#==============================================================================
     3314# Flag variables needed to build in tree
     3315LIBCFA_SRC='${TOP_SRCDIR}/libcfa/src'
     3316BUILD_IN_TREE_FLAGS="-XCFA -t -B${DRIVER_DIR}"
     3317
     3318
     3319#==============================================================================
     3320# handle the list of hosts to build for
     3321for var in $ac_configure_args
     3322do
     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
     3338done
     3339
     3340#==============================================================================
     3341# handle the list of hosts to build for
    34073342# Make sure we can run config.sub.
    34083343$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     
    34763411
    34773412
    3478 MACHINE_TYPE=$host_cpu
    3479 
    34803413
    34813414if ! test "$host_cpu" = "$build_cpu"; then
    34823415        case $host_cpu in
    34833416                i386)
    3484                         CFLAGS+=" -m32 "
    3485                         CXXFLAGS+=" -m32 "
    3486                         CFAFLAGS+=" -m32 "
    3487                         LDFLAGS+=" -m32 "
     3417                        HOST_FLAGS="-m32"
    34883418                        ;;
    34893419                i686)
    3490                         CFLAGS+=" -m32 "
    3491                   CXXFLAGS+=" -m32 "
    3492                   CFAFLAGS+=" -m32 "
    3493                   LDFLAGS+=" -m32 "
     3420                        HOST_FLAGS="-m32"
    34943421                        ;;
    34953422                x86_64)
    3496                         CFLAGS+=" -m64 "
    3497                         CXXFLAGS+=" -m64 "
    3498                         CFAFLAGS+=" -m64 "
    3499                         LDFLAGS+=" -m64 "
     3423                        HOST_FLAGS="-m64"
    35003424                        ;;
    35013425        esac
    35023426fi
    35033427
     3428
     3429default_target="${host_cpu}:debug, ${host_cpu}:nodebug"
     3430
     3431# Check whether --with-target-hosts was given.
     3432if test "${with_target_hosts+set}" = set; then :
     3433  withval=$with_target_hosts; target_hosts=$withval
     3434else
     3435  target_hosts=${default_target}
     3436fi
     3437
     3438
     3439# Check whether --enable-gprofiler was given.
     3440if test "${enable_gprofiler+set}" = set; then :
     3441  enableval=$enable_gprofiler; enable_gprofiler=$enableval
     3442else
     3443  enable_gprofiler=yes
     3444fi
     3445
     3446
     3447# Check whether --enable-demangler was given.
     3448if test "${enable_demangler+set}" = set; then :
     3449  enableval=$enable_demangler; enable_demangler=$enableval
     3450else
     3451  enable_demangler=yes
     3452fi
     3453
     3454
     3455TARGET_HOSTS=${target_hosts}
     3456
     3457
     3458LIBCFA_PATHS="DRIVER_DIR=${DRIVER_DIR}"
     3459
     3460for i in $(echo $target_hosts | sed "s/,/ /g")
     3461do
     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
     3514done
     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
     3545cat >>confdefs.h <<_ACEOF
     3546#define CFA_DEFAULT_CPU "$cannon_arch_name"
     3547_ACEOF
     3548
     3549
     3550cat >>confdefs.h <<_ACEOF
     3551#define CFA_64_CPU "x64"
     3552_ACEOF
     3553
     3554
     3555cat >>confdefs.h <<_ACEOF
     3556#define CFA_32_CPU "x86"
     3557_ACEOF
     3558
     3559
     3560#==============================================================================
     3561# CAFLAGS
    35043562
    35053563cat >>confdefs.h <<_ACEOF
     
    35103568
    35113569
     3570#==============================================================================
    35123571# Checks for programs.
    35133572ac_ext=cpp
     
    50685127
    50695128
    5070         # deprecated
    50715129# These are often not installed and people miss seeing the "no", so stop the configure.
    50725130for ac_prog in 'bison -y' byacc
     
    52755333fi
    52765334if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi
    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; }
    5280 set x ${MAKE-make}
    5281 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    5282 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     5335case `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;} ;;
     5339esac
     5340
     5341
     5342
     5343macro_version='2.4.6'
     5344macro_revision='2.4.6'
     5345
     5346
     5347
     5348
     5349
     5350
     5351
     5352
     5353
     5354
     5355
     5356
     5357
     5358ltmain=$ac_aux_dir/ltmain.sh
     5359
     5360# Backslashify metacharacters that are still active within
     5361# double-quoted strings.
     5362sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
     5363
     5364# Same as above, but do not quote variable references.
     5365double_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.
     5369delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     5370
     5371# Sed substitution to delay expansion of an escaped single quote.
     5372delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
     5373
     5374# Sed substitution to avoid accidental globbing in evaled expressions
     5375no_glob_subst='s/\*/\\\*/g'
     5376
     5377ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     5378ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
     5379ECHO=$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.
     5384if 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 --'
     5387elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
     5388  ECHO='printf %s\n'
     5389else
     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'
     5398fi
     5399
     5400# func_echo_all arg...
     5401# Invoke $ECHO with all args, space-separated.
     5402func_echo_all ()
     5403{
     5404    $ECHO ""
     5405}
     5406
     5407case $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; } ;;
     5414esac
     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; }
     5431if ${ac_cv_path_SED+:} false; then :
    52835432  $as_echo_n "(cached) " >&6
    52845433else
    5285   cat >conftest.make <<\_ACEOF
    5286 SHELL = /bin/sh
    5287 all:
    5288         @echo '@@@%%%=$(MAKE)=@@@%%%'
    5289 _ACEOF
    5290 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    5291 case `${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;;
    5296 esac
    5297 rm -f conftest.make
    5298 fi
    5299 if 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=
    5303 else
    5304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5305 $as_echo "no" >&6; }
    5306   SET_MAKE="MAKE=${MAKE-make}"
    5307 fi
    5308 
    5309 if 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.
    5311 set 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; }
    5314 if ${ac_cv_prog_RANLIB+:} false; then :
    5315   $as_echo_n "(cached) " >&6
    5316 else
    5317   if test -n "$RANLIB"; then
    5318   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    5319 else
    5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     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
    53215444for as_dir in $PATH
    53225445do
    53235446  IFS=$as_save_IFS
    53245447  test -z "$as_dir" && as_dir=.
     5448    for ac_prog in sed gsed; do
    53255449    for ac_exec_ext in '' $ac_executable_extensions; do
    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
    5331 done
     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
     5454case `"$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;;
     5478esac
     5479
     5480      $ac_path_SED_found && break 3
     5481    done
     5482  done
    53325483  done
    53335484IFS=$as_save_IFS
    5334 
    5335 fi
    5336 fi
    5337 RANLIB=$ac_cv_prog_RANLIB
    5338 if test -n "$RANLIB"; then
    5339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    5340 $as_echo "$RANLIB" >&6; }
    5341 else
    5342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5343 $as_echo "no" >&6; }
    5344 fi
    5345 
    5346 
    5347 fi
    5348 if 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.
    5351 set 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; }
    5354 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    5355   $as_echo_n "(cached) " >&6
    5356 else
    5357   if test -n "$ac_ct_RANLIB"; then
    5358   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    5359 else
    5360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5361 for as_dir in $PATH
    5362 do
    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
     5485  if test -z "$ac_cv_path_SED"; then
     5486    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
    53705487  fi
    5371 done
    5372   done
    5373 IFS=$as_save_IFS
    5374 
    5375 fi
    5376 fi
    5377 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    5378 if 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; }
    5381 else
    5382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5383 $as_echo "no" >&6; }
    5384 fi
    5385 
    5386   if test "x$ac_ct_RANLIB" = x; then
    5387     RANLIB=":"
    5388   else
    5389     case $cross_compiling:$ac_tool_warned in
    5390 yes:)
    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;}
    5393 ac_tool_warned=yes ;;
    5394 esac
    5395     RANLIB=$ac_ct_RANLIB
    5396   fi
    5397 else
    5398   RANLIB="$ac_cv_prog_RANLIB"
    5399 fi
    5400 
    5401 
    5402 # Checks for libraries.
    5403 
    5404 # Checks for header files.
    5405 ac_ext=c
    5406 ac_cpp='$CPP $CPPFLAGS'
    5407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5409 ac_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.
    5413 if test -n "$CPP" && test -d "$CPP"; then
    5414   CPP=
    5415 fi
    5416 if test -z "$CPP"; then
    5417   if ${ac_cv_prog_CPP+:} false; then :
    5418   $as_echo_n "(cached) " >&6
    5419 else
    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
    5424 for ac_c_preproc_warn_flag in '' yes
    5425 do
    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
    5441 if ac_fn_c_try_cpp "$LINENO"; then :
    5442 
    5443 else
    5444   # Broken: fails on valid input.
    5445 continue
    5446 fi
    5447 rm -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
    5455 if ac_fn_c_try_cpp "$LINENO"; then :
    5456   # Broken: success on invalid input.
    5457 continue
    5458 else
    5459   # Passes both tests.
    5460 ac_preproc_ok=:
    5461 break
    5462 fi
    5463 rm -f conftest.err conftest.i conftest.$ac_ext
    5464 
    5465 done
    5466 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5467 rm -f conftest.i conftest.err conftest.$ac_ext
    5468 if $ac_preproc_ok; then :
    5469   break
    5470 fi
    5471 
    5472     done
    5473     ac_cv_prog_CPP=$CPP
    5474 
    5475 fi
    5476   CPP=$ac_cv_prog_CPP
    5477 else
    5478   ac_cv_prog_CPP=$CPP
    5479 fi
    5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    5481 $as_echo "$CPP" >&6; }
    5482 ac_preproc_ok=false
    5483 for ac_c_preproc_warn_flag in '' yes
    5484 do
    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
    5500 if ac_fn_c_try_cpp "$LINENO"; then :
    5501 
    5502 else
    5503   # Broken: fails on valid input.
    5504 continue
    5505 fi
    5506 rm -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
    5514 if ac_fn_c_try_cpp "$LINENO"; then :
    5515   # Broken: success on invalid input.
    5516 continue
    5517 else
    5518   # Passes both tests.
    5519 ac_preproc_ok=:
    5520 break
    5521 fi
    5522 rm -f conftest.err conftest.i conftest.$ac_ext
    5523 
    5524 done
    5525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5526 rm -f conftest.i conftest.err conftest.$ac_ext
    5527 if $ac_preproc_ok; then :
    5528 
    5529 else
    5530   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    5531 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    5532 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    5533 See \`config.log' for more details" "$LINENO" 5; }
    5534 fi
    5535 
    5536 ac_ext=c
    5537 ac_cpp='$CPP $CPPFLAGS'
    5538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5488else
     5489  ac_cv_path_SED=$SED
     5490fi
     5491
     5492fi
     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
     5498test -z "$SED" && SED=sed
     5499Xsed="$SED -e 1s/^X//"
     5500
     5501
     5502
     5503
     5504
     5505
     5506
     5507
     5508
    55415509
    55425510
     
    56715639
    56725640
     5641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
     5642$as_echo_n "checking for fgrep... " >&6; }
     5643if ${ac_cv_path_FGREP+:} false; then :
     5644  $as_echo_n "(cached) " >&6
     5645else
     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
     5653for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     5654do
     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
     5663case `"$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;;
     5687esac
     5688
     5689      $ac_path_FGREP_found && break 3
     5690    done
     5691  done
     5692  done
     5693IFS=$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
     5697else
     5698  ac_cv_path_FGREP=$FGREP
     5699fi
     5700
     5701   fi
     5702fi
     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
     5708test -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.
     5729if test "${with_gnu_ld+set}" = set; then :
     5730  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
     5731else
     5732  with_gnu_ld=no
     5733fi
     5734
     5735ac_prog=ld
     5736if 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
     5767elif 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; }
     5770else
     5771  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
     5772$as_echo_n "checking for non-GNU ld... " >&6; }
     5773fi
     5774if ${lt_cv_path_LD+:} false; then :
     5775  $as_echo_n "(cached) " >&6
     5776else
     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
     5798else
     5799  lt_cv_path_LD=$LD # Let the user override the test with a path.
     5800fi
     5801fi
     5802
     5803LD=$lt_cv_path_LD
     5804if test -n "$LD"; then
     5805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     5806$as_echo "$LD" >&6; }
     5807else
     5808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5809$as_echo "no" >&6; }
     5810fi
     5811test -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; }
     5814if ${lt_cv_prog_gnu_ld+:} false; then :
     5815  $as_echo_n "(cached) " >&6
     5816else
     5817  # I'd rather use --version here, but apparently some GNU lds only accept -v.
     5818case `$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  ;;
     5825esac
     5826fi
     5827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
     5828$as_echo "$lt_cv_prog_gnu_ld" >&6; }
     5829with_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; }
     5841if ${lt_cv_path_NM+:} false; then :
     5842  $as_echo_n "(cached) " >&6
     5843else
     5844  if test -n "$NM"; then
     5845  # Let the user override the test.
     5846  lt_cv_path_NM=$NM
     5847else
     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}
     5891fi
     5892fi
     5893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
     5894$as_echo "$lt_cv_path_NM" >&6; }
     5895if test no != "$lt_cv_path_NM"; then
     5896  NM=$lt_cv_path_NM
     5897else
     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.
     5906set 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; }
     5909if ${ac_cv_prog_DUMPBIN+:} false; then :
     5910  $as_echo_n "(cached) " >&6
     5911else
     5912  if test -n "$DUMPBIN"; then
     5913  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
     5914else
     5915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5916for as_dir in $PATH
     5917do
     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
     5926done
     5927  done
     5928IFS=$as_save_IFS
     5929
     5930fi
     5931fi
     5932DUMPBIN=$ac_cv_prog_DUMPBIN
     5933if test -n "$DUMPBIN"; then
     5934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
     5935$as_echo "$DUMPBIN" >&6; }
     5936else
     5937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5938$as_echo "no" >&6; }
     5939fi
     5940
     5941
     5942    test -n "$DUMPBIN" && break
     5943  done
     5944fi
     5945if test -z "$DUMPBIN"; then
     5946  ac_ct_DUMPBIN=$DUMPBIN
     5947  for ac_prog in dumpbin "link -dump"
     5948do
     5949  # Extract the first word of "$ac_prog", so it can be a program name with args.
     5950set 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; }
     5953if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
     5954  $as_echo_n "(cached) " >&6
     5955else
     5956  if test -n "$ac_ct_DUMPBIN"; then
     5957  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
     5958else
     5959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5960for as_dir in $PATH
     5961do
     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
     5970done
     5971  done
     5972IFS=$as_save_IFS
     5973
     5974fi
     5975fi
     5976ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
     5977if 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; }
     5980else
     5981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5982$as_echo "no" >&6; }
     5983fi
     5984
     5985
     5986  test -n "$ac_ct_DUMPBIN" && break
     5987done
     5988
     5989  if test "x$ac_ct_DUMPBIN" = x; then
     5990    DUMPBIN=":"
     5991  else
     5992    case $cross_compiling:$ac_tool_warned in
     5993yes:)
     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;}
     5996ac_tool_warned=yes ;;
     5997esac
     5998    DUMPBIN=$ac_ct_DUMPBIN
     5999  fi
     6000fi
     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
     6015fi
     6016test -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; }
     6025if ${lt_cv_nm_interface+:} false; then :
     6026  $as_echo_n "(cached) " >&6
     6027else
     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*
     6042fi
     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; }
     6048LN_S=$as_ln_s
     6049if test "$LN_S" = "ln -s"; then
     6050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     6051$as_echo "yes" >&6; }
     6052else
     6053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     6054$as_echo "no, using $LN_S" >&6; }
     6055fi
     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; }
     6060if ${lt_cv_sys_max_cmd_len+:} false; then :
     6061  $as_echo_n "(cached) " >&6
     6062else
     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
     6186fi
     6187
     6188if 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; }
     6191else
     6192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
     6193$as_echo "none" >&6; }
     6194fi
     6195max_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
     6206if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     6207  lt_unset=unset
     6208else
     6209  lt_unset=false
     6210fi
     6211
     6212
     6213
     6214
     6215
     6216# test EBCDIC or ASCII
     6217case `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  ;;
     6227esac
     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; }
     6239if ${lt_cv_to_host_file_cmd+:} false; then :
     6240  $as_echo_n "(cached) " >&6
     6241else
     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    ;;
     6272esac
     6273
     6274fi
     6275
     6276to_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; }
     6286if ${lt_cv_to_tool_file_cmd+:} false; then :
     6287  $as_echo_n "(cached) " >&6
     6288else
     6289  #assume ordinary cross tools, or native build.
     6290lt_cv_to_tool_file_cmd=func_convert_file_noop
     6291case $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    ;;
     6299esac
     6300
     6301fi
     6302
     6303to_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; }
     6313if ${lt_cv_ld_reload_flag+:} false; then :
     6314  $as_echo_n "(cached) " >&6
     6315else
     6316  lt_cv_ld_reload_flag='-r'
     6317fi
     6318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
     6319$as_echo "$lt_cv_ld_reload_flag" >&6; }
     6320reload_flag=$lt_cv_ld_reload_flag
     6321case $reload_flag in
     6322"" | " "*) ;;
     6323*) reload_flag=" $reload_flag" ;;
     6324esac
     6325reload_cmds='$LD$reload_flag -o $output$reload_objs'
     6326case $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    ;;
     6339esac
     6340
     6341
     6342
     6343
     6344
     6345
     6346
     6347
     6348
     6349if 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.
     6351set 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; }
     6354if ${ac_cv_prog_OBJDUMP+:} false; then :
     6355  $as_echo_n "(cached) " >&6
     6356else
     6357  if test -n "$OBJDUMP"; then
     6358  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
     6359else
     6360as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6361for as_dir in $PATH
     6362do
     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
     6371done
     6372  done
     6373IFS=$as_save_IFS
     6374
     6375fi
     6376fi
     6377OBJDUMP=$ac_cv_prog_OBJDUMP
     6378if test -n "$OBJDUMP"; then
     6379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
     6380$as_echo "$OBJDUMP" >&6; }
     6381else
     6382  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6383$as_echo "no" >&6; }
     6384fi
     6385
     6386
     6387fi
     6388if 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.
     6391set 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; }
     6394if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
     6395  $as_echo_n "(cached) " >&6
     6396else
     6397  if test -n "$ac_ct_OBJDUMP"; then
     6398  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
     6399else
     6400as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6401for as_dir in $PATH
     6402do
     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
     6411done
     6412  done
     6413IFS=$as_save_IFS
     6414
     6415fi
     6416fi
     6417ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
     6418if 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; }
     6421else
     6422  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6423$as_echo "no" >&6; }
     6424fi
     6425
     6426  if test "x$ac_ct_OBJDUMP" = x; then
     6427    OBJDUMP="false"
     6428  else
     6429    case $cross_compiling:$ac_tool_warned in
     6430yes:)
     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;}
     6433ac_tool_warned=yes ;;
     6434esac
     6435    OBJDUMP=$ac_ct_OBJDUMP
     6436  fi
     6437else
     6438  OBJDUMP="$ac_cv_prog_OBJDUMP"
     6439fi
     6440
     6441test -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; }
     6453if ${lt_cv_deplibs_check_method+:} false; then :
     6454  $as_echo_n "(cached) " >&6
     6455else
     6456  lt_cv_file_magic_cmd='$MAGIC_CMD'
     6457lt_cv_file_magic_test_file=
     6458lt_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
     6470case $host_os in
     6471aix[4-9]*)
     6472  lt_cv_deplibs_check_method=pass_all
     6473  ;;
     6474
     6475beos*)
     6476  lt_cv_deplibs_check_method=pass_all
     6477  ;;
     6478
     6479bsdi[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
     6485cygwin*)
     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
     6491mingw* | 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
     6505cegcc*)
     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
     6511darwin* | rhapsody*)
     6512  lt_cv_deplibs_check_method=pass_all
     6513  ;;
     6514
     6515freebsd* | 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
     6531haiku*)
     6532  lt_cv_deplibs_check_method=pass_all
     6533  ;;
     6534
     6535hpux10.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
     6553interix[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
     6558irix5* | 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.
     6569linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     6570  lt_cv_deplibs_check_method=pass_all
     6571  ;;
     6572
     6573netbsd* | 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
     6581newos6*)
     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
     6591openbsd* | 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
     6599osf3* | osf4* | osf5*)
     6600  lt_cv_deplibs_check_method=pass_all
     6601  ;;
     6602
     6603rdos*)
     6604  lt_cv_deplibs_check_method=pass_all
     6605  ;;
     6606
     6607solaris*)
     6608  lt_cv_deplibs_check_method=pass_all
     6609  ;;
     6610
     6611sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     6612  lt_cv_deplibs_check_method=pass_all
     6613  ;;
     6614
     6615sysv4 | 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
     6642tpf*)
     6643  lt_cv_deplibs_check_method=pass_all
     6644  ;;
     6645os2*)
     6646  lt_cv_deplibs_check_method=pass_all
     6647  ;;
     6648esac
     6649
     6650fi
     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
     6654file_magic_glob=
     6655want_nocaseglob=no
     6656if 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
     6666fi
     6667
     6668file_magic_cmd=$lt_cv_file_magic_cmd
     6669deplibs_check_method=$lt_cv_deplibs_check_method
     6670test -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
     6693if 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.
     6695set 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; }
     6698if ${ac_cv_prog_DLLTOOL+:} false; then :
     6699  $as_echo_n "(cached) " >&6
     6700else
     6701  if test -n "$DLLTOOL"; then
     6702  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
     6703else
     6704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6705for as_dir in $PATH
     6706do
     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
     6715done
     6716  done
     6717IFS=$as_save_IFS
     6718
     6719fi
     6720fi
     6721DLLTOOL=$ac_cv_prog_DLLTOOL
     6722if test -n "$DLLTOOL"; then
     6723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
     6724$as_echo "$DLLTOOL" >&6; }
     6725else
     6726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6727$as_echo "no" >&6; }
     6728fi
     6729
     6730
     6731fi
     6732if 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.
     6735set 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; }
     6738if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
     6739  $as_echo_n "(cached) " >&6
     6740else
     6741  if test -n "$ac_ct_DLLTOOL"; then
     6742  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
     6743else
     6744as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6745for as_dir in $PATH
     6746do
     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
     6755done
     6756  done
     6757IFS=$as_save_IFS
     6758
     6759fi
     6760fi
     6761ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
     6762if 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; }
     6765else
     6766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6767$as_echo "no" >&6; }
     6768fi
     6769
     6770  if test "x$ac_ct_DLLTOOL" = x; then
     6771    DLLTOOL="false"
     6772  else
     6773    case $cross_compiling:$ac_tool_warned in
     6774yes:)
     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;}
     6777ac_tool_warned=yes ;;
     6778esac
     6779    DLLTOOL=$ac_ct_DLLTOOL
     6780  fi
     6781else
     6782  DLLTOOL="$ac_cv_prog_DLLTOOL"
     6783fi
     6784
     6785test -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; }
     6798if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
     6799  $as_echo_n "(cached) " >&6
     6800else
     6801  lt_cv_sharedlib_from_linklib_cmd='unknown'
     6802
     6803case $host_os in
     6804cygwin* | 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  ;;
     6820esac
     6821
     6822fi
     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; }
     6825sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
     6826test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
     6827
     6828
     6829
     6830
     6831
     6832
     6833
     6834if 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.
     6838set 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; }
     6841if ${ac_cv_prog_AR+:} false; then :
     6842  $as_echo_n "(cached) " >&6
     6843else
     6844  if test -n "$AR"; then
     6845  ac_cv_prog_AR="$AR" # Let the user override the test.
     6846else
     6847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6848for as_dir in $PATH
     6849do
     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
     6858done
     6859  done
     6860IFS=$as_save_IFS
     6861
     6862fi
     6863fi
     6864AR=$ac_cv_prog_AR
     6865if test -n "$AR"; then
     6866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     6867$as_echo "$AR" >&6; }
     6868else
     6869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6870$as_echo "no" >&6; }
     6871fi
     6872
     6873
     6874    test -n "$AR" && break
     6875  done
     6876fi
     6877if test -z "$AR"; then
     6878  ac_ct_AR=$AR
     6879  for ac_prog in ar
     6880do
     6881  # Extract the first word of "$ac_prog", so it can be a program name with args.
     6882set 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; }
     6885if ${ac_cv_prog_ac_ct_AR+:} false; then :
     6886  $as_echo_n "(cached) " >&6
     6887else
     6888  if test -n "$ac_ct_AR"; then
     6889  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
     6890else
     6891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6892for as_dir in $PATH
     6893do
     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
     6902done
     6903  done
     6904IFS=$as_save_IFS
     6905
     6906fi
     6907fi
     6908ac_ct_AR=$ac_cv_prog_ac_ct_AR
     6909if 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; }
     6912else
     6913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6914$as_echo "no" >&6; }
     6915fi
     6916
     6917
     6918  test -n "$ac_ct_AR" && break
     6919done
     6920
     6921  if test "x$ac_ct_AR" = x; then
     6922    AR="false"
     6923  else
     6924    case $cross_compiling:$ac_tool_warned in
     6925yes:)
     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;}
     6928ac_tool_warned=yes ;;
     6929esac
     6930    AR=$ac_ct_AR
     6931  fi
     6932fi
     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; }
     6949if ${lt_cv_ar_at_file+:} false; then :
     6950  $as_echo_n "(cached) " >&6
     6951else
     6952  lt_cv_ar_at_file=no
     6953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6954/* end confdefs.h.  */
     6955
     6956int
     6957main ()
     6958{
     6959
     6960  ;
     6961  return 0;
     6962}
     6963_ACEOF
     6964if 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
     6986fi
     6987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     6988
     6989fi
     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
     6993if test no = "$lt_cv_ar_at_file"; then
     6994  archiver_list_spec=
     6995else
     6996  archiver_list_spec=$lt_cv_ar_at_file
     6997fi
     6998
     6999
     7000
     7001
     7002
     7003
     7004
     7005if 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.
     7007set 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; }
     7010if ${ac_cv_prog_STRIP+:} false; then :
     7011  $as_echo_n "(cached) " >&6
     7012else
     7013  if test -n "$STRIP"; then
     7014  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
     7015else
     7016as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7017for as_dir in $PATH
     7018do
     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
     7027done
     7028  done
     7029IFS=$as_save_IFS
     7030
     7031fi
     7032fi
     7033STRIP=$ac_cv_prog_STRIP
     7034if test -n "$STRIP"; then
     7035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
     7036$as_echo "$STRIP" >&6; }
     7037else
     7038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7039$as_echo "no" >&6; }
     7040fi
     7041
     7042
     7043fi
     7044if 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.
     7047set 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; }
     7050if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
     7051  $as_echo_n "(cached) " >&6
     7052else
     7053  if test -n "$ac_ct_STRIP"; then
     7054  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     7055else
     7056as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7057for as_dir in $PATH
     7058do
     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
     7067done
     7068  done
     7069IFS=$as_save_IFS
     7070
     7071fi
     7072fi
     7073ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     7074if 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; }
     7077else
     7078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7079$as_echo "no" >&6; }
     7080fi
     7081
     7082  if test "x$ac_ct_STRIP" = x; then
     7083    STRIP=":"
     7084  else
     7085    case $cross_compiling:$ac_tool_warned in
     7086yes:)
     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;}
     7089ac_tool_warned=yes ;;
     7090esac
     7091    STRIP=$ac_ct_STRIP
     7092  fi
     7093else
     7094  STRIP="$ac_cv_prog_STRIP"
     7095fi
     7096
     7097test -z "$STRIP" && STRIP=:
     7098
     7099
     7100
     7101
     7102
     7103
     7104if 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.
     7106set 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; }
     7109if ${ac_cv_prog_RANLIB+:} false; then :
     7110  $as_echo_n "(cached) " >&6
     7111else
     7112  if test -n "$RANLIB"; then
     7113  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     7114else
     7115as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7116for as_dir in $PATH
     7117do
     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
     7126done
     7127  done
     7128IFS=$as_save_IFS
     7129
     7130fi
     7131fi
     7132RANLIB=$ac_cv_prog_RANLIB
     7133if test -n "$RANLIB"; then
     7134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     7135$as_echo "$RANLIB" >&6; }
     7136else
     7137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7138$as_echo "no" >&6; }
     7139fi
     7140
     7141
     7142fi
     7143if 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.
     7146set 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; }
     7149if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     7150  $as_echo_n "(cached) " >&6
     7151else
     7152  if test -n "$ac_ct_RANLIB"; then
     7153  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     7154else
     7155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7156for as_dir in $PATH
     7157do
     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
     7166done
     7167  done
     7168IFS=$as_save_IFS
     7169
     7170fi
     7171fi
     7172ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     7173if 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; }
     7176else
     7177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7178$as_echo "no" >&6; }
     7179fi
     7180
     7181  if test "x$ac_ct_RANLIB" = x; then
     7182    RANLIB=":"
     7183  else
     7184    case $cross_compiling:$ac_tool_warned in
     7185yes:)
     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;}
     7188ac_tool_warned=yes ;;
     7189esac
     7190    RANLIB=$ac_ct_RANLIB
     7191  fi
     7192else
     7193  RANLIB="$ac_cv_prog_RANLIB"
     7194fi
     7195
     7196test -z "$RANLIB" && RANLIB=:
     7197
     7198
     7199
     7200
     7201
     7202
     7203# Determine commands to create old-style static archives.
     7204old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
     7205old_postinstall_cmds='chmod 644 $oldlib'
     7206old_postuninstall_cmds=
     7207
     7208if 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"
     7218fi
     7219
     7220case $host_os in
     7221  darwin*)
     7222    lock_old_archive_extraction=yes ;;
     7223  *)
     7224    lock_old_archive_extraction=no ;;
     7225esac
     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.
     7266LTCC=${LTCC-"$CC"}
     7267
     7268# If no C compiler flags were specified, use CFLAGS.
     7269LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     7270
     7271# Allow CC to be a program name with arguments.
     7272compiler=$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; }
     7278if ${lt_cv_sys_global_symbol_pipe+:} false; then :
     7279  $as_echo_n "(cached) " >&6
     7280else
     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.
     7286symcode='[BCDEGRST]'
     7287
     7288# Regexp to match symbols that can be accessed directly from C.
     7289sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
     7290
     7291# Define system-specific variables.
     7292case $host_os in
     7293aix*)
     7294  symcode='[BCDT]'
     7295  ;;
     7296cygwin* | mingw* | pw32* | cegcc*)
     7297  symcode='[ABCDGISTW]'
     7298  ;;
     7299hpux*)
     7300  if test ia64 = "$host_cpu"; then
     7301    symcode='[ABCDEGRST]'
     7302  fi
     7303  ;;
     7304irix* | nonstopux*)
     7305  symcode='[BCDEGRST]'
     7306  ;;
     7307osf*)
     7308  symcode='[BCDEGQRST]'
     7309  ;;
     7310solaris*)
     7311  symcode='[BDRT]'
     7312  ;;
     7313sco3.2v5*)
     7314  symcode='[DT]'
     7315  ;;
     7316sysv4.2uw2*)
     7317  symcode='[DT]'
     7318  ;;
     7319sysv5* | sco5v6* | unixware* | OpenUNIX*)
     7320  symcode='[ABDT]'
     7321  ;;
     7322sysv4)
     7323  symcode='[DFNSTU]'
     7324  ;;
     7325esac
     7326
     7327# If we're using GNU nm, then use its standard symbol codes.
     7328case `$NM -V 2>&1` in
     7329*GNU* | *'with BFD'*)
     7330  symcode='[ABCDGIRSTW]' ;;
     7331esac
     7332
     7333if 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'"
     7342else
     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=
     7348fi
     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.
     7353lt_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
     7359lt_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.
     7366lt_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
     7373opt_cr=
     7374case $build_os in
     7375mingw*)
     7376  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
     7377  ;;
     7378esac
     7379
     7380# Try without a prefix underscore, then with it.
     7381for 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
     7418extern "C" {
     7419#endif
     7420char nm_test_var;
     7421void nm_test_func(void);
     7422void nm_test_func(void){}
     7423#ifdef __cplusplus
     7424}
     7425#endif
     7426int 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
     7465extern "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.  */
     7475LT_DLSYM_CONST struct {
     7476  const char *name;
     7477  void       *address;
     7478}
     7479lt__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
     7490static 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
     7535done
     7536
     7537fi
     7538
     7539if test -z "$lt_cv_sys_global_symbol_pipe"; then
     7540  lt_cv_sys_global_symbol_to_cdecl=
     7541fi
     7542if 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; }
     7545else
     7546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
     7547$as_echo "ok" >&6; }
     7548fi
     7549
     7550# Response file support.
     7551if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     7552  nm_file_list_spec='@'
     7553elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
     7554  nm_file_list_spec='@'
     7555fi
     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.
     7597if test "${with_sysroot+set}" = set; then :
     7598  withval=$with_sysroot;
     7599else
     7600  with_sysroot=no
     7601fi
     7602
     7603
     7604lt_sysroot=
     7605case $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   ;;
     7621esac
     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; }
     7632if ${ac_cv_path_lt_DD+:} false; then :
     7633  $as_echo_n "(cached) " >&6
     7634else
     7635  printf 0123456789abcdef0123456789abcdef >conftest.i
     7636cat conftest.i conftest.i >conftest2.i
     7637: ${lt_DD:=$DD}
     7638if 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
     7642for as_dir in $PATH
     7643do
     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
     7650if "$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=:
     7653fi
     7654      $ac_path_lt_DD_found && break 3
     7655    done
     7656  done
     7657  done
     7658IFS=$as_save_IFS
     7659  if test -z "$ac_cv_path_lt_DD"; then
     7660    :
     7661  fi
     7662else
     7663  ac_cv_path_lt_DD=$lt_DD
     7664fi
     7665
     7666rm -f conftest.i conftest2.i conftest.out
     7667fi
     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; }
     7674if ${lt_cv_truncate_bin+:} false; then :
     7675  $as_echo_n "(cached) " >&6
     7676else
     7677  printf 0123456789abcdef0123456789abcdef >conftest.i
     7678cat conftest.i conftest.i >conftest2.i
     7679lt_cv_truncate_bin=
     7680if "$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"
     7683fi
     7684rm -f conftest.i conftest2.i conftest.out
     7685test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
     7686fi
     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.
     7697func_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.
     7711if test "${enable_libtool_lock+set}" = set; then :
     7712  enableval=$enable_libtool_lock;
     7713fi
     7714
     7715test 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.
     7719case $host in
     7720ia64-*-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
     7778mips64*-*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
     7814x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
     7815s390*-*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; }
     7891if ${lt_cv_cc_needs_belf+:} false; then :
     7892  $as_echo_n "(cached) " >&6
     7893else
     7894  ac_ext=c
     7895ac_cpp='$CPP $CPPFLAGS'
     7896ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     7897ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     7898ac_compiler_gnu=$ac_cv_c_compiler_gnu
     7899
     7900     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7901/* end confdefs.h.  */
     7902
     7903int
     7904main ()
     7905{
     7906
     7907  ;
     7908  return 0;
     7909}
     7910_ACEOF
     7911if ac_fn_c_try_link "$LINENO"; then :
     7912  lt_cv_cc_needs_belf=yes
     7913else
     7914  lt_cv_cc_needs_belf=no
     7915fi
     7916rm -f core conftest.err conftest.$ac_objext \
     7917    conftest$ac_exeext conftest.$ac_ext
     7918     ac_ext=c
     7919ac_cpp='$CPP $CPPFLAGS'
     7920ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     7921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     7922ac_compiler_gnu=$ac_cv_c_compiler_gnu
     7923
     7924fi
     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  ;;
     7969esac
     7970
     7971need_locks=$enable_libtool_lock
     7972
     7973if 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.
     7975set 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; }
     7978if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
     7979  $as_echo_n "(cached) " >&6
     7980else
     7981  if test -n "$MANIFEST_TOOL"; then
     7982  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
     7983else
     7984as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7985for as_dir in $PATH
     7986do
     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
     7995done
     7996  done
     7997IFS=$as_save_IFS
     7998
     7999fi
     8000fi
     8001MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
     8002if test -n "$MANIFEST_TOOL"; then
     8003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
     8004$as_echo "$MANIFEST_TOOL" >&6; }
     8005else
     8006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8007$as_echo "no" >&6; }
     8008fi
     8009
     8010
     8011fi
     8012if 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.
     8015set 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; }
     8018if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
     8019  $as_echo_n "(cached) " >&6
     8020else
     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.
     8023else
     8024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8025for as_dir in $PATH
     8026do
     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
     8035done
     8036  done
     8037IFS=$as_save_IFS
     8038
     8039fi
     8040fi
     8041ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
     8042if 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; }
     8045else
     8046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8047$as_echo "no" >&6; }
     8048fi
     8049
     8050  if test "x$ac_ct_MANIFEST_TOOL" = x; then
     8051    MANIFEST_TOOL=":"
     8052  else
     8053    case $cross_compiling:$ac_tool_warned in
     8054yes:)
     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;}
     8057ac_tool_warned=yes ;;
     8058esac
     8059    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
     8060  fi
     8061else
     8062  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
     8063fi
     8064
     8065test -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; }
     8068if ${lt_cv_path_mainfest_tool+:} false; then :
     8069  $as_echo_n "(cached) " >&6
     8070else
     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*
     8079fi
     8080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
     8081$as_echo "$lt_cv_path_mainfest_tool" >&6; }
     8082if test yes != "$lt_cv_path_mainfest_tool"; then
     8083  MANIFEST_TOOL=:
     8084fi
     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.
     8095set 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; }
     8098if ${ac_cv_prog_DSYMUTIL+:} false; then :
     8099  $as_echo_n "(cached) " >&6
     8100else
     8101  if test -n "$DSYMUTIL"; then
     8102  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
     8103else
     8104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8105for as_dir in $PATH
     8106do
     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
     8115done
     8116  done
     8117IFS=$as_save_IFS
     8118
     8119fi
     8120fi
     8121DSYMUTIL=$ac_cv_prog_DSYMUTIL
     8122if test -n "$DSYMUTIL"; then
     8123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
     8124$as_echo "$DSYMUTIL" >&6; }
     8125else
     8126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8127$as_echo "no" >&6; }
     8128fi
     8129
     8130
     8131fi
     8132if 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.
     8135set 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; }
     8138if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
     8139  $as_echo_n "(cached) " >&6
     8140else
     8141  if test -n "$ac_ct_DSYMUTIL"; then
     8142  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
     8143else
     8144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8145for as_dir in $PATH
     8146do
     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
     8155done
     8156  done
     8157IFS=$as_save_IFS
     8158
     8159fi
     8160fi
     8161ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
     8162if 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; }
     8165else
     8166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8167$as_echo "no" >&6; }
     8168fi
     8169
     8170  if test "x$ac_ct_DSYMUTIL" = x; then
     8171    DSYMUTIL=":"
     8172  else
     8173    case $cross_compiling:$ac_tool_warned in
     8174yes:)
     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;}
     8177ac_tool_warned=yes ;;
     8178esac
     8179    DSYMUTIL=$ac_ct_DSYMUTIL
     8180  fi
     8181else
     8182  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
     8183fi
     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.
     8187set 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; }
     8190if ${ac_cv_prog_NMEDIT+:} false; then :
     8191  $as_echo_n "(cached) " >&6
     8192else
     8193  if test -n "$NMEDIT"; then
     8194  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
     8195else
     8196as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8197for as_dir in $PATH
     8198do
     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
     8207done
     8208  done
     8209IFS=$as_save_IFS
     8210
     8211fi
     8212fi
     8213NMEDIT=$ac_cv_prog_NMEDIT
     8214if test -n "$NMEDIT"; then
     8215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
     8216$as_echo "$NMEDIT" >&6; }
     8217else
     8218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8219$as_echo "no" >&6; }
     8220fi
     8221
     8222
     8223fi
     8224if 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.
     8227set 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; }
     8230if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
     8231  $as_echo_n "(cached) " >&6
     8232else
     8233  if test -n "$ac_ct_NMEDIT"; then
     8234  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
     8235else
     8236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8237for as_dir in $PATH
     8238do
     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
     8247done
     8248  done
     8249IFS=$as_save_IFS
     8250
     8251fi
     8252fi
     8253ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
     8254if 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; }
     8257else
     8258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8259$as_echo "no" >&6; }
     8260fi
     8261
     8262  if test "x$ac_ct_NMEDIT" = x; then
     8263    NMEDIT=":"
     8264  else
     8265    case $cross_compiling:$ac_tool_warned in
     8266yes:)
     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;}
     8269ac_tool_warned=yes ;;
     8270esac
     8271    NMEDIT=$ac_ct_NMEDIT
     8272  fi
     8273else
     8274  NMEDIT="$ac_cv_prog_NMEDIT"
     8275fi
     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.
     8279set 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; }
     8282if ${ac_cv_prog_LIPO+:} false; then :
     8283  $as_echo_n "(cached) " >&6
     8284else
     8285  if test -n "$LIPO"; then
     8286  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
     8287else
     8288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8289for as_dir in $PATH
     8290do
     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
     8299done
     8300  done
     8301IFS=$as_save_IFS
     8302
     8303fi
     8304fi
     8305LIPO=$ac_cv_prog_LIPO
     8306if test -n "$LIPO"; then
     8307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
     8308$as_echo "$LIPO" >&6; }
     8309else
     8310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8311$as_echo "no" >&6; }
     8312fi
     8313
     8314
     8315fi
     8316if 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.
     8319set 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; }
     8322if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
     8323  $as_echo_n "(cached) " >&6
     8324else
     8325  if test -n "$ac_ct_LIPO"; then
     8326  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
     8327else
     8328as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8329for as_dir in $PATH
     8330do
     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
     8339done
     8340  done
     8341IFS=$as_save_IFS
     8342
     8343fi
     8344fi
     8345ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
     8346if 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; }
     8349else
     8350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8351$as_echo "no" >&6; }
     8352fi
     8353
     8354  if test "x$ac_ct_LIPO" = x; then
     8355    LIPO=":"
     8356  else
     8357    case $cross_compiling:$ac_tool_warned in
     8358yes:)
     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;}
     8361ac_tool_warned=yes ;;
     8362esac
     8363    LIPO=$ac_ct_LIPO
     8364  fi
     8365else
     8366  LIPO="$ac_cv_prog_LIPO"
     8367fi
     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.
     8371set 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; }
     8374if ${ac_cv_prog_OTOOL+:} false; then :
     8375  $as_echo_n "(cached) " >&6
     8376else
     8377  if test -n "$OTOOL"; then
     8378  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
     8379else
     8380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8381for as_dir in $PATH
     8382do
     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
     8391done
     8392  done
     8393IFS=$as_save_IFS
     8394
     8395fi
     8396fi
     8397OTOOL=$ac_cv_prog_OTOOL
     8398if test -n "$OTOOL"; then
     8399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
     8400$as_echo "$OTOOL" >&6; }
     8401else
     8402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8403$as_echo "no" >&6; }
     8404fi
     8405
     8406
     8407fi
     8408if 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.
     8411set 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; }
     8414if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
     8415  $as_echo_n "(cached) " >&6
     8416else
     8417  if test -n "$ac_ct_OTOOL"; then
     8418  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
     8419else
     8420as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8421for as_dir in $PATH
     8422do
     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
     8431done
     8432  done
     8433IFS=$as_save_IFS
     8434
     8435fi
     8436fi
     8437ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
     8438if 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; }
     8441else
     8442  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8443$as_echo "no" >&6; }
     8444fi
     8445
     8446  if test "x$ac_ct_OTOOL" = x; then
     8447    OTOOL=":"
     8448  else
     8449    case $cross_compiling:$ac_tool_warned in
     8450yes:)
     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;}
     8453ac_tool_warned=yes ;;
     8454esac
     8455    OTOOL=$ac_ct_OTOOL
     8456  fi
     8457else
     8458  OTOOL="$ac_cv_prog_OTOOL"
     8459fi
     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.
     8463set 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; }
     8466if ${ac_cv_prog_OTOOL64+:} false; then :
     8467  $as_echo_n "(cached) " >&6
     8468else
     8469  if test -n "$OTOOL64"; then
     8470  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
     8471else
     8472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8473for as_dir in $PATH
     8474do
     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
     8483done
     8484  done
     8485IFS=$as_save_IFS
     8486
     8487fi
     8488fi
     8489OTOOL64=$ac_cv_prog_OTOOL64
     8490if test -n "$OTOOL64"; then
     8491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
     8492$as_echo "$OTOOL64" >&6; }
     8493else
     8494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8495$as_echo "no" >&6; }
     8496fi
     8497
     8498
     8499fi
     8500if 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.
     8503set 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; }
     8506if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
     8507  $as_echo_n "(cached) " >&6
     8508else
     8509  if test -n "$ac_ct_OTOOL64"; then
     8510  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
     8511else
     8512as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8513for as_dir in $PATH
     8514do
     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
     8523done
     8524  done
     8525IFS=$as_save_IFS
     8526
     8527fi
     8528fi
     8529ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
     8530if 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; }
     8533else
     8534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8535$as_echo "no" >&6; }
     8536fi
     8537
     8538  if test "x$ac_ct_OTOOL64" = x; then
     8539    OTOOL64=":"
     8540  else
     8541    case $cross_compiling:$ac_tool_warned in
     8542yes:)
     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;}
     8545ac_tool_warned=yes ;;
     8546esac
     8547    OTOOL64=$ac_ct_OTOOL64
     8548  fi
     8549else
     8550  OTOOL64="$ac_cv_prog_OTOOL64"
     8551fi
     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; }
     8581if ${lt_cv_apple_cc_single_mod+:} false; then :
     8582  $as_echo_n "(cached) " >&6
     8583else
     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
     8611fi
     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; }
     8617if ${lt_cv_ld_exported_symbols_list+:} false; then :
     8618  $as_echo_n "(cached) " >&6
     8619else
     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
     8627int
     8628main ()
     8629{
     8630
     8631  ;
     8632  return 0;
     8633}
     8634_ACEOF
     8635if ac_fn_c_try_link "$LINENO"; then :
     8636  lt_cv_ld_exported_symbols_list=yes
     8637else
     8638  lt_cv_ld_exported_symbols_list=no
     8639fi
     8640rm -f core conftest.err conftest.$ac_objext \
     8641    conftest$ac_exeext conftest.$ac_ext
     8642        LDFLAGS=$save_LDFLAGS
     8643
     8644fi
     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; }
     8650if ${lt_cv_ld_force_load+:} false; then :
     8651  $as_echo_n "(cached) " >&6
     8652else
     8653  lt_cv_ld_force_load=no
     8654      cat > conftest.c << _LT_EOF
     8655int 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
     8664int 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
     8679fi
     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]"
     8731func_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
     8752ac_ext=c
     8753ac_cpp='$CPP $CPPFLAGS'
     8754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     8756ac_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.
     8760if test -n "$CPP" && test -d "$CPP"; then
     8761  CPP=
     8762fi
     8763if test -z "$CPP"; then
     8764  if ${ac_cv_prog_CPP+:} false; then :
     8765  $as_echo_n "(cached) " >&6
     8766else
     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
     8771for ac_c_preproc_warn_flag in '' yes
     8772do
     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
     8788if ac_fn_c_try_cpp "$LINENO"; then :
     8789
     8790else
     8791  # Broken: fails on valid input.
     8792continue
     8793fi
     8794rm -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
     8802if ac_fn_c_try_cpp "$LINENO"; then :
     8803  # Broken: success on invalid input.
     8804continue
     8805else
     8806  # Passes both tests.
     8807ac_preproc_ok=:
     8808break
     8809fi
     8810rm -f conftest.err conftest.i conftest.$ac_ext
     8811
     8812done
     8813# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     8814rm -f conftest.i conftest.err conftest.$ac_ext
     8815if $ac_preproc_ok; then :
     8816  break
     8817fi
     8818
     8819    done
     8820    ac_cv_prog_CPP=$CPP
     8821
     8822fi
     8823  CPP=$ac_cv_prog_CPP
     8824else
     8825  ac_cv_prog_CPP=$CPP
     8826fi
     8827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     8828$as_echo "$CPP" >&6; }
     8829ac_preproc_ok=false
     8830for ac_c_preproc_warn_flag in '' yes
     8831do
     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
     8847if ac_fn_c_try_cpp "$LINENO"; then :
     8848
     8849else
     8850  # Broken: fails on valid input.
     8851continue
     8852fi
     8853rm -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
     8861if ac_fn_c_try_cpp "$LINENO"; then :
     8862  # Broken: success on invalid input.
     8863continue
     8864else
     8865  # Passes both tests.
     8866ac_preproc_ok=:
     8867break
     8868fi
     8869rm -f conftest.err conftest.i conftest.$ac_ext
     8870
     8871done
     8872# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     8873rm -f conftest.i conftest.err conftest.$ac_ext
     8874if $ac_preproc_ok; then :
     8875
     8876else
     8877  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8878$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     8879as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     8880See \`config.log' for more details" "$LINENO" 5; }
     8881fi
     8882
     8883ac_ext=c
     8884ac_cpp='$CPP $CPPFLAGS'
     8885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     8887ac_compiler_gnu=$ac_cv_c_compiler_gnu
     8888
     8889
    56738890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    56748891$as_echo_n "checking for ANSI C header files... " >&6; }
     
    58009017
    58019018
    5802 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
    5803 if test "x$ac_cv_type_size_t" = xyes; then :
    5804 
    5805 else
     9019for ac_header in dlfcn.h
     9020do :
     9021  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
     9022"
     9023if test "x$ac_cv_header_dlfcn_h" = xyes; then :
     9024  cat >>confdefs.h <<_ACEOF
     9025#define HAVE_DLFCN_H 1
     9026_ACEOF
     9027
     9028fi
     9029
     9030done
     9031
     9032
     9033
     9034
     9035func_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.
     9058if 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
     9076else
     9077  enable_shared=yes
     9078fi
     9079
     9080
     9081
     9082
     9083
     9084
     9085
     9086
     9087
     9088  # Check whether --enable-static was given.
     9089if 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
     9107else
     9108  enable_static=yes
     9109fi
     9110
     9111
     9112
     9113
     9114
     9115
     9116
     9117
     9118
     9119
     9120# Check whether --with-pic was given.
     9121if 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
     9138else
     9139  pic_mode=default
     9140fi
     9141
     9142
     9143
     9144
     9145
     9146
     9147
     9148
     9149  # Check whether --enable-fast-install was given.
     9150if 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
     9168else
     9169  enable_fast_install=yes
     9170fi
     9171
     9172
     9173
     9174
     9175
     9176
     9177
     9178
     9179  shared_archive_member_spec=
     9180case $host,$enable_shared in
     9181power*-*-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.
     9186if 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
     9195else
     9196  if ${lt_cv_with_aix_soname+:} false; then :
     9197  $as_echo_n "(cached) " >&6
     9198else
     9199  lt_cv_with_aix_soname=aix
     9200fi
     9201
     9202    with_aix_soname=$lt_cv_with_aix_soname
     9203fi
     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  ;;
     9223esac
     9224
     9225
     9226
     9227
     9228
     9229
     9230
     9231
     9232
     9233
     9234# This can be used to rebuild libtool when needed
     9235LIBTOOL_DEPS=$ltmain
     9236
     9237# Always use our own libtool.
     9238LIBTOOL='$(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
     9269test -z "$LN_S" && LN_S="ln -s"
     9270
     9271
     9272
     9273
     9274
     9275
     9276
     9277
     9278
     9279
     9280
     9281
     9282
     9283
     9284if test -n "${ZSH_VERSION+set}"; then
     9285   setopt NO_GLOB_SUBST
     9286fi
     9287
     9288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
     9289$as_echo_n "checking for objdir... " >&6; }
     9290if ${lt_cv_objdir+:} false; then :
     9291  $as_echo_n "(cached) " >&6
     9292else
     9293  rm -f .libs 2>/dev/null
     9294mkdir .libs 2>/dev/null
     9295if test -d .libs; then
     9296  lt_cv_objdir=.libs
     9297else
     9298  # MS-DOS does not allow filenames that begin with a dot.
     9299  lt_cv_objdir=_libs
     9300fi
     9301rmdir .libs 2>/dev/null
     9302fi
     9303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
     9304$as_echo "$lt_cv_objdir" >&6; }
     9305objdir=$lt_cv_objdir
     9306
     9307
     9308
     9309
    58069310
    58079311cat >>confdefs.h <<_ACEOF
    5808 #define size_t unsigned int
     9312#define LT_OBJDIR "$lt_cv_objdir/"
    58099313_ACEOF
    58109314
    5811 fi
    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; }
    5817 if ${ac_cv_working_alloca_h+:} false; then :
     9315
     9316
     9317
     9318case $host_os in
     9319aix3*)
     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  ;;
     9328esac
     9329
     9330# Global variables:
     9331ofile=libtool
     9332can_build_shared=yes
     9333
     9334# All known linkers require a '.a' archive for static linking (except MSVC,
     9335# which needs '.lib').
     9336libext=a
     9337
     9338with_gnu_ld=$lt_cv_prog_gnu_ld
     9339
     9340old_CC=$CC
     9341old_CFLAGS=$CFLAGS
     9342
     9343# Set sane defaults for various variables
     9344test -z "$CC" && CC=cc
     9345test -z "$LTCC" && LTCC=$CC
     9346test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
     9347test -z "$LD" && LD=ld
     9348test -z "$ac_objext" && ac_objext=o
     9349
     9350func_cc_basename $compiler
     9351cc_basename=$func_cc_basename_result
     9352
     9353
     9354# Only perform the check for file, if the check method requires it
     9355test -z "$MAGIC_CMD" && MAGIC_CMD=file
     9356case $deplibs_check_method in
     9357file_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; }
     9361if ${lt_cv_path_MAGIC_CMD+:} false; then :
     9362  $as_echo_n "(cached) " >&6
     9363else
     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  ;;
     9407esac
     9408fi
     9409
     9410MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9411if test -n "$MAGIC_CMD"; then
     9412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     9413$as_echo "$MAGIC_CMD" >&6; }
     9414else
     9415  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9416$as_echo "no" >&6; }
     9417fi
     9418
     9419
     9420
     9421
     9422
     9423if 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; }
     9427if ${lt_cv_path_MAGIC_CMD+:} false; then :
     9428  $as_echo_n "(cached) " >&6
     9429else
     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  ;;
     9473esac
     9474fi
     9475
     9476MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9477if test -n "$MAGIC_CMD"; then
     9478  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     9479$as_echo "$MAGIC_CMD" >&6; }
     9480else
     9481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9482$as_echo "no" >&6; }
     9483fi
     9484
     9485
     9486  else
     9487    MAGIC_CMD=:
     9488  fi
     9489fi
     9490
     9491  fi
     9492  ;;
     9493esac
     9494
     9495# Use C for the default configuration in the libtool script
     9496
     9497lt_save_CC=$CC
     9498ac_ext=c
     9499ac_cpp='$CPP $CPPFLAGS'
     9500ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     9501ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     9502ac_compiler_gnu=$ac_cv_c_compiler_gnu
     9503
     9504
     9505# Source file extension for C test sources.
     9506ac_ext=c
     9507
     9508# Object file extension for compiled C test sources.
     9509objext=o
     9510objext=$objext
     9511
     9512# Code to be used in simple compile tests
     9513lt_simple_compile_test_code="int some_variable = 0;"
     9514
     9515# Code to be used in simple link tests
     9516lt_simple_link_test_code='int main(){return(0);}'
     9517
     9518
     9519
     9520
     9521
     9522
     9523
     9524# If no C compiler was specified, use CC.
     9525LTCC=${LTCC-"$CC"}
     9526
     9527# If no C compiler flags were specified, use CFLAGS.
     9528LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     9529
     9530# Allow CC to be a program name with arguments.
     9531compiler=$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.
     9535compiler_DEFAULT=$CC
     9536
     9537# save warnings/boilerplate of simple test code
     9538ac_outfile=conftest.$ac_objext
     9539echo "$lt_simple_compile_test_code" >conftest.$ac_ext
     9540eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     9541_lt_compiler_boilerplate=`cat conftest.err`
     9542$RM conftest*
     9543
     9544ac_outfile=conftest.$ac_objext
     9545echo "$lt_simple_link_test_code" >conftest.$ac_ext
     9546eval "$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...
     9555if test -n "$compiler"; then
     9556
     9557lt_prog_compiler_no_builtin_flag=
     9558
     9559if 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; }
     9569if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
     9570  $as_echo_n "(cached) " >&6
     9571else
     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
     9601fi
     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
     9605if 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"
     9607else
     9608    :
     9609fi
     9610
     9611fi
     9612
     9613
     9614
     9615
     9616
     9617
     9618  lt_prog_compiler_wl=
     9619lt_prog_compiler_pic=
     9620lt_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
     9950case $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    ;;
     9958esac
     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; }
     9962if ${lt_cv_prog_compiler_pic+:} false; then :
     9963  $as_echo_n "(cached) " >&6
     9964else
     9965  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
     9966fi
     9967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
     9968$as_echo "$lt_cv_prog_compiler_pic" >&6; }
     9969lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
     9970
     9971#
     9972# Check to make sure the PIC flag actually works.
     9973#
     9974if 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; }
     9977if ${lt_cv_prog_compiler_pic_works+:} false; then :
     9978  $as_echo_n "(cached) " >&6
     9979else
     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
     10009fi
     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
     10013if 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
     10018else
     10019    lt_prog_compiler_pic=
     10020     lt_prog_compiler_can_build_shared=no
     10021fi
     10022
     10023fi
     10024
     10025
     10026
     10027
     10028
     10029
     10030
     10031
     10032
     10033
     10034
     10035#
     10036# Check to make sure the static flag actually works.
     10037#
     10038wl=$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; }
     10041if ${lt_cv_prog_compiler_static_works+:} false; then :
     10042  $as_echo_n "(cached) " >&6
     10043else
     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
     10066fi
     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
     10070if test yes = "$lt_cv_prog_compiler_static_works"; then
     10071    :
     10072else
     10073    lt_prog_compiler_static=
     10074fi
     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; }
     10084if ${lt_cv_prog_compiler_c_o+:} false; then :
     10085  $as_echo_n "(cached) " >&6
     10086else
     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
     10128fi
     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; }
     10139if ${lt_cv_prog_compiler_c_o+:} false; then :
     10140  $as_echo_n "(cached) " >&6
     10141else
     10142  lt_cv_prog_compiler_c_o=no
     10143   $RM -r conftest 2>/dev/null
     10144   mkdir conftest
     10145   cd conftest
     10146   mkdir out
     10147   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     10148
     10149   lt_compiler_flag="-o out/conftest2.$ac_objext"
     10150   # Insert the option either (1) after the last *FLAGS variable, or
     10151   # (2) before a word containing "conftest.", or (3) at the end.
     10152   # Note that $ac_compile itself does not contain backslashes and begins
     10153   # with a dollar sign (not a hyphen), so the echo should work correctly.
     10154   lt_compile=`echo "$ac_compile" | $SED \
     10155   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     10156   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     10157   -e 's:$: $lt_compiler_flag:'`
     10158   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     10159   (eval "$lt_compile" 2>out/conftest.err)
     10160   ac_status=$?
     10161   cat out/conftest.err >&5
     10162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10163   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     10164   then
     10165     # The compiler can only warn and ignore the option if not recognized
     10166     # So say no if there are warnings
     10167     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     10168     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     10169     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     10170       lt_cv_prog_compiler_c_o=yes
     10171     fi
     10172   fi
     10173   chmod u+w . 2>&5
     10174   $RM conftest*
     10175   # SGI C++ compiler will create directory out/ii_files/ for
     10176   # template instantiation
     10177   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     10178   $RM out/* && rmdir out
     10179   cd ..
     10180   $RM -r conftest
     10181   $RM conftest*
     10182
     10183fi
     10184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
     10185$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
     10186
     10187
     10188
     10189
     10190hard_links=nottested
     10191if 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
     10208else
     10209  need_locks=no
     10210fi
     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
     10775else
     10776  if ${lt_cv_aix_libpath_+:} false; then :
    581810777  $as_echo_n "(cached) " >&6
    581910778else
    582010779  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    582110780/* end confdefs.h.  */
    5822 #include <alloca.h>
     10781
    582310782int
    582410783main ()
    582510784{
    5826 char *p = (char *) alloca (2 * sizeof (int));
    5827                           if (p) return 0;
     10785
    582810786  ;
    582910787  return 0;
     
    583110789_ACEOF
    583210790if ac_fn_c_try_link "$LINENO"; then :
    5833   ac_cv_working_alloca_h=yes
    5834 else
    5835   ac_cv_working_alloca_h=no
     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
    583610804fi
    583710805rm -f core conftest.err conftest.$ac_objext \
    583810806    conftest$ac_exeext conftest.$ac_ext
    5839 fi
    5840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
    5841 $as_echo "$ac_cv_working_alloca_h" >&6; }
    5842 if test $ac_cv_working_alloca_h = yes; then
    5843 
    5844 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
    5845 
    5846 fi
    5847 
    5848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
    5849 $as_echo_n "checking for alloca... " >&6; }
    5850 if ${ac_cv_func_alloca_works+:} false; then :
     10807  if test -z "$lt_cv_aix_libpath_"; then
     10808    lt_cv_aix_libpath_=/usr/lib:/lib
     10809  fi
     10810
     10811fi
     10812
     10813  aix_libpath=$lt_cv_aix_libpath_
     10814fi
     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
     10828else
     10829  if ${lt_cv_aix_libpath_+:} false; then :
    585110830  $as_echo_n "(cached) " >&6
    585210831else
    585310832  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    585410833/* 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 */
    5869 void *alloca (size_t);
    5870 #    endif
    5871 #   endif
    5872 #  endif
    5873 # endif
    5874 #endif
    587510834
    587610835int
    587710836main ()
    587810837{
    5879 char *p = (char *) alloca (1);
    5880                                     if (p) return 0;
     10838
    588110839  ;
    588210840  return 0;
     
    588410842_ACEOF
    588510843if ac_fn_c_try_link "$LINENO"; then :
    5886   ac_cv_func_alloca_works=yes
    5887 else
    5888   ac_cv_func_alloca_works=no
     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
    588910857fi
    589010858rm -f core conftest.err conftest.$ac_objext \
    589110859    conftest$ac_exeext conftest.$ac_ext
    5892 fi
    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 
    5896 if test $ac_cv_func_alloca_works = yes; then
    5897 
    5898 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
    5899 
    5900 else
    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 
    5906 ALLOCA=\${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; }
    5913 if ${ac_cv_os_cray+:} false; then :
     10860  if test -z "$lt_cv_aix_libpath_"; then
     10861    lt_cv_aix_libpath_=/usr/lib:/lib
     10862  fi
     10863
     10864fi
     10865
     10866  aix_libpath=$lt_cv_aix_libpath_
     10867fi
     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; }
     11111if ${lt_cv_prog_compiler__b+:} false; then :
    591411112  $as_echo_n "(cached) " >&6
    591511113else
     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
     11136fi
     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
     11140if 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'
     11142else
     11143    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
     11144fi
     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; }
     11180if ${lt_cv_irix_exported_symbol+:} false; then :
     11181  $as_echo_n "(cached) " >&6
     11182else
     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.  */
     11187int foo (void) { return 0; }
     11188_ACEOF
     11189if ac_fn_c_try_link "$LINENO"; then :
     11190  lt_cv_irix_exported_symbol=yes
     11191else
     11192  lt_cv_irix_exported_symbol=no
     11193fi
     11194rm -f core conftest.err conftest.$ac_objext \
     11195    conftest$ac_exeext conftest.$ac_ext
     11196           LDFLAGS=$save_LDFLAGS
     11197fi
     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; }
     11482test no = "$ld_shlibs" && can_build_shared=no
     11483
     11484with_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#
     11503case "x$archive_cmds_need_lc" in
     11504x|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; }
     11519if ${lt_cv_archive_cmds_need_lc+:} false; then :
     11520  $as_echo_n "(cached) " >&6
     11521else
     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
     11559fi
     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  ;;
     11567esac
     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
     11723if 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 '
     11765BEGIN {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`
     11791else
     11792  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     11793fi
     11794library_names_spec=
     11795libname_spec='lib$name'
     11796soname_spec=
     11797shrext_cmds=.so
     11798postinstall_cmds=
     11799postuninstall_cmds=
     11800finish_cmds=
     11801finish_eval=
     11802shlibpath_var=
     11803shlibpath_overrides_runpath=unknown
     11804version_type=none
     11805dynamic_linker="$host_os ld.so"
     11806sys_lib_dlsearch_path_spec="/lib /usr/lib"
     11807need_lib_prefix=unknown
     11808hardcode_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
     11812need_version=unknown
     11813
     11814
     11815
     11816case $host_os in
     11817aix3*)
     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
     11826aix[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
     11920amigaos*)
     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
     11935beos*)
     11936  library_names_spec='$libname$shared_ext'
     11937  dynamic_linker="$host_os ld.so"
     11938  shlibpath_var=LIBRARY_PATH
     11939  ;;
     11940
     11941bsdi[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
     11955cygwin* | 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
     12065darwin* | 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
     12080dgux*)
     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
     12089freebsd* | 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
     12134haiku*)
     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
     12147hpux9* | 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
     12196interix[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
     12208irix5* | 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.
     12246linux*oldld* | linux*aout* | linux*coff*)
     12247  dynamic_linker=no
     12248  ;;
     12249
     12250linux*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.
     12271linux* | 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
     12284else
     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
     12293int
     12294main ()
     12295{
     12296
     12297  ;
     12298  return 0;
     12299}
     12300_ACEOF
     12301if 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
     12304fi
     12305fi
     12306rm -f core conftest.err conftest.$ac_objext \
     12307    conftest$ac_exeext conftest.$ac_ext
     12308    LDFLAGS=$save_LDFLAGS
     12309    libdir=$save_libdir
     12310
     12311fi
     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
     12340netbsdelf*-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
     12352netbsd*)
     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
     12370newsos6)
     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
     12389openbsd* | 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
     12404os2*)
     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
     12434osf3* | 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
     12445rdos*)
     12446  dynamic_linker=no
     12447  ;;
     12448
     12449solaris*)
     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
     12462sunos4*)
     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
     12474sysv4 | 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
     12497sysv4*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
     12506sysv5* | 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
     12528tpf*)
     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
     12539uts4*)
     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  ;;
     12549esac
     12550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
     12551$as_echo "$dynamic_linker" >&6; }
     12552test no = "$dynamic_linker" && can_build_shared=no
     12553
     12554variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
     12555if test yes = "$GCC"; then
     12556  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
     12557fi
     12558
     12559if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
     12560  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
     12561fi
     12562
     12563if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
     12564  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
     12565fi
     12566
     12567# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
     12568configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
     12569
     12570# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
     12571func_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
     12574configure_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; }
     12674hardcode_action=
     12675if 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
     12692else
     12693  # We cannot hardcode anything, or else we can only hardcode existing
     12694  # directories.
     12695  hardcode_action=unsupported
     12696fi
     12697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
     12698$as_echo "$hardcode_action" >&6; }
     12699
     12700if test relink = "$hardcode_action" ||
     12701   test yes = "$inherit_rpath"; then
     12702  # Fast installation is not supported
     12703  enable_fast_install=no
     12704elif test yes = "$shlibpath_overrides_runpath" ||
     12705     test no = "$enable_shared"; then
     12706  # Fast installation is not necessary
     12707  enable_fast_install=needless
     12708fi
     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
     12719else
     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; }
     12744if ${ac_cv_lib_dl_dlopen+:} false; then :
     12745  $as_echo_n "(cached) " >&6
     12746else
     12747  ac_check_lib_save_LIBS=$LIBS
     12748LIBS="-ldl  $LIBS"
     12749cat 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
     12756extern "C"
     12757#endif
     12758char dlopen ();
     12759int
     12760main ()
     12761{
     12762return dlopen ();
     12763  ;
     12764  return 0;
     12765}
     12766_ACEOF
     12767if ac_fn_c_try_link "$LINENO"; then :
     12768  ac_cv_lib_dl_dlopen=yes
     12769else
     12770  ac_cv_lib_dl_dlopen=no
     12771fi
     12772rm -f core conftest.err conftest.$ac_objext \
     12773    conftest$ac_exeext conftest.$ac_ext
     12774LIBS=$ac_check_lib_save_LIBS
     12775fi
     12776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     12777$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
     12778if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     12779  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
     12780else
     12781
     12782    lt_cv_dlopen=dyld
     12783    lt_cv_dlopen_libs=
     12784    lt_cv_dlopen_self=yes
     12785
     12786fi
     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"
     12800if test "x$ac_cv_func_shl_load" = xyes; then :
     12801  lt_cv_dlopen=shl_load
     12802else
     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; }
     12805if ${ac_cv_lib_dld_shl_load+:} false; then :
     12806  $as_echo_n "(cached) " >&6
     12807else
     12808  ac_check_lib_save_LIBS=$LIBS
     12809LIBS="-ldld  $LIBS"
     12810cat 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
     12817extern "C"
     12818#endif
     12819char shl_load ();
     12820int
     12821main ()
     12822{
     12823return shl_load ();
     12824  ;
     12825  return 0;
     12826}
     12827_ACEOF
     12828if ac_fn_c_try_link "$LINENO"; then :
     12829  ac_cv_lib_dld_shl_load=yes
     12830else
     12831  ac_cv_lib_dld_shl_load=no
     12832fi
     12833rm -f core conftest.err conftest.$ac_objext \
     12834    conftest$ac_exeext conftest.$ac_ext
     12835LIBS=$ac_check_lib_save_LIBS
     12836fi
     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; }
     12839if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     12840  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
     12841else
     12842  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
     12843if test "x$ac_cv_func_dlopen" = xyes; then :
     12844  lt_cv_dlopen=dlopen
     12845else
     12846  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     12847$as_echo_n "checking for dlopen in -ldl... " >&6; }
     12848if ${ac_cv_lib_dl_dlopen+:} false; then :
     12849  $as_echo_n "(cached) " >&6
     12850else
     12851  ac_check_lib_save_LIBS=$LIBS
     12852LIBS="-ldl  $LIBS"
     12853cat 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
     12860extern "C"
     12861#endif
     12862char dlopen ();
     12863int
     12864main ()
     12865{
     12866return dlopen ();
     12867  ;
     12868  return 0;
     12869}
     12870_ACEOF
     12871if ac_fn_c_try_link "$LINENO"; then :
     12872  ac_cv_lib_dl_dlopen=yes
     12873else
     12874  ac_cv_lib_dl_dlopen=no
     12875fi
     12876rm -f core conftest.err conftest.$ac_objext \
     12877    conftest$ac_exeext conftest.$ac_ext
     12878LIBS=$ac_check_lib_save_LIBS
     12879fi
     12880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     12881$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
     12882if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     12883  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
     12884else
     12885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
     12886$as_echo_n "checking for dlopen in -lsvld... " >&6; }
     12887if ${ac_cv_lib_svld_dlopen+:} false; then :
     12888  $as_echo_n "(cached) " >&6
     12889else
     12890  ac_check_lib_save_LIBS=$LIBS
     12891LIBS="-lsvld  $LIBS"
     12892cat 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
     12899extern "C"
     12900#endif
     12901char dlopen ();
     12902int
     12903main ()
     12904{
     12905return dlopen ();
     12906  ;
     12907  return 0;
     12908}
     12909_ACEOF
     12910if ac_fn_c_try_link "$LINENO"; then :
     12911  ac_cv_lib_svld_dlopen=yes
     12912else
     12913  ac_cv_lib_svld_dlopen=no
     12914fi
     12915rm -f core conftest.err conftest.$ac_objext \
     12916    conftest$ac_exeext conftest.$ac_ext
     12917LIBS=$ac_check_lib_save_LIBS
     12918fi
     12919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
     12920$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
     12921if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
     12922  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
     12923else
     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; }
     12926if ${ac_cv_lib_dld_dld_link+:} false; then :
     12927  $as_echo_n "(cached) " >&6
     12928else
     12929  ac_check_lib_save_LIBS=$LIBS
     12930LIBS="-ldld  $LIBS"
     12931cat 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
     12938extern "C"
     12939#endif
     12940char dld_link ();
     12941int
     12942main ()
     12943{
     12944return dld_link ();
     12945  ;
     12946  return 0;
     12947}
     12948_ACEOF
     12949if ac_fn_c_try_link "$LINENO"; then :
     12950  ac_cv_lib_dld_dld_link=yes
     12951else
     12952  ac_cv_lib_dld_dld_link=no
     12953fi
     12954rm -f core conftest.err conftest.$ac_objext \
     12955    conftest$ac_exeext conftest.$ac_ext
     12956LIBS=$ac_check_lib_save_LIBS
     12957fi
     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; }
     12960if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
     12961  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
     12962fi
     12963
     12964
     12965fi
     12966
     12967
     12968fi
     12969
     12970
     12971fi
     12972
     12973
     12974fi
     12975
     12976
     12977fi
     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; }
     13001if ${lt_cv_dlopen_self+:} false; then :
     13002  $as_echo_n "(cached) " >&6
     13003else
     13004          if test yes = "$cross_compiling"; then :
     13005  lt_cv_dlopen_self=cross
     13006else
     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))
     13054int fnord () __attribute__((visibility("default")));
     13055#endif
     13056
     13057int fnord () { return 42; }
     13058int 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
     13095fi
     13096rm -fr conftest*
     13097
     13098
     13099fi
     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; }
     13107if ${lt_cv_dlopen_self_static+:} false; then :
     13108  $as_echo_n "(cached) " >&6
     13109else
     13110          if test yes = "$cross_compiling"; then :
     13111  lt_cv_dlopen_self_static=cross
     13112else
     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))
     13160int fnord () __attribute__((visibility("default")));
     13161#endif
     13162
     13163int fnord () { return 42; }
     13164int 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
     13201fi
     13202rm -fr conftest*
     13203
     13204
     13205fi
     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
     13225fi
     13226
     13227
     13228
     13229
     13230
     13231
     13232
     13233
     13234
     13235
     13236
     13237
     13238
     13239
     13240
     13241
     13242
     13243striplib=
     13244old_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; }
     13247if 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; }
     13252else
     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
     13271fi
     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
     13328fi
     13329ac_ext=c
     13330ac_cpp='$CPP $CPPFLAGS'
     13331ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     13332ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     13333ac_compiler_gnu=$ac_cv_c_compiler_gnu
     13334
     13335CC=$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
     13341ac_cpp='$CXXCPP $CPPFLAGS'
     13342ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     13343ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     13344ac_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; }
     13347if test -z "$CXXCPP"; then
     13348  if ${ac_cv_prog_CXXCPP+:} false; then :
     13349  $as_echo_n "(cached) " >&6
     13350else
     13351      # Double quotes because CXXCPP needs to be expanded
     13352    for CXXCPP in "$CXX -E" "/lib/cpp"
     13353    do
     13354      ac_preproc_ok=false
     13355for ac_cxx_preproc_warn_flag in '' yes
     13356do
     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.
    591613363  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    591713364/* end confdefs.h.  */
    5918 #if defined CRAY && ! defined CRAY2
    5919 webecray
     13365#ifdef __STDC__
     13366# include <limits.h>
    592013367#else
    5921 wenotbecray
     13368# include <assert.h>
    592213369#endif
    5923 
     13370                     Syntax error
    592413371_ACEOF
    5925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5926   $EGREP "webecray" >/dev/null 2>&1; then :
    5927   ac_cv_os_cray=yes
    5928 else
    5929   ac_cv_os_cray=no
    5930 fi
    5931 rm -f conftest*
    5932 
    5933 fi
    5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
    5935 $as_echo "$ac_cv_os_cray" >&6; }
    5936 if 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`
    5939 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
    5940 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
    5941 
    5942 cat >>confdefs.h <<_ACEOF
    5943 #define CRAY_STACKSEG_END $ac_func
    5944 _ACEOF
    5945 
    5946     break
    5947 fi
    5948 
    5949   done
    5950 fi
    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; }
    5954 if ${ac_cv_c_stack_direction+:} false; then :
    5955   $as_echo_n "(cached) " >&6
    5956 else
    5957   if test "$cross_compiling" = yes; then :
    5958   ac_cv_c_stack_direction=0
    5959 else
     13372if ac_fn_cxx_try_cpp "$LINENO"; then :
     13373
     13374else
     13375  # Broken: fails on valid input.
     13376continue
     13377fi
     13378rm -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.
    596013382  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    596113383/* end confdefs.h.  */
    5962 $ac_includes_default
     13384#include <ac_nonexistent.h>
     13385_ACEOF
     13386if ac_fn_cxx_try_cpp "$LINENO"; then :
     13387  # Broken: success on invalid input.
     13388continue
     13389else
     13390  # Passes both tests.
     13391ac_preproc_ok=:
     13392break
     13393fi
     13394rm -f conftest.err conftest.i conftest.$ac_ext
     13395
     13396done
     13397# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     13398rm -f conftest.i conftest.err conftest.$ac_ext
     13399if $ac_preproc_ok; then :
     13400  break
     13401fi
     13402
     13403    done
     13404    ac_cv_prog_CXXCPP=$CXXCPP
     13405
     13406fi
     13407  CXXCPP=$ac_cv_prog_CXXCPP
     13408else
     13409  ac_cv_prog_CXXCPP=$CXXCPP
     13410fi
     13411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
     13412$as_echo "$CXXCPP" >&6; }
     13413ac_preproc_ok=false
     13414for ac_cxx_preproc_warn_flag in '' yes
     13415do
     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
     13431if ac_fn_cxx_try_cpp "$LINENO"; then :
     13432
     13433else
     13434  # Broken: fails on valid input.
     13435continue
     13436fi
     13437rm -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
     13445if ac_fn_cxx_try_cpp "$LINENO"; then :
     13446  # Broken: success on invalid input.
     13447continue
     13448else
     13449  # Passes both tests.
     13450ac_preproc_ok=:
     13451break
     13452fi
     13453rm -f conftest.err conftest.i conftest.$ac_ext
     13454
     13455done
     13456# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     13457rm -f conftest.i conftest.err conftest.$ac_ext
     13458if $ac_preproc_ok; then :
     13459
     13460else
     13461  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     13462$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     13463as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     13464See \`config.log' for more details" "$LINENO" 5; }
     13465fi
     13466
     13467ac_ext=c
     13468ac_cpp='$CPP $CPPFLAGS'
     13469ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     13470ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     13471ac_compiler_gnu=$ac_cv_c_compiler_gnu
     13472
     13473else
     13474  _lt_caught_CXX_error=yes
     13475fi
     13476
     13477ac_ext=cpp
     13478ac_cpp='$CXXCPP $CPPFLAGS'
     13479ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     13480ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     13481ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     13482
     13483archive_cmds_need_lc_CXX=no
     13484allow_undefined_flag_CXX=
     13485always_export_symbols_CXX=no
     13486archive_expsym_cmds_CXX=
     13487compiler_needs_object_CXX=no
     13488export_dynamic_flag_spec_CXX=
     13489hardcode_direct_CXX=no
     13490hardcode_direct_absolute_CXX=no
     13491hardcode_libdir_flag_spec_CXX=
     13492hardcode_libdir_separator_CXX=
     13493hardcode_minus_L_CXX=no
     13494hardcode_shlibpath_var_CXX=unsupported
     13495hardcode_automatic_CXX=no
     13496inherit_rpath_CXX=no
     13497module_cmds_CXX=
     13498module_expsym_cmds_CXX=
     13499link_all_deplibs_CXX=unknown
     13500old_archive_cmds_CXX=$old_archive_cmds
     13501reload_flag_CXX=$reload_flag
     13502reload_cmds_CXX=$reload_cmds
     13503no_undefined_flag_CXX=
     13504whole_archive_flag_spec_CXX=
     13505enable_shared_with_static_runtimes_CXX=no
     13506
     13507# Source file extension for C++ test sources.
     13508ac_ext=cpp
     13509
     13510# Object file extension for compiled C++ test sources.
     13511objext=o
     13512objext_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.
     13518if 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.
     13533LTCC=${LTCC-"$CC"}
     13534
     13535# If no C compiler flags were specified, use CFLAGS.
     13536LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     13537
     13538# Allow CC to be a program name with arguments.
     13539compiler=$CC
     13540
     13541
     13542  # save warnings/boilerplate of simple test code
     13543  ac_outfile=conftest.$ac_objext
     13544echo "$lt_simple_compile_test_code" >conftest.$ac_ext
     13545eval "$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
     13550echo "$lt_simple_link_test_code" >conftest.$ac_ext
     13551eval "$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
     13580cc_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.
     13598if test "${with_gnu_ld+set}" = set; then :
     13599  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
     13600else
     13601  with_gnu_ld=no
     13602fi
     13603
     13604ac_prog=ld
     13605if 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
     13636elif 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; }
     13639else
     13640  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
     13641$as_echo_n "checking for non-GNU ld... " >&6; }
     13642fi
     13643if ${lt_cv_path_LD+:} false; then :
     13644  $as_echo_n "(cached) " >&6
     13645else
     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
     13667else
     13668  lt_cv_path_LD=$LD # Let the user override the test with a path.
     13669fi
     13670fi
     13671
     13672LD=$lt_cv_path_LD
     13673if test -n "$LD"; then
     13674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     13675$as_echo "$LD" >&6; }
     13676else
     13677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     13678$as_echo "no" >&6; }
     13679fi
     13680test -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; }
     13683if ${lt_cv_prog_gnu_ld+:} false; then :
     13684  $as_echo_n "(cached) " >&6
     13685else
     13686  # I'd rather use --version here, but apparently some GNU lds only accept -v.
     13687case `$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  ;;
     13694esac
     13695fi
     13696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
     13697$as_echo "$lt_cv_prog_gnu_ld" >&6; }
     13698with_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
     13889else
     13890  if ${lt_cv_aix_libpath__CXX+:} false; then :
     13891  $as_echo_n "(cached) " >&6
     13892else
     13893  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13894/* end confdefs.h.  */
     13895
    596313896int
    5964 find_stack_direction (int *addr, int depth)
     13897main ()
    596513898{
    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;
    5972 }
    5973 
    5974 int
    5975 main (int argc, char **argv)
    5976 {
    5977   return find_stack_direction (0, argc + !argv + 20) < 0;
     13899
     13900  ;
     13901  return 0;
    597813902}
    597913903_ACEOF
    5980 if ac_fn_c_try_run "$LINENO"; then :
    5981   ac_cv_c_stack_direction=1
    5982 else
    5983   ac_cv_c_stack_direction=-1
    5984 fi
    5985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    5986   conftest.$ac_objext conftest.beam conftest.$ac_ext
    5987 fi
    5988 
    5989 fi
    5990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
    5991 $as_echo "$ac_cv_c_stack_direction" >&6; }
    5992 cat >>confdefs.h <<_ACEOF
    5993 #define STACK_DIRECTION $ac_cv_c_stack_direction
     13904if 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
     13918fi
     13919rm -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
     13925fi
     13926
     13927  aix_libpath=$lt_cv_aix_libpath__CXX
     13928fi
     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
     13943else
     13944  if ${lt_cv_aix_libpath__CXX+:} false; then :
     13945  $as_echo_n "(cached) " >&6
     13946else
     13947  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13948/* end confdefs.h.  */
     13949
     13950int
     13951main ()
     13952{
     13953
     13954  ;
     13955  return 0;
     13956}
    599413957_ACEOF
    5995 
    5996 
    5997 fi
    5998 
    5999 for ac_header in fenv.h float.h inttypes.h libintl.h limits.h malloc.h stddef.h stdlib.h string.h unistd.h
     13958if 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
     13972fi
     13973rm -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
     13979fi
     13980
     13981  aix_libpath=$lt_cv_aix_libpath__CXX
     13982fi
     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:
     14836predep_objects_CXX=
     14837postdep_objects_CXX=
     14838predeps_CXX=
     14839postdeps_CXX=
     14840compiler_lib_search_path_CXX=
     14841
     14842cat > conftest.$ac_ext <<_LT_EOF
     14843class Foo
     14844{
     14845public:
     14846  Foo (void) { a = 0; }
     14847private:
     14848  int a;
     14849};
     14850_LT_EOF
     14851
     14852
     14853_lt_libdeps_save_CFLAGS=$CFLAGS
     14854case "$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" ;;
     14858esac
     14859
     14860if { { 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
     14951else
     14952  echo "libtool.m4: error: problem compiling CXX test program"
     14953fi
     14954
     14955$RM -f confest.$objext
     14956CFLAGS=$_lt_libdeps_save_CFLAGS
     14957
     14958# PORTME: override above test on systems where it is broken
     14959case $host_os in
     14960interix[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  ;;
     14967esac
     14968
     14969
     14970case " $postdeps_CXX " in
     14971*" -lc "*) archive_cmds_need_lc_CXX=no ;;
     14972esac
     14973 compiler_lib_search_dirs_CXX=
     14974if 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!^ !!'`
     14976fi
     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=
     15009lt_prog_compiler_pic_CXX=
     15010lt_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
     15334case $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    ;;
     15342esac
     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; }
     15346if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
     15347  $as_echo_n "(cached) " >&6
     15348else
     15349  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
     15350fi
     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; }
     15353lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
     15354
     15355#
     15356# Check to make sure the PIC flag actually works.
     15357#
     15358if 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; }
     15361if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
     15362  $as_echo_n "(cached) " >&6
     15363else
     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
     15393fi
     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
     15397if 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
     15402else
     15403    lt_prog_compiler_pic_CXX=
     15404     lt_prog_compiler_can_build_shared_CXX=no
     15405fi
     15406
     15407fi
     15408
     15409
     15410
     15411
     15412
     15413#
     15414# Check to make sure the static flag actually works.
     15415#
     15416wl=$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; }
     15419if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
     15420  $as_echo_n "(cached) " >&6
     15421else
     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
     15444fi
     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
     15448if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
     15449    :
     15450else
     15451    lt_prog_compiler_static_CXX=
     15452fi
     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; }
     15459if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
     15460  $as_echo_n "(cached) " >&6
     15461else
     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
     15503fi
     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; }
     15511if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
     15512  $as_echo_n "(cached) " >&6
     15513else
     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
     15555fi
     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
     15562hard_links=nottested
     15563if 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
     15580else
     15581  need_locks=no
     15582fi
     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; }
     15631test no = "$ld_shlibs_CXX" && can_build_shared=no
     15632
     15633with_gnu_ld_CXX=$with_gnu_ld
     15634
     15635
     15636
     15637
     15638
     15639
     15640#
     15641# Do we need to explicitly link libc?
     15642#
     15643case "x$archive_cmds_need_lc_CXX" in
     15644x|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; }
     15659if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
     15660  $as_echo_n "(cached) " >&6
     15661else
     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
     15699fi
     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  ;;
     15707esac
     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
     15773library_names_spec=
     15774libname_spec='lib$name'
     15775soname_spec=
     15776shrext_cmds=.so
     15777postinstall_cmds=
     15778postuninstall_cmds=
     15779finish_cmds=
     15780finish_eval=
     15781shlibpath_var=
     15782shlibpath_overrides_runpath=unknown
     15783version_type=none
     15784dynamic_linker="$host_os ld.so"
     15785sys_lib_dlsearch_path_spec="/lib /usr/lib"
     15786need_lib_prefix=unknown
     15787hardcode_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
     15791need_version=unknown
     15792
     15793
     15794
     15795case $host_os in
     15796aix3*)
     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
     15805aix[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
     15899amigaos*)
     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
     15914beos*)
     15915  library_names_spec='$libname$shared_ext'
     15916  dynamic_linker="$host_os ld.so"
     15917  shlibpath_var=LIBRARY_PATH
     15918  ;;
     15919
     15920bsdi[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
     15934cygwin* | 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
     16043darwin* | 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
     16057dgux*)
     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
     16066freebsd* | 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
     16111haiku*)
     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
     16124hpux9* | 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
     16173interix[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
     16185irix5* | 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.
     16223linux*oldld* | linux*aout* | linux*coff*)
     16224  dynamic_linker=no
     16225  ;;
     16226
     16227linux*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.
     16248linux* | 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
     16261else
     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
     16270int
     16271main ()
     16272{
     16273
     16274  ;
     16275  return 0;
     16276}
     16277_ACEOF
     16278if 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
     16281fi
     16282fi
     16283rm -f core conftest.err conftest.$ac_objext \
     16284    conftest$ac_exeext conftest.$ac_ext
     16285    LDFLAGS=$save_LDFLAGS
     16286    libdir=$save_libdir
     16287
     16288fi
     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
     16317netbsdelf*-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
     16329netbsd*)
     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
     16347newsos6)
     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
     16366openbsd* | 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
     16381os2*)
     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
     16411osf3* | 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
     16422rdos*)
     16423  dynamic_linker=no
     16424  ;;
     16425
     16426solaris*)
     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
     16439sunos4*)
     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
     16451sysv4 | 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
     16474sysv4*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
     16483sysv5* | 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
     16505tpf*)
     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
     16516uts4*)
     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  ;;
     16526esac
     16527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
     16528$as_echo "$dynamic_linker" >&6; }
     16529test no = "$dynamic_linker" && can_build_shared=no
     16530
     16531variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
     16532if test yes = "$GCC"; then
     16533  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
     16534fi
     16535
     16536if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
     16537  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
     16538fi
     16539
     16540if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
     16541  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
     16542fi
     16543
     16544# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
     16545configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
     16546
     16547# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
     16548func_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
     16551configure_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; }
     16594hardcode_action_CXX=
     16595if 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
     16612else
     16613  # We cannot hardcode anything, or else we can only hardcode existing
     16614  # directories.
     16615  hardcode_action_CXX=unsupported
     16616fi
     16617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
     16618$as_echo "$hardcode_action_CXX" >&6; }
     16619
     16620if test relink = "$hardcode_action_CXX" ||
     16621   test yes = "$inherit_rpath_CXX"; then
     16622  # Fast installation is not supported
     16623  enable_fast_install=no
     16624elif test yes = "$shlibpath_overrides_runpath" ||
     16625     test no = "$enable_shared"; then
     16626  # Fast installation is not necessary
     16627  enable_fast_install=needless
     16628fi
     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
     16648fi # test yes != "$_lt_caught_CXX_error"
     16649
     16650ac_ext=c
     16651ac_cpp='$CPP $CPPFLAGS'
     16652ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     16653ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     16654ac_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; }
     16683if ${ac_cv_lib_fibre_Fibre__yield+:} false; then :
     16684  $as_echo_n "(cached) " >&6
     16685else
     16686  ac_check_lib_save_LIBS=$LIBS
     16687LIBS="-lfibre  $LIBS"
     16688cat 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
     16695extern "C"
     16696#endif
     16697char Fibre::yield ();
     16698int
     16699main ()
     16700{
     16701return Fibre::yield ();
     16702  ;
     16703  return 0;
     16704}
     16705_ACEOF
     16706if ac_fn_c_try_link "$LINENO"; then :
     16707  ac_cv_lib_fibre_Fibre__yield=yes
     16708else
     16709  ac_cv_lib_fibre_Fibre__yield=no
     16710fi
     16711rm -f core conftest.err conftest.$ac_objext \
     16712    conftest$ac_exeext conftest.$ac_ext
     16713LIBS=$ac_check_lib_save_LIBS
     16714fi
     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; }
     16717if test "x$ac_cv_lib_fibre_Fibre__yield" = xyes; then :
     16718  HAVE_LIBFIBRE=1
     16719else
     16720  HAVE_LIBFIBRE=0
     16721fi
     16722
     16723 if test "$HAVE_LIBFIBRE" -eq 1; then
     16724  WITH_LIBFIBRE_TRUE=
     16725  WITH_LIBFIBRE_FALSE='#'
     16726else
     16727  WITH_LIBFIBRE_TRUE='#'
     16728  WITH_LIBFIBRE_FALSE=
     16729fi
     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; }
     16734if ${ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads+:} false; then :
     16735  $as_echo_n "(cached) " >&6
     16736else
     16737  ac_check_lib_save_LIBS=$LIBS
     16738LIBS="-lprofiler  $LIBS"
     16739cat 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
     16746extern "C"
     16747#endif
     16748char ProfilingIsEnabledForAllThreads ();
     16749int
     16750main ()
     16751{
     16752return ProfilingIsEnabledForAllThreads ();
     16753  ;
     16754  return 0;
     16755}
     16756_ACEOF
     16757if ac_fn_c_try_link "$LINENO"; then :
     16758  ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads=yes
     16759else
     16760  ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads=no
     16761fi
     16762rm -f core conftest.err conftest.$ac_objext \
     16763    conftest$ac_exeext conftest.$ac_ext
     16764LIBS=$ac_check_lib_save_LIBS
     16765fi
     16766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads" >&5
     16767$as_echo "$ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads" >&6; }
     16768if test "x$ac_cv_lib_profiler_ProfilingIsEnabledForAllThreads" = xyes; then :
     16769  HAVE_LIBPROFILER=1
     16770else
     16771  HAVE_LIBPROFILER=0
     16772fi
     16773
     16774 if test "x$enable_gprofiler" = "xyes" -a "$HAVE_LIBPROFILER" -eq 1; then
     16775  WITH_LIBPROFILER_TRUE=
     16776  WITH_LIBPROFILER_FALSE='#'
     16777else
     16778  WITH_LIBPROFILER_TRUE='#'
     16779  WITH_LIBPROFILER_FALSE=
     16780fi
     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; }
     16785if ${ac_cv_lib_tcmalloc_malloc+:} false; then :
     16786  $as_echo_n "(cached) " >&6
     16787else
     16788  ac_check_lib_save_LIBS=$LIBS
     16789LIBS="-ltcmalloc  $LIBS"
     16790cat 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
     16797extern "C"
     16798#endif
     16799char malloc ();
     16800int
     16801main ()
     16802{
     16803return malloc ();
     16804  ;
     16805  return 0;
     16806}
     16807_ACEOF
     16808if ac_fn_c_try_link "$LINENO"; then :
     16809  ac_cv_lib_tcmalloc_malloc=yes
     16810else
     16811  ac_cv_lib_tcmalloc_malloc=no
     16812fi
     16813rm -f core conftest.err conftest.$ac_objext \
     16814    conftest$ac_exeext conftest.$ac_ext
     16815LIBS=$ac_check_lib_save_LIBS
     16816fi
     16817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tcmalloc_malloc" >&5
     16818$as_echo "$ac_cv_lib_tcmalloc_malloc" >&6; }
     16819if test "x$ac_cv_lib_tcmalloc_malloc" = xyes; then :
     16820  HAVE_LIBTCMALLOC=1
     16821else
     16822  HAVE_LIBTCMALLOC=0
     16823fi
     16824
     16825 if test "x$enable_gprofiler" = "xyes" -a "$HAVE_LIBTCMALLOC" -eq 1; then
     16826  WITH_LIBTCMALLOC_TRUE=
     16827  WITH_LIBTCMALLOC_FALSE='#'
     16828else
     16829  WITH_LIBTCMALLOC_TRUE='#'
     16830  WITH_LIBTCMALLOC_FALSE=
     16831fi
     16832
     16833
     16834# conditionnally build the demangler
     16835if test "x$enable_demangler" == xyes; then
     16836        LIBDEMANGLE="libdemangle.a"
     16837        DEMANGLER="demangler"
     16838else
     16839        LIBDEMANGLE=""
     16840        DEMANGLER=""
     16841fi
     16842
     16843
     16844
     16845# Checks for header files.
     16846for ac_header in libintl.h malloc.h unistd.h
    600016847do :
    600116848  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    600616853_ACEOF
    600716854
     16855else
     16856  echo "Error: Missing required header"; exit 1
    600816857fi
    600916858
     
    601216861
    601316862# Checks for typedefs, structures, and compiler characteristics.
    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; }
    6016 if ${ac_cv_header_stdbool_h+:} false; then :
     16863ac_fn_c_check_type "$LINENO" "_Float32" "ac_cv_type__Float32" "
     16864"
     16865if test "x$ac_cv_type__Float32" = xyes; then :
     16866
     16867cat >>confdefs.h <<_ACEOF
     16868#define HAVE__FLOAT32 1
     16869_ACEOF
     16870
     16871
     16872$as_echo "#define HAVE_KEYWORDS_FLOATXX /**/" >>confdefs.h
     16873
     16874fi
     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; }
     16880if ${m4cfa_cv_check_cflags___Wcast_function_type+:} false; then :
    601716881  $as_echo_n "(cached) " >&6
    601816882else
    6019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16883
     16884        m4cfa_check_save_flags=$CFLAGS
     16885        CFLAGS="$CFLAGS  -Wcast-function-type"
     16886        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    602016887/* 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;
    606516888
    606616889int
    606716890main ()
    606816891{
    6069 
    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);
    607616892
    607716893  ;
     
    608016896_ACEOF
    608116897if ac_fn_c_try_compile "$LINENO"; then :
    6082   ac_cv_header_stdbool_h=yes
    6083 else
    6084   ac_cv_header_stdbool_h=no
     16898  m4cfa_cv_check_cflags___Wcast_function_type=yes
     16899else
     16900  m4cfa_cv_check_cflags___Wcast_function_type=no
    608516901fi
    608616902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6087 fi
    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"
    6091 if test "x$ac_cv_type__Bool" = xyes; then :
     16903        CFLAGS=$m4cfa_check_save_flags
     16904fi
     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; }
     16907if test "x$m4cfa_cv_check_cflags___Wcast_function_type" = xyes; then :
     16908
     16909$as_echo "#define HAVE_CAST_FUNCTION_TYPE /**/" >>confdefs.h
     16910
     16911else
     16912  :
     16913fi
     16914
     16915
     16916#==============================================================================
     16917# backend compiler implementation
    609216918
    609316919cat >>confdefs.h <<_ACEOF
    6094 #define HAVE__BOOL 1
     16920#define CFA_BACKEND_CC "${CC}"
    609516921_ACEOF
    609616922
    609716923
    6098 fi
    6099 
    6100 
    6101 if test $ac_cv_header_stdbool_h = yes; then
    6102 
    6103 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
    6104 
    6105 fi
    6106 
    6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
    6108 $as_echo_n "checking for inline... " >&6; }
    6109 if ${ac_cv_c_inline+:} false; then :
    6110   $as_echo_n "(cached) " >&6
    6111 else
    6112   ac_cv_c_inline=no
    6113 for ac_kw in inline __inline__ __inline; do
    6114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6115 /* end confdefs.h.  */
    6116 #ifndef __cplusplus
    6117 typedef int foo_t;
    6118 static $ac_kw foo_t static_foo () {return 0; }
    6119 $ac_kw foo_t foo () {return 0; }
    6120 #endif
    6121 
    6122 _ACEOF
    6123 if ac_fn_c_try_compile "$LINENO"; then :
    6124   ac_cv_c_inline=$ac_kw
    6125 fi
    6126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6127   test "$ac_cv_c_inline" != no && break
    6128 done
    6129 
    6130 fi
    6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
    6132 $as_echo "$ac_cv_c_inline" >&6; }
    6133 
    6134 case $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     ;;
    6147 esac
    6148 
    6149 ac_fn_c_find_intX_t "$LINENO" "16" "ac_cv_c_int16_t"
    6150 case $ac_cv_c_int16_t in #(
    6151   no|yes) ;; #(
    6152   *)
    6153 
    6154 cat >>confdefs.h <<_ACEOF
    6155 #define int16_t $ac_cv_c_int16_t
    6156 _ACEOF
    6157 ;;
    6158 esac
    6159 
    6160 ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t"
    6161 case $ac_cv_c_int32_t in #(
    6162   no|yes) ;; #(
    6163   *)
    6164 
    6165 cat >>confdefs.h <<_ACEOF
    6166 #define int32_t $ac_cv_c_int32_t
    6167 _ACEOF
    6168 ;;
    6169 esac
    6170 
    6171 ac_fn_c_find_intX_t "$LINENO" "8" "ac_cv_c_int8_t"
    6172 case $ac_cv_c_int8_t in #(
    6173   no|yes) ;; #(
    6174   *)
    6175 
    6176 cat >>confdefs.h <<_ACEOF
    6177 #define int8_t $ac_cv_c_int8_t
    6178 _ACEOF
    6179 ;;
    6180 esac
    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; }
    6184 if ${ac_cv_c_restrict+:} false; then :
    6185   $as_echo_n "(cached) " >&6
    6186 else
    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.  */
    6192 typedef int * int_ptr;
    6193         int foo (int_ptr $ac_kw ip) {
    6194         return ip[0];
    6195        }
    6196 int
    6197 main ()
    6198 {
    6199 int s[1];
    6200         int * $ac_kw t = s;
    6201         t[0] = 0;
    6202         return foo(t)
    6203   ;
    6204   return 0;
    6205 }
    6206 _ACEOF
    6207 if ac_fn_c_try_compile "$LINENO"; then :
    6208   ac_cv_c_restrict=$ac_kw
    6209 fi
    6210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    6211      test "$ac_cv_c_restrict" != no && break
    6212    done
    6213 
    6214 fi
    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 
    6228 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
    6229 if test "x$ac_cv_type_size_t" = xyes; then :
    6230 
    6231 else
    6232 
    6233 cat >>confdefs.h <<_ACEOF
    6234 #define size_t unsigned int
    6235 _ACEOF
    6236 
    6237 fi
    6238 
    6239 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
    6240 case $ac_cv_c_uint16_t in #(
    6241   no|yes) ;; #(
    6242   *)
    6243 
    6244 
    6245 cat >>confdefs.h <<_ACEOF
    6246 #define uint16_t $ac_cv_c_uint16_t
    6247 _ACEOF
    6248 ;;
    6249   esac
    6250 
    6251 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
    6252 case $ac_cv_c_uint32_t in #(
    6253   no|yes) ;; #(
    6254   *)
    6255 
    6256 $as_echo "#define _UINT32_T 1" >>confdefs.h
    6257 
    6258 
    6259 cat >>confdefs.h <<_ACEOF
    6260 #define uint32_t $ac_cv_c_uint32_t
    6261 _ACEOF
    6262 ;;
    6263   esac
    6264 
    6265 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
    6266 case $ac_cv_c_uint8_t in #(
    6267   no|yes) ;; #(
    6268   *)
    6269 
    6270 $as_echo "#define _UINT8_T 1" >>confdefs.h
    6271 
    6272 
    6273 cat >>confdefs.h <<_ACEOF
    6274 #define uint8_t $ac_cv_c_uint8_t
    6275 _ACEOF
    6276 ;;
    6277   esac
    6278 
    6279 
    6280 # Checks for library functions.
    6281 for ac_func in memset putenv strchr strtol
    6282 do :
    6283   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    6284 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
    6285 if 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 
    6290 fi
    6291 done
    6292 
    6293 
    6294 ac_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 
     16924
     16925#==============================================================================
     16926ac_config_files="$ac_config_files Makefile driver/Makefile src/Makefile benchmark/Makefile tests/Makefile longrun_tests/Makefile tools/Makefile tools/prettyprinter/Makefile"
     16927
     16928
     16929ac_config_links="$ac_config_links tests/test.py:tests/test.py"
     16930
     16931
     16932ac_config_files="$ac_config_files tests/config.py"
    629616933
    629716934cat >confcache <<\_ACEOF
     
    642017057fi
    642117058
    6422 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
    6423   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
    6424 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    6425 fi
    6426 if test -z "${BUILD_RELEASE_TRUE}" && test -z "${BUILD_RELEASE_FALSE}"; then
    6427   as_fn_error $? "conditional \"BUILD_RELEASE\" was never defined.
    6428 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    6429 fi
    6430 if test -z "${BUILD_DEBUG_TRUE}" && test -z "${BUILD_DEBUG_FALSE}"; then
    6431   as_fn_error $? "conditional \"BUILD_DEBUG\" was never defined.
    6432 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    6433 fi
    6434 if test -z "${BUILD_NO_LIB_TRUE}" && test -z "${BUILD_NO_LIB_FALSE}"; then
    6435   as_fn_error $? "conditional \"BUILD_NO_LIB\" was never defined.
    6436 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    6437 fi
    6438 if test -z "${BUILD_CONCURRENCY_TRUE}" && test -z "${BUILD_CONCURRENCY_FALSE}"; then
    6439   as_fn_error $? "conditional \"BUILD_CONCURRENCY\" was never defined.
     17059if test -z "${ENABLE_DISTCC_TRUE}" && test -z "${ENABLE_DISTCC_FALSE}"; then
     17060  as_fn_error $? "conditional \"ENABLE_DISTCC\" was never defined.
    644017061Usually this means the macro was only invoked conditionally." "$LINENO" 5
    644117062fi
     
    645417075if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
    645517076  as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined.
     17077Usually this means the macro was only invoked conditionally." "$LINENO" 5
     17078fi
     17079if test -z "${WITH_LIBFIBRE_TRUE}" && test -z "${WITH_LIBFIBRE_FALSE}"; then
     17080  as_fn_error $? "conditional \"WITH_LIBFIBRE\" was never defined.
     17081Usually this means the macro was only invoked conditionally." "$LINENO" 5
     17082fi
     17083if test -z "${WITH_LIBPROFILER_TRUE}" && test -z "${WITH_LIBPROFILER_FALSE}"; then
     17084  as_fn_error $? "conditional \"WITH_LIBPROFILER\" was never defined.
     17085Usually this means the macro was only invoked conditionally." "$LINENO" 5
     17086fi
     17087if test -z "${WITH_LIBTCMALLOC_TRUE}" && test -z "${WITH_LIBTCMALLOC_FALSE}"; then
     17088  as_fn_error $? "conditional \"WITH_LIBTCMALLOC\" was never defined.
    645617089Usually this means the macro was only invoked conditionally." "$LINENO" 5
    645717090fi
     
    688017513config_files="$ac_config_files"
    688117514config_headers="$ac_config_headers"
     17515config_links="$ac_config_links"
    688217516config_commands="$ac_config_commands"
    688317517
     
    690917543Configuration headers:
    691017544$config_headers
     17545
     17546Configuration links:
     17547$config_links
    691117548
    691217549Configuration commands:
     
    704017677AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
    704117678
     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
     17684sed_quote_subst='$sed_quote_subst'
     17685double_quote_subst='$double_quote_subst'
     17686delay_variable_subst='$delay_variable_subst'
     17687macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
     17688macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
     17689enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
     17690enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
     17691pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
     17692enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
     17693shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
     17694SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
     17695ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
     17696PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
     17697host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
     17698host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
     17699host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
     17700build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
     17701build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
     17702build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
     17703SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
     17704Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
     17705GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
     17706EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
     17707FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
     17708LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
     17709NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
     17710LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
     17711max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
     17712ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
     17713exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
     17714lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
     17715lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
     17716lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
     17717lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
     17718lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
     17719reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
     17720reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
     17721OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
     17722deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
     17723file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
     17724file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
     17725want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
     17726DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
     17727sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
     17728AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
     17729AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
     17730archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
     17731STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
     17732RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
     17733old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
     17734old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
     17735old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
     17736lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
     17737CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
     17738CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
     17739compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
     17740GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
     17741lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
     17742lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
     17743lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
     17744lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
     17745lt_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"`'
     17746lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
     17747nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
     17748lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
     17749lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
     17750objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
     17751MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
     17752lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
     17753lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
     17754lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
     17755lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
     17756lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
     17757need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
     17758MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
     17759DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
     17760NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
     17761LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
     17762OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
     17763OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
     17764libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
     17765shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
     17766extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
     17767archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
     17768enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
     17769export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
     17770whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
     17771compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
     17772old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
     17773old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
     17774archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
     17775archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
     17776module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
     17777module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
     17778with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
     17779allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
     17780no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
     17781hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
     17782hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
     17783hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
     17784hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
     17785hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
     17786hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
     17787hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
     17788inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
     17789link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
     17790always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
     17791export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
     17792exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
     17793include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
     17794prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
     17795postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
     17796file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
     17797variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
     17798need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
     17799need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
     17800version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
     17801runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
     17802shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
     17803shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
     17804libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
     17805library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
     17806soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
     17807install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
     17808postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
     17809postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
     17810finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
     17811finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
     17812hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
     17813sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
     17814configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
     17815configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
     17816hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
     17817enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
     17818enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
     17819enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
     17820old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
     17821striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
     17822compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
     17823predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
     17824postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
     17825predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
     17826postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
     17827compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
     17828LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
     17829reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
     17830reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17831old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17832compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
     17833GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
     17834lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
     17835lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
     17836lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
     17837lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
     17838lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
     17839archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
     17840enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
     17841export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
     17842whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
     17843compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
     17844old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17845old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17846archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17847archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17848module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17849module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17850with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
     17851allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
     17852no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
     17853hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
     17854hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
     17855hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
     17856hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
     17857hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
     17858hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
     17859hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
     17860inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
     17861link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
     17862always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
     17863export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17864exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
     17865include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
     17866prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17867postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17868file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
     17869hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
     17870compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
     17871predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
     17872postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
     17873predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
     17874postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
     17875compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
     17876
     17877LTCC='$LTCC'
     17878LTCFLAGS='$LTCFLAGS'
     17879compiler='$compiler_DEFAULT'
     17880
     17881# A function that is used when there is no print builtin or printf.
     17882func_fallback_echo ()
     17883{
     17884  eval 'cat <<_LTECHO_EOF
     17885\$1
     17886_LTECHO_EOF'
     17887}
     17888
     17889# Quote evaled strings.
     17890for var in SHELL \
     17891ECHO \
     17892PATH_SEPARATOR \
     17893SED \
     17894GREP \
     17895EGREP \
     17896FGREP \
     17897LD \
     17898NM \
     17899LN_S \
     17900lt_SP2NL \
     17901lt_NL2SP \
     17902reload_flag \
     17903OBJDUMP \
     17904deplibs_check_method \
     17905file_magic_cmd \
     17906file_magic_glob \
     17907want_nocaseglob \
     17908DLLTOOL \
     17909sharedlib_from_linklib_cmd \
     17910AR \
     17911AR_FLAGS \
     17912archiver_list_spec \
     17913STRIP \
     17914RANLIB \
     17915CC \
     17916CFLAGS \
     17917compiler \
     17918lt_cv_sys_global_symbol_pipe \
     17919lt_cv_sys_global_symbol_to_cdecl \
     17920lt_cv_sys_global_symbol_to_import \
     17921lt_cv_sys_global_symbol_to_c_name_address \
     17922lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
     17923lt_cv_nm_interface \
     17924nm_file_list_spec \
     17925lt_cv_truncate_bin \
     17926lt_prog_compiler_no_builtin_flag \
     17927lt_prog_compiler_pic \
     17928lt_prog_compiler_wl \
     17929lt_prog_compiler_static \
     17930lt_cv_prog_compiler_c_o \
     17931need_locks \
     17932MANIFEST_TOOL \
     17933DSYMUTIL \
     17934NMEDIT \
     17935LIPO \
     17936OTOOL \
     17937OTOOL64 \
     17938shrext_cmds \
     17939export_dynamic_flag_spec \
     17940whole_archive_flag_spec \
     17941compiler_needs_object \
     17942with_gnu_ld \
     17943allow_undefined_flag \
     17944no_undefined_flag \
     17945hardcode_libdir_flag_spec \
     17946hardcode_libdir_separator \
     17947exclude_expsyms \
     17948include_expsyms \
     17949file_list_spec \
     17950variables_saved_for_relink \
     17951libname_spec \
     17952library_names_spec \
     17953soname_spec \
     17954install_override_mode \
     17955finish_eval \
     17956old_striplib \
     17957striplib \
     17958compiler_lib_search_dirs \
     17959predep_objects \
     17960postdep_objects \
     17961predeps \
     17962postdeps \
     17963compiler_lib_search_path \
     17964LD_CXX \
     17965reload_flag_CXX \
     17966compiler_CXX \
     17967lt_prog_compiler_no_builtin_flag_CXX \
     17968lt_prog_compiler_pic_CXX \
     17969lt_prog_compiler_wl_CXX \
     17970lt_prog_compiler_static_CXX \
     17971lt_cv_prog_compiler_c_o_CXX \
     17972export_dynamic_flag_spec_CXX \
     17973whole_archive_flag_spec_CXX \
     17974compiler_needs_object_CXX \
     17975with_gnu_ld_CXX \
     17976allow_undefined_flag_CXX \
     17977no_undefined_flag_CXX \
     17978hardcode_libdir_flag_spec_CXX \
     17979hardcode_libdir_separator_CXX \
     17980exclude_expsyms_CXX \
     17981include_expsyms_CXX \
     17982file_list_spec_CXX \
     17983compiler_lib_search_dirs_CXX \
     17984predep_objects_CXX \
     17985postdep_objects_CXX \
     17986predeps_CXX \
     17987postdeps_CXX \
     17988compiler_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
     17997done
     17998
     17999# Double-quote double-evaled strings.
     18000for var in reload_cmds \
     18001old_postinstall_cmds \
     18002old_postuninstall_cmds \
     18003old_archive_cmds \
     18004extract_expsyms_cmds \
     18005old_archive_from_new_cmds \
     18006old_archive_from_expsyms_cmds \
     18007archive_cmds \
     18008archive_expsym_cmds \
     18009module_cmds \
     18010module_expsym_cmds \
     18011export_symbols_cmds \
     18012prelink_cmds \
     18013postlink_cmds \
     18014postinstall_cmds \
     18015postuninstall_cmds \
     18016finish_cmds \
     18017sys_lib_search_path_spec \
     18018configure_time_dlsearch_path \
     18019configure_time_lt_sys_library_path \
     18020reload_cmds_CXX \
     18021old_archive_cmds_CXX \
     18022old_archive_from_new_cmds_CXX \
     18023old_archive_from_expsyms_cmds_CXX \
     18024archive_cmds_CXX \
     18025archive_expsym_cmds_CXX \
     18026module_cmds_CXX \
     18027module_expsym_cmds_CXX \
     18028export_symbols_cmds_CXX \
     18029prelink_cmds_CXX \
     18030postlink_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
     18039done
     18040
     18041ac_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.
     18045if test -n "\${ZSH_VERSION+set}"; then
     18046   setopt NO_GLOB_SUBST
     18047fi
     18048
     18049
     18050    PACKAGE='$PACKAGE'
     18051    VERSION='$VERSION'
     18052    RM='$RM'
     18053    ofile='$ofile'
     18054
     18055
     18056
     18057
     18058
     18059
    704218060_ACEOF
    704318061
     
    704818066do
    704918067  case $ac_config_target in
    7050     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
     18068    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:src/config.h.in" ;;
    705118069    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
     18070    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
    705218071    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    7053     "src/driver/Makefile") CONFIG_FILES="$CONFIG_FILES src/driver/Makefile" ;;
     18072    "driver/Makefile") CONFIG_FILES="$CONFIG_FILES driver/Makefile" ;;
    705418073    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/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" ;;
     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" ;;
    706118077    "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
    706218078    "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" ;;
    706318081
    706418082  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     
    707418092  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
    707518093  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
     18094  test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
    707618095  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
    707718096fi
     
    737118390
    737218391
    7373 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
     18392eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS  :L $CONFIG_LINKS  :C $CONFIG_COMMANDS"
    737418393shift
    737518394for ac_tag
     
    764818667          s/.*/./; q'`/stamp-h$_am_stamp_count
    764918668 ;;
    7650 
     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 ;;
    765118701  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
    765218702$as_echo "$as_me: executing $ac_file commands" >&6;}
     
    774918799}
    775018800 ;;
     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.
     18846available_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?
     18854macro_version=$macro_version
     18855macro_revision=$macro_revision
     18856
     18857# Whether or not to build shared libraries.
     18858build_libtool_libs=$enable_shared
     18859
     18860# Whether or not to build static libraries.
     18861build_old_libs=$enable_static
     18862
     18863# What type of objects to build.
     18864pic_mode=$pic_mode
     18865
     18866# Whether or not to optimize for fast installation.
     18867fast_install=$enable_fast_install
     18868
     18869# Shared archive member basename,for filename based shared library versioning on AIX.
     18870shared_archive_member_spec=$shared_archive_member_spec
     18871
     18872# Shell to use when invoking shell scripts.
     18873SHELL=$lt_SHELL
     18874
     18875# An echo program that protects backslashes.
     18876ECHO=$lt_ECHO
     18877
     18878# The PATH separator for the build system.
     18879PATH_SEPARATOR=$lt_PATH_SEPARATOR
     18880
     18881# The host system.
     18882host_alias=$host_alias
     18883host=$host
     18884host_os=$host_os
     18885
     18886# The build system.
     18887build_alias=$build_alias
     18888build=$build
     18889build_os=$build_os
     18890
     18891# A sed program that does not truncate output.
     18892SED=$lt_SED
     18893
     18894# Sed that helps us avoid accidentally triggering echo(1) options like -n.
     18895Xsed="\$SED -e 1s/^X//"
     18896
     18897# A grep program that handles long lines.
     18898GREP=$lt_GREP
     18899
     18900# An ERE matcher.
     18901EGREP=$lt_EGREP
     18902
     18903# A literal string matcher.
     18904FGREP=$lt_FGREP
     18905
     18906# A BSD- or MS-compatible name lister.
     18907NM=$lt_NM
     18908
     18909# Whether we need soft or hard links.
     18910LN_S=$lt_LN_S
     18911
     18912# What is the maximum length of a command?
     18913max_cmd_len=$max_cmd_len
     18914
     18915# Object file suffix (normally "o").
     18916objext=$ac_objext
     18917
     18918# Executable file suffix (normally "").
     18919exeext=$exeext
     18920
     18921# whether the shell understands "unset".
     18922lt_unset=$lt_unset
     18923
     18924# turn spaces into newlines.
     18925SP2NL=$lt_lt_SP2NL
     18926
     18927# turn newlines into spaces.
     18928NL2SP=$lt_lt_NL2SP
     18929
     18930# convert \$build file names to \$host format.
     18931to_host_file_cmd=$lt_cv_to_host_file_cmd
     18932
     18933# convert \$build files to toolchain format.
     18934to_tool_file_cmd=$lt_cv_to_tool_file_cmd
     18935
     18936# An object symbol dumper.
     18937OBJDUMP=$lt_OBJDUMP
     18938
     18939# Method to check whether dependent libraries are shared objects.
     18940deplibs_check_method=$lt_deplibs_check_method
     18941
     18942# Command to use when deplibs_check_method = "file_magic".
     18943file_magic_cmd=$lt_file_magic_cmd
     18944
     18945# How to find potential files when deplibs_check_method = "file_magic".
     18946file_magic_glob=$lt_file_magic_glob
     18947
     18948# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
     18949want_nocaseglob=$lt_want_nocaseglob
     18950
     18951# DLL creation program.
     18952DLLTOOL=$lt_DLLTOOL
     18953
     18954# Command to associate shared and link libraries.
     18955sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
     18956
     18957# The archiver.
     18958AR=$lt_AR
     18959
     18960# Flags to create an archive.
     18961AR_FLAGS=$lt_AR_FLAGS
     18962
     18963# How to feed a file listing to the archiver.
     18964archiver_list_spec=$lt_archiver_list_spec
     18965
     18966# A symbol stripping program.
     18967STRIP=$lt_STRIP
     18968
     18969# Commands used to install an old-style archive.
     18970RANLIB=$lt_RANLIB
     18971old_postinstall_cmds=$lt_old_postinstall_cmds
     18972old_postuninstall_cmds=$lt_old_postuninstall_cmds
     18973
     18974# Whether to use a lock for old archive extraction.
     18975lock_old_archive_extraction=$lock_old_archive_extraction
     18976
     18977# A C compiler.
     18978LTCC=$lt_CC
     18979
     18980# LTCC compiler flags.
     18981LTCFLAGS=$lt_CFLAGS
     18982
     18983# Take the output of nm and produce a listing of raw symbols and C names.
     18984global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
     18985
     18986# Transform the output of nm in a proper C declaration.
     18987global_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.
     18990global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
     18991
     18992# Transform the output of nm in a C name address pair.
     18993global_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.
     18996global_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.
     18999nm_interface=$lt_lt_cv_nm_interface
     19000
     19001# Specify filename containing input files for \$NM.
     19002nm_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.
     19005lt_sysroot=$lt_sysroot
     19006
     19007# Command to truncate a binary pipe.
     19008lt_truncate_bin=$lt_lt_cv_truncate_bin
     19009
     19010# The name of the directory that contains temporary libtool files.
     19011objdir=$objdir
     19012
     19013# Used to examine libraries when file_magic_cmd begins with "file".
     19014MAGIC_CMD=$MAGIC_CMD
     19015
     19016# Must we lock files when doing compilation?
     19017need_locks=$lt_need_locks
     19018
     19019# Manifest tool.
     19020MANIFEST_TOOL=$lt_MANIFEST_TOOL
     19021
     19022# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
     19023DSYMUTIL=$lt_DSYMUTIL
     19024
     19025# Tool to change global to local symbols on Mac OS X.
     19026NMEDIT=$lt_NMEDIT
     19027
     19028# Tool to manipulate fat objects and archives on Mac OS X.
     19029LIPO=$lt_LIPO
     19030
     19031# ldd/readelf like tool for Mach-O binaries on Mac OS X.
     19032OTOOL=$lt_OTOOL
     19033
     19034# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
     19035OTOOL64=$lt_OTOOL64
     19036
     19037# Old archive suffix (normally "a").
     19038libext=$libext
     19039
     19040# Shared library suffix (normally ".so").
     19041shrext_cmds=$lt_shrext_cmds
     19042
     19043# The commands to extract the exported symbol list from a shared archive.
     19044extract_expsyms_cmds=$lt_extract_expsyms_cmds
     19045
     19046# Variables whose values should be saved in libtool wrapper scripts and
     19047# restored at link time.
     19048variables_saved_for_relink=$lt_variables_saved_for_relink
     19049
     19050# Do we need the "lib" prefix for modules?
     19051need_lib_prefix=$need_lib_prefix
     19052
     19053# Do we need a version for libraries?
     19054need_version=$need_version
     19055
     19056# Library versioning type.
     19057version_type=$version_type
     19058
     19059# Shared library runtime path variable.
     19060runpath_var=$runpath_var
     19061
     19062# Shared library path variable.
     19063shlibpath_var=$shlibpath_var
     19064
     19065# Is shlibpath searched before the hard-coded library search path?
     19066shlibpath_overrides_runpath=$shlibpath_overrides_runpath
     19067
     19068# Format of library name prefix.
     19069libname_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
     19073library_names_spec=$lt_library_names_spec
     19074
     19075# The coded name of the library, if different from the real name.
     19076soname_spec=$lt_soname_spec
     19077
     19078# Permission mode override for installation of shared libraries.
     19079install_override_mode=$lt_install_override_mode
     19080
     19081# Command to use after installation of a shared archive.
     19082postinstall_cmds=$lt_postinstall_cmds
     19083
     19084# Command to use after uninstallation of a shared archive.
     19085postuninstall_cmds=$lt_postuninstall_cmds
     19086
     19087# Commands used to finish a libtool library installation in a directory.
     19088finish_cmds=$lt_finish_cmds
     19089
     19090# As "finish_cmds", except a single script fragment to be evaled but
     19091# not shown.
     19092finish_eval=$lt_finish_eval
     19093
     19094# Whether we should hardcode library paths into libraries.
     19095hardcode_into_libs=$hardcode_into_libs
     19096
     19097# Compile-time system search path for libraries.
     19098sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
     19099
     19100# Detected run-time system search path for libraries.
     19101sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
     19102
     19103# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
     19104configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
     19105
     19106# Whether dlopen is supported.
     19107dlopen_support=$enable_dlopen
     19108
     19109# Whether dlopen of programs is supported.
     19110dlopen_self=$enable_dlopen_self
     19111
     19112# Whether dlopen of statically linked programs is supported.
     19113dlopen_self_static=$enable_dlopen_self_static
     19114
     19115# Commands to strip libraries.
     19116old_striplib=$lt_old_striplib
     19117striplib=$lt_striplib
     19118
     19119
     19120# The linker used to build libraries.
     19121LD=$lt_LD
     19122
     19123# How to create reloadable object files.
     19124reload_flag=$lt_reload_flag
     19125reload_cmds=$lt_reload_cmds
     19126
     19127# Commands used to build an old-style archive.
     19128old_archive_cmds=$lt_old_archive_cmds
     19129
     19130# A language specific compiler.
     19131CC=$lt_compiler
     19132
     19133# Is the compiler the GNU compiler?
     19134with_gcc=$GCC
     19135
     19136# Compiler flag to turn off builtin functions.
     19137no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
     19138
     19139# Additional compiler flags for building library objects.
     19140pic_flag=$lt_lt_prog_compiler_pic
     19141
     19142# How to pass a linker flag through the compiler.
     19143wl=$lt_lt_prog_compiler_wl
     19144
     19145# Compiler flag to prevent dynamic linking.
     19146link_static_flag=$lt_lt_prog_compiler_static
     19147
     19148# Does compiler simultaneously support -c and -o options?
     19149compiler_c_o=$lt_lt_cv_prog_compiler_c_o
     19150
     19151# Whether or not to add -lc for building shared libraries.
     19152build_libtool_need_lc=$archive_cmds_need_lc
     19153
     19154# Whether or not to disallow shared libs when runtime libs are static.
     19155allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
     19156
     19157# Compiler flag to allow reflexive dlopens.
     19158export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
     19159
     19160# Compiler flag to generate shared objects directly from archives.
     19161whole_archive_flag_spec=$lt_whole_archive_flag_spec
     19162
     19163# Whether the compiler copes with passing no objects directly.
     19164compiler_needs_object=$lt_compiler_needs_object
     19165
     19166# Create an old-style archive from a shared archive.
     19167old_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.
     19170old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
     19171
     19172# Commands used to build a shared archive.
     19173archive_cmds=$lt_archive_cmds
     19174archive_expsym_cmds=$lt_archive_expsym_cmds
     19175
     19176# Commands used to build a loadable module if different from building
     19177# a shared archive.
     19178module_cmds=$lt_module_cmds
     19179module_expsym_cmds=$lt_module_expsym_cmds
     19180
     19181# Whether we are building with GNU ld or not.
     19182with_gnu_ld=$lt_with_gnu_ld
     19183
     19184# Flag that allows shared libraries with undefined symbols to be built.
     19185allow_undefined_flag=$lt_allow_undefined_flag
     19186
     19187# Flag that enforces no undefined symbols.
     19188no_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
     19192hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
     19193
     19194# Whether we need a single "-rpath" flag with a separated argument.
     19195hardcode_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.
     19199hardcode_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.
     19205hardcode_direct_absolute=$hardcode_direct_absolute
     19206
     19207# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
     19208# into the resulting binary.
     19209hardcode_minus_L=$hardcode_minus_L
     19210
     19211# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
     19212# into the resulting binary.
     19213hardcode_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.
     19218hardcode_automatic=$hardcode_automatic
     19219
     19220# Set to yes if linker adds runtime paths of dependent libraries
     19221# to runtime path list.
     19222inherit_rpath=$inherit_rpath
     19223
     19224# Whether libtool must link a program against all its dependency libraries.
     19225link_all_deplibs=$link_all_deplibs
     19226
     19227# Set to "yes" if exported symbols are required.
     19228always_export_symbols=$always_export_symbols
     19229
     19230# The commands to list exported symbols.
     19231export_symbols_cmds=$lt_export_symbols_cmds
     19232
     19233# Symbols that should not be listed in the preloaded symbols.
     19234exclude_expsyms=$lt_exclude_expsyms
     19235
     19236# Symbols that must always be exported.
     19237include_expsyms=$lt_include_expsyms
     19238
     19239# Commands necessary for linking programs (against libraries) with templates.
     19240prelink_cmds=$lt_prelink_cmds
     19241
     19242# Commands necessary for finishing linking programs.
     19243postlink_cmds=$lt_postlink_cmds
     19244
     19245# Specify filename containing input files.
     19246file_list_spec=$lt_file_list_spec
     19247
     19248# How to hardcode a shared library path into an executable.
     19249hardcode_action=$hardcode_action
     19250
     19251# The directories searched by this compiler when creating a shared library.
     19252compiler_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.
     19256predep_objects=$lt_predep_objects
     19257postdep_objects=$lt_postdep_objects
     19258predeps=$lt_predeps
     19259postdeps=$lt_postdeps
     19260
     19261# The library search path used internally by the compiler when linking
     19262# a shared library.
     19263compiler_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]"
     19287func_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.
     19310func_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.
     19334if test set != "${COLLECT_NAMES+set}"; then
     19335  COLLECT_NAMES=
     19336  export COLLECT_NAMES
     19337fi
     19338_LT_EOF
     19339    ;;
     19340  esac
     19341
     19342
     19343ltmain=$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.
     19363LD=$lt_LD_CXX
     19364
     19365# How to create reloadable object files.
     19366reload_flag=$lt_reload_flag_CXX
     19367reload_cmds=$lt_reload_cmds_CXX
     19368
     19369# Commands used to build an old-style archive.
     19370old_archive_cmds=$lt_old_archive_cmds_CXX
     19371
     19372# A language specific compiler.
     19373CC=$lt_compiler_CXX
     19374
     19375# Is the compiler the GNU compiler?
     19376with_gcc=$GCC_CXX
     19377
     19378# Compiler flag to turn off builtin functions.
     19379no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
     19380
     19381# Additional compiler flags for building library objects.
     19382pic_flag=$lt_lt_prog_compiler_pic_CXX
     19383
     19384# How to pass a linker flag through the compiler.
     19385wl=$lt_lt_prog_compiler_wl_CXX
     19386
     19387# Compiler flag to prevent dynamic linking.
     19388link_static_flag=$lt_lt_prog_compiler_static_CXX
     19389
     19390# Does compiler simultaneously support -c and -o options?
     19391compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
     19392
     19393# Whether or not to add -lc for building shared libraries.
     19394build_libtool_need_lc=$archive_cmds_need_lc_CXX
     19395
     19396# Whether or not to disallow shared libs when runtime libs are static.
     19397allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
     19398
     19399# Compiler flag to allow reflexive dlopens.
     19400export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
     19401
     19402# Compiler flag to generate shared objects directly from archives.
     19403whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
     19404
     19405# Whether the compiler copes with passing no objects directly.
     19406compiler_needs_object=$lt_compiler_needs_object_CXX
     19407
     19408# Create an old-style archive from a shared archive.
     19409old_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.
     19412old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
     19413
     19414# Commands used to build a shared archive.
     19415archive_cmds=$lt_archive_cmds_CXX
     19416archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
     19417
     19418# Commands used to build a loadable module if different from building
     19419# a shared archive.
     19420module_cmds=$lt_module_cmds_CXX
     19421module_expsym_cmds=$lt_module_expsym_cmds_CXX
     19422
     19423# Whether we are building with GNU ld or not.
     19424with_gnu_ld=$lt_with_gnu_ld_CXX
     19425
     19426# Flag that allows shared libraries with undefined symbols to be built.
     19427allow_undefined_flag=$lt_allow_undefined_flag_CXX
     19428
     19429# Flag that enforces no undefined symbols.
     19430no_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
     19434hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
     19435
     19436# Whether we need a single "-rpath" flag with a separated argument.
     19437hardcode_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.
     19441hardcode_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.
     19447hardcode_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.
     19451hardcode_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.
     19455hardcode_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.
     19460hardcode_automatic=$hardcode_automatic_CXX
     19461
     19462# Set to yes if linker adds runtime paths of dependent libraries
     19463# to runtime path list.
     19464inherit_rpath=$inherit_rpath_CXX
     19465
     19466# Whether libtool must link a program against all its dependency libraries.
     19467link_all_deplibs=$link_all_deplibs_CXX
     19468
     19469# Set to "yes" if exported symbols are required.
     19470always_export_symbols=$always_export_symbols_CXX
     19471
     19472# The commands to list exported symbols.
     19473export_symbols_cmds=$lt_export_symbols_cmds_CXX
     19474
     19475# Symbols that should not be listed in the preloaded symbols.
     19476exclude_expsyms=$lt_exclude_expsyms_CXX
     19477
     19478# Symbols that must always be exported.
     19479include_expsyms=$lt_include_expsyms_CXX
     19480
     19481# Commands necessary for linking programs (against libraries) with templates.
     19482prelink_cmds=$lt_prelink_cmds_CXX
     19483
     19484# Commands necessary for finishing linking programs.
     19485postlink_cmds=$lt_postlink_cmds_CXX
     19486
     19487# Specify filename containing input files.
     19488file_list_spec=$lt_file_list_spec_CXX
     19489
     19490# How to hardcode a shared library path into an executable.
     19491hardcode_action=$hardcode_action_CXX
     19492
     19493# The directories searched by this compiler when creating a shared library.
     19494compiler_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.
     19498predep_objects=$lt_predep_objects_CXX
     19499postdep_objects=$lt_postdep_objects_CXX
     19500predeps=$lt_predeps_CXX
     19501postdeps=$lt_postdeps_CXX
     19502
     19503# The library search path used internally by the compiler when linking
     19504# a shared library.
     19505compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
     19506
     19507# ### END LIBTOOL TAG CONFIG: CXX
     19508_LT_EOF
     19509
     19510 ;;
    775119511
    775219512  esac
     
    778819548
    778919549
    7790 if 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;}
    7794 else
    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;}
    7797 fi
    7798 else
    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;}
    7802 else
    7803   { $as_echo "$as_me:${as_lineno-$LINENO}: Running cfa without libcfa" >&5
    7804 $as_echo "$as_me: Running cfa without libcfa" >&6;}
    7805 fi
    7806 fi
    7807 
    780819550# Final text
    780919551{ $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.