Changeset 38d12e7


Ignore:
Timestamp:
Aug 16, 2018, 3:23:05 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
eed6f5b
Parents:
50fede9
Message:

Adjusted makefiles to use libtool

Files:
11 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.in

    r50fede9 r38d12e7  
    256256AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
    257257CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS)
     258LTCFACOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
     259        $(LIBTOOLFLAGS) --mode=compile $(CFACC) $(DEFS) \
     260        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) \
     261        $(AM_CFLAGS) $(CFLAGS)
     262
    258263AM_V_CFA = $(am__v_CFA_@AM_V@)
    259264am__v_CFA_ = $(am__v_CFA_@AM_DEFAULT_V@)
     
    277282
    278283.SUFFIXES:
    279 .SUFFIXES: .cfa .o
     284.SUFFIXES: .cfa .lo .o
    280285$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/src/cfa.make $(am__configure_deps)
    281286        @for dep in $?; do \
     
    470475        $(am__mv) $$depbase.Tpo $$depbase.Po
    471476
     477.cfa.lo:
     478        $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
     479        $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
     480        $(am__mv) $$depbase.Tpo $$depbase.Plo
     481
    472482LIBFIBRE_DIR ?= /home/tdelisle/software/KOS/src/
    473483
  • libcfa/Makefile.am

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

    r50fede9 r38d12e7  
    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@
     
    231240CONFIG_CFAFLAGS = @CONFIG_CFAFLAGS@
    232241CONFIG_CFLAGS = @CONFIG_CFLAGS@
     242CPP = @CPP@
    233243CPPFLAGS = @CPPFLAGS@
    234244CXX = @CXX@
     245CXXCPP = @CXXCPP@
    235246CXXDEPMODE = @CXXDEPMODE@
    236247CXXFLAGS = @CXXFLAGS@
     
    238249DEFS = @DEFS@
    239250DEPDIR = @DEPDIR@
     251DLLTOOL = @DLLTOOL@
    240252DRIVER_DIR = @DRIVER_DIR@
     253DSYMUTIL = @DSYMUTIL@
     254DUMPBIN = @DUMPBIN@
    241255ECHO_C = @ECHO_C@
    242256ECHO_N = @ECHO_N@
    243257ECHO_T = @ECHO_T@
     258EGREP = @EGREP@
    244259EXEEXT = @EXEEXT@
     260FGREP = @FGREP@
     261GREP = @GREP@
    245262INSTALL = @INSTALL@
    246263INSTALL_DATA = @INSTALL_DATA@
     
    248265INSTALL_SCRIPT = @INSTALL_SCRIPT@
    249266INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
     267LD = @LD@
    250268LDFLAGS = @LDFLAGS@
    251269LIBOBJS = @LIBOBJS@
    252270LIBS = @LIBS@
     271LIBTOOL = @LIBTOOL@
     272LIPO = @LIPO@
     273LN_S = @LN_S@
    253274LTLIBOBJS = @LTLIBOBJS@
     275LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    254276MAKEINFO = @MAKEINFO@
     277MANIFEST_TOOL = @MANIFEST_TOOL@
    255278MKDIR_P = @MKDIR_P@
     279NM = @NM@
     280NMEDIT = @NMEDIT@
     281OBJDUMP = @OBJDUMP@
    256282OBJEXT = @OBJEXT@
     283OTOOL = @OTOOL@
     284OTOOL64 = @OTOOL64@
    257285PACKAGE = @PACKAGE@
    258286PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    264292PATH_SEPARATOR = @PATH_SEPARATOR@
    265293RANLIB = @RANLIB@
     294SED = @SED@
    266295SET_MAKE = @SET_MAKE@
    267296SHELL = @SHELL@
     
    272301abs_top_builddir = @abs_top_builddir@
    273302abs_top_srcdir = @abs_top_srcdir@
     303ac_ct_AR = @ac_ct_AR@
    274304ac_ct_CC = @ac_ct_CC@
    275305ac_ct_CXX = @ac_ct_CXX@
     306ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
    276307am__include = @am__include@
    277308am__leading_dot = @am__leading_dot@
     
    280311am__untar = @am__untar@
    281312bindir = @bindir@
     313build = @build@
    282314build_alias = @build_alias@
     315build_cpu = @build_cpu@
     316build_os = @build_os@
     317build_vendor = @build_vendor@
    283318builddir = @builddir@
    284319datadir = @datadir@
     
    287322dvidir = @dvidir@
    288323exec_prefix = @exec_prefix@
     324host = @host@
    289325host_alias = @host_alias@
     326host_cpu = @host_cpu@
     327host_os = @host_os@
     328host_vendor = @host_vendor@
    290329htmldir = @htmldir@
    291330includedir = @includedir@
     
    313352top_srcdir = @top_srcdir@
    314353AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names
     354ACLOCAL_AMFLAGS = -I automake
    315355SUBDIRS = prelude src      # order important
    316356all: all-recursive
     
    350390        $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    351391$(am__aclocal_m4_deps):
     392
     393mostlyclean-libtool:
     394        -rm -f *.lo
     395
     396clean-libtool:
     397        -rm -rf .libs _libs
     398
     399distclean-libtool:
     400        -rm -f libtool config.lt
    352401
    353402# This directory's subdirectories are mostly independent; you can cd
     
    682731clean: clean-recursive
    683732
    684 clean-am: clean-generic mostlyclean-am
     733clean-am: clean-generic clean-libtool mostlyclean-am
    685734
    686735distclean: distclean-recursive
    687736        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
    688737        -rm -f Makefile
    689 distclean-am: clean-am distclean-generic distclean-tags
     738distclean-am: clean-am distclean-generic distclean-libtool \
     739        distclean-tags
    690740
    691741dvi: dvi-recursive
     
    737787mostlyclean: mostlyclean-recursive
    738788
    739 mostlyclean-am: mostlyclean-generic
     789mostlyclean-am: mostlyclean-generic mostlyclean-libtool
    740790
    741791pdf: pdf-recursive
     
    753803.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
    754804        am--refresh check check-am clean clean-cscope clean-generic \
    755         cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
    756         dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
    757         distcheck distclean distclean-generic distclean-tags \
    758         distcleancheck distdir distuninstallcheck dvi dvi-am html \
    759         html-am info info-am install install-am install-data \
    760         install-data-am install-dvi install-dvi-am install-exec \
    761         install-exec-am install-html install-html-am install-info \
    762         install-info-am install-man install-pdf install-pdf-am \
    763         install-ps install-ps-am install-strip installcheck \
    764         installcheck-am installdirs installdirs-am maintainer-clean \
    765         maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
    766         pdf-am ps ps-am tags tags-am uninstall uninstall-am
     805        clean-libtool cscope cscopelist-am ctags ctags-am dist \
     806        dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
     807        dist-xz dist-zip distcheck distclean distclean-generic \
     808        distclean-libtool distclean-tags distcleancheck distdir \
     809        distuninstallcheck dvi dvi-am html html-am info info-am \
     810        install install-am install-data install-data-am install-dvi \
     811        install-dvi-am install-exec install-exec-am install-html \
     812        install-html-am install-info install-info-am install-man \
     813        install-pdf install-pdf-am install-ps install-ps-am \
     814        install-strip installcheck installcheck-am installdirs \
     815        installdirs-am maintainer-clean maintainer-clean-generic \
     816        mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
     817        ps ps-am tags tags-am uninstall uninstall-am
    767818
    768819.PRECIOUS: Makefile
  • libcfa/aclocal.m4

    r50fede9 r38d12e7  
    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

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