Changes in / [7428ad9:6d44da1]


Ignore:
Files:
9 added
16 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.in

    r7428ad9 r6d44da1  
    260260AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
    261261CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS)
     262LTCFACOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
     263        $(LIBTOOLFLAGS) --mode=compile $(CFACC) $(DEFS) \
     264        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) \
     265        $(AM_CFLAGS) $(CFLAGS)
     266
    262267AM_V_CFA = $(am__v_CFA_@AM_V@)
    263268am__v_CFA_ = $(am__v_CFA_@AM_DEFAULT_V@)
     
    287292
    288293.SUFFIXES:
    289 .SUFFIXES: .cfa .o
     294.SUFFIXES: .cfa .lo .o
    290295$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/src/cfa.make $(am__configure_deps)
    291296        @for dep in $?; do \
     
    480485        $(am__mv) $$depbase.Tpo $$depbase.Po
    481486
     487<<<<<<< HEAD
     488.cfa.lo:
     489        $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
     490        $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
     491        $(am__mv) $$depbase.Tpo $$depbase.Plo
     492
     493LIBFIBRE_DIR ?= /home/tdelisle/software/KOS/src/
     494
     495=======
     496>>>>>>> master
    482497.NOTPARALLEL:
    483498
  • driver/cfa.cc

    r7428ad9 r6d44da1  
    405405
    406406                // include the cfa library in case it's needed
    407                 args[nargs] = ( *new string( string("-L" ) + libdir + (intree ? "/src" : "")) ).c_str();
     407                args[nargs] = ( *new string( string("-L" ) + libdir + (intree ? "/src/.libs" : "")) ).c_str();
     408                nargs += 1;
     409                args[nargs] = ( *new string( string("-Wl,-rpath," ) + libdir + (intree ? "/src/.libs" : "")) ).c_str();
    408410                nargs += 1;
    409411                args[nargs] = "-lcfa";
  • libcfa/Makefile.am

    r7428ad9 r6d44da1  
    1616
    1717AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names
     18ACLOCAL_AMFLAGS  = -I automake
    1819SUBDIRS = prelude src      # order important
  • libcfa/Makefile.in

    r7428ad9 r6d44da1  
    8989PRE_UNINSTALL = :
    9090POST_UNINSTALL = :
     91build_triplet = @build@
     92host_triplet = @host@
    9193subdir = .
    9294ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    93 am__aclocal_m4_deps = $(top_srcdir)/../automake/cfa.m4 \
    94         $(top_srcdir)/configure.ac
     95am__aclocal_m4_deps = $(top_srcdir)/automake/libtool.m4 \
     96        $(top_srcdir)/automake/ltoptions.m4 \
     97        $(top_srcdir)/automake/ltsugar.m4 \
     98        $(top_srcdir)/automake/ltversion.m4 \
     99        $(top_srcdir)/automake/lt~obsolete.m4 \
     100        $(top_srcdir)/../automake/cfa.m4 $(top_srcdir)/configure.ac
    95101am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    96102        $(ACLOCAL_M4)
     
    158164CSCOPE = cscope
    159165DIST_SUBDIRS = $(SUBDIRS)
    160 am__DIST_COMMON = $(srcdir)/Makefile.in \
    161         $(top_srcdir)/./automake/compile \
    162         $(top_srcdir)/./automake/install-sh \
    163         $(top_srcdir)/./automake/missing ./automake/compile \
    164         ./automake/config.guess ./automake/config.sub \
    165         ./automake/depcomp ./automake/install-sh ./automake/missing
     166am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/automake/compile \
     167        $(top_srcdir)/automake/config.guess \
     168        $(top_srcdir)/automake/config.sub \
     169        $(top_srcdir)/automake/install-sh \
     170        $(top_srcdir)/automake/ltmain.sh \
     171        $(top_srcdir)/automake/missing automake/compile \
     172        automake/config.guess automake/config.sub automake/depcomp \
     173        automake/install-sh automake/ltmain.sh automake/missing
    166174DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    167175distdir = $(PACKAGE)-$(VERSION)
     
    209217AMTAR = @AMTAR@
    210218AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
     219AR = @AR@
    211220ARCHITECTURE = @ARCHITECTURE@
    212221ARCH_FLAGS = @ARCH_FLAGS@
     
    232241CONFIG_CFAFLAGS = @CONFIG_CFAFLAGS@
    233242CONFIG_CFLAGS = @CONFIG_CFLAGS@
     243CPP = @CPP@
    234244CPPFLAGS = @CPPFLAGS@
    235245CXX = @CXX@
     246CXXCPP = @CXXCPP@
    236247CXXDEPMODE = @CXXDEPMODE@
    237248CXXFLAGS = @CXXFLAGS@
     
    239250DEFS = @DEFS@
    240251DEPDIR = @DEPDIR@
     252DLLTOOL = @DLLTOOL@
    241253DRIVER_DIR = @DRIVER_DIR@
     254DSYMUTIL = @DSYMUTIL@
     255DUMPBIN = @DUMPBIN@
    242256ECHO_C = @ECHO_C@
    243257ECHO_N = @ECHO_N@
    244258ECHO_T = @ECHO_T@
     259EGREP = @EGREP@
    245260EXEEXT = @EXEEXT@
     261FGREP = @FGREP@
     262GREP = @GREP@
    246263INSTALL = @INSTALL@
    247264INSTALL_DATA = @INSTALL_DATA@
     
    249266INSTALL_SCRIPT = @INSTALL_SCRIPT@
    250267INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
     268LD = @LD@
    251269LDFLAGS = @LDFLAGS@
    252270LIBOBJS = @LIBOBJS@
    253271LIBS = @LIBS@
     272LIBTOOL = @LIBTOOL@
     273LIPO = @LIPO@
     274LN_S = @LN_S@
    254275LTLIBOBJS = @LTLIBOBJS@
     276LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    255277MAKEINFO = @MAKEINFO@
     278MANIFEST_TOOL = @MANIFEST_TOOL@
    256279MKDIR_P = @MKDIR_P@
     280NM = @NM@
     281NMEDIT = @NMEDIT@
     282OBJDUMP = @OBJDUMP@
    257283OBJEXT = @OBJEXT@
     284OTOOL = @OTOOL@
     285OTOOL64 = @OTOOL64@
    258286PACKAGE = @PACKAGE@
    259287PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    265293PATH_SEPARATOR = @PATH_SEPARATOR@
    266294RANLIB = @RANLIB@
     295SED = @SED@
    267296SET_MAKE = @SET_MAKE@
    268297SHELL = @SHELL@
     
    273302abs_top_builddir = @abs_top_builddir@
    274303abs_top_srcdir = @abs_top_srcdir@
     304ac_ct_AR = @ac_ct_AR@
    275305ac_ct_CC = @ac_ct_CC@
    276306ac_ct_CXX = @ac_ct_CXX@
     307ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
    277308am__include = @am__include@
    278309am__leading_dot = @am__leading_dot@
     
    281312am__untar = @am__untar@
    282313bindir = @bindir@
     314build = @build@
    283315build_alias = @build_alias@
     316build_cpu = @build_cpu@
     317build_os = @build_os@
     318build_vendor = @build_vendor@
    284319builddir = @builddir@
    285320datadir = @datadir@
     
    288323dvidir = @dvidir@
    289324exec_prefix = @exec_prefix@
     325host = @host@
    290326host_alias = @host_alias@
     327host_cpu = @host_cpu@
     328host_os = @host_os@
     329host_vendor = @host_vendor@
    291330htmldir = @htmldir@
    292331includedir = @includedir@
     
    314353top_srcdir = @top_srcdir@
    315354AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names
     355ACLOCAL_AMFLAGS = -I automake
    316356SUBDIRS = prelude src      # order important
    317357all: all-recursive
     
    351391        $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    352392$(am__aclocal_m4_deps):
     393
     394mostlyclean-libtool:
     395        -rm -f *.lo
     396
     397clean-libtool:
     398        -rm -rf .libs _libs
     399
     400distclean-libtool:
     401        -rm -f libtool config.lt
    353402
    354403# This directory's subdirectories are mostly independent; you can cd
     
    683732clean: clean-recursive
    684733
    685 clean-am: clean-generic mostlyclean-am
     734clean-am: clean-generic clean-libtool mostlyclean-am
    686735
    687736distclean: distclean-recursive
    688737        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
    689738        -rm -f Makefile
    690 distclean-am: clean-am distclean-generic distclean-tags
     739distclean-am: clean-am distclean-generic distclean-libtool \
     740        distclean-tags
    691741
    692742dvi: dvi-recursive
     
    738788mostlyclean: mostlyclean-recursive
    739789
    740 mostlyclean-am: mostlyclean-generic
     790mostlyclean-am: mostlyclean-generic mostlyclean-libtool
    741791
    742792pdf: pdf-recursive
     
    754804.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
    755805        am--refresh check check-am clean clean-cscope clean-generic \
    756         cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
    757         dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
    758         distcheck distclean distclean-generic distclean-tags \
    759         distcleancheck distdir distuninstallcheck dvi dvi-am html \
    760         html-am info info-am install install-am install-data \
    761         install-data-am install-dvi install-dvi-am install-exec \
    762         install-exec-am install-html install-html-am install-info \
    763         install-info-am install-man install-pdf install-pdf-am \
    764         install-ps install-ps-am install-strip installcheck \
    765         installcheck-am installdirs installdirs-am maintainer-clean \
    766         maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
    767         pdf-am ps ps-am tags tags-am uninstall uninstall-am
     806        clean-libtool cscope cscopelist-am ctags ctags-am dist \
     807        dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
     808        dist-xz dist-zip distcheck distclean distclean-generic \
     809        distclean-libtool distclean-tags distcleancheck distdir \
     810        distuninstallcheck dvi dvi-am html html-am info info-am \
     811        install install-am install-data install-data-am install-dvi \
     812        install-dvi-am install-exec install-exec-am install-html \
     813        install-html-am install-info install-info-am install-man \
     814        install-pdf install-pdf-am install-ps install-ps-am \
     815        install-strip installcheck installcheck-am installdirs \
     816        installdirs-am maintainer-clean maintainer-clean-generic \
     817        mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
     818        ps ps-am tags tags-am uninstall uninstall-am
    768819
    769820.PRECIOUS: Makefile
  • libcfa/aclocal.m4

    r7428ad9 r6d44da1  
    11711171]) # _AM_PROG_TAR
    11721172
     1173m4_include([automake/libtool.m4])
     1174m4_include([automake/ltoptions.m4])
     1175m4_include([automake/ltsugar.m4])
     1176m4_include([automake/ltversion.m4])
     1177m4_include([automake/lt~obsolete.m4])
  • libcfa/configure

    r7428ad9 r6d44da1  
    198198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
     200  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
     209test \$(( 1 + 1 )) = 2 || exit 1"
    201210  if (eval "$as_required") 2>/dev/null; then :
    202211  as_have_required=yes
     
    556565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    557566
     567SHELL=${CONFIG_SHELL-/bin/sh}
     568
    558569
    559570test -n "$DJDIR" || exec 7<&0 </dev/null
     
    585596PACKAGE_URL=''
    586597
     598# Factoring default headers for most tests.
     599ac_includes_default="\
     600#include <stdio.h>
     601#ifdef HAVE_SYS_TYPES_H
     602# include <sys/types.h>
     603#endif
     604#ifdef HAVE_SYS_STAT_H
     605# include <sys/stat.h>
     606#endif
     607#ifdef STDC_HEADERS
     608# include <stdlib.h>
     609# include <stddef.h>
     610#else
     611# ifdef HAVE_STDLIB_H
     612#  include <stdlib.h>
     613# endif
     614#endif
     615#ifdef HAVE_STRING_H
     616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
     617#  include <memory.h>
     618# endif
     619# include <string.h>
     620#endif
     621#ifdef HAVE_STRINGS_H
     622# include <strings.h>
     623#endif
     624#ifdef HAVE_INTTYPES_H
     625# include <inttypes.h>
     626#endif
     627#ifdef HAVE_STDINT_H
     628# include <stdint.h>
     629#endif
     630#ifdef HAVE_UNISTD_H
     631# include <unistd.h>
     632#endif"
     633
    587634ac_subst_vars='am__EXEEXT_FALSE
    588635am__EXEEXT_TRUE
    589636LTLIBOBJS
    590637LIBOBJS
    591 RANLIB
    592638am__fastdepCCAS_FALSE
    593639am__fastdepCCAS_TRUE
     
    595641CCASFLAGS
    596642CCAS
     643CXXCPP
     644am__fastdepCXX_FALSE
     645am__fastdepCXX_TRUE
     646CXXDEPMODE
     647ac_ct_CXX
     648CXXFLAGS
     649CXX
     650CPP
     651LT_SYS_LIBRARY_PATH
     652OTOOL64
     653OTOOL
     654LIPO
     655NMEDIT
     656DSYMUTIL
     657MANIFEST_TOOL
     658RANLIB
     659ac_ct_AR
     660AR
     661DLLTOOL
     662OBJDUMP
     663LN_S
     664NM
     665ac_ct_DUMPBIN
     666DUMPBIN
     667LD
     668FGREP
     669EGREP
     670GREP
     671SED
    597672am__fastdepCC_FALSE
    598673am__fastdepCC_TRUE
    599674CCDEPMODE
    600 ac_ct_CC
    601 CFLAGS
    602 CC
    603 am__fastdepCXX_FALSE
    604 am__fastdepCXX_TRUE
    605 CXXDEPMODE
    606675am__nodep
    607676AMDEPBACKSLASH
     
    613682OBJEXT
    614683EXEEXT
    615 ac_ct_CXX
     684ac_ct_CC
    616685CPPFLAGS
    617686LDFLAGS
    618 CXXFLAGS
    619 CXX
     687CFLAGS
     688CC
     689host_os
     690host_vendor
     691host_cpu
     692host
     693build_os
     694build_vendor
     695build_cpu
     696build
     697LIBTOOL
    620698CFA_LIBDIR
    621699CFA_BINDIR
     
    705783enable_silent_rules
    706784with_cfa_name
     785enable_shared
     786enable_static
     787with_pic
     788enable_fast_install
     789with_aix_soname
    707790enable_dependency_tracking
     791with_gnu_ld
     792with_sysroot
     793enable_libtool_lock
    708794'
    709795      ac_precious_vars='build_alias
     
    713799CONFIGURATION
    714800DRIVER_DIR
    715 CXX
    716 CXXFLAGS
     801CC
     802CFLAGS
    717803LDFLAGS
    718804LIBS
    719805CPPFLAGS
     806LT_SYS_LIBRARY_PATH
     807CPP
     808CXX
     809CXXFLAGS
    720810CCC
    721 CC
    722 CFLAGS
     811CXXCPP
    723812CCAS
    724813CCASFLAGS'
     
    13351424  --program-suffix=SUFFIX            append SUFFIX to installed program names
    13361425  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
     1426
     1427System types:
     1428  --build=BUILD     configure for building on BUILD [guessed]
     1429  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    13371430_ACEOF
    13381431fi
     
    13501443  --enable-silent-rules   less verbose build output (undo: "make V=1")
    13511444  --disable-silent-rules  verbose build output (undo: "make V=0")
     1445  --enable-shared[=PKGS]  build shared libraries [default=yes]
     1446  --enable-static[=PKGS]  build static libraries [default=yes]
     1447  --enable-fast-install[=PKGS]
     1448                          optimize for fast installation [default=yes]
    13521449  --enable-dependency-tracking
    13531450                          do not reject slow dependency extractors
    13541451  --disable-dependency-tracking
    13551452                          speeds up one-time build
     1453  --disable-libtool-lock  avoid locking (might break parallel builds)
    13561454
    13571455Optional Packages:
     
    13591457  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    13601458  --with-cfa-name=NAME     NAME too which cfa will be installed
     1459  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
     1460                          both]
     1461  --with-aix-soname=aix|svr4|both
     1462                          shared library versioning (aka "SONAME") variant to
     1463                          provide on AIX, [default=aix].
     1464  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
     1465  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
     1466                          compiler's sysroot if not specified).
    13611467
    13621468Some influential environment variables:
     
    13671473              deubg, nodebug, nolib (prelude-only)
    13681474  DRIVER_DIR  The path to the cforall driver directory
    1369   CXX         C++ compiler command
    1370   CXXFLAGS    C++ compiler flags
     1475  CC          C compiler command
     1476  CFLAGS      C compiler flags
    13711477  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    13721478              nonstandard directory <lib dir>
     
    13741480  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    13751481              you have headers in a nonstandard directory <include dir>
    1376   CC          C compiler command
    1377   CFLAGS      C compiler flags
     1482  LT_SYS_LIBRARY_PATH
     1483              User-defined run-time library search path.
     1484  CPP         C preprocessor
     1485  CXX         C++ compiler command
     1486  CXXFLAGS    C++ compiler flags
     1487  CXXCPP      C++ preprocessor
    13781488  CCAS        assembler compiler command (defaults to CC)
    13791489  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
     
    14581568## Autoconf initialization. ##
    14591569## ------------------------ ##
     1570
     1571# ac_fn_c_try_compile LINENO
     1572# --------------------------
     1573# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1574ac_fn_c_try_compile ()
     1575{
     1576  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1577  rm -f conftest.$ac_objext
     1578  if { { ac_try="$ac_compile"
     1579case "(($ac_try" in
     1580  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1581  *) ac_try_echo=$ac_try;;
     1582esac
     1583eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1584$as_echo "$ac_try_echo"; } >&5
     1585  (eval "$ac_compile") 2>conftest.err
     1586  ac_status=$?
     1587  if test -s conftest.err; then
     1588    grep -v '^ *+' conftest.err >conftest.er1
     1589    cat conftest.er1 >&5
     1590    mv -f conftest.er1 conftest.err
     1591  fi
     1592  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1593  test $ac_status = 0; } && {
     1594         test -z "$ac_c_werror_flag" ||
     1595         test ! -s conftest.err
     1596       } && test -s conftest.$ac_objext; then :
     1597  ac_retval=0
     1598else
     1599  $as_echo "$as_me: failed program was:" >&5
     1600sed 's/^/| /' conftest.$ac_ext >&5
     1601
     1602        ac_retval=1
     1603fi
     1604  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1605  as_fn_set_status $ac_retval
     1606
     1607} # ac_fn_c_try_compile
     1608
     1609# ac_fn_c_try_link LINENO
     1610# -----------------------
     1611# Try to link conftest.$ac_ext, and return whether this succeeded.
     1612ac_fn_c_try_link ()
     1613{
     1614  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1615  rm -f conftest.$ac_objext conftest$ac_exeext
     1616  if { { ac_try="$ac_link"
     1617case "(($ac_try" in
     1618  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1619  *) ac_try_echo=$ac_try;;
     1620esac
     1621eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1622$as_echo "$ac_try_echo"; } >&5
     1623  (eval "$ac_link") 2>conftest.err
     1624  ac_status=$?
     1625  if test -s conftest.err; then
     1626    grep -v '^ *+' conftest.err >conftest.er1
     1627    cat conftest.er1 >&5
     1628    mv -f conftest.er1 conftest.err
     1629  fi
     1630  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1631  test $ac_status = 0; } && {
     1632         test -z "$ac_c_werror_flag" ||
     1633         test ! -s conftest.err
     1634       } && test -s conftest$ac_exeext && {
     1635         test "$cross_compiling" = yes ||
     1636         test -x conftest$ac_exeext
     1637       }; then :
     1638  ac_retval=0
     1639else
     1640  $as_echo "$as_me: failed program was:" >&5
     1641sed 's/^/| /' conftest.$ac_ext >&5
     1642
     1643        ac_retval=1
     1644fi
     1645  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1646  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1647  # interfere with the next link command; also delete a directory that is
     1648  # left behind by Apple's compiler.  We do this before executing the actions.
     1649  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1650  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1651  as_fn_set_status $ac_retval
     1652
     1653} # ac_fn_c_try_link
     1654
     1655# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1656# -------------------------------------------------------
     1657# Tests whether HEADER exists and can be compiled using the include files in
     1658# INCLUDES, setting the cache variable VAR accordingly.
     1659ac_fn_c_check_header_compile ()
     1660{
     1661  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1662  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1663$as_echo_n "checking for $2... " >&6; }
     1664if eval \${$3+:} false; then :
     1665  $as_echo_n "(cached) " >&6
     1666else
     1667  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1668/* end confdefs.h.  */
     1669$4
     1670#include <$2>
     1671_ACEOF
     1672if ac_fn_c_try_compile "$LINENO"; then :
     1673  eval "$3=yes"
     1674else
     1675  eval "$3=no"
     1676fi
     1677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1678fi
     1679eval ac_res=\$$3
     1680               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1681$as_echo "$ac_res" >&6; }
     1682  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1683
     1684} # ac_fn_c_check_header_compile
     1685
     1686# ac_fn_c_try_cpp LINENO
     1687# ----------------------
     1688# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1689ac_fn_c_try_cpp ()
     1690{
     1691  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1692  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1693case "(($ac_try" in
     1694  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1695  *) ac_try_echo=$ac_try;;
     1696esac
     1697eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1698$as_echo "$ac_try_echo"; } >&5
     1699  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1700  ac_status=$?
     1701  if test -s conftest.err; then
     1702    grep -v '^ *+' conftest.err >conftest.er1
     1703    cat conftest.er1 >&5
     1704    mv -f conftest.er1 conftest.err
     1705  fi
     1706  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1707  test $ac_status = 0; } > conftest.i && {
     1708         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1709         test ! -s conftest.err
     1710       }; then :
     1711  ac_retval=0
     1712else
     1713  $as_echo "$as_me: failed program was:" >&5
     1714sed 's/^/| /' conftest.$ac_ext >&5
     1715
     1716    ac_retval=1
     1717fi
     1718  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1719  as_fn_set_status $ac_retval
     1720
     1721} # ac_fn_c_try_cpp
     1722
     1723# ac_fn_c_try_run LINENO
     1724# ----------------------
     1725# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1726# that executables *can* be run.
     1727ac_fn_c_try_run ()
     1728{
     1729  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1730  if { { ac_try="$ac_link"
     1731case "(($ac_try" in
     1732  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1733  *) ac_try_echo=$ac_try;;
     1734esac
     1735eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1736$as_echo "$ac_try_echo"; } >&5
     1737  (eval "$ac_link") 2>&5
     1738  ac_status=$?
     1739  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1740  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1741  { { case "(($ac_try" in
     1742  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1743  *) ac_try_echo=$ac_try;;
     1744esac
     1745eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1746$as_echo "$ac_try_echo"; } >&5
     1747  (eval "$ac_try") 2>&5
     1748  ac_status=$?
     1749  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1750  test $ac_status = 0; }; }; then :
     1751  ac_retval=0
     1752else
     1753  $as_echo "$as_me: program exited with status $ac_status" >&5
     1754       $as_echo "$as_me: failed program was:" >&5
     1755sed 's/^/| /' conftest.$ac_ext >&5
     1756
     1757       ac_retval=$ac_status
     1758fi
     1759  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1760  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1761  as_fn_set_status $ac_retval
     1762
     1763} # ac_fn_c_try_run
     1764
     1765# ac_fn_c_check_func LINENO FUNC VAR
     1766# ----------------------------------
     1767# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1768ac_fn_c_check_func ()
     1769{
     1770  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1771  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1772$as_echo_n "checking for $2... " >&6; }
     1773if eval \${$3+:} false; then :
     1774  $as_echo_n "(cached) " >&6
     1775else
     1776  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1777/* end confdefs.h.  */
     1778/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1779   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1780#define $2 innocuous_$2
     1781
     1782/* System header to define __stub macros and hopefully few prototypes,
     1783    which can conflict with char $2 (); below.
     1784    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1785    <limits.h> exists even on freestanding compilers.  */
     1786
     1787#ifdef __STDC__
     1788# include <limits.h>
     1789#else
     1790# include <assert.h>
     1791#endif
     1792
     1793#undef $2
     1794
     1795/* Override any GCC internal prototype to avoid an error.
     1796   Use char because int might match the return type of a GCC
     1797   builtin and then its argument prototype would still apply.  */
     1798#ifdef __cplusplus
     1799extern "C"
     1800#endif
     1801char $2 ();
     1802/* The GNU C library defines this for functions which it implements
     1803    to always fail with ENOSYS.  Some functions are actually named
     1804    something starting with __ and the normal name is an alias.  */
     1805#if defined __stub_$2 || defined __stub___$2
     1806choke me
     1807#endif
     1808
     1809int
     1810main ()
     1811{
     1812return $2 ();
     1813  ;
     1814  return 0;
     1815}
     1816_ACEOF
     1817if ac_fn_c_try_link "$LINENO"; then :
     1818  eval "$3=yes"
     1819else
     1820  eval "$3=no"
     1821fi
     1822rm -f core conftest.err conftest.$ac_objext \
     1823    conftest$ac_exeext conftest.$ac_ext
     1824fi
     1825eval ac_res=\$$3
     1826               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1827$as_echo "$ac_res" >&6; }
     1828  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1829
     1830} # ac_fn_c_check_func
    14601831
    14611832# ac_fn_cxx_try_compile LINENO
     
    14971868} # ac_fn_cxx_try_compile
    14981869
    1499 # ac_fn_c_try_compile LINENO
    1500 # --------------------------
    1501 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1502 ac_fn_c_try_compile ()
     1870# ac_fn_cxx_try_cpp LINENO
     1871# ------------------------
     1872# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1873ac_fn_cxx_try_cpp ()
    15031874{
    15041875  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1505   rm -f conftest.$ac_objext
    1506   if { { ac_try="$ac_compile"
     1876  if { { ac_try="$ac_cpp conftest.$ac_ext"
    15071877case "(($ac_try" in
    15081878  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     
    15111881eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    15121882$as_echo "$ac_try_echo"; } >&5
    1513   (eval "$ac_compile") 2>conftest.err
     1883  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1884  ac_status=$?
     1885  if test -s conftest.err; then
     1886    grep -v '^ *+' conftest.err >conftest.er1
     1887    cat conftest.er1 >&5
     1888    mv -f conftest.er1 conftest.err
     1889  fi
     1890  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1891  test $ac_status = 0; } > conftest.i && {
     1892         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1893         test ! -s conftest.err
     1894       }; then :
     1895  ac_retval=0
     1896else
     1897  $as_echo "$as_me: failed program was:" >&5
     1898sed 's/^/| /' conftest.$ac_ext >&5
     1899
     1900    ac_retval=1
     1901fi
     1902  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1903  as_fn_set_status $ac_retval
     1904
     1905} # ac_fn_cxx_try_cpp
     1906
     1907# ac_fn_cxx_try_link LINENO
     1908# -------------------------
     1909# Try to link conftest.$ac_ext, and return whether this succeeded.
     1910ac_fn_cxx_try_link ()
     1911{
     1912  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1913  rm -f conftest.$ac_objext conftest$ac_exeext
     1914  if { { ac_try="$ac_link"
     1915case "(($ac_try" in
     1916  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1917  *) ac_try_echo=$ac_try;;
     1918esac
     1919eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1920$as_echo "$ac_try_echo"; } >&5
     1921  (eval "$ac_link") 2>conftest.err
    15141922  ac_status=$?
    15151923  if test -s conftest.err; then
     
    15201928  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    15211929  test $ac_status = 0; } && {
    1522          test -z "$ac_c_werror_flag" ||
     1930         test -z "$ac_cxx_werror_flag" ||
    15231931         test ! -s conftest.err
    1524        } && test -s conftest.$ac_objext; then :
     1932       } && test -s conftest$ac_exeext && {
     1933         test "$cross_compiling" = yes ||
     1934         test -x conftest$ac_exeext
     1935       }; then :
    15251936  ac_retval=0
    15261937else
     
    15301941        ac_retval=1
    15311942fi
     1943  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1944  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1945  # interfere with the next link command; also delete a directory that is
     1946  # left behind by Apple's compiler.  We do this before executing the actions.
     1947  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    15321948  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    15331949  as_fn_set_status $ac_retval
    15341950
    1535 } # ac_fn_c_try_compile
     1951} # ac_fn_cxx_try_link
    15361952cat >config.log <<_ACEOF
    15371953This file contains any messages produced by compilers while
     
    18872303
    18882304ac_aux_dir=
    1889 for ac_dir in ./automake "$srcdir"/./automake; do
     2305for ac_dir in automake "$srcdir"/automake; do
    18902306  if test -f "$ac_dir/install-sh"; then
    18912307    ac_aux_dir=$ac_dir
     
    19032319done
    19042320if test -z "$ac_aux_dir"; then
    1905   as_fn_error $? "cannot find install-sh, install.sh, or shtool in ./automake \"$srcdir\"/./automake" "$LINENO" 5
     2321  as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5
    19062322fi
    19072323
     
    19132329ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    19142330ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     2331
    19152332
    19162333
     
    26483065
    26493066# Checks for programs.
    2650 ac_ext=cpp
    2651 ac_cpp='$CXXCPP $CPPFLAGS'
    2652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2655 if test -z "$CXX"; then
    2656   if test -n "$CCC"; then
    2657     CXX=$CCC
    2658   else
    2659     if test -n "$ac_tool_prefix"; then
    2660   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    2661   do
    2662     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    2663 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     3067case `pwd` in
     3068  *\ * | *\     *)
     3069    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
     3070$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
     3071esac
     3072
     3073
     3074
     3075macro_version='2.4.6'
     3076macro_revision='2.4.6'
     3077
     3078
     3079
     3080
     3081
     3082
     3083
     3084
     3085
     3086
     3087
     3088
     3089
     3090ltmain=$ac_aux_dir/ltmain.sh
     3091
     3092# Make sure we can run config.sub.
     3093$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     3094  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     3095
     3096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
     3097$as_echo_n "checking build system type... " >&6; }
     3098if ${ac_cv_build+:} false; then :
     3099  $as_echo_n "(cached) " >&6
     3100else
     3101  ac_build_alias=$build_alias
     3102test "x$ac_build_alias" = x &&
     3103  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     3104test "x$ac_build_alias" = x &&
     3105  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
     3106ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     3107  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     3108
     3109fi
     3110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
     3111$as_echo "$ac_cv_build" >&6; }
     3112case $ac_cv_build in
     3113*-*-*) ;;
     3114*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
     3115esac
     3116build=$ac_cv_build
     3117ac_save_IFS=$IFS; IFS='-'
     3118set x $ac_cv_build
     3119shift
     3120build_cpu=$1
     3121build_vendor=$2
     3122shift; shift
     3123# Remember, the first character of IFS is used to create $*,
     3124# except with old shells:
     3125build_os=$*
     3126IFS=$ac_save_IFS
     3127case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     3128
     3129
     3130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     3131$as_echo_n "checking host system type... " >&6; }
     3132if ${ac_cv_host+:} false; then :
     3133  $as_echo_n "(cached) " >&6
     3134else
     3135  if test "x$host_alias" = x; then
     3136  ac_cv_host=$ac_cv_build
     3137else
     3138  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     3139    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     3140fi
     3141
     3142fi
     3143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     3144$as_echo "$ac_cv_host" >&6; }
     3145case $ac_cv_host in
     3146*-*-*) ;;
     3147*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
     3148esac
     3149host=$ac_cv_host
     3150ac_save_IFS=$IFS; IFS='-'
     3151set x $ac_cv_host
     3152shift
     3153host_cpu=$1
     3154host_vendor=$2
     3155shift; shift
     3156# Remember, the first character of IFS is used to create $*,
     3157# except with old shells:
     3158host_os=$*
     3159IFS=$ac_save_IFS
     3160case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     3161
     3162
     3163# Backslashify metacharacters that are still active within
     3164# double-quoted strings.
     3165sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
     3166
     3167# Same as above, but do not quote variable references.
     3168double_quote_subst='s/\(["`\\]\)/\\\1/g'
     3169
     3170# Sed substitution to delay expansion of an escaped shell variable in a
     3171# double_quote_subst'ed string.
     3172delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     3173
     3174# Sed substitution to delay expansion of an escaped single quote.
     3175delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
     3176
     3177# Sed substitution to avoid accidental globbing in evaled expressions
     3178no_glob_subst='s/\*/\\\*/g'
     3179
     3180ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     3181ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
     3182ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
     3183
     3184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
     3185$as_echo_n "checking how to print strings... " >&6; }
     3186# Test print first, because it will be a builtin if present.
     3187if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
     3188   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
     3189  ECHO='print -r --'
     3190elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
     3191  ECHO='printf %s\n'
     3192else
     3193  # Use this function as a fallback that always works.
     3194  func_fallback_echo ()
     3195  {
     3196    eval 'cat <<_LTECHO_EOF
     3197$1
     3198_LTECHO_EOF'
     3199  }
     3200  ECHO='func_fallback_echo'
     3201fi
     3202
     3203# func_echo_all arg...
     3204# Invoke $ECHO with all args, space-separated.
     3205func_echo_all ()
     3206{
     3207    $ECHO ""
     3208}
     3209
     3210case $ECHO in
     3211  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
     3212$as_echo "printf" >&6; } ;;
     3213  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
     3214$as_echo "print -r" >&6; } ;;
     3215  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
     3216$as_echo "cat" >&6; } ;;
     3217esac
     3218
     3219
     3220
     3221
     3222
     3223
     3224
     3225
     3226
     3227
     3228
     3229
     3230
     3231
     3232DEPDIR="${am__leading_dot}deps"
     3233
     3234ac_config_commands="$ac_config_commands depfiles"
     3235
     3236
     3237am_make=${MAKE-make}
     3238cat > confinc << 'END'
     3239am__doit:
     3240        @echo this is the am__doit target
     3241.PHONY: am__doit
     3242END
     3243# If we don't find an include directive, just comment out the code.
     3244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
     3245$as_echo_n "checking for style of include used by $am_make... " >&6; }
     3246am__include="#"
     3247am__quote=
     3248_am_result=none
     3249# First try GNU make style include.
     3250echo "include confinc" > confmf
     3251# Ignore all kinds of additional output from 'make'.
     3252case `$am_make -s -f confmf 2> /dev/null` in #(
     3253*the\ am__doit\ target*)
     3254  am__include=include
     3255  am__quote=
     3256  _am_result=GNU
     3257  ;;
     3258esac
     3259# Now try BSD make style include.
     3260if test "$am__include" = "#"; then
     3261   echo '.include "confinc"' > confmf
     3262   case `$am_make -s -f confmf 2> /dev/null` in #(
     3263   *the\ am__doit\ target*)
     3264     am__include=.include
     3265     am__quote="\""
     3266     _am_result=BSD
     3267     ;;
     3268   esac
     3269fi
     3270
     3271
     3272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
     3273$as_echo "$_am_result" >&6; }
     3274rm -f confinc confmf
     3275
     3276# Check whether --enable-dependency-tracking was given.
     3277if test "${enable_dependency_tracking+set}" = set; then :
     3278  enableval=$enable_dependency_tracking;
     3279fi
     3280
     3281if test "x$enable_dependency_tracking" != xno; then
     3282  am_depcomp="$ac_aux_dir/depcomp"
     3283  AMDEPBACKSLASH='\'
     3284  am__nodep='_no'
     3285fi
     3286 if test "x$enable_dependency_tracking" != xno; then
     3287  AMDEP_TRUE=
     3288  AMDEP_FALSE='#'
     3289else
     3290  AMDEP_TRUE='#'
     3291  AMDEP_FALSE=
     3292fi
     3293
     3294
     3295ac_ext=c
     3296ac_cpp='$CPP $CPPFLAGS'
     3297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3299ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3300if test -n "$ac_tool_prefix"; then
     3301  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     3302set dummy ${ac_tool_prefix}gcc; ac_word=$2
    26643303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26653304$as_echo_n "checking for $ac_word... " >&6; }
    2666 if ${ac_cv_prog_CXX+:} false; then :
     3305if ${ac_cv_prog_CC+:} false; then :
    26673306  $as_echo_n "(cached) " >&6
    26683307else
    2669   if test -n "$CXX"; then
    2670   ac_cv_prog_CXX="$CXX" # Let the user override the test.
     3308  if test -n "$CC"; then
     3309  ac_cv_prog_CC="$CC" # Let the user override the test.
    26713310else
    26723311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    26773316    for ac_exec_ext in '' $ac_executable_extensions; do
    26783317  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2679     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     3318    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    26803319    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26813320    break 2
     
    26873326fi
    26883327fi
    2689 CXX=$ac_cv_prog_CXX
    2690 if test -n "$CXX"; then
    2691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    2692 $as_echo "$CXX" >&6; }
     3328CC=$ac_cv_prog_CC
     3329if test -n "$CC"; then
     3330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3331$as_echo "$CC" >&6; }
    26933332else
    26943333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     
    26973336
    26983337
    2699     test -n "$CXX" && break
    2700   done
    2701 fi
    2702 if test -z "$CXX"; then
    2703   ac_ct_CXX=$CXX
    2704   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    2705 do
    2706   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2707 set dummy $ac_prog; ac_word=$2
     3338fi
     3339if test -z "$ac_cv_prog_CC"; then
     3340  ac_ct_CC=$CC
     3341  # Extract the first word of "gcc", so it can be a program name with args.
     3342set dummy gcc; ac_word=$2
    27083343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    27093344$as_echo_n "checking for $ac_word... " >&6; }
    2710 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     3345if ${ac_cv_prog_ac_ct_CC+:} false; then :
    27113346  $as_echo_n "(cached) " >&6
    27123347else
    2713   if test -n "$ac_ct_CXX"; then
    2714   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     3348  if test -n "$ac_ct_CC"; then
     3349  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    27153350else
    27163351as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    27213356    for ac_exec_ext in '' $ac_executable_extensions; do
    27223357  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2723     ac_cv_prog_ac_ct_CXX="$ac_prog"
     3358    ac_cv_prog_ac_ct_CC="gcc"
    27243359    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    27253360    break 2
     
    27313366fi
    27323367fi
    2733 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    2734 if test -n "$ac_ct_CXX"; then
    2735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    2736 $as_echo "$ac_ct_CXX" >&6; }
     3368ac_ct_CC=$ac_cv_prog_ac_ct_CC
     3369if test -n "$ac_ct_CC"; then
     3370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     3371$as_echo "$ac_ct_CC" >&6; }
    27373372else
    27383373  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     
    27403375fi
    27413376
    2742 
    2743   test -n "$ac_ct_CXX" && break
    2744 done
    2745 
    2746   if test "x$ac_ct_CXX" = x; then
    2747     CXX="g++"
     3377  if test "x$ac_ct_CC" = x; then
     3378    CC=""
    27483379  else
    27493380    case $cross_compiling:$ac_tool_warned in
     
    27533384ac_tool_warned=yes ;;
    27543385esac
    2755     CXX=$ac_ct_CXX
     3386    CC=$ac_ct_CC
    27563387  fi
    2757 fi
    2758 
     3388else
     3389  CC="$ac_cv_prog_CC"
     3390fi
     3391
     3392if test -z "$CC"; then
     3393          if test -n "$ac_tool_prefix"; then
     3394    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     3395set dummy ${ac_tool_prefix}cc; ac_word=$2
     3396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3397$as_echo_n "checking for $ac_word... " >&6; }
     3398if ${ac_cv_prog_CC+:} false; then :
     3399  $as_echo_n "(cached) " >&6
     3400else
     3401  if test -n "$CC"; then
     3402  ac_cv_prog_CC="$CC" # Let the user override the test.
     3403else
     3404as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3405for as_dir in $PATH
     3406do
     3407  IFS=$as_save_IFS
     3408  test -z "$as_dir" && as_dir=.
     3409    for ac_exec_ext in '' $ac_executable_extensions; do
     3410  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3411    ac_cv_prog_CC="${ac_tool_prefix}cc"
     3412    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3413    break 2
    27593414  fi
    2760 fi
     3415done
     3416  done
     3417IFS=$as_save_IFS
     3418
     3419fi
     3420fi
     3421CC=$ac_cv_prog_CC
     3422if test -n "$CC"; then
     3423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3424$as_echo "$CC" >&6; }
     3425else
     3426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3427$as_echo "no" >&6; }
     3428fi
     3429
     3430
     3431  fi
     3432fi
     3433if test -z "$CC"; then
     3434  # Extract the first word of "cc", so it can be a program name with args.
     3435set dummy cc; ac_word=$2
     3436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3437$as_echo_n "checking for $ac_word... " >&6; }
     3438if ${ac_cv_prog_CC+:} false; then :
     3439  $as_echo_n "(cached) " >&6
     3440else
     3441  if test -n "$CC"; then
     3442  ac_cv_prog_CC="$CC" # Let the user override the test.
     3443else
     3444  ac_prog_rejected=no
     3445as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3446for as_dir in $PATH
     3447do
     3448  IFS=$as_save_IFS
     3449  test -z "$as_dir" && as_dir=.
     3450    for ac_exec_ext in '' $ac_executable_extensions; do
     3451  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3452    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     3453       ac_prog_rejected=yes
     3454       continue
     3455     fi
     3456    ac_cv_prog_CC="cc"
     3457    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3458    break 2
     3459  fi
     3460done
     3461  done
     3462IFS=$as_save_IFS
     3463
     3464if test $ac_prog_rejected = yes; then
     3465  # We found a bogon in the path, so make sure we never use it.
     3466  set dummy $ac_cv_prog_CC
     3467  shift
     3468  if test $# != 0; then
     3469    # We chose a different compiler from the bogus one.
     3470    # However, it has the same basename, so the bogon will be chosen
     3471    # first if we set CC to just the basename; use the full file name.
     3472    shift
     3473    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     3474  fi
     3475fi
     3476fi
     3477fi
     3478CC=$ac_cv_prog_CC
     3479if test -n "$CC"; then
     3480  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3481$as_echo "$CC" >&6; }
     3482else
     3483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3484$as_echo "no" >&6; }
     3485fi
     3486
     3487
     3488fi
     3489if test -z "$CC"; then
     3490  if test -n "$ac_tool_prefix"; then
     3491  for ac_prog in cl.exe
     3492  do
     3493    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     3494set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     3495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3496$as_echo_n "checking for $ac_word... " >&6; }
     3497if ${ac_cv_prog_CC+:} false; then :
     3498  $as_echo_n "(cached) " >&6
     3499else
     3500  if test -n "$CC"; then
     3501  ac_cv_prog_CC="$CC" # Let the user override the test.
     3502else
     3503as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3504for as_dir in $PATH
     3505do
     3506  IFS=$as_save_IFS
     3507  test -z "$as_dir" && as_dir=.
     3508    for ac_exec_ext in '' $ac_executable_extensions; do
     3509  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3510    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     3511    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3512    break 2
     3513  fi
     3514done
     3515  done
     3516IFS=$as_save_IFS
     3517
     3518fi
     3519fi
     3520CC=$ac_cv_prog_CC
     3521if test -n "$CC"; then
     3522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3523$as_echo "$CC" >&6; }
     3524else
     3525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3526$as_echo "no" >&6; }
     3527fi
     3528
     3529
     3530    test -n "$CC" && break
     3531  done
     3532fi
     3533if test -z "$CC"; then
     3534  ac_ct_CC=$CC
     3535  for ac_prog in cl.exe
     3536do
     3537  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3538set dummy $ac_prog; ac_word=$2
     3539{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3540$as_echo_n "checking for $ac_word... " >&6; }
     3541if ${ac_cv_prog_ac_ct_CC+:} false; then :
     3542  $as_echo_n "(cached) " >&6
     3543else
     3544  if test -n "$ac_ct_CC"; then
     3545  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     3546else
     3547as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3548for as_dir in $PATH
     3549do
     3550  IFS=$as_save_IFS
     3551  test -z "$as_dir" && as_dir=.
     3552    for ac_exec_ext in '' $ac_executable_extensions; do
     3553  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3554    ac_cv_prog_ac_ct_CC="$ac_prog"
     3555    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3556    break 2
     3557  fi
     3558done
     3559  done
     3560IFS=$as_save_IFS
     3561
     3562fi
     3563fi
     3564ac_ct_CC=$ac_cv_prog_ac_ct_CC
     3565if test -n "$ac_ct_CC"; then
     3566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     3567$as_echo "$ac_ct_CC" >&6; }
     3568else
     3569  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3570$as_echo "no" >&6; }
     3571fi
     3572
     3573
     3574  test -n "$ac_ct_CC" && break
     3575done
     3576
     3577  if test "x$ac_ct_CC" = x; then
     3578    CC=""
     3579  else
     3580    case $cross_compiling:$ac_tool_warned in
     3581yes:)
     3582{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3583$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3584ac_tool_warned=yes ;;
     3585esac
     3586    CC=$ac_ct_CC
     3587  fi
     3588fi
     3589
     3590fi
     3591
     3592
     3593test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3594$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3595as_fn_error $? "no acceptable C compiler found in \$PATH
     3596See \`config.log' for more details" "$LINENO" 5; }
     3597
    27613598# Provide some information about the compiler.
    2762 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     3599$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    27633600set X $ac_compile
    27643601ac_compiler=$2
     
    28003637# It will help us diagnose broken compilers, and finding out an intuition
    28013638# of exeext.
    2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
    2803 $as_echo_n "checking whether the C++ compiler works... " >&6; }
     3639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3640$as_echo_n "checking whether the C compiler works... " >&6; }
    28043641ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    28053642
     
    28713708{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    28723709$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2873 as_fn_error 77 "C++ compiler cannot create executables
     3710as_fn_error 77 "C compiler cannot create executables
    28743711See \`config.log' for more details" "$LINENO" 5; }
    28753712else
     
    28773714$as_echo "yes" >&6; }
    28783715fi
    2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
    2880 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
     3716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3717$as_echo_n "checking for C compiler default output file name... " >&6; }
    28813718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    28823719$as_echo "$ac_file" >&6; }
     
    29723809        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29733810$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2974 as_fn_error $? "cannot run C++ compiled programs.
     3811as_fn_error $? "cannot run C compiled programs.
    29753812If you meant to cross compile, use \`--host'.
    29763813See \`config.log' for more details" "$LINENO" 5; }
     
    30343871OBJEXT=$ac_cv_objext
    30353872ac_objext=$OBJEXT
     3873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     3874$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     3875if ${ac_cv_c_compiler_gnu+:} false; then :
     3876  $as_echo_n "(cached) " >&6
     3877else
     3878  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3879/* end confdefs.h.  */
     3880
     3881int
     3882main ()
     3883{
     3884#ifndef __GNUC__
     3885       choke me
     3886#endif
     3887
     3888  ;
     3889  return 0;
     3890}
     3891_ACEOF
     3892if ac_fn_c_try_compile "$LINENO"; then :
     3893  ac_compiler_gnu=yes
     3894else
     3895  ac_compiler_gnu=no
     3896fi
     3897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3898ac_cv_c_compiler_gnu=$ac_compiler_gnu
     3899
     3900fi
     3901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     3902$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     3903if test $ac_compiler_gnu = yes; then
     3904  GCC=yes
     3905else
     3906  GCC=
     3907fi
     3908ac_test_CFLAGS=${CFLAGS+set}
     3909ac_save_CFLAGS=$CFLAGS
     3910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     3911$as_echo_n "checking whether $CC accepts -g... " >&6; }
     3912if ${ac_cv_prog_cc_g+:} false; then :
     3913  $as_echo_n "(cached) " >&6
     3914else
     3915  ac_save_c_werror_flag=$ac_c_werror_flag
     3916   ac_c_werror_flag=yes
     3917   ac_cv_prog_cc_g=no
     3918   CFLAGS="-g"
     3919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3920/* end confdefs.h.  */
     3921
     3922int
     3923main ()
     3924{
     3925
     3926  ;
     3927  return 0;
     3928}
     3929_ACEOF
     3930if ac_fn_c_try_compile "$LINENO"; then :
     3931  ac_cv_prog_cc_g=yes
     3932else
     3933  CFLAGS=""
     3934      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3935/* end confdefs.h.  */
     3936
     3937int
     3938main ()
     3939{
     3940
     3941  ;
     3942  return 0;
     3943}
     3944_ACEOF
     3945if ac_fn_c_try_compile "$LINENO"; then :
     3946
     3947else
     3948  ac_c_werror_flag=$ac_save_c_werror_flag
     3949         CFLAGS="-g"
     3950         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3951/* end confdefs.h.  */
     3952
     3953int
     3954main ()
     3955{
     3956
     3957  ;
     3958  return 0;
     3959}
     3960_ACEOF
     3961if ac_fn_c_try_compile "$LINENO"; then :
     3962  ac_cv_prog_cc_g=yes
     3963fi
     3964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3965fi
     3966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3967fi
     3968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3969   ac_c_werror_flag=$ac_save_c_werror_flag
     3970fi
     3971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     3972$as_echo "$ac_cv_prog_cc_g" >&6; }
     3973if test "$ac_test_CFLAGS" = set; then
     3974  CFLAGS=$ac_save_CFLAGS
     3975elif test $ac_cv_prog_cc_g = yes; then
     3976  if test "$GCC" = yes; then
     3977    CFLAGS="-g -O2"
     3978  else
     3979    CFLAGS="-g"
     3980  fi
     3981else
     3982  if test "$GCC" = yes; then
     3983    CFLAGS="-O2"
     3984  else
     3985    CFLAGS=
     3986  fi
     3987fi
     3988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     3989$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     3990if ${ac_cv_prog_cc_c89+:} false; then :
     3991  $as_echo_n "(cached) " >&6
     3992else
     3993  ac_cv_prog_cc_c89=no
     3994ac_save_CC=$CC
     3995cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3996/* end confdefs.h.  */
     3997#include <stdarg.h>
     3998#include <stdio.h>
     3999struct stat;
     4000/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     4001struct buf { int x; };
     4002FILE * (*rcsopen) (struct buf *, struct stat *, int);
     4003static char *e (p, i)
     4004     char **p;
     4005     int i;
     4006{
     4007  return p[i];
     4008}
     4009static char *f (char * (*g) (char **, int), char **p, ...)
     4010{
     4011  char *s;
     4012  va_list v;
     4013  va_start (v,p);
     4014  s = g (p, va_arg (v,int));
     4015  va_end (v);
     4016  return s;
     4017}
     4018
     4019/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     4020   function prototypes and stuff, but not '\xHH' hex character constants.
     4021   These don't provoke an error unfortunately, instead are silently treated
     4022   as 'x'.  The following induces an error, until -std is added to get
     4023   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     4024   array size at least.  It's necessary to write '\x00'==0 to get something
     4025   that's true only with -std.  */
     4026int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     4027
     4028/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     4029   inside strings and character constants.  */
     4030#define FOO(x) 'x'
     4031int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
     4032
     4033int test (int i, double x);
     4034struct s1 {int (*f) (int a);};
     4035struct s2 {int (*f) (double a);};
     4036int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     4037int argc;
     4038char **argv;
     4039int
     4040main ()
     4041{
     4042return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     4043  ;
     4044  return 0;
     4045}
     4046_ACEOF
     4047for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     4048        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     4049do
     4050  CC="$ac_save_CC $ac_arg"
     4051  if ac_fn_c_try_compile "$LINENO"; then :
     4052  ac_cv_prog_cc_c89=$ac_arg
     4053fi
     4054rm -f core conftest.err conftest.$ac_objext
     4055  test "x$ac_cv_prog_cc_c89" != "xno" && break
     4056done
     4057rm -f conftest.$ac_ext
     4058CC=$ac_save_CC
     4059
     4060fi
     4061# AC_CACHE_VAL
     4062case "x$ac_cv_prog_cc_c89" in
     4063  x)
     4064    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     4065$as_echo "none needed" >&6; } ;;
     4066  xno)
     4067    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     4068$as_echo "unsupported" >&6; } ;;
     4069  *)
     4070    CC="$CC $ac_cv_prog_cc_c89"
     4071    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     4072$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     4073esac
     4074if test "x$ac_cv_prog_cc_c89" != xno; then :
     4075
     4076fi
     4077
     4078ac_ext=c
     4079ac_cpp='$CPP $CPPFLAGS'
     4080ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4081ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4082ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4083
     4084ac_ext=c
     4085ac_cpp='$CPP $CPPFLAGS'
     4086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4088ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
     4090$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
     4091if ${am_cv_prog_cc_c_o+:} false; then :
     4092  $as_echo_n "(cached) " >&6
     4093else
     4094  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4095/* end confdefs.h.  */
     4096
     4097int
     4098main ()
     4099{
     4100
     4101  ;
     4102  return 0;
     4103}
     4104_ACEOF
     4105  # Make sure it works both with $CC and with simple cc.
     4106  # Following AC_PROG_CC_C_O, we do the test twice because some
     4107  # compilers refuse to overwrite an existing .o file with -o,
     4108  # though they will create one.
     4109  am_cv_prog_cc_c_o=yes
     4110  for am_i in 1 2; do
     4111    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
     4112   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
     4113   ac_status=$?
     4114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4115   (exit $ac_status); } \
     4116         && test -f conftest2.$ac_objext; then
     4117      : OK
     4118    else
     4119      am_cv_prog_cc_c_o=no
     4120      break
     4121    fi
     4122  done
     4123  rm -f core conftest*
     4124  unset am_i
     4125fi
     4126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
     4127$as_echo "$am_cv_prog_cc_c_o" >&6; }
     4128if test "$am_cv_prog_cc_c_o" != yes; then
     4129   # Losing compiler, so override with the script.
     4130   # FIXME: It is wrong to rewrite CC.
     4131   # But if we don't then we get into trouble of one sort or another.
     4132   # A longer-term fix would be to have automake use am__CC in this case,
     4133   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     4134   CC="$am_aux_dir/compile $CC"
     4135fi
     4136ac_ext=c
     4137ac_cpp='$CPP $CPPFLAGS'
     4138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4140ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4141
     4142
     4143depcc="$CC"   am_compiler_list=
     4144
     4145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     4146$as_echo_n "checking dependency style of $depcc... " >&6; }
     4147if ${am_cv_CC_dependencies_compiler_type+:} false; then :
     4148  $as_echo_n "(cached) " >&6
     4149else
     4150  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     4151  # We make a subdir and do the tests there.  Otherwise we can end up
     4152  # making bogus files that we don't know about and never remove.  For
     4153  # instance it was reported that on HP-UX the gcc test will end up
     4154  # making a dummy file named 'D' -- because '-MD' means "put the output
     4155  # in D".
     4156  rm -rf conftest.dir
     4157  mkdir conftest.dir
     4158  # Copy depcomp to subdir because otherwise we won't find it if we're
     4159  # using a relative directory.
     4160  cp "$am_depcomp" conftest.dir
     4161  cd conftest.dir
     4162  # We will build objects and dependencies in a subdirectory because
     4163  # it helps to detect inapplicable dependency modes.  For instance
     4164  # both Tru64's cc and ICC support -MD to output dependencies as a
     4165  # side effect of compilation, but ICC will put the dependencies in
     4166  # the current directory while Tru64 will put them in the object
     4167  # directory.
     4168  mkdir sub
     4169
     4170  am_cv_CC_dependencies_compiler_type=none
     4171  if test "$am_compiler_list" = ""; then
     4172     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     4173  fi
     4174  am__universal=false
     4175  case " $depcc " in #(
     4176     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     4177     esac
     4178
     4179  for depmode in $am_compiler_list; do
     4180    # Setup a source with many dependencies, because some compilers
     4181    # like to wrap large dependency lists on column 80 (with \), and
     4182    # we should not choose a depcomp mode which is confused by this.
     4183    #
     4184    # We need to recreate these files for each test, as the compiler may
     4185    # overwrite some of them when testing with obscure command lines.
     4186    # This happens at least with the AIX C compiler.
     4187    : > sub/conftest.c
     4188    for i in 1 2 3 4 5 6; do
     4189      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     4190      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     4191      # Solaris 10 /bin/sh.
     4192      echo '/* dummy */' > sub/conftst$i.h
     4193    done
     4194    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     4195
     4196    # We check with '-c' and '-o' for the sake of the "dashmstdout"
     4197    # mode.  It turns out that the SunPro C++ compiler does not properly
     4198    # handle '-M -o', and we need to detect this.  Also, some Intel
     4199    # versions had trouble with output in subdirs.
     4200    am__obj=sub/conftest.${OBJEXT-o}
     4201    am__minus_obj="-o $am__obj"
     4202    case $depmode in
     4203    gcc)
     4204      # This depmode causes a compiler race in universal mode.
     4205      test "$am__universal" = false || continue
     4206      ;;
     4207    nosideeffect)
     4208      # After this tag, mechanisms are not by side-effect, so they'll
     4209      # only be used when explicitly requested.
     4210      if test "x$enable_dependency_tracking" = xyes; then
     4211        continue
     4212      else
     4213        break
     4214      fi
     4215      ;;
     4216    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     4217      # This compiler won't grok '-c -o', but also, the minuso test has
     4218      # not run yet.  These depmodes are late enough in the game, and
     4219      # so weak that their functioning should not be impacted.
     4220      am__obj=conftest.${OBJEXT-o}
     4221      am__minus_obj=
     4222      ;;
     4223    none) break ;;
     4224    esac
     4225    if depmode=$depmode \
     4226       source=sub/conftest.c object=$am__obj \
     4227       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     4228       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     4229         >/dev/null 2>conftest.err &&
     4230       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     4231       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     4232       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     4233       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     4234      # icc doesn't choke on unknown options, it will just issue warnings
     4235      # or remarks (even with -Werror).  So we grep stderr for any message
     4236      # that says an option was ignored or not supported.
     4237      # When given -MP, icc 7.0 and 7.1 complain thusly:
     4238      #   icc: Command line warning: ignoring option '-M'; no argument required
     4239      # The diagnosis changed in icc 8.0:
     4240      #   icc: Command line remark: option '-MP' not supported
     4241      if (grep 'ignoring option' conftest.err ||
     4242          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     4243        am_cv_CC_dependencies_compiler_type=$depmode
     4244        break
     4245      fi
     4246    fi
     4247  done
     4248
     4249  cd ..
     4250  rm -rf conftest.dir
     4251else
     4252  am_cv_CC_dependencies_compiler_type=none
     4253fi
     4254
     4255fi
     4256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
     4257$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
     4258CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     4259
     4260 if
     4261  test "x$enable_dependency_tracking" != xno \
     4262  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     4263  am__fastdepCC_TRUE=
     4264  am__fastdepCC_FALSE='#'
     4265else
     4266  am__fastdepCC_TRUE='#'
     4267  am__fastdepCC_FALSE=
     4268fi
     4269
     4270
     4271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
     4272$as_echo_n "checking for a sed that does not truncate output... " >&6; }
     4273if ${ac_cv_path_SED+:} false; then :
     4274  $as_echo_n "(cached) " >&6
     4275else
     4276            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
     4277     for ac_i in 1 2 3 4 5 6 7; do
     4278       ac_script="$ac_script$as_nl$ac_script"
     4279     done
     4280     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
     4281     { ac_script=; unset ac_script;}
     4282     if test -z "$SED"; then
     4283  ac_path_SED_found=false
     4284  # Loop through the user's path and test for each of PROGNAME-LIST
     4285  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4286for as_dir in $PATH
     4287do
     4288  IFS=$as_save_IFS
     4289  test -z "$as_dir" && as_dir=.
     4290    for ac_prog in sed gsed; do
     4291    for ac_exec_ext in '' $ac_executable_extensions; do
     4292      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
     4293      as_fn_executable_p "$ac_path_SED" || continue
     4294# Check for GNU ac_path_SED and select it if it is found.
     4295  # Check for GNU $ac_path_SED
     4296case `"$ac_path_SED" --version 2>&1` in
     4297*GNU*)
     4298  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
     4299*)
     4300  ac_count=0
     4301  $as_echo_n 0123456789 >"conftest.in"
     4302  while :
     4303  do
     4304    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4305    mv "conftest.tmp" "conftest.in"
     4306    cp "conftest.in" "conftest.nl"
     4307    $as_echo '' >> "conftest.nl"
     4308    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4309    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4310    as_fn_arith $ac_count + 1 && ac_count=$as_val
     4311    if test $ac_count -gt ${ac_path_SED_max-0}; then
     4312      # Best one so far, save it but keep looking for a better one
     4313      ac_cv_path_SED="$ac_path_SED"
     4314      ac_path_SED_max=$ac_count
     4315    fi
     4316    # 10*(2^10) chars as input seems more than enough
     4317    test $ac_count -gt 10 && break
     4318  done
     4319  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4320esac
     4321
     4322      $ac_path_SED_found && break 3
     4323    done
     4324  done
     4325  done
     4326IFS=$as_save_IFS
     4327  if test -z "$ac_cv_path_SED"; then
     4328    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
     4329  fi
     4330else
     4331  ac_cv_path_SED=$SED
     4332fi
     4333
     4334fi
     4335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
     4336$as_echo "$ac_cv_path_SED" >&6; }
     4337 SED="$ac_cv_path_SED"
     4338  rm -f conftest.sed
     4339
     4340test -z "$SED" && SED=sed
     4341Xsed="$SED -e 1s/^X//"
     4342
     4343
     4344
     4345
     4346
     4347
     4348
     4349
     4350
     4351
     4352
     4353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     4354$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     4355if ${ac_cv_path_GREP+:} false; then :
     4356  $as_echo_n "(cached) " >&6
     4357else
     4358  if test -z "$GREP"; then
     4359  ac_path_GREP_found=false
     4360  # Loop through the user's path and test for each of PROGNAME-LIST
     4361  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4362for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4363do
     4364  IFS=$as_save_IFS
     4365  test -z "$as_dir" && as_dir=.
     4366    for ac_prog in grep ggrep; do
     4367    for ac_exec_ext in '' $ac_executable_extensions; do
     4368      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4369      as_fn_executable_p "$ac_path_GREP" || continue
     4370# Check for GNU ac_path_GREP and select it if it is found.
     4371  # Check for GNU $ac_path_GREP
     4372case `"$ac_path_GREP" --version 2>&1` in
     4373*GNU*)
     4374  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     4375*)
     4376  ac_count=0
     4377  $as_echo_n 0123456789 >"conftest.in"
     4378  while :
     4379  do
     4380    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4381    mv "conftest.tmp" "conftest.in"
     4382    cp "conftest.in" "conftest.nl"
     4383    $as_echo 'GREP' >> "conftest.nl"
     4384    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4385    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4386    as_fn_arith $ac_count + 1 && ac_count=$as_val
     4387    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     4388      # Best one so far, save it but keep looking for a better one
     4389      ac_cv_path_GREP="$ac_path_GREP"
     4390      ac_path_GREP_max=$ac_count
     4391    fi
     4392    # 10*(2^10) chars as input seems more than enough
     4393    test $ac_count -gt 10 && break
     4394  done
     4395  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4396esac
     4397
     4398      $ac_path_GREP_found && break 3
     4399    done
     4400  done
     4401  done
     4402IFS=$as_save_IFS
     4403  if test -z "$ac_cv_path_GREP"; then
     4404    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4405  fi
     4406else
     4407  ac_cv_path_GREP=$GREP
     4408fi
     4409
     4410fi
     4411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     4412$as_echo "$ac_cv_path_GREP" >&6; }
     4413 GREP="$ac_cv_path_GREP"
     4414
     4415
     4416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     4417$as_echo_n "checking for egrep... " >&6; }
     4418if ${ac_cv_path_EGREP+:} false; then :
     4419  $as_echo_n "(cached) " >&6
     4420else
     4421  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4422   then ac_cv_path_EGREP="$GREP -E"
     4423   else
     4424     if test -z "$EGREP"; then
     4425  ac_path_EGREP_found=false
     4426  # Loop through the user's path and test for each of PROGNAME-LIST
     4427  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4428for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4429do
     4430  IFS=$as_save_IFS
     4431  test -z "$as_dir" && as_dir=.
     4432    for ac_prog in egrep; do
     4433    for ac_exec_ext in '' $ac_executable_extensions; do
     4434      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4435      as_fn_executable_p "$ac_path_EGREP" || continue
     4436# Check for GNU ac_path_EGREP and select it if it is found.
     4437  # Check for GNU $ac_path_EGREP
     4438case `"$ac_path_EGREP" --version 2>&1` in
     4439*GNU*)
     4440  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4441*)
     4442  ac_count=0
     4443  $as_echo_n 0123456789 >"conftest.in"
     4444  while :
     4445  do
     4446    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4447    mv "conftest.tmp" "conftest.in"
     4448    cp "conftest.in" "conftest.nl"
     4449    $as_echo 'EGREP' >> "conftest.nl"
     4450    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4451    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4452    as_fn_arith $ac_count + 1 && ac_count=$as_val
     4453    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4454      # Best one so far, save it but keep looking for a better one
     4455      ac_cv_path_EGREP="$ac_path_EGREP"
     4456      ac_path_EGREP_max=$ac_count
     4457    fi
     4458    # 10*(2^10) chars as input seems more than enough
     4459    test $ac_count -gt 10 && break
     4460  done
     4461  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4462esac
     4463
     4464      $ac_path_EGREP_found && break 3
     4465    done
     4466  done
     4467  done
     4468IFS=$as_save_IFS
     4469  if test -z "$ac_cv_path_EGREP"; then
     4470    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4471  fi
     4472else
     4473  ac_cv_path_EGREP=$EGREP
     4474fi
     4475
     4476   fi
     4477fi
     4478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     4479$as_echo "$ac_cv_path_EGREP" >&6; }
     4480 EGREP="$ac_cv_path_EGREP"
     4481
     4482
     4483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
     4484$as_echo_n "checking for fgrep... " >&6; }
     4485if ${ac_cv_path_FGREP+:} false; then :
     4486  $as_echo_n "(cached) " >&6
     4487else
     4488  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
     4489   then ac_cv_path_FGREP="$GREP -F"
     4490   else
     4491     if test -z "$FGREP"; then
     4492  ac_path_FGREP_found=false
     4493  # Loop through the user's path and test for each of PROGNAME-LIST
     4494  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4495for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4496do
     4497  IFS=$as_save_IFS
     4498  test -z "$as_dir" && as_dir=.
     4499    for ac_prog in fgrep; do
     4500    for ac_exec_ext in '' $ac_executable_extensions; do
     4501      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
     4502      as_fn_executable_p "$ac_path_FGREP" || continue
     4503# Check for GNU ac_path_FGREP and select it if it is found.
     4504  # Check for GNU $ac_path_FGREP
     4505case `"$ac_path_FGREP" --version 2>&1` in
     4506*GNU*)
     4507  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
     4508*)
     4509  ac_count=0
     4510  $as_echo_n 0123456789 >"conftest.in"
     4511  while :
     4512  do
     4513    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4514    mv "conftest.tmp" "conftest.in"
     4515    cp "conftest.in" "conftest.nl"
     4516    $as_echo 'FGREP' >> "conftest.nl"
     4517    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4518    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4519    as_fn_arith $ac_count + 1 && ac_count=$as_val
     4520    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
     4521      # Best one so far, save it but keep looking for a better one
     4522      ac_cv_path_FGREP="$ac_path_FGREP"
     4523      ac_path_FGREP_max=$ac_count
     4524    fi
     4525    # 10*(2^10) chars as input seems more than enough
     4526    test $ac_count -gt 10 && break
     4527  done
     4528  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4529esac
     4530
     4531      $ac_path_FGREP_found && break 3
     4532    done
     4533  done
     4534  done
     4535IFS=$as_save_IFS
     4536  if test -z "$ac_cv_path_FGREP"; then
     4537    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4538  fi
     4539else
     4540  ac_cv_path_FGREP=$FGREP
     4541fi
     4542
     4543   fi
     4544fi
     4545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
     4546$as_echo "$ac_cv_path_FGREP" >&6; }
     4547 FGREP="$ac_cv_path_FGREP"
     4548
     4549
     4550test -z "$GREP" && GREP=grep
     4551
     4552
     4553
     4554
     4555
     4556
     4557
     4558
     4559
     4560
     4561
     4562
     4563
     4564
     4565
     4566
     4567
     4568
     4569
     4570# Check whether --with-gnu-ld was given.
     4571if test "${with_gnu_ld+set}" = set; then :
     4572  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
     4573else
     4574  with_gnu_ld=no
     4575fi
     4576
     4577ac_prog=ld
     4578if test yes = "$GCC"; then
     4579  # Check if gcc -print-prog-name=ld gives a path.
     4580  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     4581$as_echo_n "checking for ld used by $CC... " >&6; }
     4582  case $host in
     4583  *-*-mingw*)
     4584    # gcc leaves a trailing carriage return, which upsets mingw
     4585    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
     4586  *)
     4587    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
     4588  esac
     4589  case $ac_prog in
     4590    # Accept absolute paths.
     4591    [\\/]* | ?:[\\/]*)
     4592      re_direlt='/[^/][^/]*/\.\./'
     4593      # Canonicalize the pathname of ld
     4594      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
     4595      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
     4596        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
     4597      done
     4598      test -z "$LD" && LD=$ac_prog
     4599      ;;
     4600  "")
     4601    # If it fails, then pretend we aren't using GCC.
     4602    ac_prog=ld
     4603    ;;
     4604  *)
     4605    # If it is relative, then search for the first ld in PATH.
     4606    with_gnu_ld=unknown
     4607    ;;
     4608  esac
     4609elif test yes = "$with_gnu_ld"; then
     4610  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
     4611$as_echo_n "checking for GNU ld... " >&6; }
     4612else
     4613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
     4614$as_echo_n "checking for non-GNU ld... " >&6; }
     4615fi
     4616if ${lt_cv_path_LD+:} false; then :
     4617  $as_echo_n "(cached) " >&6
     4618else
     4619  if test -z "$LD"; then
     4620  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     4621  for ac_dir in $PATH; do
     4622    IFS=$lt_save_ifs
     4623    test -z "$ac_dir" && ac_dir=.
     4624    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
     4625      lt_cv_path_LD=$ac_dir/$ac_prog
     4626      # Check to see if the program is GNU ld.  I'd rather use --version,
     4627      # but apparently some variants of GNU ld only accept -v.
     4628      # Break only if it was the GNU/non-GNU ld that we prefer.
     4629      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
     4630      *GNU* | *'with BFD'*)
     4631        test no != "$with_gnu_ld" && break
     4632        ;;
     4633      *)
     4634        test yes != "$with_gnu_ld" && break
     4635        ;;
     4636      esac
     4637    fi
     4638  done
     4639  IFS=$lt_save_ifs
     4640else
     4641  lt_cv_path_LD=$LD # Let the user override the test with a path.
     4642fi
     4643fi
     4644
     4645LD=$lt_cv_path_LD
     4646if test -n "$LD"; then
     4647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     4648$as_echo "$LD" >&6; }
     4649else
     4650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4651$as_echo "no" >&6; }
     4652fi
     4653test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
     4654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
     4655$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
     4656if ${lt_cv_prog_gnu_ld+:} false; then :
     4657  $as_echo_n "(cached) " >&6
     4658else
     4659  # I'd rather use --version here, but apparently some GNU lds only accept -v.
     4660case `$LD -v 2>&1 </dev/null` in
     4661*GNU* | *'with BFD'*)
     4662  lt_cv_prog_gnu_ld=yes
     4663  ;;
     4664*)
     4665  lt_cv_prog_gnu_ld=no
     4666  ;;
     4667esac
     4668fi
     4669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
     4670$as_echo "$lt_cv_prog_gnu_ld" >&6; }
     4671with_gnu_ld=$lt_cv_prog_gnu_ld
     4672
     4673
     4674
     4675
     4676
     4677
     4678
     4679
     4680
     4681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
     4682$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
     4683if ${lt_cv_path_NM+:} false; then :
     4684  $as_echo_n "(cached) " >&6
     4685else
     4686  if test -n "$NM"; then
     4687  # Let the user override the test.
     4688  lt_cv_path_NM=$NM
     4689else
     4690  lt_nm_to_check=${ac_tool_prefix}nm
     4691  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
     4692    lt_nm_to_check="$lt_nm_to_check nm"
     4693  fi
     4694  for lt_tmp_nm in $lt_nm_to_check; do
     4695    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     4696    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
     4697      IFS=$lt_save_ifs
     4698      test -z "$ac_dir" && ac_dir=.
     4699      tmp_nm=$ac_dir/$lt_tmp_nm
     4700      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
     4701        # Check to see if the nm accepts a BSD-compat flag.
     4702        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
     4703        #   nm: unknown option "B" ignored
     4704        # Tru64's nm complains that /dev/null is an invalid object file
     4705        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
     4706        case $build_os in
     4707        mingw*) lt_bad_file=conftest.nm/nofile ;;
     4708        *) lt_bad_file=/dev/null ;;
     4709        esac
     4710        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
     4711        *$lt_bad_file* | *'Invalid file or object type'*)
     4712          lt_cv_path_NM="$tmp_nm -B"
     4713          break 2
     4714          ;;
     4715        *)
     4716          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
     4717          */dev/null*)
     4718            lt_cv_path_NM="$tmp_nm -p"
     4719            break 2
     4720            ;;
     4721          *)
     4722            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
     4723            continue # so that we can try to find one that supports BSD flags
     4724            ;;
     4725          esac
     4726          ;;
     4727        esac
     4728      fi
     4729    done
     4730    IFS=$lt_save_ifs
     4731  done
     4732  : ${lt_cv_path_NM=no}
     4733fi
     4734fi
     4735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
     4736$as_echo "$lt_cv_path_NM" >&6; }
     4737if test no != "$lt_cv_path_NM"; then
     4738  NM=$lt_cv_path_NM
     4739else
     4740  # Didn't find any BSD compatible name lister, look for dumpbin.
     4741  if test -n "$DUMPBIN"; then :
     4742    # Let the user override the test.
     4743  else
     4744    if test -n "$ac_tool_prefix"; then
     4745  for ac_prog in dumpbin "link -dump"
     4746  do
     4747    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     4748set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     4749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4750$as_echo_n "checking for $ac_word... " >&6; }
     4751if ${ac_cv_prog_DUMPBIN+:} false; then :
     4752  $as_echo_n "(cached) " >&6
     4753else
     4754  if test -n "$DUMPBIN"; then
     4755  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
     4756else
     4757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4758for as_dir in $PATH
     4759do
     4760  IFS=$as_save_IFS
     4761  test -z "$as_dir" && as_dir=.
     4762    for ac_exec_ext in '' $ac_executable_extensions; do
     4763  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4764    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
     4765    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4766    break 2
     4767  fi
     4768done
     4769  done
     4770IFS=$as_save_IFS
     4771
     4772fi
     4773fi
     4774DUMPBIN=$ac_cv_prog_DUMPBIN
     4775if test -n "$DUMPBIN"; then
     4776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
     4777$as_echo "$DUMPBIN" >&6; }
     4778else
     4779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4780$as_echo "no" >&6; }
     4781fi
     4782
     4783
     4784    test -n "$DUMPBIN" && break
     4785  done
     4786fi
     4787if test -z "$DUMPBIN"; then
     4788  ac_ct_DUMPBIN=$DUMPBIN
     4789  for ac_prog in dumpbin "link -dump"
     4790do
     4791  # Extract the first word of "$ac_prog", so it can be a program name with args.
     4792set dummy $ac_prog; ac_word=$2
     4793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4794$as_echo_n "checking for $ac_word... " >&6; }
     4795if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
     4796  $as_echo_n "(cached) " >&6
     4797else
     4798  if test -n "$ac_ct_DUMPBIN"; then
     4799  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
     4800else
     4801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4802for as_dir in $PATH
     4803do
     4804  IFS=$as_save_IFS
     4805  test -z "$as_dir" && as_dir=.
     4806    for ac_exec_ext in '' $ac_executable_extensions; do
     4807  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4808    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
     4809    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4810    break 2
     4811  fi
     4812done
     4813  done
     4814IFS=$as_save_IFS
     4815
     4816fi
     4817fi
     4818ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
     4819if test -n "$ac_ct_DUMPBIN"; then
     4820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
     4821$as_echo "$ac_ct_DUMPBIN" >&6; }
     4822else
     4823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4824$as_echo "no" >&6; }
     4825fi
     4826
     4827
     4828  test -n "$ac_ct_DUMPBIN" && break
     4829done
     4830
     4831  if test "x$ac_ct_DUMPBIN" = x; then
     4832    DUMPBIN=":"
     4833  else
     4834    case $cross_compiling:$ac_tool_warned in
     4835yes:)
     4836{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4837$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4838ac_tool_warned=yes ;;
     4839esac
     4840    DUMPBIN=$ac_ct_DUMPBIN
     4841  fi
     4842fi
     4843
     4844    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
     4845    *COFF*)
     4846      DUMPBIN="$DUMPBIN -symbols -headers"
     4847      ;;
     4848    *)
     4849      DUMPBIN=:
     4850      ;;
     4851    esac
     4852  fi
     4853
     4854  if test : != "$DUMPBIN"; then
     4855    NM=$DUMPBIN
     4856  fi
     4857fi
     4858test -z "$NM" && NM=nm
     4859
     4860
     4861
     4862
     4863
     4864
     4865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
     4866$as_echo_n "checking the name lister ($NM) interface... " >&6; }
     4867if ${lt_cv_nm_interface+:} false; then :
     4868  $as_echo_n "(cached) " >&6
     4869else
     4870  lt_cv_nm_interface="BSD nm"
     4871  echo "int some_variable = 0;" > conftest.$ac_ext
     4872  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
     4873  (eval "$ac_compile" 2>conftest.err)
     4874  cat conftest.err >&5
     4875  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
     4876  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
     4877  cat conftest.err >&5
     4878  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
     4879  cat conftest.out >&5
     4880  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     4881    lt_cv_nm_interface="MS dumpbin"
     4882  fi
     4883  rm -f conftest*
     4884fi
     4885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
     4886$as_echo "$lt_cv_nm_interface" >&6; }
     4887
     4888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     4889$as_echo_n "checking whether ln -s works... " >&6; }
     4890LN_S=$as_ln_s
     4891if test "$LN_S" = "ln -s"; then
     4892  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     4893$as_echo "yes" >&6; }
     4894else
     4895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     4896$as_echo "no, using $LN_S" >&6; }
     4897fi
     4898
     4899# find the maximum length of command line arguments
     4900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
     4901$as_echo_n "checking the maximum length of command line arguments... " >&6; }
     4902if ${lt_cv_sys_max_cmd_len+:} false; then :
     4903  $as_echo_n "(cached) " >&6
     4904else
     4905    i=0
     4906  teststring=ABCD
     4907
     4908  case $build_os in
     4909  msdosdjgpp*)
     4910    # On DJGPP, this test can blow up pretty badly due to problems in libc
     4911    # (any single argument exceeding 2000 bytes causes a buffer overrun
     4912    # during glob expansion).  Even if it were fixed, the result of this
     4913    # check would be larger than it should be.
     4914    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
     4915    ;;
     4916
     4917  gnu*)
     4918    # Under GNU Hurd, this test is not required because there is
     4919    # no limit to the length of command line arguments.
     4920    # Libtool will interpret -1 as no limit whatsoever
     4921    lt_cv_sys_max_cmd_len=-1;
     4922    ;;
     4923
     4924  cygwin* | mingw* | cegcc*)
     4925    # On Win9x/ME, this test blows up -- it succeeds, but takes
     4926    # about 5 minutes as the teststring grows exponentially.
     4927    # Worse, since 9x/ME are not pre-emptively multitasking,
     4928    # you end up with a "frozen" computer, even though with patience
     4929    # the test eventually succeeds (with a max line length of 256k).
     4930    # Instead, let's just punt: use the minimum linelength reported by
     4931    # all of the supported platforms: 8192 (on NT/2K/XP).
     4932    lt_cv_sys_max_cmd_len=8192;
     4933    ;;
     4934
     4935  mint*)
     4936    # On MiNT this can take a long time and run out of memory.
     4937    lt_cv_sys_max_cmd_len=8192;
     4938    ;;
     4939
     4940  amigaos*)
     4941    # On AmigaOS with pdksh, this test takes hours, literally.
     4942    # So we just punt and use a minimum line length of 8192.
     4943    lt_cv_sys_max_cmd_len=8192;
     4944    ;;
     4945
     4946  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
     4947    # This has been around since 386BSD, at least.  Likely further.
     4948    if test -x /sbin/sysctl; then
     4949      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
     4950    elif test -x /usr/sbin/sysctl; then
     4951      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
     4952    else
     4953      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
     4954    fi
     4955    # And add a safety zone
     4956    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     4957    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     4958    ;;
     4959
     4960  interix*)
     4961    # We know the value 262144 and hardcode it with a safety zone (like BSD)
     4962    lt_cv_sys_max_cmd_len=196608
     4963    ;;
     4964
     4965  os2*)
     4966    # The test takes a long time on OS/2.
     4967    lt_cv_sys_max_cmd_len=8192
     4968    ;;
     4969
     4970  osf*)
     4971    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     4972    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
     4973    # nice to cause kernel panics so lets avoid the loop below.
     4974    # First set a reasonable default.
     4975    lt_cv_sys_max_cmd_len=16384
     4976    #
     4977    if test -x /sbin/sysconfig; then
     4978      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
     4979        *1*) lt_cv_sys_max_cmd_len=-1 ;;
     4980      esac
     4981    fi
     4982    ;;
     4983  sco3.2v5*)
     4984    lt_cv_sys_max_cmd_len=102400
     4985    ;;
     4986  sysv5* | sco5v6* | sysv4.2uw2*)
     4987    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
     4988    if test -n "$kargmax"; then
     4989      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
     4990    else
     4991      lt_cv_sys_max_cmd_len=32768
     4992    fi
     4993    ;;
     4994  *)
     4995    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
     4996    if test -n "$lt_cv_sys_max_cmd_len" && \
     4997       test undefined != "$lt_cv_sys_max_cmd_len"; then
     4998      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     4999      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     5000    else
     5001      # Make teststring a little bigger before we do anything with it.
     5002      # a 1K string should be a reasonable start.
     5003      for i in 1 2 3 4 5 6 7 8; do
     5004        teststring=$teststring$teststring
     5005      done
     5006      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
     5007      # If test is not a shell built-in, we'll probably end up computing a
     5008      # maximum length that is only half of the actual maximum length, but
     5009      # we can't tell.
     5010      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
     5011                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
     5012              test 17 != "$i" # 1/2 MB should be enough
     5013      do
     5014        i=`expr $i + 1`
     5015        teststring=$teststring$teststring
     5016      done
     5017      # Only check the string length outside the loop.
     5018      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
     5019      teststring=
     5020      # Add a significant safety factor because C++ compilers can tack on
     5021      # massive amounts of additional arguments before passing them to the
     5022      # linker.  It appears as though 1/2 is a usable value.
     5023      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
     5024    fi
     5025    ;;
     5026  esac
     5027
     5028fi
     5029
     5030if test -n "$lt_cv_sys_max_cmd_len"; then
     5031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
     5032$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
     5033else
     5034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
     5035$as_echo "none" >&6; }
     5036fi
     5037max_cmd_len=$lt_cv_sys_max_cmd_len
     5038
     5039
     5040
     5041
     5042
     5043
     5044: ${CP="cp -f"}
     5045: ${MV="mv -f"}
     5046: ${RM="rm -f"}
     5047
     5048if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     5049  lt_unset=unset
     5050else
     5051  lt_unset=false
     5052fi
     5053
     5054
     5055
     5056
     5057
     5058# test EBCDIC or ASCII
     5059case `echo X|tr X '\101'` in
     5060 A) # ASCII based system
     5061    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
     5062  lt_SP2NL='tr \040 \012'
     5063  lt_NL2SP='tr \015\012 \040\040'
     5064  ;;
     5065 *) # EBCDIC based system
     5066  lt_SP2NL='tr \100 \n'
     5067  lt_NL2SP='tr \r\n \100\100'
     5068  ;;
     5069esac
     5070
     5071
     5072
     5073
     5074
     5075
     5076
     5077
     5078
     5079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
     5080$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
     5081if ${lt_cv_to_host_file_cmd+:} false; then :
     5082  $as_echo_n "(cached) " >&6
     5083else
     5084  case $host in
     5085  *-*-mingw* )
     5086    case $build in
     5087      *-*-mingw* ) # actually msys
     5088        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
     5089        ;;
     5090      *-*-cygwin* )
     5091        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
     5092        ;;
     5093      * ) # otherwise, assume *nix
     5094        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
     5095        ;;
     5096    esac
     5097    ;;
     5098  *-*-cygwin* )
     5099    case $build in
     5100      *-*-mingw* ) # actually msys
     5101        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
     5102        ;;
     5103      *-*-cygwin* )
     5104        lt_cv_to_host_file_cmd=func_convert_file_noop
     5105        ;;
     5106      * ) # otherwise, assume *nix
     5107        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
     5108        ;;
     5109    esac
     5110    ;;
     5111  * ) # unhandled hosts (and "normal" native builds)
     5112    lt_cv_to_host_file_cmd=func_convert_file_noop
     5113    ;;
     5114esac
     5115
     5116fi
     5117
     5118to_host_file_cmd=$lt_cv_to_host_file_cmd
     5119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
     5120$as_echo "$lt_cv_to_host_file_cmd" >&6; }
     5121
     5122
     5123
     5124
     5125
     5126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
     5127$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
     5128if ${lt_cv_to_tool_file_cmd+:} false; then :
     5129  $as_echo_n "(cached) " >&6
     5130else
     5131  #assume ordinary cross tools, or native build.
     5132lt_cv_to_tool_file_cmd=func_convert_file_noop
     5133case $host in
     5134  *-*-mingw* )
     5135    case $build in
     5136      *-*-mingw* ) # actually msys
     5137        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
     5138        ;;
     5139    esac
     5140    ;;
     5141esac
     5142
     5143fi
     5144
     5145to_tool_file_cmd=$lt_cv_to_tool_file_cmd
     5146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
     5147$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
     5148
     5149
     5150
     5151
     5152
     5153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
     5154$as_echo_n "checking for $LD option to reload object files... " >&6; }
     5155if ${lt_cv_ld_reload_flag+:} false; then :
     5156  $as_echo_n "(cached) " >&6
     5157else
     5158  lt_cv_ld_reload_flag='-r'
     5159fi
     5160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
     5161$as_echo "$lt_cv_ld_reload_flag" >&6; }
     5162reload_flag=$lt_cv_ld_reload_flag
     5163case $reload_flag in
     5164"" | " "*) ;;
     5165*) reload_flag=" $reload_flag" ;;
     5166esac
     5167reload_cmds='$LD$reload_flag -o $output$reload_objs'
     5168case $host_os in
     5169  cygwin* | mingw* | pw32* | cegcc*)
     5170    if test yes != "$GCC"; then
     5171      reload_cmds=false
     5172    fi
     5173    ;;
     5174  darwin*)
     5175    if test yes = "$GCC"; then
     5176      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
     5177    else
     5178      reload_cmds='$LD$reload_flag -o $output$reload_objs'
     5179    fi
     5180    ;;
     5181esac
     5182
     5183
     5184
     5185
     5186
     5187
     5188
     5189
     5190
     5191if test -n "$ac_tool_prefix"; then
     5192  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
     5193set dummy ${ac_tool_prefix}objdump; ac_word=$2
     5194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5195$as_echo_n "checking for $ac_word... " >&6; }
     5196if ${ac_cv_prog_OBJDUMP+:} false; then :
     5197  $as_echo_n "(cached) " >&6
     5198else
     5199  if test -n "$OBJDUMP"; then
     5200  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
     5201else
     5202as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5203for as_dir in $PATH
     5204do
     5205  IFS=$as_save_IFS
     5206  test -z "$as_dir" && as_dir=.
     5207    for ac_exec_ext in '' $ac_executable_extensions; do
     5208  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5209    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
     5210    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5211    break 2
     5212  fi
     5213done
     5214  done
     5215IFS=$as_save_IFS
     5216
     5217fi
     5218fi
     5219OBJDUMP=$ac_cv_prog_OBJDUMP
     5220if test -n "$OBJDUMP"; then
     5221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
     5222$as_echo "$OBJDUMP" >&6; }
     5223else
     5224  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5225$as_echo "no" >&6; }
     5226fi
     5227
     5228
     5229fi
     5230if test -z "$ac_cv_prog_OBJDUMP"; then
     5231  ac_ct_OBJDUMP=$OBJDUMP
     5232  # Extract the first word of "objdump", so it can be a program name with args.
     5233set dummy objdump; ac_word=$2
     5234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5235$as_echo_n "checking for $ac_word... " >&6; }
     5236if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
     5237  $as_echo_n "(cached) " >&6
     5238else
     5239  if test -n "$ac_ct_OBJDUMP"; then
     5240  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
     5241else
     5242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5243for as_dir in $PATH
     5244do
     5245  IFS=$as_save_IFS
     5246  test -z "$as_dir" && as_dir=.
     5247    for ac_exec_ext in '' $ac_executable_extensions; do
     5248  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5249    ac_cv_prog_ac_ct_OBJDUMP="objdump"
     5250    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5251    break 2
     5252  fi
     5253done
     5254  done
     5255IFS=$as_save_IFS
     5256
     5257fi
     5258fi
     5259ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
     5260if test -n "$ac_ct_OBJDUMP"; then
     5261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
     5262$as_echo "$ac_ct_OBJDUMP" >&6; }
     5263else
     5264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5265$as_echo "no" >&6; }
     5266fi
     5267
     5268  if test "x$ac_ct_OBJDUMP" = x; then
     5269    OBJDUMP="false"
     5270  else
     5271    case $cross_compiling:$ac_tool_warned in
     5272yes:)
     5273{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5274$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5275ac_tool_warned=yes ;;
     5276esac
     5277    OBJDUMP=$ac_ct_OBJDUMP
     5278  fi
     5279else
     5280  OBJDUMP="$ac_cv_prog_OBJDUMP"
     5281fi
     5282
     5283test -z "$OBJDUMP" && OBJDUMP=objdump
     5284
     5285
     5286
     5287
     5288
     5289
     5290
     5291
     5292
     5293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
     5294$as_echo_n "checking how to recognize dependent libraries... " >&6; }
     5295if ${lt_cv_deplibs_check_method+:} false; then :
     5296  $as_echo_n "(cached) " >&6
     5297else
     5298  lt_cv_file_magic_cmd='$MAGIC_CMD'
     5299lt_cv_file_magic_test_file=
     5300lt_cv_deplibs_check_method='unknown'
     5301# Need to set the preceding variable on all platforms that support
     5302# interlibrary dependencies.
     5303# 'none' -- dependencies not supported.
     5304# 'unknown' -- same as none, but documents that we really don't know.
     5305# 'pass_all' -- all dependencies passed with no checks.
     5306# 'test_compile' -- check by making test program.
     5307# 'file_magic [[regex]]' -- check by looking for files in library path
     5308# that responds to the $file_magic_cmd with a given extended regex.
     5309# If you have 'file' or equivalent on your system and you're not sure
     5310# whether 'pass_all' will *always* work, you probably want this one.
     5311
     5312case $host_os in
     5313aix[4-9]*)
     5314  lt_cv_deplibs_check_method=pass_all
     5315  ;;
     5316
     5317beos*)
     5318  lt_cv_deplibs_check_method=pass_all
     5319  ;;
     5320
     5321bsdi[45]*)
     5322  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     5323  lt_cv_file_magic_cmd='/usr/bin/file -L'
     5324  lt_cv_file_magic_test_file=/shlib/libc.so
     5325  ;;
     5326
     5327cygwin*)
     5328  # func_win32_libid is a shell function defined in ltmain.sh
     5329  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     5330  lt_cv_file_magic_cmd='func_win32_libid'
     5331  ;;
     5332
     5333mingw* | pw32*)
     5334  # Base MSYS/MinGW do not provide the 'file' command needed by
     5335  # func_win32_libid shell function, so use a weaker test based on 'objdump',
     5336  # unless we find 'file', for example because we are cross-compiling.
     5337  if ( file / ) >/dev/null 2>&1; then
     5338    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     5339    lt_cv_file_magic_cmd='func_win32_libid'
     5340  else
     5341    # Keep this pattern in sync with the one in func_win32_libid.
     5342    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
     5343    lt_cv_file_magic_cmd='$OBJDUMP -f'
     5344  fi
     5345  ;;
     5346
     5347cegcc*)
     5348  # use the weaker test based on 'objdump'. See mingw*.
     5349  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
     5350  lt_cv_file_magic_cmd='$OBJDUMP -f'
     5351  ;;
     5352
     5353darwin* | rhapsody*)
     5354  lt_cv_deplibs_check_method=pass_all
     5355  ;;
     5356
     5357freebsd* | dragonfly*)
     5358  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     5359    case $host_cpu in
     5360    i*86 )
     5361      # Not sure whether the presence of OpenBSD here was a mistake.
     5362      # Let's accept both of them until this is cleared up.
     5363      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
     5364      lt_cv_file_magic_cmd=/usr/bin/file
     5365      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
     5366      ;;
     5367    esac
     5368  else
     5369    lt_cv_deplibs_check_method=pass_all
     5370  fi
     5371  ;;
     5372
     5373haiku*)
     5374  lt_cv_deplibs_check_method=pass_all
     5375  ;;
     5376
     5377hpux10.20* | hpux11*)
     5378  lt_cv_file_magic_cmd=/usr/bin/file
     5379  case $host_cpu in
     5380  ia64*)
     5381    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     5382    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     5383    ;;
     5384  hppa*64*)
     5385    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]'
     5386    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
     5387    ;;
     5388  *)
     5389    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
     5390    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     5391    ;;
     5392  esac
     5393  ;;
     5394
     5395interix[3-9]*)
     5396  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
     5397  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
     5398  ;;
     5399
     5400irix5* | irix6* | nonstopux*)
     5401  case $LD in
     5402  *-32|*"-32 ") libmagic=32-bit;;
     5403  *-n32|*"-n32 ") libmagic=N32;;
     5404  *-64|*"-64 ") libmagic=64-bit;;
     5405  *) libmagic=never-match;;
     5406  esac
     5407  lt_cv_deplibs_check_method=pass_all
     5408  ;;
     5409
     5410# This must be glibc/ELF.
     5411linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     5412  lt_cv_deplibs_check_method=pass_all
     5413  ;;
     5414
     5415netbsd* | netbsdelf*-gnu)
     5416  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     5417    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
     5418  else
     5419    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
     5420  fi
     5421  ;;
     5422
     5423newos6*)
     5424  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     5425  lt_cv_file_magic_cmd=/usr/bin/file
     5426  lt_cv_file_magic_test_file=/usr/lib/libnls.so
     5427  ;;
     5428
     5429*nto* | *qnx*)
     5430  lt_cv_deplibs_check_method=pass_all
     5431  ;;
     5432
     5433openbsd* | bitrig*)
     5434  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     5435    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
     5436  else
     5437    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
     5438  fi
     5439  ;;
     5440
     5441osf3* | osf4* | osf5*)
     5442  lt_cv_deplibs_check_method=pass_all
     5443  ;;
     5444
     5445rdos*)
     5446  lt_cv_deplibs_check_method=pass_all
     5447  ;;
     5448
     5449solaris*)
     5450  lt_cv_deplibs_check_method=pass_all
     5451  ;;
     5452
     5453sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     5454  lt_cv_deplibs_check_method=pass_all
     5455  ;;
     5456
     5457sysv4 | sysv4.3*)
     5458  case $host_vendor in
     5459  motorola)
     5460    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]'
     5461    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     5462    ;;
     5463  ncr)
     5464    lt_cv_deplibs_check_method=pass_all
     5465    ;;
     5466  sequent)
     5467    lt_cv_file_magic_cmd='/bin/file'
     5468    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
     5469    ;;
     5470  sni)
     5471    lt_cv_file_magic_cmd='/bin/file'
     5472    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
     5473    lt_cv_file_magic_test_file=/lib/libc.so
     5474    ;;
     5475  siemens)
     5476    lt_cv_deplibs_check_method=pass_all
     5477    ;;
     5478  pc)
     5479    lt_cv_deplibs_check_method=pass_all
     5480    ;;
     5481  esac
     5482  ;;
     5483
     5484tpf*)
     5485  lt_cv_deplibs_check_method=pass_all
     5486  ;;
     5487os2*)
     5488  lt_cv_deplibs_check_method=pass_all
     5489  ;;
     5490esac
     5491
     5492fi
     5493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
     5494$as_echo "$lt_cv_deplibs_check_method" >&6; }
     5495
     5496file_magic_glob=
     5497want_nocaseglob=no
     5498if test "$build" = "$host"; then
     5499  case $host_os in
     5500  mingw* | pw32*)
     5501    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
     5502      want_nocaseglob=yes
     5503    else
     5504      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
     5505    fi
     5506    ;;
     5507  esac
     5508fi
     5509
     5510file_magic_cmd=$lt_cv_file_magic_cmd
     5511deplibs_check_method=$lt_cv_deplibs_check_method
     5512test -z "$deplibs_check_method" && deplibs_check_method=unknown
     5513
     5514
     5515
     5516
     5517
     5518
     5519
     5520
     5521
     5522
     5523
     5524
     5525
     5526
     5527
     5528
     5529
     5530
     5531
     5532
     5533
     5534
     5535if test -n "$ac_tool_prefix"; then
     5536  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
     5537set dummy ${ac_tool_prefix}dlltool; ac_word=$2
     5538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5539$as_echo_n "checking for $ac_word... " >&6; }
     5540if ${ac_cv_prog_DLLTOOL+:} false; then :
     5541  $as_echo_n "(cached) " >&6
     5542else
     5543  if test -n "$DLLTOOL"; then
     5544  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
     5545else
     5546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5547for as_dir in $PATH
     5548do
     5549  IFS=$as_save_IFS
     5550  test -z "$as_dir" && as_dir=.
     5551    for ac_exec_ext in '' $ac_executable_extensions; do
     5552  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5553    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
     5554    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5555    break 2
     5556  fi
     5557done
     5558  done
     5559IFS=$as_save_IFS
     5560
     5561fi
     5562fi
     5563DLLTOOL=$ac_cv_prog_DLLTOOL
     5564if test -n "$DLLTOOL"; then
     5565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
     5566$as_echo "$DLLTOOL" >&6; }
     5567else
     5568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5569$as_echo "no" >&6; }
     5570fi
     5571
     5572
     5573fi
     5574if test -z "$ac_cv_prog_DLLTOOL"; then
     5575  ac_ct_DLLTOOL=$DLLTOOL
     5576  # Extract the first word of "dlltool", so it can be a program name with args.
     5577set dummy dlltool; ac_word=$2
     5578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5579$as_echo_n "checking for $ac_word... " >&6; }
     5580if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
     5581  $as_echo_n "(cached) " >&6
     5582else
     5583  if test -n "$ac_ct_DLLTOOL"; then
     5584  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
     5585else
     5586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5587for as_dir in $PATH
     5588do
     5589  IFS=$as_save_IFS
     5590  test -z "$as_dir" && as_dir=.
     5591    for ac_exec_ext in '' $ac_executable_extensions; do
     5592  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5593    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
     5594    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5595    break 2
     5596  fi
     5597done
     5598  done
     5599IFS=$as_save_IFS
     5600
     5601fi
     5602fi
     5603ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
     5604if test -n "$ac_ct_DLLTOOL"; then
     5605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
     5606$as_echo "$ac_ct_DLLTOOL" >&6; }
     5607else
     5608  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5609$as_echo "no" >&6; }
     5610fi
     5611
     5612  if test "x$ac_ct_DLLTOOL" = x; then
     5613    DLLTOOL="false"
     5614  else
     5615    case $cross_compiling:$ac_tool_warned in
     5616yes:)
     5617{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5618$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5619ac_tool_warned=yes ;;
     5620esac
     5621    DLLTOOL=$ac_ct_DLLTOOL
     5622  fi
     5623else
     5624  DLLTOOL="$ac_cv_prog_DLLTOOL"
     5625fi
     5626
     5627test -z "$DLLTOOL" && DLLTOOL=dlltool
     5628
     5629
     5630
     5631
     5632
     5633
     5634
     5635
     5636
     5637
     5638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
     5639$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
     5640if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
     5641  $as_echo_n "(cached) " >&6
     5642else
     5643  lt_cv_sharedlib_from_linklib_cmd='unknown'
     5644
     5645case $host_os in
     5646cygwin* | mingw* | pw32* | cegcc*)
     5647  # two different shell functions defined in ltmain.sh;
     5648  # decide which one to use based on capabilities of $DLLTOOL
     5649  case `$DLLTOOL --help 2>&1` in
     5650  *--identify-strict*)
     5651    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
     5652    ;;
     5653  *)
     5654    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
     5655    ;;
     5656  esac
     5657  ;;
     5658*)
     5659  # fallback: assume linklib IS sharedlib
     5660  lt_cv_sharedlib_from_linklib_cmd=$ECHO
     5661  ;;
     5662esac
     5663
     5664fi
     5665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
     5666$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
     5667sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
     5668test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
     5669
     5670
     5671
     5672
     5673
     5674
     5675
     5676
     5677if test -n "$ac_tool_prefix"; then
     5678  for ac_prog in ar
     5679  do
     5680    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     5681set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     5682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5683$as_echo_n "checking for $ac_word... " >&6; }
     5684if ${ac_cv_prog_AR+:} false; then :
     5685  $as_echo_n "(cached) " >&6
     5686else
     5687  if test -n "$AR"; then
     5688  ac_cv_prog_AR="$AR" # Let the user override the test.
     5689else
     5690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5691for as_dir in $PATH
     5692do
     5693  IFS=$as_save_IFS
     5694  test -z "$as_dir" && as_dir=.
     5695    for ac_exec_ext in '' $ac_executable_extensions; do
     5696  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5697    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
     5698    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5699    break 2
     5700  fi
     5701done
     5702  done
     5703IFS=$as_save_IFS
     5704
     5705fi
     5706fi
     5707AR=$ac_cv_prog_AR
     5708if test -n "$AR"; then
     5709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     5710$as_echo "$AR" >&6; }
     5711else
     5712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5713$as_echo "no" >&6; }
     5714fi
     5715
     5716
     5717    test -n "$AR" && break
     5718  done
     5719fi
     5720if test -z "$AR"; then
     5721  ac_ct_AR=$AR
     5722  for ac_prog in ar
     5723do
     5724  # Extract the first word of "$ac_prog", so it can be a program name with args.
     5725set dummy $ac_prog; ac_word=$2
     5726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5727$as_echo_n "checking for $ac_word... " >&6; }
     5728if ${ac_cv_prog_ac_ct_AR+:} false; then :
     5729  $as_echo_n "(cached) " >&6
     5730else
     5731  if test -n "$ac_ct_AR"; then
     5732  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
     5733else
     5734as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5735for as_dir in $PATH
     5736do
     5737  IFS=$as_save_IFS
     5738  test -z "$as_dir" && as_dir=.
     5739    for ac_exec_ext in '' $ac_executable_extensions; do
     5740  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5741    ac_cv_prog_ac_ct_AR="$ac_prog"
     5742    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5743    break 2
     5744  fi
     5745done
     5746  done
     5747IFS=$as_save_IFS
     5748
     5749fi
     5750fi
     5751ac_ct_AR=$ac_cv_prog_ac_ct_AR
     5752if test -n "$ac_ct_AR"; then
     5753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
     5754$as_echo "$ac_ct_AR" >&6; }
     5755else
     5756  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5757$as_echo "no" >&6; }
     5758fi
     5759
     5760
     5761  test -n "$ac_ct_AR" && break
     5762done
     5763
     5764  if test "x$ac_ct_AR" = x; then
     5765    AR="false"
     5766  else
     5767    case $cross_compiling:$ac_tool_warned in
     5768yes:)
     5769{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5770$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5771ac_tool_warned=yes ;;
     5772esac
     5773    AR=$ac_ct_AR
     5774  fi
     5775fi
     5776
     5777: ${AR=ar}
     5778: ${AR_FLAGS=cru}
     5779
     5780
     5781
     5782
     5783
     5784
     5785
     5786
     5787
     5788
     5789
     5790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
     5791$as_echo_n "checking for archiver @FILE support... " >&6; }
     5792if ${lt_cv_ar_at_file+:} false; then :
     5793  $as_echo_n "(cached) " >&6
     5794else
     5795  lt_cv_ar_at_file=no
     5796   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5797/* end confdefs.h.  */
     5798
     5799int
     5800main ()
     5801{
     5802
     5803  ;
     5804  return 0;
     5805}
     5806_ACEOF
     5807if ac_fn_c_try_compile "$LINENO"; then :
     5808  echo conftest.$ac_objext > conftest.lst
     5809      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
     5810      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     5811  (eval $lt_ar_try) 2>&5
     5812  ac_status=$?
     5813  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5814  test $ac_status = 0; }
     5815      if test 0 -eq "$ac_status"; then
     5816        # Ensure the archiver fails upon bogus file names.
     5817        rm -f conftest.$ac_objext libconftest.a
     5818        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     5819  (eval $lt_ar_try) 2>&5
     5820  ac_status=$?
     5821  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5822  test $ac_status = 0; }
     5823        if test 0 -ne "$ac_status"; then
     5824          lt_cv_ar_at_file=@
     5825        fi
     5826      fi
     5827      rm -f conftest.* libconftest.a
     5828
     5829fi
     5830rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5831
     5832fi
     5833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
     5834$as_echo "$lt_cv_ar_at_file" >&6; }
     5835
     5836if test no = "$lt_cv_ar_at_file"; then
     5837  archiver_list_spec=
     5838else
     5839  archiver_list_spec=$lt_cv_ar_at_file
     5840fi
     5841
     5842
     5843
     5844
     5845
     5846
     5847
     5848if test -n "$ac_tool_prefix"; then
     5849  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     5850set dummy ${ac_tool_prefix}strip; ac_word=$2
     5851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5852$as_echo_n "checking for $ac_word... " >&6; }
     5853if ${ac_cv_prog_STRIP+:} false; then :
     5854  $as_echo_n "(cached) " >&6
     5855else
     5856  if test -n "$STRIP"; then
     5857  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
     5858else
     5859as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5860for as_dir in $PATH
     5861do
     5862  IFS=$as_save_IFS
     5863  test -z "$as_dir" && as_dir=.
     5864    for ac_exec_ext in '' $ac_executable_extensions; do
     5865  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5866    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     5867    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5868    break 2
     5869  fi
     5870done
     5871  done
     5872IFS=$as_save_IFS
     5873
     5874fi
     5875fi
     5876STRIP=$ac_cv_prog_STRIP
     5877if test -n "$STRIP"; then
     5878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
     5879$as_echo "$STRIP" >&6; }
     5880else
     5881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5882$as_echo "no" >&6; }
     5883fi
     5884
     5885
     5886fi
     5887if test -z "$ac_cv_prog_STRIP"; then
     5888  ac_ct_STRIP=$STRIP
     5889  # Extract the first word of "strip", so it can be a program name with args.
     5890set dummy strip; ac_word=$2
     5891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5892$as_echo_n "checking for $ac_word... " >&6; }
     5893if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
     5894  $as_echo_n "(cached) " >&6
     5895else
     5896  if test -n "$ac_ct_STRIP"; then
     5897  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     5898else
     5899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5900for as_dir in $PATH
     5901do
     5902  IFS=$as_save_IFS
     5903  test -z "$as_dir" && as_dir=.
     5904    for ac_exec_ext in '' $ac_executable_extensions; do
     5905  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5906    ac_cv_prog_ac_ct_STRIP="strip"
     5907    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5908    break 2
     5909  fi
     5910done
     5911  done
     5912IFS=$as_save_IFS
     5913
     5914fi
     5915fi
     5916ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     5917if test -n "$ac_ct_STRIP"; then
     5918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
     5919$as_echo "$ac_ct_STRIP" >&6; }
     5920else
     5921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5922$as_echo "no" >&6; }
     5923fi
     5924
     5925  if test "x$ac_ct_STRIP" = x; then
     5926    STRIP=":"
     5927  else
     5928    case $cross_compiling:$ac_tool_warned in
     5929yes:)
     5930{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5931$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5932ac_tool_warned=yes ;;
     5933esac
     5934    STRIP=$ac_ct_STRIP
     5935  fi
     5936else
     5937  STRIP="$ac_cv_prog_STRIP"
     5938fi
     5939
     5940test -z "$STRIP" && STRIP=:
     5941
     5942
     5943
     5944
     5945
     5946
     5947if test -n "$ac_tool_prefix"; then
     5948  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     5949set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     5950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5951$as_echo_n "checking for $ac_word... " >&6; }
     5952if ${ac_cv_prog_RANLIB+:} false; then :
     5953  $as_echo_n "(cached) " >&6
     5954else
     5955  if test -n "$RANLIB"; then
     5956  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     5957else
     5958as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5959for as_dir in $PATH
     5960do
     5961  IFS=$as_save_IFS
     5962  test -z "$as_dir" && as_dir=.
     5963    for ac_exec_ext in '' $ac_executable_extensions; do
     5964  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5965    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     5966    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5967    break 2
     5968  fi
     5969done
     5970  done
     5971IFS=$as_save_IFS
     5972
     5973fi
     5974fi
     5975RANLIB=$ac_cv_prog_RANLIB
     5976if test -n "$RANLIB"; then
     5977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     5978$as_echo "$RANLIB" >&6; }
     5979else
     5980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5981$as_echo "no" >&6; }
     5982fi
     5983
     5984
     5985fi
     5986if test -z "$ac_cv_prog_RANLIB"; then
     5987  ac_ct_RANLIB=$RANLIB
     5988  # Extract the first word of "ranlib", so it can be a program name with args.
     5989set dummy ranlib; ac_word=$2
     5990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5991$as_echo_n "checking for $ac_word... " >&6; }
     5992if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     5993  $as_echo_n "(cached) " >&6
     5994else
     5995  if test -n "$ac_ct_RANLIB"; then
     5996  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     5997else
     5998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5999for as_dir in $PATH
     6000do
     6001  IFS=$as_save_IFS
     6002  test -z "$as_dir" && as_dir=.
     6003    for ac_exec_ext in '' $ac_executable_extensions; do
     6004  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6005    ac_cv_prog_ac_ct_RANLIB="ranlib"
     6006    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6007    break 2
     6008  fi
     6009done
     6010  done
     6011IFS=$as_save_IFS
     6012
     6013fi
     6014fi
     6015ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     6016if test -n "$ac_ct_RANLIB"; then
     6017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     6018$as_echo "$ac_ct_RANLIB" >&6; }
     6019else
     6020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6021$as_echo "no" >&6; }
     6022fi
     6023
     6024  if test "x$ac_ct_RANLIB" = x; then
     6025    RANLIB=":"
     6026  else
     6027    case $cross_compiling:$ac_tool_warned in
     6028yes:)
     6029{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6030$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6031ac_tool_warned=yes ;;
     6032esac
     6033    RANLIB=$ac_ct_RANLIB
     6034  fi
     6035else
     6036  RANLIB="$ac_cv_prog_RANLIB"
     6037fi
     6038
     6039test -z "$RANLIB" && RANLIB=:
     6040
     6041
     6042
     6043
     6044
     6045
     6046# Determine commands to create old-style static archives.
     6047old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
     6048old_postinstall_cmds='chmod 644 $oldlib'
     6049old_postuninstall_cmds=
     6050
     6051if test -n "$RANLIB"; then
     6052  case $host_os in
     6053  bitrig* | openbsd*)
     6054    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
     6055    ;;
     6056  *)
     6057    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
     6058    ;;
     6059  esac
     6060  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
     6061fi
     6062
     6063case $host_os in
     6064  darwin*)
     6065    lock_old_archive_extraction=yes ;;
     6066  *)
     6067    lock_old_archive_extraction=no ;;
     6068esac
     6069
     6070
     6071
     6072
     6073
     6074
     6075
     6076
     6077
     6078
     6079
     6080
     6081
     6082
     6083
     6084
     6085
     6086
     6087
     6088
     6089
     6090
     6091
     6092
     6093
     6094
     6095
     6096
     6097
     6098
     6099
     6100
     6101
     6102
     6103
     6104
     6105
     6106
     6107
     6108# If no C compiler was specified, use CC.
     6109LTCC=${LTCC-"$CC"}
     6110
     6111# If no C compiler flags were specified, use CFLAGS.
     6112LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     6113
     6114# Allow CC to be a program name with arguments.
     6115compiler=$CC
     6116
     6117
     6118# Check for command to grab the raw symbol name followed by C symbol from nm.
     6119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
     6120$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
     6121if ${lt_cv_sys_global_symbol_pipe+:} false; then :
     6122  $as_echo_n "(cached) " >&6
     6123else
     6124
     6125# These are sane defaults that work on at least a few old systems.
     6126# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
     6127
     6128# Character class describing NM global symbol codes.
     6129symcode='[BCDEGRST]'
     6130
     6131# Regexp to match symbols that can be accessed directly from C.
     6132sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
     6133
     6134# Define system-specific variables.
     6135case $host_os in
     6136aix*)
     6137  symcode='[BCDT]'
     6138  ;;
     6139cygwin* | mingw* | pw32* | cegcc*)
     6140  symcode='[ABCDGISTW]'
     6141  ;;
     6142hpux*)
     6143  if test ia64 = "$host_cpu"; then
     6144    symcode='[ABCDEGRST]'
     6145  fi
     6146  ;;
     6147irix* | nonstopux*)
     6148  symcode='[BCDEGRST]'
     6149  ;;
     6150osf*)
     6151  symcode='[BCDEGQRST]'
     6152  ;;
     6153solaris*)
     6154  symcode='[BDRT]'
     6155  ;;
     6156sco3.2v5*)
     6157  symcode='[DT]'
     6158  ;;
     6159sysv4.2uw2*)
     6160  symcode='[DT]'
     6161  ;;
     6162sysv5* | sco5v6* | unixware* | OpenUNIX*)
     6163  symcode='[ABDT]'
     6164  ;;
     6165sysv4)
     6166  symcode='[DFNSTU]'
     6167  ;;
     6168esac
     6169
     6170# If we're using GNU nm, then use its standard symbol codes.
     6171case `$NM -V 2>&1` in
     6172*GNU* | *'with BFD'*)
     6173  symcode='[ABCDGIRSTW]' ;;
     6174esac
     6175
     6176if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     6177  # Gets list of data symbols to import.
     6178  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
     6179  # Adjust the below global symbol transforms to fixup imported variables.
     6180  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
     6181  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
     6182  lt_c_name_lib_hook="\
     6183  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
     6184  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
     6185else
     6186  # Disable hooks by default.
     6187  lt_cv_sys_global_symbol_to_import=
     6188  lt_cdecl_hook=
     6189  lt_c_name_hook=
     6190  lt_c_name_lib_hook=
     6191fi
     6192
     6193# Transform an extracted symbol line into a proper C declaration.
     6194# Some systems (esp. on ia64) link data and code symbols differently,
     6195# so use this general approach.
     6196lt_cv_sys_global_symbol_to_cdecl="sed -n"\
     6197$lt_cdecl_hook\
     6198" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
     6199" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
     6200
     6201# Transform an extracted symbol line into symbol name and symbol address
     6202lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
     6203$lt_c_name_hook\
     6204" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     6205" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
     6206
     6207# Transform an extracted symbol line into symbol name with lib prefix and
     6208# symbol address.
     6209lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
     6210$lt_c_name_lib_hook\
     6211" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     6212" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
     6213" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
     6214
     6215# Handle CRLF in mingw tool chain
     6216opt_cr=
     6217case $build_os in
     6218mingw*)
     6219  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
     6220  ;;
     6221esac
     6222
     6223# Try without a prefix underscore, then with it.
     6224for ac_symprfx in "" "_"; do
     6225
     6226  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
     6227  symxfrm="\\1 $ac_symprfx\\2 \\2"
     6228
     6229  # Write the raw and C identifiers.
     6230  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     6231    # Fake it for dumpbin and say T for any non-static function,
     6232    # D for any global variable and I for any imported variable.
     6233    # Also find C++ and __fastcall symbols from MSVC++,
     6234    # which start with @ or ?.
     6235    lt_cv_sys_global_symbol_pipe="$AWK '"\
     6236"     {last_section=section; section=\$ 3};"\
     6237"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
     6238"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
     6239"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
     6240"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
     6241"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
     6242"     \$ 0!~/External *\|/{next};"\
     6243"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
     6244"     {if(hide[section]) next};"\
     6245"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
     6246"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
     6247"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
     6248"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
     6249"     ' prfx=^$ac_symprfx"
     6250  else
     6251    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
     6252  fi
     6253  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
     6254
     6255  # Check to see that the pipe works correctly.
     6256  pipe_works=no
     6257
     6258  rm -f conftest*
     6259  cat > conftest.$ac_ext <<_LT_EOF
     6260#ifdef __cplusplus
     6261extern "C" {
     6262#endif
     6263char nm_test_var;
     6264void nm_test_func(void);
     6265void nm_test_func(void){}
     6266#ifdef __cplusplus
     6267}
     6268#endif
     6269int main(){nm_test_var='a';nm_test_func();return(0);}
     6270_LT_EOF
     6271
     6272  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     6273  (eval $ac_compile) 2>&5
     6274  ac_status=$?
     6275  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6276  test $ac_status = 0; }; then
     6277    # Now try to grab the symbols.
     6278    nlist=conftest.nm
     6279    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
     6280  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
     6281  ac_status=$?
     6282  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6283  test $ac_status = 0; } && test -s "$nlist"; then
     6284      # Try sorting and uniquifying the output.
     6285      if sort "$nlist" | uniq > "$nlist"T; then
     6286        mv -f "$nlist"T "$nlist"
     6287      else
     6288        rm -f "$nlist"T
     6289      fi
     6290
     6291      # Make sure that we snagged all the symbols we need.
     6292      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
     6293        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
     6294          cat <<_LT_EOF > conftest.$ac_ext
     6295/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
     6296#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
     6297/* DATA imports from DLLs on WIN32 can't be const, because runtime
     6298   relocations are performed -- see ld's documentation on pseudo-relocs.  */
     6299# define LT_DLSYM_CONST
     6300#elif defined __osf__
     6301/* This system does not cope well with relocations in const data.  */
     6302# define LT_DLSYM_CONST
     6303#else
     6304# define LT_DLSYM_CONST const
     6305#endif
     6306
     6307#ifdef __cplusplus
     6308extern "C" {
     6309#endif
     6310
     6311_LT_EOF
     6312          # Now generate the symbol file.
     6313          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
     6314
     6315          cat <<_LT_EOF >> conftest.$ac_ext
     6316
     6317/* The mapping between symbol names and symbols.  */
     6318LT_DLSYM_CONST struct {
     6319  const char *name;
     6320  void       *address;
     6321}
     6322lt__PROGRAM__LTX_preloaded_symbols[] =
     6323{
     6324  { "@PROGRAM@", (void *) 0 },
     6325_LT_EOF
     6326          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
     6327          cat <<\_LT_EOF >> conftest.$ac_ext
     6328  {0, (void *) 0}
     6329};
     6330
     6331/* This works around a problem in FreeBSD linker */
     6332#ifdef FREEBSD_WORKAROUND
     6333static const void *lt_preloaded_setup() {
     6334  return lt__PROGRAM__LTX_preloaded_symbols;
     6335}
     6336#endif
     6337
     6338#ifdef __cplusplus
     6339}
     6340#endif
     6341_LT_EOF
     6342          # Now try linking the two files.
     6343          mv conftest.$ac_objext conftstm.$ac_objext
     6344          lt_globsym_save_LIBS=$LIBS
     6345          lt_globsym_save_CFLAGS=$CFLAGS
     6346          LIBS=conftstm.$ac_objext
     6347          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
     6348          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
     6349  (eval $ac_link) 2>&5
     6350  ac_status=$?
     6351  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6352  test $ac_status = 0; } && test -s conftest$ac_exeext; then
     6353            pipe_works=yes
     6354          fi
     6355          LIBS=$lt_globsym_save_LIBS
     6356          CFLAGS=$lt_globsym_save_CFLAGS
     6357        else
     6358          echo "cannot find nm_test_func in $nlist" >&5
     6359        fi
     6360      else
     6361        echo "cannot find nm_test_var in $nlist" >&5
     6362      fi
     6363    else
     6364      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
     6365    fi
     6366  else
     6367    echo "$progname: failed program was:" >&5
     6368    cat conftest.$ac_ext >&5
     6369  fi
     6370  rm -rf conftest* conftst*
     6371
     6372  # Do not use the global_symbol_pipe unless it works.
     6373  if test yes = "$pipe_works"; then
     6374    break
     6375  else
     6376    lt_cv_sys_global_symbol_pipe=
     6377  fi
     6378done
     6379
     6380fi
     6381
     6382if test -z "$lt_cv_sys_global_symbol_pipe"; then
     6383  lt_cv_sys_global_symbol_to_cdecl=
     6384fi
     6385if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
     6386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
     6387$as_echo "failed" >&6; }
     6388else
     6389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
     6390$as_echo "ok" >&6; }
     6391fi
     6392
     6393# Response file support.
     6394if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     6395  nm_file_list_spec='@'
     6396elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
     6397  nm_file_list_spec='@'
     6398fi
     6399
     6400
     6401
     6402
     6403
     6404
     6405
     6406
     6407
     6408
     6409
     6410
     6411
     6412
     6413
     6414
     6415
     6416
     6417
     6418
     6419
     6420
     6421
     6422
     6423
     6424
     6425
     6426
     6427
     6428
     6429
     6430
     6431
     6432
     6433
     6434
     6435
     6436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
     6437$as_echo_n "checking for sysroot... " >&6; }
     6438
     6439# Check whether --with-sysroot was given.
     6440if test "${with_sysroot+set}" = set; then :
     6441  withval=$with_sysroot;
     6442else
     6443  with_sysroot=no
     6444fi
     6445
     6446
     6447lt_sysroot=
     6448case $with_sysroot in #(
     6449 yes)
     6450   if test yes = "$GCC"; then
     6451     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
     6452   fi
     6453   ;; #(
     6454 /*)
     6455   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
     6456   ;; #(
     6457 no|'')
     6458   ;; #(
     6459 *)
     6460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
     6461$as_echo "$with_sysroot" >&6; }
     6462   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
     6463   ;;
     6464esac
     6465
     6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
     6467$as_echo "${lt_sysroot:-no}" >&6; }
     6468
     6469
     6470
     6471
     6472
     6473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
     6474$as_echo_n "checking for a working dd... " >&6; }
     6475if ${ac_cv_path_lt_DD+:} false; then :
     6476  $as_echo_n "(cached) " >&6
     6477else
     6478  printf 0123456789abcdef0123456789abcdef >conftest.i
     6479cat conftest.i conftest.i >conftest2.i
     6480: ${lt_DD:=$DD}
     6481if test -z "$lt_DD"; then
     6482  ac_path_lt_DD_found=false
     6483  # Loop through the user's path and test for each of PROGNAME-LIST
     6484  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6485for as_dir in $PATH
     6486do
     6487  IFS=$as_save_IFS
     6488  test -z "$as_dir" && as_dir=.
     6489    for ac_prog in dd; do
     6490    for ac_exec_ext in '' $ac_executable_extensions; do
     6491      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
     6492      as_fn_executable_p "$ac_path_lt_DD" || continue
     6493if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     6494  cmp -s conftest.i conftest.out \
     6495  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
     6496fi
     6497      $ac_path_lt_DD_found && break 3
     6498    done
     6499  done
     6500  done
     6501IFS=$as_save_IFS
     6502  if test -z "$ac_cv_path_lt_DD"; then
     6503    :
     6504  fi
     6505else
     6506  ac_cv_path_lt_DD=$lt_DD
     6507fi
     6508
     6509rm -f conftest.i conftest2.i conftest.out
     6510fi
     6511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
     6512$as_echo "$ac_cv_path_lt_DD" >&6; }
     6513
     6514
     6515{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
     6516$as_echo_n "checking how to truncate binary pipes... " >&6; }
     6517if ${lt_cv_truncate_bin+:} false; then :
     6518  $as_echo_n "(cached) " >&6
     6519else
     6520  printf 0123456789abcdef0123456789abcdef >conftest.i
     6521cat conftest.i conftest.i >conftest2.i
     6522lt_cv_truncate_bin=
     6523if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     6524  cmp -s conftest.i conftest.out \
     6525  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
     6526fi
     6527rm -f conftest.i conftest2.i conftest.out
     6528test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
     6529fi
     6530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
     6531$as_echo "$lt_cv_truncate_bin" >&6; }
     6532
     6533
     6534
     6535
     6536
     6537
     6538
     6539# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     6540func_cc_basename ()
     6541{
     6542    for cc_temp in $*""; do
     6543      case $cc_temp in
     6544        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     6545        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     6546        \-*) ;;
     6547        *) break;;
     6548      esac
     6549    done
     6550    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     6551}
     6552
     6553# Check whether --enable-libtool-lock was given.
     6554if test "${enable_libtool_lock+set}" = set; then :
     6555  enableval=$enable_libtool_lock;
     6556fi
     6557
     6558test no = "$enable_libtool_lock" || enable_libtool_lock=yes
     6559
     6560# Some flags need to be propagated to the compiler or linker for good
     6561# libtool support.
     6562case $host in
     6563ia64-*-hpux*)
     6564  # Find out what ABI is being produced by ac_compile, and set mode
     6565  # options accordingly.
     6566  echo 'int i;' > conftest.$ac_ext
     6567  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     6568  (eval $ac_compile) 2>&5
     6569  ac_status=$?
     6570  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6571  test $ac_status = 0; }; then
     6572    case `/usr/bin/file conftest.$ac_objext` in
     6573      *ELF-32*)
     6574        HPUX_IA64_MODE=32
     6575        ;;
     6576      *ELF-64*)
     6577        HPUX_IA64_MODE=64
     6578        ;;
     6579    esac
     6580  fi
     6581  rm -rf conftest*
     6582  ;;
     6583*-*-irix6*)
     6584  # Find out what ABI is being produced by ac_compile, and set linker
     6585  # options accordingly.
     6586  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
     6587  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     6588  (eval $ac_compile) 2>&5
     6589  ac_status=$?
     6590  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6591  test $ac_status = 0; }; then
     6592    if test yes = "$lt_cv_prog_gnu_ld"; then
     6593      case `/usr/bin/file conftest.$ac_objext` in
     6594        *32-bit*)
     6595          LD="${LD-ld} -melf32bsmip"
     6596          ;;
     6597        *N32*)
     6598          LD="${LD-ld} -melf32bmipn32"
     6599          ;;
     6600        *64-bit*)
     6601          LD="${LD-ld} -melf64bmip"
     6602        ;;
     6603      esac
     6604    else
     6605      case `/usr/bin/file conftest.$ac_objext` in
     6606        *32-bit*)
     6607          LD="${LD-ld} -32"
     6608          ;;
     6609        *N32*)
     6610          LD="${LD-ld} -n32"
     6611          ;;
     6612        *64-bit*)
     6613          LD="${LD-ld} -64"
     6614          ;;
     6615      esac
     6616    fi
     6617  fi
     6618  rm -rf conftest*
     6619  ;;
     6620
     6621mips64*-*linux*)
     6622  # Find out what ABI is being produced by ac_compile, and set linker
     6623  # options accordingly.
     6624  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
     6625  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     6626  (eval $ac_compile) 2>&5
     6627  ac_status=$?
     6628  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6629  test $ac_status = 0; }; then
     6630    emul=elf
     6631    case `/usr/bin/file conftest.$ac_objext` in
     6632      *32-bit*)
     6633        emul="${emul}32"
     6634        ;;
     6635      *64-bit*)
     6636        emul="${emul}64"
     6637        ;;
     6638    esac
     6639    case `/usr/bin/file conftest.$ac_objext` in
     6640      *MSB*)
     6641        emul="${emul}btsmip"
     6642        ;;
     6643      *LSB*)
     6644        emul="${emul}ltsmip"
     6645        ;;
     6646    esac
     6647    case `/usr/bin/file conftest.$ac_objext` in
     6648      *N32*)
     6649        emul="${emul}n32"
     6650        ;;
     6651    esac
     6652    LD="${LD-ld} -m $emul"
     6653  fi
     6654  rm -rf conftest*
     6655  ;;
     6656
     6657x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
     6658s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
     6659  # Find out what ABI is being produced by ac_compile, and set linker
     6660  # options accordingly.  Note that the listed cases only cover the
     6661  # situations where additional linker options are needed (such as when
     6662  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
     6663  # vice versa); the common cases where no linker options are needed do
     6664  # not appear in the list.
     6665  echo 'int i;' > conftest.$ac_ext
     6666  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     6667  (eval $ac_compile) 2>&5
     6668  ac_status=$?
     6669  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6670  test $ac_status = 0; }; then
     6671    case `/usr/bin/file conftest.o` in
     6672      *32-bit*)
     6673        case $host in
     6674          x86_64-*kfreebsd*-gnu)
     6675            LD="${LD-ld} -m elf_i386_fbsd"
     6676            ;;
     6677          x86_64-*linux*)
     6678            case `/usr/bin/file conftest.o` in
     6679              *x86-64*)
     6680                LD="${LD-ld} -m elf32_x86_64"
     6681                ;;
     6682              *)
     6683                LD="${LD-ld} -m elf_i386"
     6684                ;;
     6685            esac
     6686            ;;
     6687          powerpc64le-*linux*)
     6688            LD="${LD-ld} -m elf32lppclinux"
     6689            ;;
     6690          powerpc64-*linux*)
     6691            LD="${LD-ld} -m elf32ppclinux"
     6692            ;;
     6693          s390x-*linux*)
     6694            LD="${LD-ld} -m elf_s390"
     6695            ;;
     6696          sparc64-*linux*)
     6697            LD="${LD-ld} -m elf32_sparc"
     6698            ;;
     6699        esac
     6700        ;;
     6701      *64-bit*)
     6702        case $host in
     6703          x86_64-*kfreebsd*-gnu)
     6704            LD="${LD-ld} -m elf_x86_64_fbsd"
     6705            ;;
     6706          x86_64-*linux*)
     6707            LD="${LD-ld} -m elf_x86_64"
     6708            ;;
     6709          powerpcle-*linux*)
     6710            LD="${LD-ld} -m elf64lppc"
     6711            ;;
     6712          powerpc-*linux*)
     6713            LD="${LD-ld} -m elf64ppc"
     6714            ;;
     6715          s390*-*linux*|s390*-*tpf*)
     6716            LD="${LD-ld} -m elf64_s390"
     6717            ;;
     6718          sparc*-*linux*)
     6719            LD="${LD-ld} -m elf64_sparc"
     6720            ;;
     6721        esac
     6722        ;;
     6723    esac
     6724  fi
     6725  rm -rf conftest*
     6726  ;;
     6727
     6728*-*-sco3.2v5*)
     6729  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     6730  SAVE_CFLAGS=$CFLAGS
     6731  CFLAGS="$CFLAGS -belf"
     6732  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
     6733$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
     6734if ${lt_cv_cc_needs_belf+:} false; then :
     6735  $as_echo_n "(cached) " >&6
     6736else
     6737  ac_ext=c
     6738ac_cpp='$CPP $CPPFLAGS'
     6739ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     6740ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     6741ac_compiler_gnu=$ac_cv_c_compiler_gnu
     6742
     6743     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6744/* end confdefs.h.  */
     6745
     6746int
     6747main ()
     6748{
     6749
     6750  ;
     6751  return 0;
     6752}
     6753_ACEOF
     6754if ac_fn_c_try_link "$LINENO"; then :
     6755  lt_cv_cc_needs_belf=yes
     6756else
     6757  lt_cv_cc_needs_belf=no
     6758fi
     6759rm -f core conftest.err conftest.$ac_objext \
     6760    conftest$ac_exeext conftest.$ac_ext
     6761     ac_ext=c
     6762ac_cpp='$CPP $CPPFLAGS'
     6763ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     6764ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     6765ac_compiler_gnu=$ac_cv_c_compiler_gnu
     6766
     6767fi
     6768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
     6769$as_echo "$lt_cv_cc_needs_belf" >&6; }
     6770  if test yes != "$lt_cv_cc_needs_belf"; then
     6771    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
     6772    CFLAGS=$SAVE_CFLAGS
     6773  fi
     6774  ;;
     6775*-*solaris*)
     6776  # Find out what ABI is being produced by ac_compile, and set linker
     6777  # options accordingly.
     6778  echo 'int i;' > conftest.$ac_ext
     6779  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     6780  (eval $ac_compile) 2>&5
     6781  ac_status=$?
     6782  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6783  test $ac_status = 0; }; then
     6784    case `/usr/bin/file conftest.o` in
     6785    *64-bit*)
     6786      case $lt_cv_prog_gnu_ld in
     6787      yes*)
     6788        case $host in
     6789        i?86-*-solaris*|x86_64-*-solaris*)
     6790          LD="${LD-ld} -m elf_x86_64"
     6791          ;;
     6792        sparc*-*-solaris*)
     6793          LD="${LD-ld} -m elf64_sparc"
     6794          ;;
     6795        esac
     6796        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
     6797        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
     6798          LD=${LD-ld}_sol2
     6799        fi
     6800        ;;
     6801      *)
     6802        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
     6803          LD="${LD-ld} -64"
     6804        fi
     6805        ;;
     6806      esac
     6807      ;;
     6808    esac
     6809  fi
     6810  rm -rf conftest*
     6811  ;;
     6812esac
     6813
     6814need_locks=$enable_libtool_lock
     6815
     6816if test -n "$ac_tool_prefix"; then
     6817  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
     6818set dummy ${ac_tool_prefix}mt; ac_word=$2
     6819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6820$as_echo_n "checking for $ac_word... " >&6; }
     6821if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
     6822  $as_echo_n "(cached) " >&6
     6823else
     6824  if test -n "$MANIFEST_TOOL"; then
     6825  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
     6826else
     6827as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6828for as_dir in $PATH
     6829do
     6830  IFS=$as_save_IFS
     6831  test -z "$as_dir" && as_dir=.
     6832    for ac_exec_ext in '' $ac_executable_extensions; do
     6833  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6834    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
     6835    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6836    break 2
     6837  fi
     6838done
     6839  done
     6840IFS=$as_save_IFS
     6841
     6842fi
     6843fi
     6844MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
     6845if test -n "$MANIFEST_TOOL"; then
     6846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
     6847$as_echo "$MANIFEST_TOOL" >&6; }
     6848else
     6849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6850$as_echo "no" >&6; }
     6851fi
     6852
     6853
     6854fi
     6855if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
     6856  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
     6857  # Extract the first word of "mt", so it can be a program name with args.
     6858set dummy mt; ac_word=$2
     6859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6860$as_echo_n "checking for $ac_word... " >&6; }
     6861if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
     6862  $as_echo_n "(cached) " >&6
     6863else
     6864  if test -n "$ac_ct_MANIFEST_TOOL"; then
     6865  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
     6866else
     6867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6868for as_dir in $PATH
     6869do
     6870  IFS=$as_save_IFS
     6871  test -z "$as_dir" && as_dir=.
     6872    for ac_exec_ext in '' $ac_executable_extensions; do
     6873  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6874    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
     6875    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6876    break 2
     6877  fi
     6878done
     6879  done
     6880IFS=$as_save_IFS
     6881
     6882fi
     6883fi
     6884ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
     6885if test -n "$ac_ct_MANIFEST_TOOL"; then
     6886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
     6887$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
     6888else
     6889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6890$as_echo "no" >&6; }
     6891fi
     6892
     6893  if test "x$ac_ct_MANIFEST_TOOL" = x; then
     6894    MANIFEST_TOOL=":"
     6895  else
     6896    case $cross_compiling:$ac_tool_warned in
     6897yes:)
     6898{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6899$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6900ac_tool_warned=yes ;;
     6901esac
     6902    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
     6903  fi
     6904else
     6905  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
     6906fi
     6907
     6908test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
     6909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
     6910$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
     6911if ${lt_cv_path_mainfest_tool+:} false; then :
     6912  $as_echo_n "(cached) " >&6
     6913else
     6914  lt_cv_path_mainfest_tool=no
     6915  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
     6916  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
     6917  cat conftest.err >&5
     6918  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
     6919    lt_cv_path_mainfest_tool=yes
     6920  fi
     6921  rm -f conftest*
     6922fi
     6923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
     6924$as_echo "$lt_cv_path_mainfest_tool" >&6; }
     6925if test yes != "$lt_cv_path_mainfest_tool"; then
     6926  MANIFEST_TOOL=:
     6927fi
     6928
     6929
     6930
     6931
     6932
     6933
     6934  case $host_os in
     6935    rhapsody* | darwin*)
     6936    if test -n "$ac_tool_prefix"; then
     6937  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
     6938set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
     6939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6940$as_echo_n "checking for $ac_word... " >&6; }
     6941if ${ac_cv_prog_DSYMUTIL+:} false; then :
     6942  $as_echo_n "(cached) " >&6
     6943else
     6944  if test -n "$DSYMUTIL"; then
     6945  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
     6946else
     6947as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6948for as_dir in $PATH
     6949do
     6950  IFS=$as_save_IFS
     6951  test -z "$as_dir" && as_dir=.
     6952    for ac_exec_ext in '' $ac_executable_extensions; do
     6953  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6954    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
     6955    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6956    break 2
     6957  fi
     6958done
     6959  done
     6960IFS=$as_save_IFS
     6961
     6962fi
     6963fi
     6964DSYMUTIL=$ac_cv_prog_DSYMUTIL
     6965if test -n "$DSYMUTIL"; then
     6966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
     6967$as_echo "$DSYMUTIL" >&6; }
     6968else
     6969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6970$as_echo "no" >&6; }
     6971fi
     6972
     6973
     6974fi
     6975if test -z "$ac_cv_prog_DSYMUTIL"; then
     6976  ac_ct_DSYMUTIL=$DSYMUTIL
     6977  # Extract the first word of "dsymutil", so it can be a program name with args.
     6978set dummy dsymutil; ac_word=$2
     6979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6980$as_echo_n "checking for $ac_word... " >&6; }
     6981if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
     6982  $as_echo_n "(cached) " >&6
     6983else
     6984  if test -n "$ac_ct_DSYMUTIL"; then
     6985  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
     6986else
     6987as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6988for as_dir in $PATH
     6989do
     6990  IFS=$as_save_IFS
     6991  test -z "$as_dir" && as_dir=.
     6992    for ac_exec_ext in '' $ac_executable_extensions; do
     6993  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6994    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
     6995    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6996    break 2
     6997  fi
     6998done
     6999  done
     7000IFS=$as_save_IFS
     7001
     7002fi
     7003fi
     7004ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
     7005if test -n "$ac_ct_DSYMUTIL"; then
     7006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
     7007$as_echo "$ac_ct_DSYMUTIL" >&6; }
     7008else
     7009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7010$as_echo "no" >&6; }
     7011fi
     7012
     7013  if test "x$ac_ct_DSYMUTIL" = x; then
     7014    DSYMUTIL=":"
     7015  else
     7016    case $cross_compiling:$ac_tool_warned in
     7017yes:)
     7018{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7019$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7020ac_tool_warned=yes ;;
     7021esac
     7022    DSYMUTIL=$ac_ct_DSYMUTIL
     7023  fi
     7024else
     7025  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
     7026fi
     7027
     7028    if test -n "$ac_tool_prefix"; then
     7029  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
     7030set dummy ${ac_tool_prefix}nmedit; ac_word=$2
     7031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7032$as_echo_n "checking for $ac_word... " >&6; }
     7033if ${ac_cv_prog_NMEDIT+:} false; then :
     7034  $as_echo_n "(cached) " >&6
     7035else
     7036  if test -n "$NMEDIT"; then
     7037  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
     7038else
     7039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7040for as_dir in $PATH
     7041do
     7042  IFS=$as_save_IFS
     7043  test -z "$as_dir" && as_dir=.
     7044    for ac_exec_ext in '' $ac_executable_extensions; do
     7045  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7046    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
     7047    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7048    break 2
     7049  fi
     7050done
     7051  done
     7052IFS=$as_save_IFS
     7053
     7054fi
     7055fi
     7056NMEDIT=$ac_cv_prog_NMEDIT
     7057if test -n "$NMEDIT"; then
     7058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
     7059$as_echo "$NMEDIT" >&6; }
     7060else
     7061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7062$as_echo "no" >&6; }
     7063fi
     7064
     7065
     7066fi
     7067if test -z "$ac_cv_prog_NMEDIT"; then
     7068  ac_ct_NMEDIT=$NMEDIT
     7069  # Extract the first word of "nmedit", so it can be a program name with args.
     7070set dummy nmedit; ac_word=$2
     7071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7072$as_echo_n "checking for $ac_word... " >&6; }
     7073if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
     7074  $as_echo_n "(cached) " >&6
     7075else
     7076  if test -n "$ac_ct_NMEDIT"; then
     7077  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
     7078else
     7079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7080for as_dir in $PATH
     7081do
     7082  IFS=$as_save_IFS
     7083  test -z "$as_dir" && as_dir=.
     7084    for ac_exec_ext in '' $ac_executable_extensions; do
     7085  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7086    ac_cv_prog_ac_ct_NMEDIT="nmedit"
     7087    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7088    break 2
     7089  fi
     7090done
     7091  done
     7092IFS=$as_save_IFS
     7093
     7094fi
     7095fi
     7096ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
     7097if test -n "$ac_ct_NMEDIT"; then
     7098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
     7099$as_echo "$ac_ct_NMEDIT" >&6; }
     7100else
     7101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7102$as_echo "no" >&6; }
     7103fi
     7104
     7105  if test "x$ac_ct_NMEDIT" = x; then
     7106    NMEDIT=":"
     7107  else
     7108    case $cross_compiling:$ac_tool_warned in
     7109yes:)
     7110{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7111$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7112ac_tool_warned=yes ;;
     7113esac
     7114    NMEDIT=$ac_ct_NMEDIT
     7115  fi
     7116else
     7117  NMEDIT="$ac_cv_prog_NMEDIT"
     7118fi
     7119
     7120    if test -n "$ac_tool_prefix"; then
     7121  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
     7122set dummy ${ac_tool_prefix}lipo; ac_word=$2
     7123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7124$as_echo_n "checking for $ac_word... " >&6; }
     7125if ${ac_cv_prog_LIPO+:} false; then :
     7126  $as_echo_n "(cached) " >&6
     7127else
     7128  if test -n "$LIPO"; then
     7129  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
     7130else
     7131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7132for as_dir in $PATH
     7133do
     7134  IFS=$as_save_IFS
     7135  test -z "$as_dir" && as_dir=.
     7136    for ac_exec_ext in '' $ac_executable_extensions; do
     7137  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7138    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
     7139    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7140    break 2
     7141  fi
     7142done
     7143  done
     7144IFS=$as_save_IFS
     7145
     7146fi
     7147fi
     7148LIPO=$ac_cv_prog_LIPO
     7149if test -n "$LIPO"; then
     7150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
     7151$as_echo "$LIPO" >&6; }
     7152else
     7153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7154$as_echo "no" >&6; }
     7155fi
     7156
     7157
     7158fi
     7159if test -z "$ac_cv_prog_LIPO"; then
     7160  ac_ct_LIPO=$LIPO
     7161  # Extract the first word of "lipo", so it can be a program name with args.
     7162set dummy lipo; ac_word=$2
     7163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7164$as_echo_n "checking for $ac_word... " >&6; }
     7165if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
     7166  $as_echo_n "(cached) " >&6
     7167else
     7168  if test -n "$ac_ct_LIPO"; then
     7169  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
     7170else
     7171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7172for as_dir in $PATH
     7173do
     7174  IFS=$as_save_IFS
     7175  test -z "$as_dir" && as_dir=.
     7176    for ac_exec_ext in '' $ac_executable_extensions; do
     7177  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7178    ac_cv_prog_ac_ct_LIPO="lipo"
     7179    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7180    break 2
     7181  fi
     7182done
     7183  done
     7184IFS=$as_save_IFS
     7185
     7186fi
     7187fi
     7188ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
     7189if test -n "$ac_ct_LIPO"; then
     7190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
     7191$as_echo "$ac_ct_LIPO" >&6; }
     7192else
     7193  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7194$as_echo "no" >&6; }
     7195fi
     7196
     7197  if test "x$ac_ct_LIPO" = x; then
     7198    LIPO=":"
     7199  else
     7200    case $cross_compiling:$ac_tool_warned in
     7201yes:)
     7202{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7203$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7204ac_tool_warned=yes ;;
     7205esac
     7206    LIPO=$ac_ct_LIPO
     7207  fi
     7208else
     7209  LIPO="$ac_cv_prog_LIPO"
     7210fi
     7211
     7212    if test -n "$ac_tool_prefix"; then
     7213  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
     7214set dummy ${ac_tool_prefix}otool; ac_word=$2
     7215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7216$as_echo_n "checking for $ac_word... " >&6; }
     7217if ${ac_cv_prog_OTOOL+:} false; then :
     7218  $as_echo_n "(cached) " >&6
     7219else
     7220  if test -n "$OTOOL"; then
     7221  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
     7222else
     7223as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7224for as_dir in $PATH
     7225do
     7226  IFS=$as_save_IFS
     7227  test -z "$as_dir" && as_dir=.
     7228    for ac_exec_ext in '' $ac_executable_extensions; do
     7229  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7230    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
     7231    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7232    break 2
     7233  fi
     7234done
     7235  done
     7236IFS=$as_save_IFS
     7237
     7238fi
     7239fi
     7240OTOOL=$ac_cv_prog_OTOOL
     7241if test -n "$OTOOL"; then
     7242  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
     7243$as_echo "$OTOOL" >&6; }
     7244else
     7245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7246$as_echo "no" >&6; }
     7247fi
     7248
     7249
     7250fi
     7251if test -z "$ac_cv_prog_OTOOL"; then
     7252  ac_ct_OTOOL=$OTOOL
     7253  # Extract the first word of "otool", so it can be a program name with args.
     7254set dummy otool; ac_word=$2
     7255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7256$as_echo_n "checking for $ac_word... " >&6; }
     7257if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
     7258  $as_echo_n "(cached) " >&6
     7259else
     7260  if test -n "$ac_ct_OTOOL"; then
     7261  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
     7262else
     7263as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7264for as_dir in $PATH
     7265do
     7266  IFS=$as_save_IFS
     7267  test -z "$as_dir" && as_dir=.
     7268    for ac_exec_ext in '' $ac_executable_extensions; do
     7269  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7270    ac_cv_prog_ac_ct_OTOOL="otool"
     7271    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7272    break 2
     7273  fi
     7274done
     7275  done
     7276IFS=$as_save_IFS
     7277
     7278fi
     7279fi
     7280ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
     7281if test -n "$ac_ct_OTOOL"; then
     7282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
     7283$as_echo "$ac_ct_OTOOL" >&6; }
     7284else
     7285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7286$as_echo "no" >&6; }
     7287fi
     7288
     7289  if test "x$ac_ct_OTOOL" = x; then
     7290    OTOOL=":"
     7291  else
     7292    case $cross_compiling:$ac_tool_warned in
     7293yes:)
     7294{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7295$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7296ac_tool_warned=yes ;;
     7297esac
     7298    OTOOL=$ac_ct_OTOOL
     7299  fi
     7300else
     7301  OTOOL="$ac_cv_prog_OTOOL"
     7302fi
     7303
     7304    if test -n "$ac_tool_prefix"; then
     7305  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
     7306set dummy ${ac_tool_prefix}otool64; ac_word=$2
     7307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7308$as_echo_n "checking for $ac_word... " >&6; }
     7309if ${ac_cv_prog_OTOOL64+:} false; then :
     7310  $as_echo_n "(cached) " >&6
     7311else
     7312  if test -n "$OTOOL64"; then
     7313  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
     7314else
     7315as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7316for as_dir in $PATH
     7317do
     7318  IFS=$as_save_IFS
     7319  test -z "$as_dir" && as_dir=.
     7320    for ac_exec_ext in '' $ac_executable_extensions; do
     7321  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7322    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
     7323    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7324    break 2
     7325  fi
     7326done
     7327  done
     7328IFS=$as_save_IFS
     7329
     7330fi
     7331fi
     7332OTOOL64=$ac_cv_prog_OTOOL64
     7333if test -n "$OTOOL64"; then
     7334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
     7335$as_echo "$OTOOL64" >&6; }
     7336else
     7337  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7338$as_echo "no" >&6; }
     7339fi
     7340
     7341
     7342fi
     7343if test -z "$ac_cv_prog_OTOOL64"; then
     7344  ac_ct_OTOOL64=$OTOOL64
     7345  # Extract the first word of "otool64", so it can be a program name with args.
     7346set dummy otool64; ac_word=$2
     7347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7348$as_echo_n "checking for $ac_word... " >&6; }
     7349if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
     7350  $as_echo_n "(cached) " >&6
     7351else
     7352  if test -n "$ac_ct_OTOOL64"; then
     7353  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
     7354else
     7355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7356for as_dir in $PATH
     7357do
     7358  IFS=$as_save_IFS
     7359  test -z "$as_dir" && as_dir=.
     7360    for ac_exec_ext in '' $ac_executable_extensions; do
     7361  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7362    ac_cv_prog_ac_ct_OTOOL64="otool64"
     7363    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7364    break 2
     7365  fi
     7366done
     7367  done
     7368IFS=$as_save_IFS
     7369
     7370fi
     7371fi
     7372ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
     7373if test -n "$ac_ct_OTOOL64"; then
     7374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
     7375$as_echo "$ac_ct_OTOOL64" >&6; }
     7376else
     7377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7378$as_echo "no" >&6; }
     7379fi
     7380
     7381  if test "x$ac_ct_OTOOL64" = x; then
     7382    OTOOL64=":"
     7383  else
     7384    case $cross_compiling:$ac_tool_warned in
     7385yes:)
     7386{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7387$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7388ac_tool_warned=yes ;;
     7389esac
     7390    OTOOL64=$ac_ct_OTOOL64
     7391  fi
     7392else
     7393  OTOOL64="$ac_cv_prog_OTOOL64"
     7394fi
     7395
     7396
     7397
     7398
     7399
     7400
     7401
     7402
     7403
     7404
     7405
     7406
     7407
     7408
     7409
     7410
     7411
     7412
     7413
     7414
     7415
     7416
     7417
     7418
     7419
     7420
     7421
     7422    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
     7423$as_echo_n "checking for -single_module linker flag... " >&6; }
     7424if ${lt_cv_apple_cc_single_mod+:} false; then :
     7425  $as_echo_n "(cached) " >&6
     7426else
     7427  lt_cv_apple_cc_single_mod=no
     7428      if test -z "$LT_MULTI_MODULE"; then
     7429        # By default we will add the -single_module flag. You can override
     7430        # by either setting the environment variable LT_MULTI_MODULE
     7431        # non-empty at configure time, or by adding -multi_module to the
     7432        # link flags.
     7433        rm -rf libconftest.dylib*
     7434        echo "int foo(void){return 1;}" > conftest.c
     7435        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     7436-dynamiclib -Wl,-single_module conftest.c" >&5
     7437        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     7438          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
     7439        _lt_result=$?
     7440        # If there is a non-empty error log, and "single_module"
     7441        # appears in it, assume the flag caused a linker warning
     7442        if test -s conftest.err && $GREP single_module conftest.err; then
     7443          cat conftest.err >&5
     7444        # Otherwise, if the output was created with a 0 exit code from
     7445        # the compiler, it worked.
     7446        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
     7447          lt_cv_apple_cc_single_mod=yes
     7448        else
     7449          cat conftest.err >&5
     7450        fi
     7451        rm -rf libconftest.dylib*
     7452        rm -f conftest.*
     7453      fi
     7454fi
     7455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
     7456$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
     7457
     7458    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
     7459$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
     7460if ${lt_cv_ld_exported_symbols_list+:} false; then :
     7461  $as_echo_n "(cached) " >&6
     7462else
     7463  lt_cv_ld_exported_symbols_list=no
     7464      save_LDFLAGS=$LDFLAGS
     7465      echo "_main" > conftest.sym
     7466      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
     7467      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7468/* end confdefs.h.  */
     7469
     7470int
     7471main ()
     7472{
     7473
     7474  ;
     7475  return 0;
     7476}
     7477_ACEOF
     7478if ac_fn_c_try_link "$LINENO"; then :
     7479  lt_cv_ld_exported_symbols_list=yes
     7480else
     7481  lt_cv_ld_exported_symbols_list=no
     7482fi
     7483rm -f core conftest.err conftest.$ac_objext \
     7484    conftest$ac_exeext conftest.$ac_ext
     7485        LDFLAGS=$save_LDFLAGS
     7486
     7487fi
     7488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
     7489$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
     7490
     7491    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
     7492$as_echo_n "checking for -force_load linker flag... " >&6; }
     7493if ${lt_cv_ld_force_load+:} false; then :
     7494  $as_echo_n "(cached) " >&6
     7495else
     7496  lt_cv_ld_force_load=no
     7497      cat > conftest.c << _LT_EOF
     7498int forced_loaded() { return 2;}
     7499_LT_EOF
     7500      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
     7501      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
     7502      echo "$AR cru libconftest.a conftest.o" >&5
     7503      $AR cru libconftest.a conftest.o 2>&5
     7504      echo "$RANLIB libconftest.a" >&5
     7505      $RANLIB libconftest.a 2>&5
     7506      cat > conftest.c << _LT_EOF
     7507int main() { return 0;}
     7508_LT_EOF
     7509      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
     7510      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
     7511      _lt_result=$?
     7512      if test -s conftest.err && $GREP force_load conftest.err; then
     7513        cat conftest.err >&5
     7514      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
     7515        lt_cv_ld_force_load=yes
     7516      else
     7517        cat conftest.err >&5
     7518      fi
     7519        rm -f conftest.err libconftest.a conftest conftest.c
     7520        rm -rf conftest.dSYM
     7521
     7522fi
     7523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
     7524$as_echo "$lt_cv_ld_force_load" >&6; }
     7525    case $host_os in
     7526    rhapsody* | darwin1.[012])
     7527      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
     7528    darwin1.*)
     7529      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     7530    darwin*) # darwin 5.x on
     7531      # if running on 10.5 or later, the deployment target defaults
     7532      # to the OS version, if on x86, and 10.4, the deployment
     7533      # target defaults to 10.4. Don't you love it?
     7534      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
     7535        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
     7536          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     7537        10.[012][,.]*)
     7538          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     7539        10.*)
     7540          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     7541      esac
     7542    ;;
     7543  esac
     7544    if test yes = "$lt_cv_apple_cc_single_mod"; then
     7545      _lt_dar_single_mod='$single_module'
     7546    fi
     7547    if test yes = "$lt_cv_ld_exported_symbols_list"; then
     7548      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
     7549    else
     7550      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
     7551    fi
     7552    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
     7553      _lt_dsymutil='~$DSYMUTIL $lib || :'
     7554    else
     7555      _lt_dsymutil=
     7556    fi
     7557    ;;
     7558  esac
     7559
     7560# func_munge_path_list VARIABLE PATH
     7561# -----------------------------------
     7562# VARIABLE is name of variable containing _space_ separated list of
     7563# directories to be munged by the contents of PATH, which is string
     7564# having a format:
     7565# "DIR[:DIR]:"
     7566#       string "DIR[ DIR]" will be prepended to VARIABLE
     7567# ":DIR[:DIR]"
     7568#       string "DIR[ DIR]" will be appended to VARIABLE
     7569# "DIRP[:DIRP]::[DIRA:]DIRA"
     7570#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     7571#       "DIRA[ DIRA]" will be appended to VARIABLE
     7572# "DIR[:DIR]"
     7573#       VARIABLE will be replaced by "DIR[ DIR]"
     7574func_munge_path_list ()
     7575{
     7576    case x$2 in
     7577    x)
     7578        ;;
     7579    *:)
     7580        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
     7581        ;;
     7582    x:*)
     7583        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
     7584        ;;
     7585    *::*)
     7586        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     7587        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
     7588        ;;
     7589    *)
     7590        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
     7591        ;;
     7592    esac
     7593}
     7594
     7595ac_ext=c
     7596ac_cpp='$CPP $CPPFLAGS'
     7597ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     7598ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     7599ac_compiler_gnu=$ac_cv_c_compiler_gnu
     7600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     7601$as_echo_n "checking how to run the C preprocessor... " >&6; }
     7602# On Suns, sometimes $CPP names a directory.
     7603if test -n "$CPP" && test -d "$CPP"; then
     7604  CPP=
     7605fi
     7606if test -z "$CPP"; then
     7607  if ${ac_cv_prog_CPP+:} false; then :
     7608  $as_echo_n "(cached) " >&6
     7609else
     7610      # Double quotes because CPP needs to be expanded
     7611    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     7612    do
     7613      ac_preproc_ok=false
     7614for ac_c_preproc_warn_flag in '' yes
     7615do
     7616  # Use a header file that comes with gcc, so configuring glibc
     7617  # with a fresh cross-compiler works.
     7618  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     7619  # <limits.h> exists even on freestanding compilers.
     7620  # On the NeXT, cc -E runs the code through the compiler's parser,
     7621  # not just through cpp. "Syntax error" is here to catch this case.
     7622  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7623/* end confdefs.h.  */
     7624#ifdef __STDC__
     7625# include <limits.h>
     7626#else
     7627# include <assert.h>
     7628#endif
     7629                     Syntax error
     7630_ACEOF
     7631if ac_fn_c_try_cpp "$LINENO"; then :
     7632
     7633else
     7634  # Broken: fails on valid input.
     7635continue
     7636fi
     7637rm -f conftest.err conftest.i conftest.$ac_ext
     7638
     7639  # OK, works on sane cases.  Now check whether nonexistent headers
     7640  # can be detected and how.
     7641  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7642/* end confdefs.h.  */
     7643#include <ac_nonexistent.h>
     7644_ACEOF
     7645if ac_fn_c_try_cpp "$LINENO"; then :
     7646  # Broken: success on invalid input.
     7647continue
     7648else
     7649  # Passes both tests.
     7650ac_preproc_ok=:
     7651break
     7652fi
     7653rm -f conftest.err conftest.i conftest.$ac_ext
     7654
     7655done
     7656# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     7657rm -f conftest.i conftest.err conftest.$ac_ext
     7658if $ac_preproc_ok; then :
     7659  break
     7660fi
     7661
     7662    done
     7663    ac_cv_prog_CPP=$CPP
     7664
     7665fi
     7666  CPP=$ac_cv_prog_CPP
     7667else
     7668  ac_cv_prog_CPP=$CPP
     7669fi
     7670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     7671$as_echo "$CPP" >&6; }
     7672ac_preproc_ok=false
     7673for ac_c_preproc_warn_flag in '' yes
     7674do
     7675  # Use a header file that comes with gcc, so configuring glibc
     7676  # with a fresh cross-compiler works.
     7677  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     7678  # <limits.h> exists even on freestanding compilers.
     7679  # On the NeXT, cc -E runs the code through the compiler's parser,
     7680  # not just through cpp. "Syntax error" is here to catch this case.
     7681  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7682/* end confdefs.h.  */
     7683#ifdef __STDC__
     7684# include <limits.h>
     7685#else
     7686# include <assert.h>
     7687#endif
     7688                     Syntax error
     7689_ACEOF
     7690if ac_fn_c_try_cpp "$LINENO"; then :
     7691
     7692else
     7693  # Broken: fails on valid input.
     7694continue
     7695fi
     7696rm -f conftest.err conftest.i conftest.$ac_ext
     7697
     7698  # OK, works on sane cases.  Now check whether nonexistent headers
     7699  # can be detected and how.
     7700  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7701/* end confdefs.h.  */
     7702#include <ac_nonexistent.h>
     7703_ACEOF
     7704if ac_fn_c_try_cpp "$LINENO"; then :
     7705  # Broken: success on invalid input.
     7706continue
     7707else
     7708  # Passes both tests.
     7709ac_preproc_ok=:
     7710break
     7711fi
     7712rm -f conftest.err conftest.i conftest.$ac_ext
     7713
     7714done
     7715# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     7716rm -f conftest.i conftest.err conftest.$ac_ext
     7717if $ac_preproc_ok; then :
     7718
     7719else
     7720  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     7721$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     7722as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     7723See \`config.log' for more details" "$LINENO" 5; }
     7724fi
     7725
     7726ac_ext=c
     7727ac_cpp='$CPP $CPPFLAGS'
     7728ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     7729ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     7730ac_compiler_gnu=$ac_cv_c_compiler_gnu
     7731
     7732
     7733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     7734$as_echo_n "checking for ANSI C header files... " >&6; }
     7735if ${ac_cv_header_stdc+:} false; then :
     7736  $as_echo_n "(cached) " >&6
     7737else
     7738  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7739/* end confdefs.h.  */
     7740#include <stdlib.h>
     7741#include <stdarg.h>
     7742#include <string.h>
     7743#include <float.h>
     7744
     7745int
     7746main ()
     7747{
     7748
     7749  ;
     7750  return 0;
     7751}
     7752_ACEOF
     7753if ac_fn_c_try_compile "$LINENO"; then :
     7754  ac_cv_header_stdc=yes
     7755else
     7756  ac_cv_header_stdc=no
     7757fi
     7758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7759
     7760if test $ac_cv_header_stdc = yes; then
     7761  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     7762  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7763/* end confdefs.h.  */
     7764#include <string.h>
     7765
     7766_ACEOF
     7767if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     7768  $EGREP "memchr" >/dev/null 2>&1; then :
     7769
     7770else
     7771  ac_cv_header_stdc=no
     7772fi
     7773rm -f conftest*
     7774
     7775fi
     7776
     7777if test $ac_cv_header_stdc = yes; then
     7778  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     7779  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7780/* end confdefs.h.  */
     7781#include <stdlib.h>
     7782
     7783_ACEOF
     7784if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     7785  $EGREP "free" >/dev/null 2>&1; then :
     7786
     7787else
     7788  ac_cv_header_stdc=no
     7789fi
     7790rm -f conftest*
     7791
     7792fi
     7793
     7794if test $ac_cv_header_stdc = yes; then
     7795  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     7796  if test "$cross_compiling" = yes; then :
     7797  :
     7798else
     7799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7800/* end confdefs.h.  */
     7801#include <ctype.h>
     7802#include <stdlib.h>
     7803#if ((' ' & 0x0FF) == 0x020)
     7804# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     7805# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     7806#else
     7807# define ISLOWER(c) \
     7808                   (('a' <= (c) && (c) <= 'i') \
     7809                     || ('j' <= (c) && (c) <= 'r') \
     7810                     || ('s' <= (c) && (c) <= 'z'))
     7811# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     7812#endif
     7813
     7814#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     7815int
     7816main ()
     7817{
     7818  int i;
     7819  for (i = 0; i < 256; i++)
     7820    if (XOR (islower (i), ISLOWER (i))
     7821        || toupper (i) != TOUPPER (i))
     7822      return 2;
     7823  return 0;
     7824}
     7825_ACEOF
     7826if ac_fn_c_try_run "$LINENO"; then :
     7827
     7828else
     7829  ac_cv_header_stdc=no
     7830fi
     7831rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     7832  conftest.$ac_objext conftest.beam conftest.$ac_ext
     7833fi
     7834
     7835fi
     7836fi
     7837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     7838$as_echo "$ac_cv_header_stdc" >&6; }
     7839if test $ac_cv_header_stdc = yes; then
     7840
     7841$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     7842
     7843fi
     7844
     7845# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     7846for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     7847                  inttypes.h stdint.h unistd.h
     7848do :
     7849  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7850ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     7851"
     7852if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     7853  cat >>confdefs.h <<_ACEOF
     7854#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     7855_ACEOF
     7856
     7857fi
     7858
     7859done
     7860
     7861
     7862for ac_header in dlfcn.h
     7863do :
     7864  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
     7865"
     7866if test "x$ac_cv_header_dlfcn_h" = xyes; then :
     7867  cat >>confdefs.h <<_ACEOF
     7868#define HAVE_DLFCN_H 1
     7869_ACEOF
     7870
     7871fi
     7872
     7873done
     7874
     7875
     7876
     7877
     7878
     7879# Set options
     7880
     7881
     7882
     7883        enable_dlopen=no
     7884
     7885
     7886  enable_win32_dll=no
     7887
     7888
     7889            # Check whether --enable-shared was given.
     7890if test "${enable_shared+set}" = set; then :
     7891  enableval=$enable_shared; p=${PACKAGE-default}
     7892    case $enableval in
     7893    yes) enable_shared=yes ;;
     7894    no) enable_shared=no ;;
     7895    *)
     7896      enable_shared=no
     7897      # Look at the argument we got.  We use all the common list separators.
     7898      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     7899      for pkg in $enableval; do
     7900        IFS=$lt_save_ifs
     7901        if test "X$pkg" = "X$p"; then
     7902          enable_shared=yes
     7903        fi
     7904      done
     7905      IFS=$lt_save_ifs
     7906      ;;
     7907    esac
     7908else
     7909  enable_shared=yes
     7910fi
     7911
     7912
     7913
     7914
     7915
     7916
     7917
     7918
     7919
     7920  # Check whether --enable-static was given.
     7921if test "${enable_static+set}" = set; then :
     7922  enableval=$enable_static; p=${PACKAGE-default}
     7923    case $enableval in
     7924    yes) enable_static=yes ;;
     7925    no) enable_static=no ;;
     7926    *)
     7927     enable_static=no
     7928      # Look at the argument we got.  We use all the common list separators.
     7929      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     7930      for pkg in $enableval; do
     7931        IFS=$lt_save_ifs
     7932        if test "X$pkg" = "X$p"; then
     7933          enable_static=yes
     7934        fi
     7935      done
     7936      IFS=$lt_save_ifs
     7937      ;;
     7938    esac
     7939else
     7940  enable_static=yes
     7941fi
     7942
     7943
     7944
     7945
     7946
     7947
     7948
     7949
     7950
     7951
     7952# Check whether --with-pic was given.
     7953if test "${with_pic+set}" = set; then :
     7954  withval=$with_pic; lt_p=${PACKAGE-default}
     7955    case $withval in
     7956    yes|no) pic_mode=$withval ;;
     7957    *)
     7958      pic_mode=default
     7959      # Look at the argument we got.  We use all the common list separators.
     7960      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     7961      for lt_pkg in $withval; do
     7962        IFS=$lt_save_ifs
     7963        if test "X$lt_pkg" = "X$lt_p"; then
     7964          pic_mode=yes
     7965        fi
     7966      done
     7967      IFS=$lt_save_ifs
     7968      ;;
     7969    esac
     7970else
     7971  pic_mode=default
     7972fi
     7973
     7974
     7975
     7976
     7977
     7978
     7979
     7980
     7981  # Check whether --enable-fast-install was given.
     7982if test "${enable_fast_install+set}" = set; then :
     7983  enableval=$enable_fast_install; p=${PACKAGE-default}
     7984    case $enableval in
     7985    yes) enable_fast_install=yes ;;
     7986    no) enable_fast_install=no ;;
     7987    *)
     7988      enable_fast_install=no
     7989      # Look at the argument we got.  We use all the common list separators.
     7990      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     7991      for pkg in $enableval; do
     7992        IFS=$lt_save_ifs
     7993        if test "X$pkg" = "X$p"; then
     7994          enable_fast_install=yes
     7995        fi
     7996      done
     7997      IFS=$lt_save_ifs
     7998      ;;
     7999    esac
     8000else
     8001  enable_fast_install=yes
     8002fi
     8003
     8004
     8005
     8006
     8007
     8008
     8009
     8010
     8011  shared_archive_member_spec=
     8012case $host,$enable_shared in
     8013power*-*-aix[5-9]*,yes)
     8014  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
     8015$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
     8016
     8017# Check whether --with-aix-soname was given.
     8018if test "${with_aix_soname+set}" = set; then :
     8019  withval=$with_aix_soname; case $withval in
     8020    aix|svr4|both)
     8021      ;;
     8022    *)
     8023      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
     8024      ;;
     8025    esac
     8026    lt_cv_with_aix_soname=$with_aix_soname
     8027else
     8028  if ${lt_cv_with_aix_soname+:} false; then :
     8029  $as_echo_n "(cached) " >&6
     8030else
     8031  lt_cv_with_aix_soname=aix
     8032fi
     8033
     8034    with_aix_soname=$lt_cv_with_aix_soname
     8035fi
     8036
     8037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
     8038$as_echo "$with_aix_soname" >&6; }
     8039  if test aix != "$with_aix_soname"; then
     8040    # For the AIX way of multilib, we name the shared archive member
     8041    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
     8042    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
     8043    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
     8044    # the AIX toolchain works better with OBJECT_MODE set (default 32).
     8045    if test 64 = "${OBJECT_MODE-32}"; then
     8046      shared_archive_member_spec=shr_64
     8047    else
     8048      shared_archive_member_spec=shr
     8049    fi
     8050  fi
     8051  ;;
     8052*)
     8053  with_aix_soname=aix
     8054  ;;
     8055esac
     8056
     8057
     8058
     8059
     8060
     8061
     8062
     8063
     8064
     8065
     8066# This can be used to rebuild libtool when needed
     8067LIBTOOL_DEPS=$ltmain
     8068
     8069# Always use our own libtool.
     8070LIBTOOL='$(SHELL) $(top_builddir)/libtool'
     8071
     8072
     8073
     8074
     8075
     8076
     8077
     8078
     8079
     8080
     8081
     8082
     8083
     8084
     8085
     8086
     8087
     8088
     8089
     8090
     8091
     8092
     8093
     8094
     8095
     8096
     8097
     8098
     8099
     8100
     8101test -z "$LN_S" && LN_S="ln -s"
     8102
     8103
     8104
     8105
     8106
     8107
     8108
     8109
     8110
     8111
     8112
     8113
     8114
     8115
     8116if test -n "${ZSH_VERSION+set}"; then
     8117   setopt NO_GLOB_SUBST
     8118fi
     8119
     8120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
     8121$as_echo_n "checking for objdir... " >&6; }
     8122if ${lt_cv_objdir+:} false; then :
     8123  $as_echo_n "(cached) " >&6
     8124else
     8125  rm -f .libs 2>/dev/null
     8126mkdir .libs 2>/dev/null
     8127if test -d .libs; then
     8128  lt_cv_objdir=.libs
     8129else
     8130  # MS-DOS does not allow filenames that begin with a dot.
     8131  lt_cv_objdir=_libs
     8132fi
     8133rmdir .libs 2>/dev/null
     8134fi
     8135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
     8136$as_echo "$lt_cv_objdir" >&6; }
     8137objdir=$lt_cv_objdir
     8138
     8139
     8140
     8141
     8142
     8143cat >>confdefs.h <<_ACEOF
     8144#define LT_OBJDIR "$lt_cv_objdir/"
     8145_ACEOF
     8146
     8147
     8148
     8149
     8150case $host_os in
     8151aix3*)
     8152  # AIX sometimes has problems with the GCC collect2 program.  For some
     8153  # reason, if we set the COLLECT_NAMES environment variable, the problems
     8154  # vanish in a puff of smoke.
     8155  if test set != "${COLLECT_NAMES+set}"; then
     8156    COLLECT_NAMES=
     8157    export COLLECT_NAMES
     8158  fi
     8159  ;;
     8160esac
     8161
     8162# Global variables:
     8163ofile=libtool
     8164can_build_shared=yes
     8165
     8166# All known linkers require a '.a' archive for static linking (except MSVC,
     8167# which needs '.lib').
     8168libext=a
     8169
     8170with_gnu_ld=$lt_cv_prog_gnu_ld
     8171
     8172old_CC=$CC
     8173old_CFLAGS=$CFLAGS
     8174
     8175# Set sane defaults for various variables
     8176test -z "$CC" && CC=cc
     8177test -z "$LTCC" && LTCC=$CC
     8178test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
     8179test -z "$LD" && LD=ld
     8180test -z "$ac_objext" && ac_objext=o
     8181
     8182func_cc_basename $compiler
     8183cc_basename=$func_cc_basename_result
     8184
     8185
     8186# Only perform the check for file, if the check method requires it
     8187test -z "$MAGIC_CMD" && MAGIC_CMD=file
     8188case $deplibs_check_method in
     8189file_magic*)
     8190  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     8191    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
     8192$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
     8193if ${lt_cv_path_MAGIC_CMD+:} false; then :
     8194  $as_echo_n "(cached) " >&6
     8195else
     8196  case $MAGIC_CMD in
     8197[\\/*] |  ?:[\\/]*)
     8198  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
     8199  ;;
     8200*)
     8201  lt_save_MAGIC_CMD=$MAGIC_CMD
     8202  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     8203  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
     8204  for ac_dir in $ac_dummy; do
     8205    IFS=$lt_save_ifs
     8206    test -z "$ac_dir" && ac_dir=.
     8207    if test -f "$ac_dir/${ac_tool_prefix}file"; then
     8208      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
     8209      if test -n "$file_magic_test_file"; then
     8210        case $deplibs_check_method in
     8211        "file_magic "*)
     8212          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
     8213          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     8214          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     8215            $EGREP "$file_magic_regex" > /dev/null; then
     8216            :
     8217          else
     8218            cat <<_LT_EOF 1>&2
     8219
     8220*** Warning: the command libtool uses to detect shared libraries,
     8221*** $file_magic_cmd, produces output that libtool cannot recognize.
     8222*** The result is that libtool may fail to recognize shared libraries
     8223*** as such.  This will affect the creation of libtool libraries that
     8224*** depend on shared libraries, but programs linked with such libtool
     8225*** libraries will work regardless of this problem.  Nevertheless, you
     8226*** may want to report the problem to your system manager and/or to
     8227*** bug-libtool@gnu.org
     8228
     8229_LT_EOF
     8230          fi ;;
     8231        esac
     8232      fi
     8233      break
     8234    fi
     8235  done
     8236  IFS=$lt_save_ifs
     8237  MAGIC_CMD=$lt_save_MAGIC_CMD
     8238  ;;
     8239esac
     8240fi
     8241
     8242MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     8243if test -n "$MAGIC_CMD"; then
     8244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     8245$as_echo "$MAGIC_CMD" >&6; }
     8246else
     8247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8248$as_echo "no" >&6; }
     8249fi
     8250
     8251
     8252
     8253
     8254
     8255if test -z "$lt_cv_path_MAGIC_CMD"; then
     8256  if test -n "$ac_tool_prefix"; then
     8257    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
     8258$as_echo_n "checking for file... " >&6; }
     8259if ${lt_cv_path_MAGIC_CMD+:} false; then :
     8260  $as_echo_n "(cached) " >&6
     8261else
     8262  case $MAGIC_CMD in
     8263[\\/*] |  ?:[\\/]*)
     8264  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
     8265  ;;
     8266*)
     8267  lt_save_MAGIC_CMD=$MAGIC_CMD
     8268  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     8269  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
     8270  for ac_dir in $ac_dummy; do
     8271    IFS=$lt_save_ifs
     8272    test -z "$ac_dir" && ac_dir=.
     8273    if test -f "$ac_dir/file"; then
     8274      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
     8275      if test -n "$file_magic_test_file"; then
     8276        case $deplibs_check_method in
     8277        "file_magic "*)
     8278          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
     8279          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     8280          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     8281            $EGREP "$file_magic_regex" > /dev/null; then
     8282            :
     8283          else
     8284            cat <<_LT_EOF 1>&2
     8285
     8286*** Warning: the command libtool uses to detect shared libraries,
     8287*** $file_magic_cmd, produces output that libtool cannot recognize.
     8288*** The result is that libtool may fail to recognize shared libraries
     8289*** as such.  This will affect the creation of libtool libraries that
     8290*** depend on shared libraries, but programs linked with such libtool
     8291*** libraries will work regardless of this problem.  Nevertheless, you
     8292*** may want to report the problem to your system manager and/or to
     8293*** bug-libtool@gnu.org
     8294
     8295_LT_EOF
     8296          fi ;;
     8297        esac
     8298      fi
     8299      break
     8300    fi
     8301  done
     8302  IFS=$lt_save_ifs
     8303  MAGIC_CMD=$lt_save_MAGIC_CMD
     8304  ;;
     8305esac
     8306fi
     8307
     8308MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     8309if test -n "$MAGIC_CMD"; then
     8310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     8311$as_echo "$MAGIC_CMD" >&6; }
     8312else
     8313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8314$as_echo "no" >&6; }
     8315fi
     8316
     8317
     8318  else
     8319    MAGIC_CMD=:
     8320  fi
     8321fi
     8322
     8323  fi
     8324  ;;
     8325esac
     8326
     8327# Use C for the default configuration in the libtool script
     8328
     8329lt_save_CC=$CC
     8330ac_ext=c
     8331ac_cpp='$CPP $CPPFLAGS'
     8332ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8333ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     8334ac_compiler_gnu=$ac_cv_c_compiler_gnu
     8335
     8336
     8337# Source file extension for C test sources.
     8338ac_ext=c
     8339
     8340# Object file extension for compiled C test sources.
     8341objext=o
     8342objext=$objext
     8343
     8344# Code to be used in simple compile tests
     8345lt_simple_compile_test_code="int some_variable = 0;"
     8346
     8347# Code to be used in simple link tests
     8348lt_simple_link_test_code='int main(){return(0);}'
     8349
     8350
     8351
     8352
     8353
     8354
     8355
     8356# If no C compiler was specified, use CC.
     8357LTCC=${LTCC-"$CC"}
     8358
     8359# If no C compiler flags were specified, use CFLAGS.
     8360LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     8361
     8362# Allow CC to be a program name with arguments.
     8363compiler=$CC
     8364
     8365# Save the default compiler, since it gets overwritten when the other
     8366# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
     8367compiler_DEFAULT=$CC
     8368
     8369# save warnings/boilerplate of simple test code
     8370ac_outfile=conftest.$ac_objext
     8371echo "$lt_simple_compile_test_code" >conftest.$ac_ext
     8372eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     8373_lt_compiler_boilerplate=`cat conftest.err`
     8374$RM conftest*
     8375
     8376ac_outfile=conftest.$ac_objext
     8377echo "$lt_simple_link_test_code" >conftest.$ac_ext
     8378eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     8379_lt_linker_boilerplate=`cat conftest.err`
     8380$RM -r conftest*
     8381
     8382
     8383## CAVEAT EMPTOR:
     8384## There is no encapsulation within the following macros, do not change
     8385## the running order or otherwise move them around unless you know exactly
     8386## what you are doing...
     8387if test -n "$compiler"; then
     8388
     8389lt_prog_compiler_no_builtin_flag=
     8390
     8391if test yes = "$GCC"; then
     8392  case $cc_basename in
     8393  nvcc*)
     8394    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
     8395  *)
     8396    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
     8397  esac
     8398
     8399  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
     8400$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
     8401if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
     8402  $as_echo_n "(cached) " >&6
     8403else
     8404  lt_cv_prog_compiler_rtti_exceptions=no
     8405   ac_outfile=conftest.$ac_objext
     8406   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     8407   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
     8408   # Insert the option either (1) after the last *FLAGS variable, or
     8409   # (2) before a word containing "conftest.", or (3) at the end.
     8410   # Note that $ac_compile itself does not contain backslashes and begins
     8411   # with a dollar sign (not a hyphen), so the echo should work correctly.
     8412   # The option is referenced via a variable to avoid confusing sed.
     8413   lt_compile=`echo "$ac_compile" | $SED \
     8414   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     8415   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     8416   -e 's:$: $lt_compiler_flag:'`
     8417   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     8418   (eval "$lt_compile" 2>conftest.err)
     8419   ac_status=$?
     8420   cat conftest.err >&5
     8421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8422   if (exit $ac_status) && test -s "$ac_outfile"; then
     8423     # The compiler can only warn and ignore the option if not recognized
     8424     # So say no if there are warnings other than the usual output.
     8425     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
     8426     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     8427     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
     8428       lt_cv_prog_compiler_rtti_exceptions=yes
     8429     fi
     8430   fi
     8431   $RM conftest*
     8432
     8433fi
     8434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
     8435$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
     8436
     8437if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
     8438    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
     8439else
     8440    :
     8441fi
     8442
     8443fi
     8444
     8445
     8446
     8447
     8448
     8449
     8450  lt_prog_compiler_wl=
     8451lt_prog_compiler_pic=
     8452lt_prog_compiler_static=
     8453
     8454
     8455  if test yes = "$GCC"; then
     8456    lt_prog_compiler_wl='-Wl,'
     8457    lt_prog_compiler_static='-static'
     8458
     8459    case $host_os in
     8460      aix*)
     8461      # All AIX code is PIC.
     8462      if test ia64 = "$host_cpu"; then
     8463        # AIX 5 now supports IA64 processor
     8464        lt_prog_compiler_static='-Bstatic'
     8465      fi
     8466      lt_prog_compiler_pic='-fPIC'
     8467      ;;
     8468
     8469    amigaos*)
     8470      case $host_cpu in
     8471      powerpc)
     8472            # see comment about AmigaOS4 .so support
     8473            lt_prog_compiler_pic='-fPIC'
     8474        ;;
     8475      m68k)
     8476            # FIXME: we need at least 68020 code to build shared libraries, but
     8477            # adding the '-m68020' flag to GCC prevents building anything better,
     8478            # like '-m68040'.
     8479            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
     8480        ;;
     8481      esac
     8482      ;;
     8483
     8484    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     8485      # PIC is the default for these OSes.
     8486      ;;
     8487
     8488    mingw* | cygwin* | pw32* | os2* | cegcc*)
     8489      # This hack is so that the source file can tell whether it is being
     8490      # built for inclusion in a dll (and should export symbols for example).
     8491      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     8492      # (--disable-auto-import) libraries
     8493      lt_prog_compiler_pic='-DDLL_EXPORT'
     8494      case $host_os in
     8495      os2*)
     8496        lt_prog_compiler_static='$wl-static'
     8497        ;;
     8498      esac
     8499      ;;
     8500
     8501    darwin* | rhapsody*)
     8502      # PIC is the default on this platform
     8503      # Common symbols not allowed in MH_DYLIB files
     8504      lt_prog_compiler_pic='-fno-common'
     8505      ;;
     8506
     8507    haiku*)
     8508      # PIC is the default for Haiku.
     8509      # The "-static" flag exists, but is broken.
     8510      lt_prog_compiler_static=
     8511      ;;
     8512
     8513    hpux*)
     8514      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
     8515      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
     8516      # sets the default TLS model and affects inlining.
     8517      case $host_cpu in
     8518      hppa*64*)
     8519        # +Z the default
     8520        ;;
     8521      *)
     8522        lt_prog_compiler_pic='-fPIC'
     8523        ;;
     8524      esac
     8525      ;;
     8526
     8527    interix[3-9]*)
     8528      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
     8529      # Instead, we relocate shared libraries at runtime.
     8530      ;;
     8531
     8532    msdosdjgpp*)
     8533      # Just because we use GCC doesn't mean we suddenly get shared libraries
     8534      # on systems that don't support them.
     8535      lt_prog_compiler_can_build_shared=no
     8536      enable_shared=no
     8537      ;;
     8538
     8539    *nto* | *qnx*)
     8540      # QNX uses GNU C++, but need to define -shared option too, otherwise
     8541      # it will coredump.
     8542      lt_prog_compiler_pic='-fPIC -shared'
     8543      ;;
     8544
     8545    sysv4*MP*)
     8546      if test -d /usr/nec; then
     8547        lt_prog_compiler_pic=-Kconform_pic
     8548      fi
     8549      ;;
     8550
     8551    *)
     8552      lt_prog_compiler_pic='-fPIC'
     8553      ;;
     8554    esac
     8555
     8556    case $cc_basename in
     8557    nvcc*) # Cuda Compiler Driver 2.2
     8558      lt_prog_compiler_wl='-Xlinker '
     8559      if test -n "$lt_prog_compiler_pic"; then
     8560        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
     8561      fi
     8562      ;;
     8563    esac
     8564  else
     8565    # PORTME Check for flag to pass linker flags through the system compiler.
     8566    case $host_os in
     8567    aix*)
     8568      lt_prog_compiler_wl='-Wl,'
     8569      if test ia64 = "$host_cpu"; then
     8570        # AIX 5 now supports IA64 processor
     8571        lt_prog_compiler_static='-Bstatic'
     8572      else
     8573        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
     8574      fi
     8575      ;;
     8576
     8577    darwin* | rhapsody*)
     8578      # PIC is the default on this platform
     8579      # Common symbols not allowed in MH_DYLIB files
     8580      lt_prog_compiler_pic='-fno-common'
     8581      case $cc_basename in
     8582      nagfor*)
     8583        # NAG Fortran compiler
     8584        lt_prog_compiler_wl='-Wl,-Wl,,'
     8585        lt_prog_compiler_pic='-PIC'
     8586        lt_prog_compiler_static='-Bstatic'
     8587        ;;
     8588      esac
     8589      ;;
     8590
     8591    mingw* | cygwin* | pw32* | os2* | cegcc*)
     8592      # This hack is so that the source file can tell whether it is being
     8593      # built for inclusion in a dll (and should export symbols for example).
     8594      lt_prog_compiler_pic='-DDLL_EXPORT'
     8595      case $host_os in
     8596      os2*)
     8597        lt_prog_compiler_static='$wl-static'
     8598        ;;
     8599      esac
     8600      ;;
     8601
     8602    hpux9* | hpux10* | hpux11*)
     8603      lt_prog_compiler_wl='-Wl,'
     8604      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
     8605      # not for PA HP-UX.
     8606      case $host_cpu in
     8607      hppa*64*|ia64*)
     8608        # +Z the default
     8609        ;;
     8610      *)
     8611        lt_prog_compiler_pic='+Z'
     8612        ;;
     8613      esac
     8614      # Is there a better lt_prog_compiler_static that works with the bundled CC?
     8615      lt_prog_compiler_static='$wl-a ${wl}archive'
     8616      ;;
     8617
     8618    irix5* | irix6* | nonstopux*)
     8619      lt_prog_compiler_wl='-Wl,'
     8620      # PIC (with -KPIC) is the default.
     8621      lt_prog_compiler_static='-non_shared'
     8622      ;;
     8623
     8624    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     8625      case $cc_basename in
     8626      # old Intel for x86_64, which still supported -KPIC.
     8627      ecc*)
     8628        lt_prog_compiler_wl='-Wl,'
     8629        lt_prog_compiler_pic='-KPIC'
     8630        lt_prog_compiler_static='-static'
     8631        ;;
     8632      # icc used to be incompatible with GCC.
     8633      # ICC 10 doesn't accept -KPIC any more.
     8634      icc* | ifort*)
     8635        lt_prog_compiler_wl='-Wl,'
     8636        lt_prog_compiler_pic='-fPIC'
     8637        lt_prog_compiler_static='-static'
     8638        ;;
     8639      # Lahey Fortran 8.1.
     8640      lf95*)
     8641        lt_prog_compiler_wl='-Wl,'
     8642        lt_prog_compiler_pic='--shared'
     8643        lt_prog_compiler_static='--static'
     8644        ;;
     8645      nagfor*)
     8646        # NAG Fortran compiler
     8647        lt_prog_compiler_wl='-Wl,-Wl,,'
     8648        lt_prog_compiler_pic='-PIC'
     8649        lt_prog_compiler_static='-Bstatic'
     8650        ;;
     8651      tcc*)
     8652        # Fabrice Bellard et al's Tiny C Compiler
     8653        lt_prog_compiler_wl='-Wl,'
     8654        lt_prog_compiler_pic='-fPIC'
     8655        lt_prog_compiler_static='-static'
     8656        ;;
     8657      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
     8658        # Portland Group compilers (*not* the Pentium gcc compiler,
     8659        # which looks to be a dead project)
     8660        lt_prog_compiler_wl='-Wl,'
     8661        lt_prog_compiler_pic='-fpic'
     8662        lt_prog_compiler_static='-Bstatic'
     8663        ;;
     8664      ccc*)
     8665        lt_prog_compiler_wl='-Wl,'
     8666        # All Alpha code is PIC.
     8667        lt_prog_compiler_static='-non_shared'
     8668        ;;
     8669      xl* | bgxl* | bgf* | mpixl*)
     8670        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
     8671        lt_prog_compiler_wl='-Wl,'
     8672        lt_prog_compiler_pic='-qpic'
     8673        lt_prog_compiler_static='-qstaticlink'
     8674        ;;
     8675      *)
     8676        case `$CC -V 2>&1 | sed 5q` in
     8677        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
     8678          # Sun Fortran 8.3 passes all unrecognized flags to the linker
     8679          lt_prog_compiler_pic='-KPIC'
     8680          lt_prog_compiler_static='-Bstatic'
     8681          lt_prog_compiler_wl=''
     8682          ;;
     8683        *Sun\ F* | *Sun*Fortran*)
     8684          lt_prog_compiler_pic='-KPIC'
     8685          lt_prog_compiler_static='-Bstatic'
     8686          lt_prog_compiler_wl='-Qoption ld '
     8687          ;;
     8688        *Sun\ C*)
     8689          # Sun C 5.9
     8690          lt_prog_compiler_pic='-KPIC'
     8691          lt_prog_compiler_static='-Bstatic'
     8692          lt_prog_compiler_wl='-Wl,'
     8693          ;;
     8694        *Intel*\ [CF]*Compiler*)
     8695          lt_prog_compiler_wl='-Wl,'
     8696          lt_prog_compiler_pic='-fPIC'
     8697          lt_prog_compiler_static='-static'
     8698          ;;
     8699        *Portland\ Group*)
     8700          lt_prog_compiler_wl='-Wl,'
     8701          lt_prog_compiler_pic='-fpic'
     8702          lt_prog_compiler_static='-Bstatic'
     8703          ;;
     8704        esac
     8705        ;;
     8706      esac
     8707      ;;
     8708
     8709    newsos6)
     8710      lt_prog_compiler_pic='-KPIC'
     8711      lt_prog_compiler_static='-Bstatic'
     8712      ;;
     8713
     8714    *nto* | *qnx*)
     8715      # QNX uses GNU C++, but need to define -shared option too, otherwise
     8716      # it will coredump.
     8717      lt_prog_compiler_pic='-fPIC -shared'
     8718      ;;
     8719
     8720    osf3* | osf4* | osf5*)
     8721      lt_prog_compiler_wl='-Wl,'
     8722      # All OSF/1 code is PIC.
     8723      lt_prog_compiler_static='-non_shared'
     8724      ;;
     8725
     8726    rdos*)
     8727      lt_prog_compiler_static='-non_shared'
     8728      ;;
     8729
     8730    solaris*)
     8731      lt_prog_compiler_pic='-KPIC'
     8732      lt_prog_compiler_static='-Bstatic'
     8733      case $cc_basename in
     8734      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
     8735        lt_prog_compiler_wl='-Qoption ld ';;
     8736      *)
     8737        lt_prog_compiler_wl='-Wl,';;
     8738      esac
     8739      ;;
     8740
     8741    sunos4*)
     8742      lt_prog_compiler_wl='-Qoption ld '
     8743      lt_prog_compiler_pic='-PIC'
     8744      lt_prog_compiler_static='-Bstatic'
     8745      ;;
     8746
     8747    sysv4 | sysv4.2uw2* | sysv4.3*)
     8748      lt_prog_compiler_wl='-Wl,'
     8749      lt_prog_compiler_pic='-KPIC'
     8750      lt_prog_compiler_static='-Bstatic'
     8751      ;;
     8752
     8753    sysv4*MP*)
     8754      if test -d /usr/nec; then
     8755        lt_prog_compiler_pic='-Kconform_pic'
     8756        lt_prog_compiler_static='-Bstatic'
     8757      fi
     8758      ;;
     8759
     8760    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
     8761      lt_prog_compiler_wl='-Wl,'
     8762      lt_prog_compiler_pic='-KPIC'
     8763      lt_prog_compiler_static='-Bstatic'
     8764      ;;
     8765
     8766    unicos*)
     8767      lt_prog_compiler_wl='-Wl,'
     8768      lt_prog_compiler_can_build_shared=no
     8769      ;;
     8770
     8771    uts4*)
     8772      lt_prog_compiler_pic='-pic'
     8773      lt_prog_compiler_static='-Bstatic'
     8774      ;;
     8775
     8776    *)
     8777      lt_prog_compiler_can_build_shared=no
     8778      ;;
     8779    esac
     8780  fi
     8781
     8782case $host_os in
     8783  # For platforms that do not support PIC, -DPIC is meaningless:
     8784  *djgpp*)
     8785    lt_prog_compiler_pic=
     8786    ;;
     8787  *)
     8788    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
     8789    ;;
     8790esac
     8791
     8792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
     8793$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
     8794if ${lt_cv_prog_compiler_pic+:} false; then :
     8795  $as_echo_n "(cached) " >&6
     8796else
     8797  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
     8798fi
     8799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
     8800$as_echo "$lt_cv_prog_compiler_pic" >&6; }
     8801lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
     8802
     8803#
     8804# Check to make sure the PIC flag actually works.
     8805#
     8806if test -n "$lt_prog_compiler_pic"; then
     8807  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
     8808$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
     8809if ${lt_cv_prog_compiler_pic_works+:} false; then :
     8810  $as_echo_n "(cached) " >&6
     8811else
     8812  lt_cv_prog_compiler_pic_works=no
     8813   ac_outfile=conftest.$ac_objext
     8814   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     8815   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
     8816   # Insert the option either (1) after the last *FLAGS variable, or
     8817   # (2) before a word containing "conftest.", or (3) at the end.
     8818   # Note that $ac_compile itself does not contain backslashes and begins
     8819   # with a dollar sign (not a hyphen), so the echo should work correctly.
     8820   # The option is referenced via a variable to avoid confusing sed.
     8821   lt_compile=`echo "$ac_compile" | $SED \
     8822   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     8823   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     8824   -e 's:$: $lt_compiler_flag:'`
     8825   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     8826   (eval "$lt_compile" 2>conftest.err)
     8827   ac_status=$?
     8828   cat conftest.err >&5
     8829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8830   if (exit $ac_status) && test -s "$ac_outfile"; then
     8831     # The compiler can only warn and ignore the option if not recognized
     8832     # So say no if there are warnings other than the usual output.
     8833     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
     8834     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     8835     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
     8836       lt_cv_prog_compiler_pic_works=yes
     8837     fi
     8838   fi
     8839   $RM conftest*
     8840
     8841fi
     8842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
     8843$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
     8844
     8845if test yes = "$lt_cv_prog_compiler_pic_works"; then
     8846    case $lt_prog_compiler_pic in
     8847     "" | " "*) ;;
     8848     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
     8849     esac
     8850else
     8851    lt_prog_compiler_pic=
     8852     lt_prog_compiler_can_build_shared=no
     8853fi
     8854
     8855fi
     8856
     8857
     8858
     8859
     8860
     8861
     8862
     8863
     8864
     8865
     8866
     8867#
     8868# Check to make sure the static flag actually works.
     8869#
     8870wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
     8871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
     8872$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
     8873if ${lt_cv_prog_compiler_static_works+:} false; then :
     8874  $as_echo_n "(cached) " >&6
     8875else
     8876  lt_cv_prog_compiler_static_works=no
     8877   save_LDFLAGS=$LDFLAGS
     8878   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
     8879   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     8880   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
     8881     # The linker can only warn and ignore the option if not recognized
     8882     # So say no if there are warnings
     8883     if test -s conftest.err; then
     8884       # Append any errors to the config.log.
     8885       cat conftest.err 1>&5
     8886       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
     8887       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     8888       if diff conftest.exp conftest.er2 >/dev/null; then
     8889         lt_cv_prog_compiler_static_works=yes
     8890       fi
     8891     else
     8892       lt_cv_prog_compiler_static_works=yes
     8893     fi
     8894   fi
     8895   $RM -r conftest*
     8896   LDFLAGS=$save_LDFLAGS
     8897
     8898fi
     8899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
     8900$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
     8901
     8902if test yes = "$lt_cv_prog_compiler_static_works"; then
     8903    :
     8904else
     8905    lt_prog_compiler_static=
     8906fi
     8907
     8908
     8909
     8910
     8911
     8912
     8913
     8914  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     8915$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     8916if ${lt_cv_prog_compiler_c_o+:} false; then :
     8917  $as_echo_n "(cached) " >&6
     8918else
     8919  lt_cv_prog_compiler_c_o=no
     8920   $RM -r conftest 2>/dev/null
     8921   mkdir conftest
     8922   cd conftest
     8923   mkdir out
     8924   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     8925
     8926   lt_compiler_flag="-o out/conftest2.$ac_objext"
     8927   # Insert the option either (1) after the last *FLAGS variable, or
     8928   # (2) before a word containing "conftest.", or (3) at the end.
     8929   # Note that $ac_compile itself does not contain backslashes and begins
     8930   # with a dollar sign (not a hyphen), so the echo should work correctly.
     8931   lt_compile=`echo "$ac_compile" | $SED \
     8932   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     8933   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     8934   -e 's:$: $lt_compiler_flag:'`
     8935   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     8936   (eval "$lt_compile" 2>out/conftest.err)
     8937   ac_status=$?
     8938   cat out/conftest.err >&5
     8939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8940   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     8941   then
     8942     # The compiler can only warn and ignore the option if not recognized
     8943     # So say no if there are warnings
     8944     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     8945     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     8946     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     8947       lt_cv_prog_compiler_c_o=yes
     8948     fi
     8949   fi
     8950   chmod u+w . 2>&5
     8951   $RM conftest*
     8952   # SGI C++ compiler will create directory out/ii_files/ for
     8953   # template instantiation
     8954   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     8955   $RM out/* && rmdir out
     8956   cd ..
     8957   $RM -r conftest
     8958   $RM conftest*
     8959
     8960fi
     8961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
     8962$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
     8963
     8964
     8965
     8966
     8967
     8968
     8969  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     8970$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     8971if ${lt_cv_prog_compiler_c_o+:} false; then :
     8972  $as_echo_n "(cached) " >&6
     8973else
     8974  lt_cv_prog_compiler_c_o=no
     8975   $RM -r conftest 2>/dev/null
     8976   mkdir conftest
     8977   cd conftest
     8978   mkdir out
     8979   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     8980
     8981   lt_compiler_flag="-o out/conftest2.$ac_objext"
     8982   # Insert the option either (1) after the last *FLAGS variable, or
     8983   # (2) before a word containing "conftest.", or (3) at the end.
     8984   # Note that $ac_compile itself does not contain backslashes and begins
     8985   # with a dollar sign (not a hyphen), so the echo should work correctly.
     8986   lt_compile=`echo "$ac_compile" | $SED \
     8987   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     8988   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     8989   -e 's:$: $lt_compiler_flag:'`
     8990   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     8991   (eval "$lt_compile" 2>out/conftest.err)
     8992   ac_status=$?
     8993   cat out/conftest.err >&5
     8994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8995   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     8996   then
     8997     # The compiler can only warn and ignore the option if not recognized
     8998     # So say no if there are warnings
     8999     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     9000     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     9001     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     9002       lt_cv_prog_compiler_c_o=yes
     9003     fi
     9004   fi
     9005   chmod u+w . 2>&5
     9006   $RM conftest*
     9007   # SGI C++ compiler will create directory out/ii_files/ for
     9008   # template instantiation
     9009   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     9010   $RM out/* && rmdir out
     9011   cd ..
     9012   $RM -r conftest
     9013   $RM conftest*
     9014
     9015fi
     9016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
     9017$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
     9018
     9019
     9020
     9021
     9022hard_links=nottested
     9023if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
     9024  # do not overwrite the value of need_locks provided by the user
     9025  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     9026$as_echo_n "checking if we can lock with hard links... " >&6; }
     9027  hard_links=yes
     9028  $RM conftest*
     9029  ln conftest.a conftest.b 2>/dev/null && hard_links=no
     9030  touch conftest.a
     9031  ln conftest.a conftest.b 2>&5 || hard_links=no
     9032  ln conftest.a conftest.b 2>/dev/null && hard_links=no
     9033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
     9034$as_echo "$hard_links" >&6; }
     9035  if test no = "$hard_links"; then
     9036    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
     9037$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
     9038    need_locks=warn
     9039  fi
     9040else
     9041  need_locks=no
     9042fi
     9043
     9044
     9045
     9046
     9047
     9048
     9049  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     9050$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
     9051
     9052  runpath_var=
     9053  allow_undefined_flag=
     9054  always_export_symbols=no
     9055  archive_cmds=
     9056  archive_expsym_cmds=
     9057  compiler_needs_object=no
     9058  enable_shared_with_static_runtimes=no
     9059  export_dynamic_flag_spec=
     9060  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     9061  hardcode_automatic=no
     9062  hardcode_direct=no
     9063  hardcode_direct_absolute=no
     9064  hardcode_libdir_flag_spec=
     9065  hardcode_libdir_separator=
     9066  hardcode_minus_L=no
     9067  hardcode_shlibpath_var=unsupported
     9068  inherit_rpath=no
     9069  link_all_deplibs=unknown
     9070  module_cmds=
     9071  module_expsym_cmds=
     9072  old_archive_from_new_cmds=
     9073  old_archive_from_expsyms_cmds=
     9074  thread_safe_flag_spec=
     9075  whole_archive_flag_spec=
     9076  # include_expsyms should be a list of space-separated symbols to be *always*
     9077  # included in the symbol list
     9078  include_expsyms=
     9079  # exclude_expsyms can be an extended regexp of symbols to exclude
     9080  # it will be wrapped by ' (' and ')$', so one must not match beginning or
     9081  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
     9082  # as well as any symbol that contains 'd'.
     9083  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
     9084  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     9085  # platforms (ab)use it in PIC code, but their linkers get confused if
     9086  # the symbol is explicitly referenced.  Since portable code cannot
     9087  # rely on this symbol name, it's probably fine to never include it in
     9088  # preloaded symbol tables.
     9089  # Exclude shared library initialization/finalization symbols.
     9090  extract_expsyms_cmds=
     9091
     9092  case $host_os in
     9093  cygwin* | mingw* | pw32* | cegcc*)
     9094    # FIXME: the MSVC++ port hasn't been tested in a loooong time
     9095    # When not using gcc, we currently assume that we are using
     9096    # Microsoft Visual C++.
     9097    if test yes != "$GCC"; then
     9098      with_gnu_ld=no
     9099    fi
     9100    ;;
     9101  interix*)
     9102    # we just hope/assume this is gcc and not c89 (= MSVC++)
     9103    with_gnu_ld=yes
     9104    ;;
     9105  openbsd* | bitrig*)
     9106    with_gnu_ld=no
     9107    ;;
     9108  linux* | k*bsd*-gnu | gnu*)
     9109    link_all_deplibs=no
     9110    ;;
     9111  esac
     9112
     9113  ld_shlibs=yes
     9114
     9115  # On some targets, GNU ld is compatible enough with the native linker
     9116  # that we're better off using the native interface for both.
     9117  lt_use_gnu_ld_interface=no
     9118  if test yes = "$with_gnu_ld"; then
     9119    case $host_os in
     9120      aix*)
     9121        # The AIX port of GNU ld has always aspired to compatibility
     9122        # with the native linker.  However, as the warning in the GNU ld
     9123        # block says, versions before 2.19.5* couldn't really create working
     9124        # shared libraries, regardless of the interface used.
     9125        case `$LD -v 2>&1` in
     9126          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
     9127          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
     9128          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
     9129          *)
     9130            lt_use_gnu_ld_interface=yes
     9131            ;;
     9132        esac
     9133        ;;
     9134      *)
     9135        lt_use_gnu_ld_interface=yes
     9136        ;;
     9137    esac
     9138  fi
     9139
     9140  if test yes = "$lt_use_gnu_ld_interface"; then
     9141    # If archive_cmds runs LD, not CC, wlarc should be empty
     9142    wlarc='$wl'
     9143
     9144    # Set some defaults for GNU ld with shared library support. These
     9145    # are reset later if shared libraries are not supported. Putting them
     9146    # here allows them to be overridden if necessary.
     9147    runpath_var=LD_RUN_PATH
     9148    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     9149    export_dynamic_flag_spec='$wl--export-dynamic'
     9150    # ancient GNU ld didn't support --whole-archive et. al.
     9151    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
     9152      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     9153    else
     9154      whole_archive_flag_spec=
     9155    fi
     9156    supports_anon_versioning=no
     9157    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
     9158      *GNU\ gold*) supports_anon_versioning=yes ;;
     9159      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
     9160      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
     9161      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
     9162      *\ 2.11.*) ;; # other 2.11 versions
     9163      *) supports_anon_versioning=yes ;;
     9164    esac
     9165
     9166    # See if GNU ld supports shared libraries.
     9167    case $host_os in
     9168    aix[3-9]*)
     9169      # On AIX/PPC, the GNU linker is very broken
     9170      if test ia64 != "$host_cpu"; then
     9171        ld_shlibs=no
     9172        cat <<_LT_EOF 1>&2
     9173
     9174*** Warning: the GNU linker, at least up to release 2.19, is reported
     9175*** to be unable to reliably create shared libraries on AIX.
     9176*** Therefore, libtool is disabling shared libraries support.  If you
     9177*** really care for shared libraries, you may want to install binutils
     9178*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
     9179*** You will then need to restart the configuration process.
     9180
     9181_LT_EOF
     9182      fi
     9183      ;;
     9184
     9185    amigaos*)
     9186      case $host_cpu in
     9187      powerpc)
     9188            # see comment about AmigaOS4 .so support
     9189            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9190            archive_expsym_cmds=''
     9191        ;;
     9192      m68k)
     9193            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)'
     9194            hardcode_libdir_flag_spec='-L$libdir'
     9195            hardcode_minus_L=yes
     9196        ;;
     9197      esac
     9198      ;;
     9199
     9200    beos*)
     9201      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     9202        allow_undefined_flag=unsupported
     9203        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
     9204        # support --undefined.  This deserves some investigation.  FIXME
     9205        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9206      else
     9207        ld_shlibs=no
     9208      fi
     9209      ;;
     9210
     9211    cygwin* | mingw* | pw32* | cegcc*)
     9212      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
     9213      # as there is no search path for DLLs.
     9214      hardcode_libdir_flag_spec='-L$libdir'
     9215      export_dynamic_flag_spec='$wl--export-all-symbols'
     9216      allow_undefined_flag=unsupported
     9217      always_export_symbols=no
     9218      enable_shared_with_static_runtimes=yes
     9219      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'
     9220      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
     9221
     9222      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
     9223        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     9224        # If the export-symbols file already is a .def file, use it as
     9225        # is; otherwise, prepend EXPORTS...
     9226        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     9227          cp $export_symbols $output_objdir/$soname.def;
     9228        else
     9229          echo EXPORTS > $output_objdir/$soname.def;
     9230          cat $export_symbols >> $output_objdir/$soname.def;
     9231        fi~
     9232        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     9233      else
     9234        ld_shlibs=no
     9235      fi
     9236      ;;
     9237
     9238    haiku*)
     9239      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9240      link_all_deplibs=yes
     9241      ;;
     9242
     9243    os2*)
     9244      hardcode_libdir_flag_spec='-L$libdir'
     9245      hardcode_minus_L=yes
     9246      allow_undefined_flag=unsupported
     9247      shrext_cmds=.dll
     9248      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     9249        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     9250        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     9251        $ECHO EXPORTS >> $output_objdir/$libname.def~
     9252        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     9253        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     9254        emximp -o $lib $output_objdir/$libname.def'
     9255      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     9256        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     9257        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     9258        $ECHO EXPORTS >> $output_objdir/$libname.def~
     9259        prefix_cmds="$SED"~
     9260        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     9261          prefix_cmds="$prefix_cmds -e 1d";
     9262        fi~
     9263        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     9264        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     9265        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     9266        emximp -o $lib $output_objdir/$libname.def'
     9267      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     9268      enable_shared_with_static_runtimes=yes
     9269      ;;
     9270
     9271    interix[3-9]*)
     9272      hardcode_direct=no
     9273      hardcode_shlibpath_var=no
     9274      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
     9275      export_dynamic_flag_spec='$wl-E'
     9276      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
     9277      # Instead, shared libraries are loaded at an image base (0x10000000 by
     9278      # default) and relocated if they conflict, which is a slow very memory
     9279      # consuming and fragmenting process.  To avoid this, we pick a random,
     9280      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
     9281      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
     9282      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     9283      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'
     9284      ;;
     9285
     9286    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
     9287      tmp_diet=no
     9288      if test linux-dietlibc = "$host_os"; then
     9289        case $cc_basename in
     9290          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
     9291        esac
     9292      fi
     9293      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
     9294         && test no = "$tmp_diet"
     9295      then
     9296        tmp_addflag=' $pic_flag'
     9297        tmp_sharedflag='-shared'
     9298        case $cc_basename,$host_cpu in
     9299        pgcc*)                          # Portland Group C compiler
     9300          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'
     9301          tmp_addflag=' $pic_flag'
     9302          ;;
     9303        pgf77* | pgf90* | pgf95* | pgfortran*)
     9304                                        # Portland Group f77 and f90 compilers
     9305          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'
     9306          tmp_addflag=' $pic_flag -Mnomain' ;;
     9307        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
     9308&n