Changeset 107b01a


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

Several changes to the makefiles

  • change .c tests to .cfa
  • add require for libtool in configure
  • libtoolize to fix some warnings
Files:
6 added
27 edited
50 moved

Legend:

Unmodified
Added
Removed
  • Makefile.am

    ra2dbcff1 r107b01a  
    1616
    1717AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
     18ACLOCAL_AMFLAGS  = -I automake
    1819
    1920MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/*
  • Makefile.in

    ra2dbcff1 r107b01a  
    9494subdir = .
    9595ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    96 am__aclocal_m4_deps = $(top_srcdir)/automake/cfa.m4 \
    97         $(top_srcdir)/configure.ac
     96am__aclocal_m4_deps = $(top_srcdir)/automake/libtool.m4 \
     97        $(top_srcdir)/automake/ltoptions.m4 \
     98        $(top_srcdir)/automake/ltsugar.m4 \
     99        $(top_srcdir)/automake/ltversion.m4 \
     100        $(top_srcdir)/automake/lt~obsolete.m4 \
     101        $(top_srcdir)/automake/cfa.m4 $(top_srcdir)/configure.ac
    98102am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    99103        $(ACLOCAL_M4)
     
    198202        $(top_srcdir)/automake/config.sub \
    199203        $(top_srcdir)/automake/install-sh \
     204        $(top_srcdir)/automake/ltmain.sh \
    200205        $(top_srcdir)/automake/missing $(top_srcdir)/src/config.h.in \
    201206        INSTALL README automake/compile automake/config.guess \
    202207        automake/config.sub automake/depcomp automake/install-sh \
    203         automake/missing automake/ylwrap
     208        automake/ltmain.sh automake/missing automake/ylwrap
    204209DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    205210distdir = $(PACKAGE)-$(VERSION)
     
    248253AMTAR = @AMTAR@
    249254AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
     255AR = @AR@
    250256AUTOCONF = @AUTOCONF@
    251257AUTOHEADER = @AUTOHEADER@
     
    271277CPPFLAGS = @CPPFLAGS@
    272278CXX = @CXX@
     279CXXCPP = @CXXCPP@
    273280CXXDEPMODE = @CXXDEPMODE@
    274281CXXFLAGS = @CXXFLAGS@
     
    276283DEFS = @DEFS@
    277284DEPDIR = @DEPDIR@
     285DLLTOOL = @DLLTOOL@
    278286DRIVER_DIR = @DRIVER_DIR@
     287DSYMUTIL = @DSYMUTIL@
     288DUMPBIN = @DUMPBIN@
    279289ECHO_C = @ECHO_C@
    280290ECHO_N = @ECHO_N@
     
    282292EGREP = @EGREP@
    283293EXEEXT = @EXEEXT@
     294FGREP = @FGREP@
    284295GREP = @GREP@
    285296HOST_FLAGS = @HOST_FLAGS@
     
    289300INSTALL_SCRIPT = @INSTALL_SCRIPT@
    290301INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
     302LD = @LD@
    291303LDFLAGS = @LDFLAGS@
    292304LEX = @LEX@
     
    297309LIBOBJS = @LIBOBJS@
    298310LIBS = @LIBS@
     311LIBTOOL = @LIBTOOL@
     312LIPO = @LIPO@
     313LN_S = @LN_S@
    299314LTLIBOBJS = @LTLIBOBJS@
     315LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    300316MAKEINFO = @MAKEINFO@
     317MANIFEST_TOOL = @MANIFEST_TOOL@
    301318MKDIR_P = @MKDIR_P@
     319NM = @NM@
     320NMEDIT = @NMEDIT@
     321OBJDUMP = @OBJDUMP@
    302322OBJEXT = @OBJEXT@
     323OTOOL = @OTOOL@
     324OTOOL64 = @OTOOL64@
    303325PACKAGE = @PACKAGE@
    304326PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    310332PATH_SEPARATOR = @PATH_SEPARATOR@
    311333RANLIB = @RANLIB@
     334SED = @SED@
    312335SET_MAKE = @SET_MAKE@
    313336SHELL = @SHELL@
     
    321344abs_top_builddir = @abs_top_builddir@
    322345abs_top_srcdir = @abs_top_srcdir@
     346ac_ct_AR = @ac_ct_AR@
    323347ac_ct_CC = @ac_ct_CC@
    324348ac_ct_CXX = @ac_ct_CXX@
     349ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
    325350am__include = @am__include@
    326351am__leading_dot = @am__leading_dot@
     
    370395top_srcdir = @top_srcdir@
    371396AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
     397ACLOCAL_AMFLAGS = -I automake
    372398MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/*
    373399SUBDIRS = driver src . @LIBCFA_TARGET_DIRS@
     
    427453distclean-hdr:
    428454        -rm -f config.h stamp-h1
     455
     456mostlyclean-libtool:
     457        -rm -f *.lo
     458
     459clean-libtool:
     460        -rm -rf .libs _libs
     461
     462distclean-libtool:
     463        -rm -f libtool config.lt
    429464install-man1: $(man1_MANS)
    430465        @$(NORMAL_INSTALL)
     
    802837clean: clean-recursive
    803838
    804 clean-am: clean-generic mostlyclean-am
     839clean-am: clean-generic clean-libtool mostlyclean-am
    805840
    806841distclean: distclean-recursive
    807842        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
    808843        -rm -f Makefile
    809 distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
     844distclean-am: clean-am distclean-generic distclean-hdr \
     845        distclean-libtool distclean-tags
    810846
    811847dvi: dvi-recursive
     
    857893mostlyclean: mostlyclean-recursive
    858894
    859 mostlyclean-am: mostlyclean-generic
     895mostlyclean-am: mostlyclean-generic mostlyclean-libtool
    860896
    861897pdf: pdf-recursive
     
    875911.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
    876912        am--refresh check check-am clean clean-cscope clean-generic \
    877         cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
    878         dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
    879         distcheck distclean distclean-generic distclean-hdr \
    880         distclean-tags distcleancheck distdir distuninstallcheck dvi \
    881         dvi-am html html-am info info-am install install-am \
    882         install-data install-data-am install-dvi install-dvi-am \
    883         install-exec install-exec-am install-html install-html-am \
    884         install-info install-info-am install-man install-man1 \
    885         install-pdf install-pdf-am install-ps install-ps-am \
    886         install-strip installcheck installcheck-am installdirs \
    887         installdirs-am maintainer-clean maintainer-clean-generic \
    888         mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
    889         tags-am uninstall uninstall-am uninstall-man uninstall-man1
     913        clean-libtool cscope cscopelist-am ctags ctags-am dist \
     914        dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
     915        dist-xz dist-zip distcheck distclean distclean-generic \
     916        distclean-hdr distclean-libtool distclean-tags distcleancheck \
     917        distdir distuninstallcheck dvi dvi-am html html-am info \
     918        info-am install install-am install-data install-data-am \
     919        install-dvi install-dvi-am install-exec install-exec-am \
     920        install-html install-html-am install-info install-info-am \
     921        install-man install-man1 install-pdf install-pdf-am install-ps \
     922        install-ps-am install-strip installcheck installcheck-am \
     923        installdirs installdirs-am maintainer-clean \
     924        maintainer-clean-generic mostlyclean mostlyclean-generic \
     925        mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
     926        uninstall-am uninstall-man uninstall-man1
    890927
    891928.PRECIOUS: Makefile
  • aclocal.m4

    ra2dbcff1 r107b01a  
    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])
  • benchmark/Makefile.am

    ra2dbcff1 r107b01a  
    1616
    1717AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
     18ACLOCAL_AMFLAGS  = -I automake
    1819
    1920# applies to both programs
  • benchmark/Makefile.in

    ra2dbcff1 r107b01a  
    9898subdir = benchmark
    9999ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    100 am__aclocal_m4_deps = $(top_srcdir)/automake/cfa.m4 \
    101         $(top_srcdir)/configure.ac
     100am__aclocal_m4_deps = $(top_srcdir)/automake/libtool.m4 \
     101        $(top_srcdir)/automake/ltoptions.m4 \
     102        $(top_srcdir)/automake/ltsugar.m4 \
     103        $(top_srcdir)/automake/ltversion.m4 \
     104        $(top_srcdir)/automake/lt~obsolete.m4 \
     105        $(top_srcdir)/automake/cfa.m4 $(top_srcdir)/configure.ac
    102106am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    103107        $(ACLOCAL_M4)
     
    110114dummy_OBJECTS = $(am_dummy_OBJECTS)
    111115dummy_LDADD = $(LDADD)
     116AM_V_lt = $(am__v_lt_@AM_V@)
     117am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
     118am__v_lt_0 = --silent
     119am__v_lt_1 =
    112120AM_V_P = $(am__v_P_@AM_V@)
    113121am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
     
    128136COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    129137        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     138LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
     139        $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
     140        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     141        $(AM_CFLAGS) $(CFLAGS)
    130142AM_V_CC = $(am__v_CC_@AM_V@)
    131143am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
     
    133145am__v_CC_1 =
    134146CCLD = $(CC)
    135 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
     147LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
     148        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
     149        $(AM_LDFLAGS) $(LDFLAGS) -o $@
    136150AM_V_CCLD = $(am__v_CCLD_@AM_V@)
    137151am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
     
    140154CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    141155        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     156LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
     157        $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
     158        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
     159        $(AM_CXXFLAGS) $(CXXFLAGS)
    142160AM_V_CXX = $(am__v_CXX_@AM_V@)
    143161am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
     
    145163am__v_CXX_1 =
    146164CXXLD = $(CXX)
    147 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    148         -o $@
     165CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
     166        $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
     167        $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
    149168AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
    150169am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
     
    184203AMTAR = @AMTAR@
    185204AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
     205AR = @AR@
    186206AUTOCONF = @AUTOCONF@
    187207AUTOHEADER = @AUTOHEADER@
     
    207227CPPFLAGS = @CPPFLAGS@
    208228CXX = @CXX@
     229CXXCPP = @CXXCPP@
    209230CXXDEPMODE = @CXXDEPMODE@
    210231CXXFLAGS = @CXXFLAGS@
     
    212233DEFS = @DEFS@
    213234DEPDIR = @DEPDIR@
     235DLLTOOL = @DLLTOOL@
    214236DRIVER_DIR = @DRIVER_DIR@
     237DSYMUTIL = @DSYMUTIL@
     238DUMPBIN = @DUMPBIN@
    215239ECHO_C = @ECHO_C@
    216240ECHO_N = @ECHO_N@
     
    218242EGREP = @EGREP@
    219243EXEEXT = @EXEEXT@
     244FGREP = @FGREP@
    220245GREP = @GREP@
    221246HOST_FLAGS = @HOST_FLAGS@
     
    225250INSTALL_SCRIPT = @INSTALL_SCRIPT@
    226251INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
     252LD = @LD@
    227253LDFLAGS = @LDFLAGS@
    228254LEX = @LEX@
     
    233259LIBOBJS = @LIBOBJS@
    234260LIBS = @LIBS@
     261LIBTOOL = @LIBTOOL@
     262LIPO = @LIPO@
     263LN_S = @LN_S@
    235264LTLIBOBJS = @LTLIBOBJS@
     265LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    236266MAKEINFO = @MAKEINFO@
     267MANIFEST_TOOL = @MANIFEST_TOOL@
    237268MKDIR_P = @MKDIR_P@
     269NM = @NM@
     270NMEDIT = @NMEDIT@
     271OBJDUMP = @OBJDUMP@
    238272OBJEXT = @OBJEXT@
     273OTOOL = @OTOOL@
     274OTOOL64 = @OTOOL64@
    239275PACKAGE = @PACKAGE@
    240276PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    246282PATH_SEPARATOR = @PATH_SEPARATOR@
    247283RANLIB = @RANLIB@
     284SED = @SED@
    248285SET_MAKE = @SET_MAKE@
    249286SHELL = @SHELL@
     
    257294abs_top_builddir = @abs_top_builddir@
    258295abs_top_srcdir = @abs_top_srcdir@
     296ac_ct_AR = @ac_ct_AR@
    259297ac_ct_CC = @ac_ct_CC@
    260298ac_ct_CXX = @ac_ct_CXX@
     299ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
    261300am__include = @am__include@
    262301am__leading_dot = @am__leading_dot@
     
    306345top_srcdir = @top_srcdir@
    307346AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
     347ACLOCAL_AMFLAGS = -I automake
    308348CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS)
    309349LTCFACOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
     
    414454@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    415455
     456.c.lo:
     457@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
     458@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
     459@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Plo
     460@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
     461@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     462@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
     463
    416464.cpp.o:
    417465@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
     
    429477@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    430478@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
     479
     480.cpp.lo:
     481@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
     482@am__fastdepCXX_TRUE@   $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
     483@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
     484@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
     485@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     486@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
     487
     488mostlyclean-libtool:
     489        -rm -f *.lo
     490
     491clean-libtool:
     492        -rm -rf .libs _libs
    431493
    432494ID: $(am__tagged_files)
     
    548610clean: clean-am
    549611
    550 clean-am: clean-generic mostlyclean-am
     612clean-am: clean-generic clean-libtool mostlyclean-am
    551613
    552614distclean: distclean-am
     
    603665mostlyclean: mostlyclean-am
    604666
    605 mostlyclean-am: mostlyclean-compile mostlyclean-generic
     667mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     668        mostlyclean-libtool
    606669
    607670pdf: pdf-am
     
    618681
    619682.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
    620         cscopelist-am ctags ctags-am distclean distclean-compile \
    621         distclean-generic distclean-tags distdir dvi dvi-am html \
    622         html-am info info-am install install-am install-data \
    623         install-data-am install-dvi install-dvi-am install-exec \
    624         install-exec-am install-html install-html-am install-info \
    625         install-info-am install-man install-pdf install-pdf-am \
    626         install-ps install-ps-am install-strip installcheck \
    627         installcheck-am installdirs maintainer-clean \
    628         maintainer-clean-generic mostlyclean mostlyclean-compile \
    629         mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
    630         uninstall-am
     683        clean-libtool cscopelist-am ctags ctags-am distclean \
     684        distclean-compile distclean-generic distclean-libtool \
     685        distclean-tags distdir dvi dvi-am html html-am info info-am \
     686        install install-am install-data install-data-am install-dvi \
     687        install-dvi-am install-exec install-exec-am install-html \
     688        install-html-am install-info install-info-am install-man \
     689        install-pdf install-pdf-am install-ps install-ps-am \
     690        install-strip installcheck installcheck-am installdirs \
     691        maintainer-clean maintainer-clean-generic mostlyclean \
     692        mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
     693        pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am
    631694
    632695.PRECIOUS: Makefile
  • configure

    ra2dbcff1 r107b01a  
    199199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     201
     202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
     203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
     205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
     206    PATH=/empty FPATH=/empty; export PATH FPATH
     207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
     208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    201209test \$(( 1 + 1 )) = 2 || exit 1"
    202210  if (eval "$as_required") 2>/dev/null; then :
     
    557565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    558566
     567SHELL=${CONFIG_SHELL-/bin/sh}
     568
    559569
    560570test -n "$DJDIR" || exec 7<&0 </dev/null
     
    628638CFA_BACKEND_CC
    629639ALLOCA
     640WITH_LIBFIBRE_FALSE
     641WITH_LIBFIBRE_TRUE
     642CXXCPP
     643CPP
     644LT_SYS_LIBRARY_PATH
     645OTOOL64
     646OTOOL
     647LIPO
     648NMEDIT
     649DSYMUTIL
     650MANIFEST_TOOL
     651RANLIB
     652ac_ct_AR
     653AR
     654DLLTOOL
     655OBJDUMP
     656LN_S
     657NM
     658ac_ct_DUMPBIN
     659DUMPBIN
     660LD
     661FGREP
    630662EGREP
    631663GREP
    632 CPP
    633 WITH_LIBFIBRE_FALSE
    634 WITH_LIBFIBRE_TRUE
    635 RANLIB
     664SED
     665LIBTOOL
    636666LEXLIB
    637667LEX_OUTPUT_ROOT
     
    764794with_target_hosts
    765795enable_dependency_tracking
     796enable_shared
     797enable_static
     798with_pic
     799enable_fast_install
     800with_aix_soname
     801with_gnu_ld
     802with_sysroot
     803enable_libtool_lock
    766804'
    767805      ac_precious_vars='build_alias
     
    780818YACC
    781819YFLAGS
    782 CPP'
     820LT_SYS_LIBRARY_PATH
     821CPP
     822CXXCPP'
    783823
    784824
     
    14161456  --disable-dependency-tracking
    14171457                          speeds up one-time build
     1458  --enable-shared[=PKGS]  build shared libraries [default=yes]
     1459  --enable-static[=PKGS]  build static libraries [default=yes]
     1460  --enable-fast-install[=PKGS]
     1461                          optimize for fast installation [default=yes]
     1462  --disable-libtool-lock  avoid locking (might break parallel builds)
    14181463
    14191464Optional Packages:
     
    14221467  --with-cfa-name=NAME     NAME too which cfa will be installed
    14231468  --with-target-hosts=HOSTS     HOSTS comma seperated list of hosts to build for, format ARCH:debug|nodebug|nolib
     1469  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
     1470                          both]
     1471  --with-aix-soname=aix|svr4|both
     1472                          shared library versioning (aka "SONAME") variant to
     1473                          provide on AIX, [default=aix].
     1474  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
     1475  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
     1476                          compiler's sysroot if not specified).
    14241477
    14251478Some influential environment variables:
     
    14411494              This script will default YFLAGS to the empty string to avoid a
    14421495              default value of `-d' given by some make applications.
     1496  LT_SYS_LIBRARY_PATH
     1497              User-defined run-time library search path.
    14431498  CPP         C preprocessor
     1499  CXXCPP      C++ preprocessor
    14441500
    14451501Use these variables to override the choices made by `configure' or to help
     
    16451701} # ac_fn_c_try_link
    16461702
    1647 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
    1648 # -------------------------------------------
    1649 # Tests whether TYPE exists after having included INCLUDES, setting cache
    1650 # variable VAR accordingly.
    1651 ac_fn_c_check_type ()
     1703# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1704# -------------------------------------------------------
     1705# Tests whether HEADER exists and can be compiled using the include files in
     1706# INCLUDES, setting the cache variable VAR accordingly.
     1707ac_fn_c_check_header_compile ()
    16521708{
    16531709  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     
    16571713  $as_echo_n "(cached) " >&6
    16581714else
    1659   eval "$3=no"
    16601715  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16611716/* end confdefs.h.  */
    16621717$4
    1663 int
    1664 main ()
    1665 {
    1666 if (sizeof ($2))
    1667          return 0;
    1668   ;
    1669   return 0;
    1670 }
     1718#include <$2>
    16711719_ACEOF
    16721720if ac_fn_c_try_compile "$LINENO"; then :
    1673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1674 /* end confdefs.h.  */
    1675 $4
    1676 int
    1677 main ()
    1678 {
    1679 if (sizeof (($2)))
    1680             return 0;
    1681   ;
    1682   return 0;
    1683 }
    1684 _ACEOF
    1685 if ac_fn_c_try_compile "$LINENO"; then :
    1686 
    1687 else
    16881721  eval "$3=yes"
    1689 fi
    1690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1722else
     1723  eval "$3=no"
    16911724fi
    16921725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     
    16971730  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    16981731
    1699 } # ac_fn_c_check_type
     1732} # ac_fn_c_check_header_compile
    17001733
    17011734# ac_fn_c_try_cpp LINENO
     
    17781811} # ac_fn_c_try_run
    17791812
    1780 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1781 # -------------------------------------------------------
    1782 # Tests whether HEADER exists and can be compiled using the include files in
    1783 # INCLUDES, setting the cache variable VAR accordingly.
    1784 ac_fn_c_check_header_compile ()
    1785 {
    1786   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1788 $as_echo_n "checking for $2... " >&6; }
    1789 if eval \${$3+:} false; then :
    1790   $as_echo_n "(cached) " >&6
    1791 else
    1792   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1793 /* end confdefs.h.  */
    1794 $4
    1795 #include <$2>
    1796 _ACEOF
    1797 if ac_fn_c_try_compile "$LINENO"; then :
    1798   eval "$3=yes"
    1799 else
    1800   eval "$3=no"
    1801 fi
    1802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1803 fi
    1804 eval ac_res=\$$3
    1805                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1806 $as_echo "$ac_res" >&6; }
    1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1808 
    1809 } # ac_fn_c_check_header_compile
    1810 
    18111813# ac_fn_c_check_func LINENO FUNC VAR
    18121814# ----------------------------------
     
    18751877
    18761878} # ac_fn_c_check_func
     1879
     1880# ac_fn_cxx_try_cpp LINENO
     1881# ------------------------
     1882# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1883ac_fn_cxx_try_cpp ()
     1884{
     1885  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1886  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1887case "(($ac_try" in
     1888  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1889  *) ac_try_echo=$ac_try;;
     1890esac
     1891eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1892$as_echo "$ac_try_echo"; } >&5
     1893  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1894  ac_status=$?
     1895  if test -s conftest.err; then
     1896    grep -v '^ *+' conftest.err >conftest.er1
     1897    cat conftest.er1 >&5
     1898    mv -f conftest.er1 conftest.err
     1899  fi
     1900  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1901  test $ac_status = 0; } > conftest.i && {
     1902         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1903         test ! -s conftest.err
     1904       }; then :
     1905  ac_retval=0
     1906else
     1907  $as_echo "$as_me: failed program was:" >&5
     1908sed 's/^/| /' conftest.$ac_ext >&5
     1909
     1910    ac_retval=1
     1911fi
     1912  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1913  as_fn_set_status $ac_retval
     1914
     1915} # ac_fn_cxx_try_cpp
     1916
     1917# ac_fn_cxx_try_link LINENO
     1918# -------------------------
     1919# Try to link conftest.$ac_ext, and return whether this succeeded.
     1920ac_fn_cxx_try_link ()
     1921{
     1922  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1923  rm -f conftest.$ac_objext conftest$ac_exeext
     1924  if { { ac_try="$ac_link"
     1925case "(($ac_try" in
     1926  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1927  *) ac_try_echo=$ac_try;;
     1928esac
     1929eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1930$as_echo "$ac_try_echo"; } >&5
     1931  (eval "$ac_link") 2>conftest.err
     1932  ac_status=$?
     1933  if test -s conftest.err; then
     1934    grep -v '^ *+' conftest.err >conftest.er1
     1935    cat conftest.er1 >&5
     1936    mv -f conftest.er1 conftest.err
     1937  fi
     1938  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1939  test $ac_status = 0; } && {
     1940         test -z "$ac_cxx_werror_flag" ||
     1941         test ! -s conftest.err
     1942       } && test -s conftest$ac_exeext && {
     1943         test "$cross_compiling" = yes ||
     1944         test -x conftest$ac_exeext
     1945       }; then :
     1946  ac_retval=0
     1947else
     1948  $as_echo "$as_me: failed program was:" >&5
     1949sed 's/^/| /' conftest.$ac_ext >&5
     1950
     1951        ac_retval=1
     1952fi
     1953  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1954  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1955  # interfere with the next link command; also delete a directory that is
     1956  # left behind by Apple's compiler.  We do this before executing the actions.
     1957  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1958  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1959  as_fn_set_status $ac_retval
     1960
     1961} # ac_fn_cxx_try_link
     1962
     1963# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
     1964# -------------------------------------------
     1965# Tests whether TYPE exists after having included INCLUDES, setting cache
     1966# variable VAR accordingly.
     1967ac_fn_c_check_type ()
     1968{
     1969  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1970  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1971$as_echo_n "checking for $2... " >&6; }
     1972if eval \${$3+:} false; then :
     1973  $as_echo_n "(cached) " >&6
     1974else
     1975  eval "$3=no"
     1976  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1977/* end confdefs.h.  */
     1978$4
     1979int
     1980main ()
     1981{
     1982if (sizeof ($2))
     1983         return 0;
     1984  ;
     1985  return 0;
     1986}
     1987_ACEOF
     1988if ac_fn_c_try_compile "$LINENO"; then :
     1989  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1990/* end confdefs.h.  */
     1991$4
     1992int
     1993main ()
     1994{
     1995if (sizeof (($2)))
     1996            return 0;
     1997  ;
     1998  return 0;
     1999}
     2000_ACEOF
     2001if ac_fn_c_try_compile "$LINENO"; then :
     2002
     2003else
     2004  eval "$3=yes"
     2005fi
     2006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2007fi
     2008rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2009fi
     2010eval ac_res=\$$3
     2011               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2012$as_echo "$ac_res" >&6; }
     2013  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2014
     2015} # ac_fn_c_check_type
    18772016
    18782017# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     
    24772616
    24782617
     2618
    24792619#AC_CONFIG_SRCDIR([src/main.cc])
    24802620ac_config_headers="$ac_config_headers config.h:src/config.h.in"
     
    52485388fi
    52495389if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi
    5250 
    5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    5252 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    5253 set x ${MAKE-make}
    5254 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    5255 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     5390case `pwd` in
     5391  *\ * | *\     *)
     5392    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
     5393$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
     5394esac
     5395
     5396
     5397
     5398macro_version='2.4.6'
     5399macro_revision='2.4.6'
     5400
     5401
     5402
     5403
     5404
     5405
     5406
     5407
     5408
     5409
     5410
     5411
     5412
     5413ltmain=$ac_aux_dir/ltmain.sh
     5414
     5415# Backslashify metacharacters that are still active within
     5416# double-quoted strings.
     5417sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
     5418
     5419# Same as above, but do not quote variable references.
     5420double_quote_subst='s/\(["`\\]\)/\\\1/g'
     5421
     5422# Sed substitution to delay expansion of an escaped shell variable in a
     5423# double_quote_subst'ed string.
     5424delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     5425
     5426# Sed substitution to delay expansion of an escaped single quote.
     5427delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
     5428
     5429# Sed substitution to avoid accidental globbing in evaled expressions
     5430no_glob_subst='s/\*/\\\*/g'
     5431
     5432ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     5433ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
     5434ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
     5435
     5436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
     5437$as_echo_n "checking how to print strings... " >&6; }
     5438# Test print first, because it will be a builtin if present.
     5439if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
     5440   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
     5441  ECHO='print -r --'
     5442elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
     5443  ECHO='printf %s\n'
     5444else
     5445  # Use this function as a fallback that always works.
     5446  func_fallback_echo ()
     5447  {
     5448    eval 'cat <<_LTECHO_EOF
     5449$1
     5450_LTECHO_EOF'
     5451  }
     5452  ECHO='func_fallback_echo'
     5453fi
     5454
     5455# func_echo_all arg...
     5456# Invoke $ECHO with all args, space-separated.
     5457func_echo_all ()
     5458{
     5459    $ECHO ""
     5460}
     5461
     5462case $ECHO in
     5463  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
     5464$as_echo "printf" >&6; } ;;
     5465  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
     5466$as_echo "print -r" >&6; } ;;
     5467  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
     5468$as_echo "cat" >&6; } ;;
     5469esac
     5470
     5471
     5472
     5473
     5474
     5475
     5476
     5477
     5478
     5479
     5480
     5481
     5482
     5483
     5484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
     5485$as_echo_n "checking for a sed that does not truncate output... " >&6; }
     5486if ${ac_cv_path_SED+:} false; then :
    52565487  $as_echo_n "(cached) " >&6
    52575488else
    5258   cat >conftest.make <<\_ACEOF
    5259 SHELL = /bin/sh
    5260 all:
    5261         @echo '@@@%%%=$(MAKE)=@@@%%%'
    5262 _ACEOF
    5263 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    5264 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    5265   *@@@%%%=?*=@@@%%%*)
    5266     eval ac_cv_prog_make_${ac_make}_set=yes;;
    5267   *)
    5268     eval ac_cv_prog_make_${ac_make}_set=no;;
    5269 esac
    5270 rm -f conftest.make
    5271 fi
    5272 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    5273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    5274 $as_echo "yes" >&6; }
    5275   SET_MAKE=
    5276 else
    5277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5278 $as_echo "no" >&6; }
    5279   SET_MAKE="MAKE=${MAKE-make}"
    5280 fi
    5281 
    5282 if test -n "$ac_tool_prefix"; then
    5283   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    5284 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5286 $as_echo_n "checking for $ac_word... " >&6; }
    5287 if ${ac_cv_prog_RANLIB+:} false; then :
    5288   $as_echo_n "(cached) " >&6
    5289 else
    5290   if test -n "$RANLIB"; then
    5291   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    5292 else
    5293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5489            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
     5490     for ac_i in 1 2 3 4 5 6 7; do
     5491       ac_script="$ac_script$as_nl$ac_script"
     5492     done
     5493     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
     5494     { ac_script=; unset ac_script;}
     5495     if test -z "$SED"; then
     5496  ac_path_SED_found=false
     5497  # Loop through the user's path and test for each of PROGNAME-LIST
     5498  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    52945499for as_dir in $PATH
    52955500do
    52965501  IFS=$as_save_IFS
    52975502  test -z "$as_dir" && as_dir=.
     5503    for ac_prog in sed gsed; do
    52985504    for ac_exec_ext in '' $ac_executable_extensions; do
    5299   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5300     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    5301     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5302     break 2
    5303   fi
    5304 done
     5505      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
     5506      as_fn_executable_p "$ac_path_SED" || continue
     5507# Check for GNU ac_path_SED and select it if it is found.
     5508  # Check for GNU $ac_path_SED
     5509case `"$ac_path_SED" --version 2>&1` in
     5510*GNU*)
     5511  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
     5512*)
     5513  ac_count=0
     5514  $as_echo_n 0123456789 >"conftest.in"
     5515  while :
     5516  do
     5517    cat "conftest.in" "conftest.in" >"conftest.tmp"
     5518    mv "conftest.tmp" "conftest.in"
     5519    cp "conftest.in" "conftest.nl"
     5520    $as_echo '' >> "conftest.nl"
     5521    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
     5522    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     5523    as_fn_arith $ac_count + 1 && ac_count=$as_val
     5524    if test $ac_count -gt ${ac_path_SED_max-0}; then
     5525      # Best one so far, save it but keep looking for a better one
     5526      ac_cv_path_SED="$ac_path_SED"
     5527      ac_path_SED_max=$ac_count
     5528    fi
     5529    # 10*(2^10) chars as input seems more than enough
     5530    test $ac_count -gt 10 && break
     5531  done
     5532  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     5533esac
     5534
     5535      $ac_path_SED_found && break 3
     5536    done
     5537  done
    53055538  done
    53065539IFS=$as_save_IFS
    5307 
    5308 fi
    5309 fi
    5310 RANLIB=$ac_cv_prog_RANLIB
    5311 if test -n "$RANLIB"; then
    5312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    5313 $as_echo "$RANLIB" >&6; }
    5314 else
    5315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5316 $as_echo "no" >&6; }
    5317 fi
    5318 
    5319 
    5320 fi
    5321 if test -z "$ac_cv_prog_RANLIB"; then
    5322   ac_ct_RANLIB=$RANLIB
    5323   # Extract the first word of "ranlib", so it can be a program name with args.
    5324 set dummy ranlib; ac_word=$2
    5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5326 $as_echo_n "checking for $ac_word... " >&6; }
    5327 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    5328   $as_echo_n "(cached) " >&6
    5329 else
    5330   if test -n "$ac_ct_RANLIB"; then
    5331   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    5332 else
    5333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5334 for as_dir in $PATH
    5335 do
    5336   IFS=$as_save_IFS
    5337   test -z "$as_dir" && as_dir=.
    5338     for ac_exec_ext in '' $ac_executable_extensions; do
    5339   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5340     ac_cv_prog_ac_ct_RANLIB="ranlib"
    5341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5342     break 2
     5540  if test -z "$ac_cv_path_SED"; then
     5541    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
    53435542  fi
    5344 done
    5345   done
    5346 IFS=$as_save_IFS
    5347 
    5348 fi
    5349 fi
    5350 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    5351 if test -n "$ac_ct_RANLIB"; then
    5352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    5353 $as_echo "$ac_ct_RANLIB" >&6; }
    5354 else
    5355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5356 $as_echo "no" >&6; }
    5357 fi
    5358 
    5359   if test "x$ac_ct_RANLIB" = x; then
    5360     RANLIB=":"
    5361   else
    5362     case $cross_compiling:$ac_tool_warned in
    5363 yes:)
    5364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    5365 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    5366 ac_tool_warned=yes ;;
    5367 esac
    5368     RANLIB=$ac_ct_RANLIB
    5369   fi
    5370 else
    5371   RANLIB="$ac_cv_prog_RANLIB"
    5372 fi
    5373 
    5374 
    5375 # Checks for libraries.
    5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fibre::yield in -lfibre" >&5
    5377 $as_echo_n "checking for Fibre::yield in -lfibre... " >&6; }
    5378 if ${ac_cv_lib_fibre_Fibre__yield+:} false; then :
    5379   $as_echo_n "(cached) " >&6
    5380 else
    5381   ac_check_lib_save_LIBS=$LIBS
    5382 LIBS="-lfibre  $LIBS"
    5383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5384 /* end confdefs.h.  */
    5385 
    5386 /* Override any GCC internal prototype to avoid an error.
    5387    Use char because int might match the return type of a GCC
    5388    builtin and then its argument prototype would still apply.  */
    5389 #ifdef __cplusplus
    5390 extern "C"
    5391 #endif
    5392 char Fibre::yield ();
    5393 int
    5394 main ()
    5395 {
    5396 return Fibre::yield ();
    5397   ;
    5398   return 0;
    5399 }
    5400 _ACEOF
    5401 if ac_fn_c_try_link "$LINENO"; then :
    5402   ac_cv_lib_fibre_Fibre__yield=yes
    5403 else
    5404   ac_cv_lib_fibre_Fibre__yield=no
    5405 fi
    5406 rm -f core conftest.err conftest.$ac_objext \
    5407     conftest$ac_exeext conftest.$ac_ext
    5408 LIBS=$ac_check_lib_save_LIBS
    5409 fi
    5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fibre_Fibre__yield" >&5
    5411 $as_echo "$ac_cv_lib_fibre_Fibre__yield" >&6; }
    5412 if test "x$ac_cv_lib_fibre_Fibre__yield" = xyes; then :
    5413   HAVE_LIBFIBRE=1
    5414 else
    5415   HAVE_LIBFIBRE=0
    5416 fi
    5417 
    5418  if test "$HAVE_LIBFIBRE" -eq 1; then
    5419   WITH_LIBFIBRE_TRUE=
    5420   WITH_LIBFIBRE_FALSE='#'
    5421 else
    5422   WITH_LIBFIBRE_TRUE='#'
    5423   WITH_LIBFIBRE_FALSE=
    5424 fi
    5425 
    5426 
    5427 # Checks for header files.
    5428 ac_ext=c
    5429 ac_cpp='$CPP $CPPFLAGS'
    5430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    5434 $as_echo_n "checking how to run the C preprocessor... " >&6; }
    5435 # On Suns, sometimes $CPP names a directory.
    5436 if test -n "$CPP" && test -d "$CPP"; then
    5437   CPP=
    5438 fi
    5439 if test -z "$CPP"; then
    5440   if ${ac_cv_prog_CPP+:} false; then :
    5441   $as_echo_n "(cached) " >&6
    5442 else
    5443       # Double quotes because CPP needs to be expanded
    5444     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    5445     do
    5446       ac_preproc_ok=false
    5447 for ac_c_preproc_warn_flag in '' yes
    5448 do
    5449   # Use a header file that comes with gcc, so configuring glibc
    5450   # with a fresh cross-compiler works.
    5451   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5452   # <limits.h> exists even on freestanding compilers.
    5453   # On the NeXT, cc -E runs the code through the compiler's parser,
    5454   # not just through cpp. "Syntax error" is here to catch this case.
    5455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5456 /* end confdefs.h.  */
    5457 #ifdef __STDC__
    5458 # include <limits.h>
    5459 #else
    5460 # include <assert.h>
    5461 #endif
    5462                      Syntax error
    5463 _ACEOF
    5464 if ac_fn_c_try_cpp "$LINENO"; then :
    5465 
    5466 else
    5467   # Broken: fails on valid input.
    5468 continue
    5469 fi
    5470 rm -f conftest.err conftest.i conftest.$ac_ext
    5471 
    5472   # OK, works on sane cases.  Now check whether nonexistent headers
    5473   # can be detected and how.
    5474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5475 /* end confdefs.h.  */
    5476 #include <ac_nonexistent.h>
    5477 _ACEOF
    5478 if ac_fn_c_try_cpp "$LINENO"; then :
    5479   # Broken: success on invalid input.
    5480 continue
    5481 else
    5482   # Passes both tests.
    5483 ac_preproc_ok=:
    5484 break
    5485 fi
    5486 rm -f conftest.err conftest.i conftest.$ac_ext
    5487 
    5488 done
    5489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5490 rm -f conftest.i conftest.err conftest.$ac_ext
    5491 if $ac_preproc_ok; then :
    5492   break
    5493 fi
    5494 
    5495     done
    5496     ac_cv_prog_CPP=$CPP
    5497 
    5498 fi
    5499   CPP=$ac_cv_prog_CPP
    5500 else
    5501   ac_cv_prog_CPP=$CPP
    5502 fi
    5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    5504 $as_echo "$CPP" >&6; }
    5505 ac_preproc_ok=false
    5506 for ac_c_preproc_warn_flag in '' yes
    5507 do
    5508   # Use a header file that comes with gcc, so configuring glibc
    5509   # with a fresh cross-compiler works.
    5510   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5511   # <limits.h> exists even on freestanding compilers.
    5512   # On the NeXT, cc -E runs the code through the compiler's parser,
    5513   # not just through cpp. "Syntax error" is here to catch this case.
    5514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5515 /* end confdefs.h.  */
    5516 #ifdef __STDC__
    5517 # include <limits.h>
    5518 #else
    5519 # include <assert.h>
    5520 #endif
    5521                      Syntax error
    5522 _ACEOF
    5523 if ac_fn_c_try_cpp "$LINENO"; then :
    5524 
    5525 else
    5526   # Broken: fails on valid input.
    5527 continue
    5528 fi
    5529 rm -f conftest.err conftest.i conftest.$ac_ext
    5530 
    5531   # OK, works on sane cases.  Now check whether nonexistent headers
    5532   # can be detected and how.
    5533   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5534 /* end confdefs.h.  */
    5535 #include <ac_nonexistent.h>
    5536 _ACEOF
    5537 if ac_fn_c_try_cpp "$LINENO"; then :
    5538   # Broken: success on invalid input.
    5539 continue
    5540 else
    5541   # Passes both tests.
    5542 ac_preproc_ok=:
    5543 break
    5544 fi
    5545 rm -f conftest.err conftest.i conftest.$ac_ext
    5546 
    5547 done
    5548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5549 rm -f conftest.i conftest.err conftest.$ac_ext
    5550 if $ac_preproc_ok; then :
    5551 
    5552 else
    5553   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    5554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    5555 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    5556 See \`config.log' for more details" "$LINENO" 5; }
    5557 fi
    5558 
    5559 ac_ext=c
    5560 ac_cpp='$CPP $CPPFLAGS'
    5561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5543else
     5544  ac_cv_path_SED=$SED
     5545fi
     5546
     5547fi
     5548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
     5549$as_echo "$ac_cv_path_SED" >&6; }
     5550 SED="$ac_cv_path_SED"
     5551  rm -f conftest.sed
     5552
     5553test -z "$SED" && SED=sed
     5554Xsed="$SED -e 1s/^X//"
     5555
     5556
     5557
     5558
     5559
     5560
     5561
     5562
     5563
    55645564
    55655565
     
    56945694
    56955695
     5696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
     5697$as_echo_n "checking for fgrep... " >&6; }
     5698if ${ac_cv_path_FGREP+:} false; then :
     5699  $as_echo_n "(cached) " >&6
     5700else
     5701  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
     5702   then ac_cv_path_FGREP="$GREP -F"
     5703   else
     5704     if test -z "$FGREP"; then
     5705  ac_path_FGREP_found=false
     5706  # Loop through the user's path and test for each of PROGNAME-LIST
     5707  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5708for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     5709do
     5710  IFS=$as_save_IFS
     5711  test -z "$as_dir" && as_dir=.
     5712    for ac_prog in fgrep; do
     5713    for ac_exec_ext in '' $ac_executable_extensions; do
     5714      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
     5715      as_fn_executable_p "$ac_path_FGREP" || continue
     5716# Check for GNU ac_path_FGREP and select it if it is found.
     5717  # Check for GNU $ac_path_FGREP
     5718case `"$ac_path_FGREP" --version 2>&1` in
     5719*GNU*)
     5720  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
     5721*)
     5722  ac_count=0
     5723  $as_echo_n 0123456789 >"conftest.in"
     5724  while :
     5725  do
     5726    cat "conftest.in" "conftest.in" >"conftest.tmp"
     5727    mv "conftest.tmp" "conftest.in"
     5728    cp "conftest.in" "conftest.nl"
     5729    $as_echo 'FGREP' >> "conftest.nl"
     5730    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
     5731    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     5732    as_fn_arith $ac_count + 1 && ac_count=$as_val
     5733    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
     5734      # Best one so far, save it but keep looking for a better one
     5735      ac_cv_path_FGREP="$ac_path_FGREP"
     5736      ac_path_FGREP_max=$ac_count
     5737    fi
     5738    # 10*(2^10) chars as input seems more than enough
     5739    test $ac_count -gt 10 && break
     5740  done
     5741  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     5742esac
     5743
     5744      $ac_path_FGREP_found && break 3
     5745    done
     5746  done
     5747  done
     5748IFS=$as_save_IFS
     5749  if test -z "$ac_cv_path_FGREP"; then
     5750    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     5751  fi
     5752else
     5753  ac_cv_path_FGREP=$FGREP
     5754fi
     5755
     5756   fi
     5757fi
     5758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
     5759$as_echo "$ac_cv_path_FGREP" >&6; }
     5760 FGREP="$ac_cv_path_FGREP"
     5761
     5762
     5763test -z "$GREP" && GREP=grep
     5764
     5765
     5766
     5767
     5768
     5769
     5770
     5771
     5772
     5773
     5774
     5775
     5776
     5777
     5778
     5779
     5780
     5781
     5782
     5783# Check whether --with-gnu-ld was given.
     5784if test "${with_gnu_ld+set}" = set; then :
     5785  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
     5786else
     5787  with_gnu_ld=no
     5788fi
     5789
     5790ac_prog=ld
     5791if test yes = "$GCC"; then
     5792  # Check if gcc -print-prog-name=ld gives a path.
     5793  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     5794$as_echo_n "checking for ld used by $CC... " >&6; }
     5795  case $host in
     5796  *-*-mingw*)
     5797    # gcc leaves a trailing carriage return, which upsets mingw
     5798    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
     5799  *)
     5800    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
     5801  esac
     5802  case $ac_prog in
     5803    # Accept absolute paths.
     5804    [\\/]* | ?:[\\/]*)
     5805      re_direlt='/[^/][^/]*/\.\./'
     5806      # Canonicalize the pathname of ld
     5807      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
     5808      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
     5809        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
     5810      done
     5811      test -z "$LD" && LD=$ac_prog
     5812      ;;
     5813  "")
     5814    # If it fails, then pretend we aren't using GCC.
     5815    ac_prog=ld
     5816    ;;
     5817  *)
     5818    # If it is relative, then search for the first ld in PATH.
     5819    with_gnu_ld=unknown
     5820    ;;
     5821  esac
     5822elif test yes = "$with_gnu_ld"; then
     5823  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
     5824$as_echo_n "checking for GNU ld... " >&6; }
     5825else
     5826  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
     5827$as_echo_n "checking for non-GNU ld... " >&6; }
     5828fi
     5829if ${lt_cv_path_LD+:} false; then :
     5830  $as_echo_n "(cached) " >&6
     5831else
     5832  if test -z "$LD"; then
     5833  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     5834  for ac_dir in $PATH; do
     5835    IFS=$lt_save_ifs
     5836    test -z "$ac_dir" && ac_dir=.
     5837    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
     5838      lt_cv_path_LD=$ac_dir/$ac_prog
     5839      # Check to see if the program is GNU ld.  I'd rather use --version,
     5840      # but apparently some variants of GNU ld only accept -v.
     5841      # Break only if it was the GNU/non-GNU ld that we prefer.
     5842      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
     5843      *GNU* | *'with BFD'*)
     5844        test no != "$with_gnu_ld" && break
     5845        ;;
     5846      *)
     5847        test yes != "$with_gnu_ld" && break
     5848        ;;
     5849      esac
     5850    fi
     5851  done
     5852  IFS=$lt_save_ifs
     5853else
     5854  lt_cv_path_LD=$LD # Let the user override the test with a path.
     5855fi
     5856fi
     5857
     5858LD=$lt_cv_path_LD
     5859if test -n "$LD"; then
     5860  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     5861$as_echo "$LD" >&6; }
     5862else
     5863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5864$as_echo "no" >&6; }
     5865fi
     5866test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
     5867{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
     5868$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
     5869if ${lt_cv_prog_gnu_ld+:} false; then :
     5870  $as_echo_n "(cached) " >&6
     5871else
     5872  # I'd rather use --version here, but apparently some GNU lds only accept -v.
     5873case `$LD -v 2>&1 </dev/null` in
     5874*GNU* | *'with BFD'*)
     5875  lt_cv_prog_gnu_ld=yes
     5876  ;;
     5877*)
     5878  lt_cv_prog_gnu_ld=no
     5879  ;;
     5880esac
     5881fi
     5882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
     5883$as_echo "$lt_cv_prog_gnu_ld" >&6; }
     5884with_gnu_ld=$lt_cv_prog_gnu_ld
     5885
     5886
     5887
     5888
     5889
     5890
     5891
     5892
     5893
     5894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
     5895$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
     5896if ${lt_cv_path_NM+:} false; then :
     5897  $as_echo_n "(cached) " >&6
     5898else
     5899  if test -n "$NM"; then
     5900  # Let the user override the test.
     5901  lt_cv_path_NM=$NM
     5902else
     5903  lt_nm_to_check=${ac_tool_prefix}nm
     5904  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
     5905    lt_nm_to_check="$lt_nm_to_check nm"
     5906  fi
     5907  for lt_tmp_nm in $lt_nm_to_check; do
     5908    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     5909    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
     5910      IFS=$lt_save_ifs
     5911      test -z "$ac_dir" && ac_dir=.
     5912      tmp_nm=$ac_dir/$lt_tmp_nm
     5913      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
     5914        # Check to see if the nm accepts a BSD-compat flag.
     5915        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
     5916        #   nm: unknown option "B" ignored
     5917        # Tru64's nm complains that /dev/null is an invalid object file
     5918        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
     5919        case $build_os in
     5920        mingw*) lt_bad_file=conftest.nm/nofile ;;
     5921        *) lt_bad_file=/dev/null ;;
     5922        esac
     5923        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
     5924        *$lt_bad_file* | *'Invalid file or object type'*)
     5925          lt_cv_path_NM="$tmp_nm -B"
     5926          break 2
     5927          ;;
     5928        *)
     5929          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
     5930          */dev/null*)
     5931            lt_cv_path_NM="$tmp_nm -p"
     5932            break 2
     5933            ;;
     5934          *)
     5935            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
     5936            continue # so that we can try to find one that supports BSD flags
     5937            ;;
     5938          esac
     5939          ;;
     5940        esac
     5941      fi
     5942    done
     5943    IFS=$lt_save_ifs
     5944  done
     5945  : ${lt_cv_path_NM=no}
     5946fi
     5947fi
     5948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
     5949$as_echo "$lt_cv_path_NM" >&6; }
     5950if test no != "$lt_cv_path_NM"; then
     5951  NM=$lt_cv_path_NM
     5952else
     5953  # Didn't find any BSD compatible name lister, look for dumpbin.
     5954  if test -n "$DUMPBIN"; then :
     5955    # Let the user override the test.
     5956  else
     5957    if test -n "$ac_tool_prefix"; then
     5958  for ac_prog in dumpbin "link -dump"
     5959  do
     5960    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     5961set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     5962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5963$as_echo_n "checking for $ac_word... " >&6; }
     5964if ${ac_cv_prog_DUMPBIN+:} false; then :
     5965  $as_echo_n "(cached) " >&6
     5966else
     5967  if test -n "$DUMPBIN"; then
     5968  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
     5969else
     5970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5971for as_dir in $PATH
     5972do
     5973  IFS=$as_save_IFS
     5974  test -z "$as_dir" && as_dir=.
     5975    for ac_exec_ext in '' $ac_executable_extensions; do
     5976  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5977    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
     5978    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5979    break 2
     5980  fi
     5981done
     5982  done
     5983IFS=$as_save_IFS
     5984
     5985fi
     5986fi
     5987DUMPBIN=$ac_cv_prog_DUMPBIN
     5988if test -n "$DUMPBIN"; then
     5989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
     5990$as_echo "$DUMPBIN" >&6; }
     5991else
     5992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5993$as_echo "no" >&6; }
     5994fi
     5995
     5996
     5997    test -n "$DUMPBIN" && break
     5998  done
     5999fi
     6000if test -z "$DUMPBIN"; then
     6001  ac_ct_DUMPBIN=$DUMPBIN
     6002  for ac_prog in dumpbin "link -dump"
     6003do
     6004  # Extract the first word of "$ac_prog", so it can be a program name with args.
     6005set dummy $ac_prog; ac_word=$2
     6006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6007$as_echo_n "checking for $ac_word... " >&6; }
     6008if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
     6009  $as_echo_n "(cached) " >&6
     6010else
     6011  if test -n "$ac_ct_DUMPBIN"; then
     6012  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
     6013else
     6014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6015for as_dir in $PATH
     6016do
     6017  IFS=$as_save_IFS
     6018  test -z "$as_dir" && as_dir=.
     6019    for ac_exec_ext in '' $ac_executable_extensions; do
     6020  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6021    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
     6022    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6023    break 2
     6024  fi
     6025done
     6026  done
     6027IFS=$as_save_IFS
     6028
     6029fi
     6030fi
     6031ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
     6032if test -n "$ac_ct_DUMPBIN"; then
     6033  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
     6034$as_echo "$ac_ct_DUMPBIN" >&6; }
     6035else
     6036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6037$as_echo "no" >&6; }
     6038fi
     6039
     6040
     6041  test -n "$ac_ct_DUMPBIN" && break
     6042done
     6043
     6044  if test "x$ac_ct_DUMPBIN" = x; then
     6045    DUMPBIN=":"
     6046  else
     6047    case $cross_compiling:$ac_tool_warned in
     6048yes:)
     6049{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6050$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6051ac_tool_warned=yes ;;
     6052esac
     6053    DUMPBIN=$ac_ct_DUMPBIN
     6054  fi
     6055fi
     6056
     6057    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
     6058    *COFF*)
     6059      DUMPBIN="$DUMPBIN -symbols -headers"
     6060      ;;
     6061    *)
     6062      DUMPBIN=:
     6063      ;;
     6064    esac
     6065  fi
     6066
     6067  if test : != "$DUMPBIN"; then
     6068    NM=$DUMPBIN
     6069  fi
     6070fi
     6071test -z "$NM" && NM=nm
     6072
     6073
     6074
     6075
     6076
     6077
     6078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
     6079$as_echo_n "checking the name lister ($NM) interface... " >&6; }
     6080if ${lt_cv_nm_interface+:} false; then :
     6081  $as_echo_n "(cached) " >&6
     6082else
     6083  lt_cv_nm_interface="BSD nm"
     6084  echo "int some_variable = 0;" > conftest.$ac_ext
     6085  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
     6086  (eval "$ac_compile" 2>conftest.err)
     6087  cat conftest.err >&5
     6088  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
     6089  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
     6090  cat conftest.err >&5
     6091  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
     6092  cat conftest.out >&5
     6093  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     6094    lt_cv_nm_interface="MS dumpbin"
     6095  fi
     6096  rm -f conftest*
     6097fi
     6098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
     6099$as_echo "$lt_cv_nm_interface" >&6; }
     6100
     6101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     6102$as_echo_n "checking whether ln -s works... " >&6; }
     6103LN_S=$as_ln_s
     6104if test "$LN_S" = "ln -s"; then
     6105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     6106$as_echo "yes" >&6; }
     6107else
     6108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     6109$as_echo "no, using $LN_S" >&6; }
     6110fi
     6111
     6112# find the maximum length of command line arguments
     6113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
     6114$as_echo_n "checking the maximum length of command line arguments... " >&6; }
     6115if ${lt_cv_sys_max_cmd_len+:} false; then :
     6116  $as_echo_n "(cached) " >&6
     6117else
     6118    i=0
     6119  teststring=ABCD
     6120
     6121  case $build_os in
     6122  msdosdjgpp*)
     6123    # On DJGPP, this test can blow up pretty badly due to problems in libc
     6124    # (any single argument exceeding 2000 bytes causes a buffer overrun
     6125    # during glob expansion).  Even if it were fixed, the result of this
     6126    # check would be larger than it should be.
     6127    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
     6128    ;;
     6129
     6130  gnu*)
     6131    # Under GNU Hurd, this test is not required because there is
     6132    # no limit to the length of command line arguments.
     6133    # Libtool will interpret -1 as no limit whatsoever
     6134    lt_cv_sys_max_cmd_len=-1;
     6135    ;;
     6136
     6137  cygwin* | mingw* | cegcc*)
     6138    # On Win9x/ME, this test blows up -- it succeeds, but takes
     6139    # about 5 minutes as the teststring grows exponentially.
     6140    # Worse, since 9x/ME are not pre-emptively multitasking,
     6141    # you end up with a "frozen" computer, even though with patience
     6142    # the test eventually succeeds (with a max line length of 256k).
     6143    # Instead, let's just punt: use the minimum linelength reported by
     6144    # all of the supported platforms: 8192 (on NT/2K/XP).
     6145    lt_cv_sys_max_cmd_len=8192;
     6146    ;;
     6147
     6148  mint*)
     6149    # On MiNT this can take a long time and run out of memory.
     6150    lt_cv_sys_max_cmd_len=8192;
     6151    ;;
     6152
     6153  amigaos*)
     6154    # On AmigaOS with pdksh, this test takes hours, literally.
     6155    # So we just punt and use a minimum line length of 8192.
     6156    lt_cv_sys_max_cmd_len=8192;
     6157    ;;
     6158
     6159  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
     6160    # This has been around since 386BSD, at least.  Likely further.
     6161    if test -x /sbin/sysctl; then
     6162      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
     6163    elif test -x /usr/sbin/sysctl; then
     6164      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
     6165    else
     6166      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
     6167    fi
     6168    # And add a safety zone
     6169    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     6170    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     6171    ;;
     6172
     6173  interix*)
     6174    # We know the value 262144 and hardcode it with a safety zone (like BSD)
     6175    lt_cv_sys_max_cmd_len=196608
     6176    ;;
     6177
     6178  os2*)
     6179    # The test takes a long time on OS/2.
     6180    lt_cv_sys_max_cmd_len=8192
     6181    ;;
     6182
     6183  osf*)
     6184    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     6185    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
     6186    # nice to cause kernel panics so lets avoid the loop below.
     6187    # First set a reasonable default.
     6188    lt_cv_sys_max_cmd_len=16384
     6189    #
     6190    if test -x /sbin/sysconfig; then
     6191      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
     6192        *1*) lt_cv_sys_max_cmd_len=-1 ;;
     6193      esac
     6194    fi
     6195    ;;
     6196  sco3.2v5*)
     6197    lt_cv_sys_max_cmd_len=102400
     6198    ;;
     6199  sysv5* | sco5v6* | sysv4.2uw2*)
     6200    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
     6201    if test -n "$kargmax"; then
     6202      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
     6203    else
     6204      lt_cv_sys_max_cmd_len=32768
     6205    fi
     6206    ;;
     6207  *)
     6208    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
     6209    if test -n "$lt_cv_sys_max_cmd_len" && \
     6210       test undefined != "$lt_cv_sys_max_cmd_len"; then
     6211      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     6212      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     6213    else
     6214      # Make teststring a little bigger before we do anything with it.
     6215      # a 1K string should be a reasonable start.
     6216      for i in 1 2 3 4 5 6 7 8; do
     6217        teststring=$teststring$teststring
     6218      done
     6219      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
     6220      # If test is not a shell built-in, we'll probably end up computing a
     6221      # maximum length that is only half of the actual maximum length, but
     6222      # we can't tell.
     6223      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
     6224                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
     6225              test 17 != "$i" # 1/2 MB should be enough
     6226      do
     6227        i=`expr $i + 1`
     6228        teststring=$teststring$teststring
     6229      done
     6230      # Only check the string length outside the loop.
     6231      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
     6232      teststring=
     6233      # Add a significant safety factor because C++ compilers can tack on
     6234      # massive amounts of additional arguments before passing them to the
     6235      # linker.  It appears as though 1/2 is a usable value.
     6236      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
     6237    fi
     6238    ;;
     6239  esac
     6240
     6241fi
     6242
     6243if test -n "$lt_cv_sys_max_cmd_len"; then
     6244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
     6245$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
     6246else
     6247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
     6248$as_echo "none" >&6; }
     6249fi
     6250max_cmd_len=$lt_cv_sys_max_cmd_len
     6251
     6252
     6253
     6254
     6255
     6256
     6257: ${CP="cp -f"}
     6258: ${MV="mv -f"}
     6259: ${RM="rm -f"}
     6260
     6261if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     6262  lt_unset=unset
     6263else
     6264  lt_unset=false
     6265fi
     6266
     6267
     6268
     6269
     6270
     6271# test EBCDIC or ASCII
     6272case `echo X|tr X '\101'` in
     6273 A) # ASCII based system
     6274    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
     6275  lt_SP2NL='tr \040 \012'
     6276  lt_NL2SP='tr \015\012 \040\040'
     6277  ;;
     6278 *) # EBCDIC based system
     6279  lt_SP2NL='tr \100 \n'
     6280  lt_NL2SP='tr \r\n \100\100'
     6281  ;;
     6282esac
     6283
     6284
     6285
     6286
     6287
     6288
     6289
     6290
     6291
     6292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
     6293$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
     6294if ${lt_cv_to_host_file_cmd+:} false; then :
     6295  $as_echo_n "(cached) " >&6
     6296else
     6297  case $host in
     6298  *-*-mingw* )
     6299    case $build in
     6300      *-*-mingw* ) # actually msys
     6301        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
     6302        ;;
     6303      *-*-cygwin* )
     6304        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
     6305        ;;
     6306      * ) # otherwise, assume *nix
     6307        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
     6308        ;;
     6309    esac
     6310    ;;
     6311  *-*-cygwin* )
     6312    case $build in
     6313      *-*-mingw* ) # actually msys
     6314        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
     6315        ;;
     6316      *-*-cygwin* )
     6317        lt_cv_to_host_file_cmd=func_convert_file_noop
     6318        ;;
     6319      * ) # otherwise, assume *nix
     6320        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
     6321        ;;
     6322    esac
     6323    ;;
     6324  * ) # unhandled hosts (and "normal" native builds)
     6325    lt_cv_to_host_file_cmd=func_convert_file_noop
     6326    ;;
     6327esac
     6328
     6329fi
     6330
     6331to_host_file_cmd=$lt_cv_to_host_file_cmd
     6332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
     6333$as_echo "$lt_cv_to_host_file_cmd" >&6; }
     6334
     6335
     6336
     6337
     6338
     6339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
     6340$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
     6341if ${lt_cv_to_tool_file_cmd+:} false; then :
     6342  $as_echo_n "(cached) " >&6
     6343else
     6344  #assume ordinary cross tools, or native build.
     6345lt_cv_to_tool_file_cmd=func_convert_file_noop
     6346case $host in
     6347  *-*-mingw* )
     6348    case $build in
     6349      *-*-mingw* ) # actually msys
     6350        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
     6351        ;;
     6352    esac
     6353    ;;
     6354esac
     6355
     6356fi
     6357
     6358to_tool_file_cmd=$lt_cv_to_tool_file_cmd
     6359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
     6360$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
     6361
     6362
     6363
     6364
     6365
     6366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
     6367$as_echo_n "checking for $LD option to reload object files... " >&6; }
     6368if ${lt_cv_ld_reload_flag+:} false; then :
     6369  $as_echo_n "(cached) " >&6
     6370else
     6371  lt_cv_ld_reload_flag='-r'
     6372fi
     6373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
     6374$as_echo "$lt_cv_ld_reload_flag" >&6; }
     6375reload_flag=$lt_cv_ld_reload_flag
     6376case $reload_flag in
     6377"" | " "*) ;;
     6378*) reload_flag=" $reload_flag" ;;
     6379esac
     6380reload_cmds='$LD$reload_flag -o $output$reload_objs'
     6381case $host_os in
     6382  cygwin* | mingw* | pw32* | cegcc*)
     6383    if test yes != "$GCC"; then
     6384      reload_cmds=false
     6385    fi
     6386    ;;
     6387  darwin*)
     6388    if test yes = "$GCC"; then
     6389      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
     6390    else
     6391      reload_cmds='$LD$reload_flag -o $output$reload_objs'
     6392    fi
     6393    ;;
     6394esac
     6395
     6396
     6397
     6398
     6399
     6400
     6401
     6402
     6403
     6404if test -n "$ac_tool_prefix"; then
     6405  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
     6406set dummy ${ac_tool_prefix}objdump; ac_word=$2
     6407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6408$as_echo_n "checking for $ac_word... " >&6; }
     6409if ${ac_cv_prog_OBJDUMP+:} false; then :
     6410  $as_echo_n "(cached) " >&6
     6411else
     6412  if test -n "$OBJDUMP"; then
     6413  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
     6414else
     6415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6416for as_dir in $PATH
     6417do
     6418  IFS=$as_save_IFS
     6419  test -z "$as_dir" && as_dir=.
     6420    for ac_exec_ext in '' $ac_executable_extensions; do
     6421  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6422    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
     6423    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6424    break 2
     6425  fi
     6426done
     6427  done
     6428IFS=$as_save_IFS
     6429
     6430fi
     6431fi
     6432OBJDUMP=$ac_cv_prog_OBJDUMP
     6433if test -n "$OBJDUMP"; then
     6434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
     6435$as_echo "$OBJDUMP" >&6; }
     6436else
     6437  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6438$as_echo "no" >&6; }
     6439fi
     6440
     6441
     6442fi
     6443if test -z "$ac_cv_prog_OBJDUMP"; then
     6444  ac_ct_OBJDUMP=$OBJDUMP
     6445  # Extract the first word of "objdump", so it can be a program name with args.
     6446set dummy objdump; ac_word=$2
     6447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6448$as_echo_n "checking for $ac_word... " >&6; }
     6449if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
     6450  $as_echo_n "(cached) " >&6
     6451else
     6452  if test -n "$ac_ct_OBJDUMP"; then
     6453  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
     6454else
     6455as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6456for as_dir in $PATH
     6457do
     6458  IFS=$as_save_IFS
     6459  test -z "$as_dir" && as_dir=.
     6460    for ac_exec_ext in '' $ac_executable_extensions; do
     6461  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6462    ac_cv_prog_ac_ct_OBJDUMP="objdump"
     6463    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6464    break 2
     6465  fi
     6466done
     6467  done
     6468IFS=$as_save_IFS
     6469
     6470fi
     6471fi
     6472ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
     6473if test -n "$ac_ct_OBJDUMP"; then
     6474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
     6475$as_echo "$ac_ct_OBJDUMP" >&6; }
     6476else
     6477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6478$as_echo "no" >&6; }
     6479fi
     6480
     6481  if test "x$ac_ct_OBJDUMP" = x; then
     6482    OBJDUMP="false"
     6483  else
     6484    case $cross_compiling:$ac_tool_warned in
     6485yes:)
     6486{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6487$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6488ac_tool_warned=yes ;;
     6489esac
     6490    OBJDUMP=$ac_ct_OBJDUMP
     6491  fi
     6492else
     6493  OBJDUMP="$ac_cv_prog_OBJDUMP"
     6494fi
     6495
     6496test -z "$OBJDUMP" && OBJDUMP=objdump
     6497
     6498
     6499
     6500
     6501
     6502
     6503
     6504
     6505
     6506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
     6507$as_echo_n "checking how to recognize dependent libraries... " >&6; }
     6508if ${lt_cv_deplibs_check_method+:} false; then :
     6509  $as_echo_n "(cached) " >&6
     6510else
     6511  lt_cv_file_magic_cmd='$MAGIC_CMD'
     6512lt_cv_file_magic_test_file=
     6513lt_cv_deplibs_check_method='unknown'
     6514# Need to set the preceding variable on all platforms that support
     6515# interlibrary dependencies.
     6516# 'none' -- dependencies not supported.
     6517# 'unknown' -- same as none, but documents that we really don't know.
     6518# 'pass_all' -- all dependencies passed with no checks.
     6519# 'test_compile' -- check by making test program.
     6520# 'file_magic [[regex]]' -- check by looking for files in library path
     6521# that responds to the $file_magic_cmd with a given extended regex.
     6522# If you have 'file' or equivalent on your system and you're not sure
     6523# whether 'pass_all' will *always* work, you probably want this one.
     6524
     6525case $host_os in
     6526aix[4-9]*)
     6527  lt_cv_deplibs_check_method=pass_all
     6528  ;;
     6529
     6530beos*)
     6531  lt_cv_deplibs_check_method=pass_all
     6532  ;;
     6533
     6534bsdi[45]*)
     6535  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     6536  lt_cv_file_magic_cmd='/usr/bin/file -L'
     6537  lt_cv_file_magic_test_file=/shlib/libc.so
     6538  ;;
     6539
     6540cygwin*)
     6541  # func_win32_libid is a shell function defined in ltmain.sh
     6542  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     6543  lt_cv_file_magic_cmd='func_win32_libid'
     6544  ;;
     6545
     6546mingw* | pw32*)
     6547  # Base MSYS/MinGW do not provide the 'file' command needed by
     6548  # func_win32_libid shell function, so use a weaker test based on 'objdump',
     6549  # unless we find 'file', for example because we are cross-compiling.
     6550  if ( file / ) >/dev/null 2>&1; then
     6551    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     6552    lt_cv_file_magic_cmd='func_win32_libid'
     6553  else
     6554    # Keep this pattern in sync with the one in func_win32_libid.
     6555    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
     6556    lt_cv_file_magic_cmd='$OBJDUMP -f'
     6557  fi
     6558  ;;
     6559
     6560cegcc*)
     6561  # use the weaker test based on 'objdump'. See mingw*.
     6562  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
     6563  lt_cv_file_magic_cmd='$OBJDUMP -f'
     6564  ;;
     6565
     6566darwin* | rhapsody*)
     6567  lt_cv_deplibs_check_method=pass_all
     6568  ;;
     6569
     6570freebsd* | dragonfly*)
     6571  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     6572    case $host_cpu in
     6573    i*86 )
     6574      # Not sure whether the presence of OpenBSD here was a mistake.
     6575      # Let's accept both of them until this is cleared up.
     6576      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
     6577      lt_cv_file_magic_cmd=/usr/bin/file
     6578      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
     6579      ;;
     6580    esac
     6581  else
     6582    lt_cv_deplibs_check_method=pass_all
     6583  fi
     6584  ;;
     6585
     6586haiku*)
     6587  lt_cv_deplibs_check_method=pass_all
     6588  ;;
     6589
     6590hpux10.20* | hpux11*)
     6591  lt_cv_file_magic_cmd=/usr/bin/file
     6592  case $host_cpu in
     6593  ia64*)
     6594    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     6595    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     6596    ;;
     6597  hppa*64*)
     6598    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
     6599    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
     6600    ;;
     6601  *)
     6602    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
     6603    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     6604    ;;
     6605  esac
     6606  ;;
     6607
     6608interix[3-9]*)
     6609  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
     6610  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
     6611  ;;
     6612
     6613irix5* | irix6* | nonstopux*)
     6614  case $LD in
     6615  *-32|*"-32 ") libmagic=32-bit;;
     6616  *-n32|*"-n32 ") libmagic=N32;;
     6617  *-64|*"-64 ") libmagic=64-bit;;
     6618  *) libmagic=never-match;;
     6619  esac
     6620  lt_cv_deplibs_check_method=pass_all
     6621  ;;
     6622
     6623# This must be glibc/ELF.
     6624linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     6625  lt_cv_deplibs_check_method=pass_all
     6626  ;;
     6627
     6628netbsd* | netbsdelf*-gnu)
     6629  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     6630    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
     6631  else
     6632    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
     6633  fi
     6634  ;;
     6635
     6636newos6*)
     6637  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     6638  lt_cv_file_magic_cmd=/usr/bin/file
     6639  lt_cv_file_magic_test_file=/usr/lib/libnls.so
     6640  ;;
     6641
     6642*nto* | *qnx*)
     6643  lt_cv_deplibs_check_method=pass_all
     6644  ;;
     6645
     6646openbsd* | bitrig*)
     6647  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     6648    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
     6649  else
     6650    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
     6651  fi
     6652  ;;
     6653
     6654osf3* | osf4* | osf5*)
     6655  lt_cv_deplibs_check_method=pass_all
     6656  ;;
     6657
     6658rdos*)
     6659  lt_cv_deplibs_check_method=pass_all
     6660  ;;
     6661
     6662solaris*)
     6663  lt_cv_deplibs_check_method=pass_all
     6664  ;;
     6665
     6666sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     6667  lt_cv_deplibs_check_method=pass_all
     6668  ;;
     6669
     6670sysv4 | sysv4.3*)
     6671  case $host_vendor in
     6672  motorola)
     6673    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
     6674    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     6675    ;;
     6676  ncr)
     6677    lt_cv_deplibs_check_method=pass_all
     6678    ;;
     6679  sequent)
     6680    lt_cv_file_magic_cmd='/bin/file'
     6681    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
     6682    ;;
     6683  sni)
     6684    lt_cv_file_magic_cmd='/bin/file'
     6685    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
     6686    lt_cv_file_magic_test_file=/lib/libc.so
     6687    ;;
     6688  siemens)
     6689    lt_cv_deplibs_check_method=pass_all
     6690    ;;
     6691  pc)
     6692    lt_cv_deplibs_check_method=pass_all
     6693    ;;
     6694  esac
     6695  ;;
     6696
     6697tpf*)
     6698  lt_cv_deplibs_check_method=pass_all
     6699  ;;
     6700os2*)
     6701  lt_cv_deplibs_check_method=pass_all
     6702  ;;
     6703esac
     6704
     6705fi
     6706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
     6707$as_echo "$lt_cv_deplibs_check_method" >&6; }
     6708
     6709file_magic_glob=
     6710want_nocaseglob=no
     6711if test "$build" = "$host"; then
     6712  case $host_os in
     6713  mingw* | pw32*)
     6714    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
     6715      want_nocaseglob=yes
     6716    else
     6717      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
     6718    fi
     6719    ;;
     6720  esac
     6721fi
     6722
     6723file_magic_cmd=$lt_cv_file_magic_cmd
     6724deplibs_check_method=$lt_cv_deplibs_check_method
     6725test -z "$deplibs_check_method" && deplibs_check_method=unknown
     6726
     6727
     6728
     6729
     6730
     6731
     6732
     6733
     6734
     6735
     6736
     6737
     6738
     6739
     6740
     6741
     6742
     6743
     6744
     6745
     6746
     6747
     6748if test -n "$ac_tool_prefix"; then
     6749  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
     6750set dummy ${ac_tool_prefix}dlltool; ac_word=$2
     6751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6752$as_echo_n "checking for $ac_word... " >&6; }
     6753if ${ac_cv_prog_DLLTOOL+:} false; then :
     6754  $as_echo_n "(cached) " >&6
     6755else
     6756  if test -n "$DLLTOOL"; then
     6757  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
     6758else
     6759as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6760for as_dir in $PATH
     6761do
     6762  IFS=$as_save_IFS
     6763  test -z "$as_dir" && as_dir=.
     6764    for ac_exec_ext in '' $ac_executable_extensions; do
     6765  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6766    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
     6767    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6768    break 2
     6769  fi
     6770done
     6771  done
     6772IFS=$as_save_IFS
     6773
     6774fi
     6775fi
     6776DLLTOOL=$ac_cv_prog_DLLTOOL
     6777if test -n "$DLLTOOL"; then
     6778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
     6779$as_echo "$DLLTOOL" >&6; }
     6780else
     6781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6782$as_echo "no" >&6; }
     6783fi
     6784
     6785
     6786fi
     6787if test -z "$ac_cv_prog_DLLTOOL"; then
     6788  ac_ct_DLLTOOL=$DLLTOOL
     6789  # Extract the first word of "dlltool", so it can be a program name with args.
     6790set dummy dlltool; ac_word=$2
     6791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6792$as_echo_n "checking for $ac_word... " >&6; }
     6793if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
     6794  $as_echo_n "(cached) " >&6
     6795else
     6796  if test -n "$ac_ct_DLLTOOL"; then
     6797  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
     6798else
     6799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6800for as_dir in $PATH
     6801do
     6802  IFS=$as_save_IFS
     6803  test -z "$as_dir" && as_dir=.
     6804    for ac_exec_ext in '' $ac_executable_extensions; do
     6805  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6806    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
     6807    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6808    break 2
     6809  fi
     6810done
     6811  done
     6812IFS=$as_save_IFS
     6813
     6814fi
     6815fi
     6816ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
     6817if test -n "$ac_ct_DLLTOOL"; then
     6818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
     6819$as_echo "$ac_ct_DLLTOOL" >&6; }
     6820else
     6821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6822$as_echo "no" >&6; }
     6823fi
     6824
     6825  if test "x$ac_ct_DLLTOOL" = x; then
     6826    DLLTOOL="false"
     6827  else
     6828    case $cross_compiling:$ac_tool_warned in
     6829yes:)
     6830{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6831$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6832ac_tool_warned=yes ;;
     6833esac
     6834    DLLTOOL=$ac_ct_DLLTOOL
     6835  fi
     6836else
     6837  DLLTOOL="$ac_cv_prog_DLLTOOL"
     6838fi
     6839
     6840test -z "$DLLTOOL" && DLLTOOL=dlltool
     6841
     6842
     6843
     6844
     6845
     6846
     6847
     6848
     6849
     6850
     6851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
     6852$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
     6853if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
     6854  $as_echo_n "(cached) " >&6
     6855else
     6856  lt_cv_sharedlib_from_linklib_cmd='unknown'
     6857
     6858case $host_os in
     6859cygwin* | mingw* | pw32* | cegcc*)
     6860  # two different shell functions defined in ltmain.sh;
     6861  # decide which one to use based on capabilities of $DLLTOOL
     6862  case `$DLLTOOL --help 2>&1` in
     6863  *--identify-strict*)
     6864    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
     6865    ;;
     6866  *)
     6867    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
     6868    ;;
     6869  esac
     6870  ;;
     6871*)
     6872  # fallback: assume linklib IS sharedlib
     6873  lt_cv_sharedlib_from_linklib_cmd=$ECHO
     6874  ;;
     6875esac
     6876
     6877fi
     6878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
     6879$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
     6880sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
     6881test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
     6882
     6883
     6884
     6885
     6886
     6887
     6888
     6889if test -n "$ac_tool_prefix"; then
     6890  for ac_prog in ar
     6891  do
     6892    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     6893set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     6894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6895$as_echo_n "checking for $ac_word... " >&6; }
     6896if ${ac_cv_prog_AR+:} false; then :
     6897  $as_echo_n "(cached) " >&6
     6898else
     6899  if test -n "$AR"; then
     6900  ac_cv_prog_AR="$AR" # Let the user override the test.
     6901else
     6902as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6903for as_dir in $PATH
     6904do
     6905  IFS=$as_save_IFS
     6906  test -z "$as_dir" && as_dir=.
     6907    for ac_exec_ext in '' $ac_executable_extensions; do
     6908  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6909    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
     6910    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6911    break 2
     6912  fi
     6913done
     6914  done
     6915IFS=$as_save_IFS
     6916
     6917fi
     6918fi
     6919AR=$ac_cv_prog_AR
     6920if test -n "$AR"; then
     6921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     6922$as_echo "$AR" >&6; }
     6923else
     6924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6925$as_echo "no" >&6; }
     6926fi
     6927
     6928
     6929    test -n "$AR" && break
     6930  done
     6931fi
     6932if test -z "$AR"; then
     6933  ac_ct_AR=$AR
     6934  for ac_prog in ar
     6935do
     6936  # Extract the first word of "$ac_prog", so it can be a program name with args.
     6937set dummy $ac_prog; ac_word=$2
     6938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6939$as_echo_n "checking for $ac_word... " >&6; }
     6940if ${ac_cv_prog_ac_ct_AR+:} false; then :
     6941  $as_echo_n "(cached) " >&6
     6942else
     6943  if test -n "$ac_ct_AR"; then
     6944  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
     6945else
     6946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6947for as_dir in $PATH
     6948do
     6949  IFS=$as_save_IFS
     6950  test -z "$as_dir" && as_dir=.
     6951    for ac_exec_ext in '' $ac_executable_extensions; do
     6952  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6953    ac_cv_prog_ac_ct_AR="$ac_prog"
     6954    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6955    break 2
     6956  fi
     6957done
     6958  done
     6959IFS=$as_save_IFS
     6960
     6961fi
     6962fi
     6963ac_ct_AR=$ac_cv_prog_ac_ct_AR
     6964if test -n "$ac_ct_AR"; then
     6965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
     6966$as_echo "$ac_ct_AR" >&6; }
     6967else
     6968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6969$as_echo "no" >&6; }
     6970fi
     6971
     6972
     6973  test -n "$ac_ct_AR" && break
     6974done
     6975
     6976  if test "x$ac_ct_AR" = x; then
     6977    AR="false"
     6978  else
     6979    case $cross_compiling:$ac_tool_warned in
     6980yes:)
     6981{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6982$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6983ac_tool_warned=yes ;;
     6984esac
     6985    AR=$ac_ct_AR
     6986  fi
     6987fi
     6988
     6989: ${AR=ar}
     6990: ${AR_FLAGS=cru}
     6991
     6992
     6993
     6994
     6995
     6996
     6997
     6998
     6999
     7000
     7001
     7002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
     7003$as_echo_n "checking for archiver @FILE support... " >&6; }
     7004if ${lt_cv_ar_at_file+:} false; then :
     7005  $as_echo_n "(cached) " >&6
     7006else
     7007  lt_cv_ar_at_file=no
     7008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7009/* end confdefs.h.  */
     7010
     7011int
     7012main ()
     7013{
     7014
     7015  ;
     7016  return 0;
     7017}
     7018_ACEOF
     7019if ac_fn_c_try_compile "$LINENO"; then :
     7020  echo conftest.$ac_objext > conftest.lst
     7021      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
     7022      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     7023  (eval $lt_ar_try) 2>&5
     7024  ac_status=$?
     7025  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7026  test $ac_status = 0; }
     7027      if test 0 -eq "$ac_status"; then
     7028        # Ensure the archiver fails upon bogus file names.
     7029        rm -f conftest.$ac_objext libconftest.a
     7030        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     7031  (eval $lt_ar_try) 2>&5
     7032  ac_status=$?
     7033  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7034  test $ac_status = 0; }
     7035        if test 0 -ne "$ac_status"; then
     7036          lt_cv_ar_at_file=@
     7037        fi
     7038      fi
     7039      rm -f conftest.* libconftest.a
     7040
     7041fi
     7042rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7043
     7044fi
     7045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
     7046$as_echo "$lt_cv_ar_at_file" >&6; }
     7047
     7048if test no = "$lt_cv_ar_at_file"; then
     7049  archiver_list_spec=
     7050else
     7051  archiver_list_spec=$lt_cv_ar_at_file
     7052fi
     7053
     7054
     7055
     7056
     7057
     7058
     7059
     7060if test -n "$ac_tool_prefix"; then
     7061  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     7062set dummy ${ac_tool_prefix}strip; ac_word=$2
     7063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7064$as_echo_n "checking for $ac_word... " >&6; }
     7065if ${ac_cv_prog_STRIP+:} false; then :
     7066  $as_echo_n "(cached) " >&6
     7067else
     7068  if test -n "$STRIP"; then
     7069  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
     7070else
     7071as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7072for as_dir in $PATH
     7073do
     7074  IFS=$as_save_IFS
     7075  test -z "$as_dir" && as_dir=.
     7076    for ac_exec_ext in '' $ac_executable_extensions; do
     7077  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7078    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     7079    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7080    break 2
     7081  fi
     7082done
     7083  done
     7084IFS=$as_save_IFS
     7085
     7086fi
     7087fi
     7088STRIP=$ac_cv_prog_STRIP
     7089if test -n "$STRIP"; then
     7090  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
     7091$as_echo "$STRIP" >&6; }
     7092else
     7093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7094$as_echo "no" >&6; }
     7095fi
     7096
     7097
     7098fi
     7099if test -z "$ac_cv_prog_STRIP"; then
     7100  ac_ct_STRIP=$STRIP
     7101  # Extract the first word of "strip", so it can be a program name with args.
     7102set dummy strip; ac_word=$2
     7103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7104$as_echo_n "checking for $ac_word... " >&6; }
     7105if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
     7106  $as_echo_n "(cached) " >&6
     7107else
     7108  if test -n "$ac_ct_STRIP"; then
     7109  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     7110else
     7111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7112for as_dir in $PATH
     7113do
     7114  IFS=$as_save_IFS
     7115  test -z "$as_dir" && as_dir=.
     7116    for ac_exec_ext in '' $ac_executable_extensions; do
     7117  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7118    ac_cv_prog_ac_ct_STRIP="strip"
     7119    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7120    break 2
     7121  fi
     7122done
     7123  done
     7124IFS=$as_save_IFS
     7125
     7126fi
     7127fi
     7128ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     7129if test -n "$ac_ct_STRIP"; then
     7130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
     7131$as_echo "$ac_ct_STRIP" >&6; }
     7132else
     7133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7134$as_echo "no" >&6; }
     7135fi
     7136
     7137  if test "x$ac_ct_STRIP" = x; then
     7138    STRIP=":"
     7139  else
     7140    case $cross_compiling:$ac_tool_warned in
     7141yes:)
     7142{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7143$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7144ac_tool_warned=yes ;;
     7145esac
     7146    STRIP=$ac_ct_STRIP
     7147  fi
     7148else
     7149  STRIP="$ac_cv_prog_STRIP"
     7150fi
     7151
     7152test -z "$STRIP" && STRIP=:
     7153
     7154
     7155
     7156
     7157
     7158
     7159if test -n "$ac_tool_prefix"; then
     7160  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     7161set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     7162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7163$as_echo_n "checking for $ac_word... " >&6; }
     7164if ${ac_cv_prog_RANLIB+:} false; then :
     7165  $as_echo_n "(cached) " >&6
     7166else
     7167  if test -n "$RANLIB"; then
     7168  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     7169else
     7170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7171for as_dir in $PATH
     7172do
     7173  IFS=$as_save_IFS
     7174  test -z "$as_dir" && as_dir=.
     7175    for ac_exec_ext in '' $ac_executable_extensions; do
     7176  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7177    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     7178    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7179    break 2
     7180  fi
     7181done
     7182  done
     7183IFS=$as_save_IFS
     7184
     7185fi
     7186fi
     7187RANLIB=$ac_cv_prog_RANLIB
     7188if test -n "$RANLIB"; then
     7189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     7190$as_echo "$RANLIB" >&6; }
     7191else
     7192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7193$as_echo "no" >&6; }
     7194fi
     7195
     7196
     7197fi
     7198if test -z "$ac_cv_prog_RANLIB"; then
     7199  ac_ct_RANLIB=$RANLIB
     7200  # Extract the first word of "ranlib", so it can be a program name with args.
     7201set dummy ranlib; ac_word=$2
     7202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7203$as_echo_n "checking for $ac_word... " >&6; }
     7204if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     7205  $as_echo_n "(cached) " >&6
     7206else
     7207  if test -n "$ac_ct_RANLIB"; then
     7208  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     7209else
     7210as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7211for as_dir in $PATH
     7212do
     7213  IFS=$as_save_IFS
     7214  test -z "$as_dir" && as_dir=.
     7215    for ac_exec_ext in '' $ac_executable_extensions; do
     7216  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7217    ac_cv_prog_ac_ct_RANLIB="ranlib"
     7218    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7219    break 2
     7220  fi
     7221done
     7222  done
     7223IFS=$as_save_IFS
     7224
     7225fi
     7226fi
     7227ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     7228if test -n "$ac_ct_RANLIB"; then
     7229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     7230$as_echo "$ac_ct_RANLIB" >&6; }
     7231else
     7232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7233$as_echo "no" >&6; }
     7234fi
     7235
     7236  if test "x$ac_ct_RANLIB" = x; then
     7237    RANLIB=":"
     7238  else
     7239    case $cross_compiling:$ac_tool_warned in
     7240yes:)
     7241{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7242$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7243ac_tool_warned=yes ;;
     7244esac
     7245    RANLIB=$ac_ct_RANLIB
     7246  fi
     7247else
     7248  RANLIB="$ac_cv_prog_RANLIB"
     7249fi
     7250
     7251test -z "$RANLIB" && RANLIB=:
     7252
     7253
     7254
     7255
     7256
     7257
     7258# Determine commands to create old-style static archives.
     7259old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
     7260old_postinstall_cmds='chmod 644 $oldlib'
     7261old_postuninstall_cmds=
     7262
     7263if test -n "$RANLIB"; then
     7264  case $host_os in
     7265  bitrig* | openbsd*)
     7266    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
     7267    ;;
     7268  *)
     7269    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
     7270    ;;
     7271  esac
     7272  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
     7273fi
     7274
     7275case $host_os in
     7276  darwin*)
     7277    lock_old_archive_extraction=yes ;;
     7278  *)
     7279    lock_old_archive_extraction=no ;;
     7280esac
     7281
     7282
     7283
     7284
     7285
     7286
     7287
     7288
     7289
     7290
     7291
     7292
     7293
     7294
     7295
     7296
     7297
     7298
     7299
     7300
     7301
     7302
     7303
     7304
     7305
     7306
     7307
     7308
     7309
     7310
     7311
     7312
     7313
     7314
     7315
     7316
     7317
     7318
     7319
     7320# If no C compiler was specified, use CC.
     7321LTCC=${LTCC-"$CC"}
     7322
     7323# If no C compiler flags were specified, use CFLAGS.
     7324LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     7325
     7326# Allow CC to be a program name with arguments.
     7327compiler=$CC
     7328
     7329
     7330# Check for command to grab the raw symbol name followed by C symbol from nm.
     7331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
     7332$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
     7333if ${lt_cv_sys_global_symbol_pipe+:} false; then :
     7334  $as_echo_n "(cached) " >&6
     7335else
     7336
     7337# These are sane defaults that work on at least a few old systems.
     7338# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
     7339
     7340# Character class describing NM global symbol codes.
     7341symcode='[BCDEGRST]'
     7342
     7343# Regexp to match symbols that can be accessed directly from C.
     7344sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
     7345
     7346# Define system-specific variables.
     7347case $host_os in
     7348aix*)
     7349  symcode='[BCDT]'
     7350  ;;
     7351cygwin* | mingw* | pw32* | cegcc*)
     7352  symcode='[ABCDGISTW]'
     7353  ;;
     7354hpux*)
     7355  if test ia64 = "$host_cpu"; then
     7356    symcode='[ABCDEGRST]'
     7357  fi
     7358  ;;
     7359irix* | nonstopux*)
     7360  symcode='[BCDEGRST]'
     7361  ;;
     7362osf*)
     7363  symcode='[BCDEGQRST]'
     7364  ;;
     7365solaris*)
     7366  symcode='[BDRT]'
     7367  ;;
     7368sco3.2v5*)
     7369  symcode='[DT]'
     7370  ;;
     7371sysv4.2uw2*)
     7372  symcode='[DT]'
     7373  ;;
     7374sysv5* | sco5v6* | unixware* | OpenUNIX*)
     7375  symcode='[ABDT]'
     7376  ;;
     7377sysv4)
     7378  symcode='[DFNSTU]'
     7379  ;;
     7380esac
     7381
     7382# If we're using GNU nm, then use its standard symbol codes.
     7383case `$NM -V 2>&1` in
     7384*GNU* | *'with BFD'*)
     7385  symcode='[ABCDGIRSTW]' ;;
     7386esac
     7387
     7388if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     7389  # Gets list of data symbols to import.
     7390  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
     7391  # Adjust the below global symbol transforms to fixup imported variables.
     7392  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
     7393  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
     7394  lt_c_name_lib_hook="\
     7395  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
     7396  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
     7397else
     7398  # Disable hooks by default.
     7399  lt_cv_sys_global_symbol_to_import=
     7400  lt_cdecl_hook=
     7401  lt_c_name_hook=
     7402  lt_c_name_lib_hook=
     7403fi
     7404
     7405# Transform an extracted symbol line into a proper C declaration.
     7406# Some systems (esp. on ia64) link data and code symbols differently,
     7407# so use this general approach.
     7408lt_cv_sys_global_symbol_to_cdecl="sed -n"\
     7409$lt_cdecl_hook\
     7410" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
     7411" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
     7412
     7413# Transform an extracted symbol line into symbol name and symbol address
     7414lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
     7415$lt_c_name_hook\
     7416" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     7417" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
     7418
     7419# Transform an extracted symbol line into symbol name with lib prefix and
     7420# symbol address.
     7421lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
     7422$lt_c_name_lib_hook\
     7423" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     7424" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
     7425" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
     7426
     7427# Handle CRLF in mingw tool chain
     7428opt_cr=
     7429case $build_os in
     7430mingw*)
     7431  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
     7432  ;;
     7433esac
     7434
     7435# Try without a prefix underscore, then with it.
     7436for ac_symprfx in "" "_"; do
     7437
     7438  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
     7439  symxfrm="\\1 $ac_symprfx\\2 \\2"
     7440
     7441  # Write the raw and C identifiers.
     7442  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     7443    # Fake it for dumpbin and say T for any non-static function,
     7444    # D for any global variable and I for any imported variable.
     7445    # Also find C++ and __fastcall symbols from MSVC++,
     7446    # which start with @ or ?.
     7447    lt_cv_sys_global_symbol_pipe="$AWK '"\
     7448"     {last_section=section; section=\$ 3};"\
     7449"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
     7450"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
     7451"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
     7452"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
     7453"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
     7454"     \$ 0!~/External *\|/{next};"\
     7455"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
     7456"     {if(hide[section]) next};"\
     7457"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
     7458"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
     7459"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
     7460"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
     7461"     ' prfx=^$ac_symprfx"
     7462  else
     7463    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
     7464  fi
     7465  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
     7466
     7467  # Check to see that the pipe works correctly.
     7468  pipe_works=no
     7469
     7470  rm -f conftest*
     7471  cat > conftest.$ac_ext <<_LT_EOF
     7472#ifdef __cplusplus
     7473extern "C" {
     7474#endif
     7475char nm_test_var;
     7476void nm_test_func(void);
     7477void nm_test_func(void){}
     7478#ifdef __cplusplus
     7479}
     7480#endif
     7481int main(){nm_test_var='a';nm_test_func();return(0);}
     7482_LT_EOF
     7483
     7484  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7485  (eval $ac_compile) 2>&5
     7486  ac_status=$?
     7487  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7488  test $ac_status = 0; }; then
     7489    # Now try to grab the symbols.
     7490    nlist=conftest.nm
     7491    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
     7492  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
     7493  ac_status=$?
     7494  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7495  test $ac_status = 0; } && test -s "$nlist"; then
     7496      # Try sorting and uniquifying the output.
     7497      if sort "$nlist" | uniq > "$nlist"T; then
     7498        mv -f "$nlist"T "$nlist"
     7499      else
     7500        rm -f "$nlist"T
     7501      fi
     7502
     7503      # Make sure that we snagged all the symbols we need.
     7504      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
     7505        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
     7506          cat <<_LT_EOF > conftest.$ac_ext
     7507/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
     7508#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
     7509/* DATA imports from DLLs on WIN32 can't be const, because runtime
     7510   relocations are performed -- see ld's documentation on pseudo-relocs.  */
     7511# define LT_DLSYM_CONST
     7512#elif defined __osf__
     7513/* This system does not cope well with relocations in const data.  */
     7514# define LT_DLSYM_CONST
     7515#else
     7516# define LT_DLSYM_CONST const
     7517#endif
     7518
     7519#ifdef __cplusplus
     7520extern "C" {
     7521#endif
     7522
     7523_LT_EOF
     7524          # Now generate the symbol file.
     7525          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
     7526
     7527          cat <<_LT_EOF >> conftest.$ac_ext
     7528
     7529/* The mapping between symbol names and symbols.  */
     7530LT_DLSYM_CONST struct {
     7531  const char *name;
     7532  void       *address;
     7533}
     7534lt__PROGRAM__LTX_preloaded_symbols[] =
     7535{
     7536  { "@PROGRAM@", (void *) 0 },
     7537_LT_EOF
     7538          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
     7539          cat <<\_LT_EOF >> conftest.$ac_ext
     7540  {0, (void *) 0}
     7541};
     7542
     7543/* This works around a problem in FreeBSD linker */
     7544#ifdef FREEBSD_WORKAROUND
     7545static const void *lt_preloaded_setup() {
     7546  return lt__PROGRAM__LTX_preloaded_symbols;
     7547}
     7548#endif
     7549
     7550#ifdef __cplusplus
     7551}
     7552#endif
     7553_LT_EOF
     7554          # Now try linking the two files.
     7555          mv conftest.$ac_objext conftstm.$ac_objext
     7556          lt_globsym_save_LIBS=$LIBS
     7557          lt_globsym_save_CFLAGS=$CFLAGS
     7558          LIBS=conftstm.$ac_objext
     7559          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
     7560          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
     7561  (eval $ac_link) 2>&5
     7562  ac_status=$?
     7563  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7564  test $ac_status = 0; } && test -s conftest$ac_exeext; then
     7565            pipe_works=yes
     7566          fi
     7567          LIBS=$lt_globsym_save_LIBS
     7568          CFLAGS=$lt_globsym_save_CFLAGS
     7569        else
     7570          echo "cannot find nm_test_func in $nlist" >&5
     7571        fi
     7572      else
     7573        echo "cannot find nm_test_var in $nlist" >&5
     7574      fi
     7575    else
     7576      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
     7577    fi
     7578  else
     7579    echo "$progname: failed program was:" >&5
     7580    cat conftest.$ac_ext >&5
     7581  fi
     7582  rm -rf conftest* conftst*
     7583
     7584  # Do not use the global_symbol_pipe unless it works.
     7585  if test yes = "$pipe_works"; then
     7586    break
     7587  else
     7588    lt_cv_sys_global_symbol_pipe=
     7589  fi
     7590done
     7591
     7592fi
     7593
     7594if test -z "$lt_cv_sys_global_symbol_pipe"; then
     7595  lt_cv_sys_global_symbol_to_cdecl=
     7596fi
     7597if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
     7598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
     7599$as_echo "failed" >&6; }
     7600else
     7601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
     7602$as_echo "ok" >&6; }
     7603fi
     7604
     7605# Response file support.
     7606if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     7607  nm_file_list_spec='@'
     7608elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
     7609  nm_file_list_spec='@'
     7610fi
     7611
     7612
     7613
     7614
     7615
     7616
     7617
     7618
     7619
     7620
     7621
     7622
     7623
     7624
     7625
     7626
     7627
     7628
     7629
     7630
     7631
     7632
     7633
     7634
     7635
     7636
     7637
     7638
     7639
     7640
     7641
     7642
     7643
     7644
     7645
     7646
     7647
     7648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
     7649$as_echo_n "checking for sysroot... " >&6; }
     7650
     7651# Check whether --with-sysroot was given.
     7652if test "${with_sysroot+set}" = set; then :
     7653  withval=$with_sysroot;
     7654else
     7655  with_sysroot=no
     7656fi
     7657
     7658
     7659lt_sysroot=
     7660case $with_sysroot in #(
     7661 yes)
     7662   if test yes = "$GCC"; then
     7663     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
     7664   fi
     7665   ;; #(
     7666 /*)
     7667   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
     7668   ;; #(
     7669 no|'')
     7670   ;; #(
     7671 *)
     7672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
     7673$as_echo "$with_sysroot" >&6; }
     7674   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
     7675   ;;
     7676esac
     7677
     7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
     7679$as_echo "${lt_sysroot:-no}" >&6; }
     7680
     7681
     7682
     7683
     7684
     7685{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
     7686$as_echo_n "checking for a working dd... " >&6; }
     7687if ${ac_cv_path_lt_DD+:} false; then :
     7688  $as_echo_n "(cached) " >&6
     7689else
     7690  printf 0123456789abcdef0123456789abcdef >conftest.i
     7691cat conftest.i conftest.i >conftest2.i
     7692: ${lt_DD:=$DD}
     7693if test -z "$lt_DD"; then
     7694  ac_path_lt_DD_found=false
     7695  # Loop through the user's path and test for each of PROGNAME-LIST
     7696  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7697for as_dir in $PATH
     7698do
     7699  IFS=$as_save_IFS
     7700  test -z "$as_dir" && as_dir=.
     7701    for ac_prog in dd; do
     7702    for ac_exec_ext in '' $ac_executable_extensions; do
     7703      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
     7704      as_fn_executable_p "$ac_path_lt_DD" || continue
     7705if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     7706  cmp -s conftest.i conftest.out \
     7707  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
     7708fi
     7709      $ac_path_lt_DD_found && break 3
     7710    done
     7711  done
     7712  done
     7713IFS=$as_save_IFS
     7714  if test -z "$ac_cv_path_lt_DD"; then
     7715    :
     7716  fi
     7717else
     7718  ac_cv_path_lt_DD=$lt_DD
     7719fi
     7720
     7721rm -f conftest.i conftest2.i conftest.out
     7722fi
     7723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
     7724$as_echo "$ac_cv_path_lt_DD" >&6; }
     7725
     7726
     7727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
     7728$as_echo_n "checking how to truncate binary pipes... " >&6; }
     7729if ${lt_cv_truncate_bin+:} false; then :
     7730  $as_echo_n "(cached) " >&6
     7731else
     7732  printf 0123456789abcdef0123456789abcdef >conftest.i
     7733cat conftest.i conftest.i >conftest2.i
     7734lt_cv_truncate_bin=
     7735if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     7736  cmp -s conftest.i conftest.out \
     7737  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
     7738fi
     7739rm -f conftest.i conftest2.i conftest.out
     7740test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
     7741fi
     7742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
     7743$as_echo "$lt_cv_truncate_bin" >&6; }
     7744
     7745
     7746
     7747
     7748
     7749
     7750
     7751# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     7752func_cc_basename ()
     7753{
     7754    for cc_temp in $*""; do
     7755      case $cc_temp in
     7756        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     7757        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     7758        \-*) ;;
     7759        *) break;;
     7760      esac
     7761    done
     7762    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     7763}
     7764
     7765# Check whether --enable-libtool-lock was given.
     7766if test "${enable_libtool_lock+set}" = set; then :
     7767  enableval=$enable_libtool_lock;
     7768fi
     7769
     7770test no = "$enable_libtool_lock" || enable_libtool_lock=yes
     7771
     7772# Some flags need to be propagated to the compiler or linker for good
     7773# libtool support.
     7774case $host in
     7775ia64-*-hpux*)
     7776  # Find out what ABI is being produced by ac_compile, and set mode
     7777  # options accordingly.
     7778  echo 'int i;' > conftest.$ac_ext
     7779  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7780  (eval $ac_compile) 2>&5
     7781  ac_status=$?
     7782  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7783  test $ac_status = 0; }; then
     7784    case `/usr/bin/file conftest.$ac_objext` in
     7785      *ELF-32*)
     7786        HPUX_IA64_MODE=32
     7787        ;;
     7788      *ELF-64*)
     7789        HPUX_IA64_MODE=64
     7790        ;;
     7791    esac
     7792  fi
     7793  rm -rf conftest*
     7794  ;;
     7795*-*-irix6*)
     7796  # Find out what ABI is being produced by ac_compile, and set linker
     7797  # options accordingly.
     7798  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
     7799  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7800  (eval $ac_compile) 2>&5
     7801  ac_status=$?
     7802  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7803  test $ac_status = 0; }; then
     7804    if test yes = "$lt_cv_prog_gnu_ld"; then
     7805      case `/usr/bin/file conftest.$ac_objext` in
     7806        *32-bit*)
     7807          LD="${LD-ld} -melf32bsmip"
     7808          ;;
     7809        *N32*)
     7810          LD="${LD-ld} -melf32bmipn32"
     7811          ;;
     7812        *64-bit*)
     7813          LD="${LD-ld} -melf64bmip"
     7814        ;;
     7815      esac
     7816    else
     7817      case `/usr/bin/file conftest.$ac_objext` in
     7818        *32-bit*)
     7819          LD="${LD-ld} -32"
     7820          ;;
     7821        *N32*)
     7822          LD="${LD-ld} -n32"
     7823          ;;
     7824        *64-bit*)
     7825          LD="${LD-ld} -64"
     7826          ;;
     7827      esac
     7828    fi
     7829  fi
     7830  rm -rf conftest*
     7831  ;;
     7832
     7833mips64*-*linux*)
     7834  # Find out what ABI is being produced by ac_compile, and set linker
     7835  # options accordingly.
     7836  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
     7837  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7838  (eval $ac_compile) 2>&5
     7839  ac_status=$?
     7840  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7841  test $ac_status = 0; }; then
     7842    emul=elf
     7843    case `/usr/bin/file conftest.$ac_objext` in
     7844      *32-bit*)
     7845        emul="${emul}32"
     7846        ;;
     7847      *64-bit*)
     7848        emul="${emul}64"
     7849        ;;
     7850    esac
     7851    case `/usr/bin/file conftest.$ac_objext` in
     7852      *MSB*)
     7853        emul="${emul}btsmip"
     7854        ;;
     7855      *LSB*)
     7856        emul="${emul}ltsmip"
     7857        ;;
     7858    esac
     7859    case `/usr/bin/file conftest.$ac_objext` in
     7860      *N32*)
     7861        emul="${emul}n32"
     7862        ;;
     7863    esac
     7864    LD="${LD-ld} -m $emul"
     7865  fi
     7866  rm -rf conftest*
     7867  ;;
     7868
     7869x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
     7870s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
     7871  # Find out what ABI is being produced by ac_compile, and set linker
     7872  # options accordingly.  Note that the listed cases only cover the
     7873  # situations where additional linker options are needed (such as when
     7874  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
     7875  # vice versa); the common cases where no linker options are needed do
     7876  # not appear in the list.
     7877  echo 'int i;' > conftest.$ac_ext
     7878  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7879  (eval $ac_compile) 2>&5
     7880  ac_status=$?
     7881  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7882  test $ac_status = 0; }; then
     7883    case `/usr/bin/file conftest.o` in
     7884      *32-bit*)
     7885        case $host in
     7886          x86_64-*kfreebsd*-gnu)
     7887            LD="${LD-ld} -m elf_i386_fbsd"
     7888            ;;
     7889          x86_64-*linux*)
     7890            case `/usr/bin/file conftest.o` in
     7891              *x86-64*)
     7892                LD="${LD-ld} -m elf32_x86_64"
     7893                ;;
     7894              *)
     7895                LD="${LD-ld} -m elf_i386"
     7896                ;;
     7897            esac
     7898            ;;
     7899          powerpc64le-*linux*)
     7900            LD="${LD-ld} -m elf32lppclinux"
     7901            ;;
     7902          powerpc64-*linux*)
     7903            LD="${LD-ld} -m elf32ppclinux"
     7904            ;;
     7905          s390x-*linux*)
     7906            LD="${LD-ld} -m elf_s390"
     7907            ;;
     7908          sparc64-*linux*)
     7909            LD="${LD-ld} -m elf32_sparc"
     7910            ;;
     7911        esac
     7912        ;;
     7913      *64-bit*)
     7914        case $host in
     7915          x86_64-*kfreebsd*-gnu)
     7916            LD="${LD-ld} -m elf_x86_64_fbsd"
     7917            ;;
     7918          x86_64-*linux*)
     7919            LD="${LD-ld} -m elf_x86_64"
     7920            ;;
     7921          powerpcle-*linux*)
     7922            LD="${LD-ld} -m elf64lppc"
     7923            ;;
     7924          powerpc-*linux*)
     7925            LD="${LD-ld} -m elf64ppc"
     7926            ;;
     7927          s390*-*linux*|s390*-*tpf*)
     7928            LD="${LD-ld} -m elf64_s390"
     7929            ;;
     7930          sparc*-*linux*)
     7931            LD="${LD-ld} -m elf64_sparc"
     7932            ;;
     7933        esac
     7934        ;;
     7935    esac
     7936  fi
     7937  rm -rf conftest*
     7938  ;;
     7939
     7940*-*-sco3.2v5*)
     7941  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     7942  SAVE_CFLAGS=$CFLAGS
     7943  CFLAGS="$CFLAGS -belf"
     7944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
     7945$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
     7946if ${lt_cv_cc_needs_belf+:} false; then :
     7947  $as_echo_n "(cached) " >&6
     7948else
     7949  ac_ext=c
     7950ac_cpp='$CPP $CPPFLAGS'
     7951ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     7952ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     7953ac_compiler_gnu=$ac_cv_c_compiler_gnu
     7954
     7955     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7956/* end confdefs.h.  */
     7957
     7958int
     7959main ()
     7960{
     7961
     7962  ;
     7963  return 0;
     7964}
     7965_ACEOF
     7966if ac_fn_c_try_link "$LINENO"; then :
     7967  lt_cv_cc_needs_belf=yes
     7968else
     7969  lt_cv_cc_needs_belf=no
     7970fi
     7971rm -f core conftest.err conftest.$ac_objext \
     7972    conftest$ac_exeext conftest.$ac_ext
     7973     ac_ext=c
     7974ac_cpp='$CPP $CPPFLAGS'
     7975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     7976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     7977ac_compiler_gnu=$ac_cv_c_compiler_gnu
     7978
     7979fi
     7980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
     7981$as_echo "$lt_cv_cc_needs_belf" >&6; }
     7982  if test yes != "$lt_cv_cc_needs_belf"; then
     7983    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
     7984    CFLAGS=$SAVE_CFLAGS
     7985  fi
     7986  ;;
     7987*-*solaris*)
     7988  # Find out what ABI is being produced by ac_compile, and set linker
     7989  # options accordingly.
     7990  echo 'int i;' > conftest.$ac_ext
     7991  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7992  (eval $ac_compile) 2>&5
     7993  ac_status=$?
     7994  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7995  test $ac_status = 0; }; then
     7996    case `/usr/bin/file conftest.o` in
     7997    *64-bit*)
     7998      case $lt_cv_prog_gnu_ld in
     7999      yes*)
     8000        case $host in
     8001        i?86-*-solaris*|x86_64-*-solaris*)
     8002          LD="${LD-ld} -m elf_x86_64"
     8003          ;;
     8004        sparc*-*-solaris*)
     8005          LD="${LD-ld} -m elf64_sparc"
     8006          ;;
     8007        esac
     8008        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
     8009        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
     8010          LD=${LD-ld}_sol2
     8011        fi
     8012        ;;
     8013      *)
     8014        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
     8015          LD="${LD-ld} -64"
     8016        fi
     8017        ;;
     8018      esac
     8019      ;;
     8020    esac
     8021  fi
     8022  rm -rf conftest*
     8023  ;;
     8024esac
     8025
     8026need_locks=$enable_libtool_lock
     8027
     8028if test -n "$ac_tool_prefix"; then
     8029  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
     8030set dummy ${ac_tool_prefix}mt; ac_word=$2
     8031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8032$as_echo_n "checking for $ac_word... " >&6; }
     8033if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
     8034  $as_echo_n "(cached) " >&6
     8035else
     8036  if test -n "$MANIFEST_TOOL"; then
     8037  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
     8038else
     8039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8040for as_dir in $PATH
     8041do
     8042  IFS=$as_save_IFS
     8043  test -z "$as_dir" && as_dir=.
     8044    for ac_exec_ext in '' $ac_executable_extensions; do
     8045  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8046    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
     8047    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8048    break 2
     8049  fi
     8050done
     8051  done
     8052IFS=$as_save_IFS
     8053
     8054fi
     8055fi
     8056MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
     8057if test -n "$MANIFEST_TOOL"; then
     8058  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
     8059$as_echo "$MANIFEST_TOOL" >&6; }
     8060else
     8061  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8062$as_echo "no" >&6; }
     8063fi
     8064
     8065
     8066fi
     8067if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
     8068  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
     8069  # Extract the first word of "mt", so it can be a program name with args.
     8070set dummy mt; ac_word=$2
     8071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8072$as_echo_n "checking for $ac_word... " >&6; }
     8073if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
     8074  $as_echo_n "(cached) " >&6
     8075else
     8076  if test -n "$ac_ct_MANIFEST_TOOL"; then
     8077  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
     8078else
     8079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8080for as_dir in $PATH
     8081do
     8082  IFS=$as_save_IFS
     8083  test -z "$as_dir" && as_dir=.
     8084    for ac_exec_ext in '' $ac_executable_extensions; do
     8085  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8086    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
     8087    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8088    break 2
     8089  fi
     8090done
     8091  done
     8092IFS=$as_save_IFS
     8093
     8094fi
     8095fi
     8096ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
     8097if test -n "$ac_ct_MANIFEST_TOOL"; then
     8098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
     8099$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
     8100else
     8101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8102$as_echo "no" >&6; }
     8103fi
     8104
     8105  if test "x$ac_ct_MANIFEST_TOOL" = x; then
     8106    MANIFEST_TOOL=":"
     8107  else
     8108    case $cross_compiling:$ac_tool_warned in
     8109yes:)
     8110{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8111$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8112ac_tool_warned=yes ;;
     8113esac
     8114    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
     8115  fi
     8116else
     8117  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
     8118fi
     8119
     8120test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
     8121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
     8122$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
     8123if ${lt_cv_path_mainfest_tool+:} false; then :
     8124  $as_echo_n "(cached) " >&6
     8125else
     8126  lt_cv_path_mainfest_tool=no
     8127  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
     8128  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
     8129  cat conftest.err >&5
     8130  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
     8131    lt_cv_path_mainfest_tool=yes
     8132  fi
     8133  rm -f conftest*
     8134fi
     8135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
     8136$as_echo "$lt_cv_path_mainfest_tool" >&6; }
     8137if test yes != "$lt_cv_path_mainfest_tool"; then
     8138  MANIFEST_TOOL=:
     8139fi
     8140
     8141
     8142
     8143
     8144
     8145
     8146  case $host_os in
     8147    rhapsody* | darwin*)
     8148    if test -n "$ac_tool_prefix"; then
     8149  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
     8150set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
     8151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8152$as_echo_n "checking for $ac_word... " >&6; }
     8153if ${ac_cv_prog_DSYMUTIL+:} false; then :
     8154  $as_echo_n "(cached) " >&6
     8155else
     8156  if test -n "$DSYMUTIL"; then
     8157  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
     8158else
     8159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8160for as_dir in $PATH
     8161do
     8162  IFS=$as_save_IFS
     8163  test -z "$as_dir" && as_dir=.
     8164    for ac_exec_ext in '' $ac_executable_extensions; do
     8165  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8166    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
     8167    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8168    break 2
     8169  fi
     8170done
     8171  done
     8172IFS=$as_save_IFS
     8173
     8174fi
     8175fi
     8176DSYMUTIL=$ac_cv_prog_DSYMUTIL
     8177if test -n "$DSYMUTIL"; then
     8178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
     8179$as_echo "$DSYMUTIL" >&6; }
     8180else
     8181  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8182$as_echo "no" >&6; }
     8183fi
     8184
     8185
     8186fi
     8187if test -z "$ac_cv_prog_DSYMUTIL"; then
     8188  ac_ct_DSYMUTIL=$DSYMUTIL
     8189  # Extract the first word of "dsymutil", so it can be a program name with args.
     8190set dummy dsymutil; ac_word=$2
     8191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8192$as_echo_n "checking for $ac_word... " >&6; }
     8193if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
     8194  $as_echo_n "(cached) " >&6
     8195else
     8196  if test -n "$ac_ct_DSYMUTIL"; then
     8197  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
     8198else
     8199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8200for as_dir in $PATH
     8201do
     8202  IFS=$as_save_IFS
     8203  test -z "$as_dir" && as_dir=.
     8204    for ac_exec_ext in '' $ac_executable_extensions; do
     8205  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8206    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
     8207    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8208    break 2
     8209  fi
     8210done
     8211  done
     8212IFS=$as_save_IFS
     8213
     8214fi
     8215fi
     8216ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
     8217if test -n "$ac_ct_DSYMUTIL"; then
     8218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
     8219$as_echo "$ac_ct_DSYMUTIL" >&6; }
     8220else
     8221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8222$as_echo "no" >&6; }
     8223fi
     8224
     8225  if test "x$ac_ct_DSYMUTIL" = x; then
     8226    DSYMUTIL=":"
     8227  else
     8228    case $cross_compiling:$ac_tool_warned in
     8229yes:)
     8230{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8231$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8232ac_tool_warned=yes ;;
     8233esac
     8234    DSYMUTIL=$ac_ct_DSYMUTIL
     8235  fi
     8236else
     8237  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
     8238fi
     8239
     8240    if test -n "$ac_tool_prefix"; then
     8241  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
     8242set dummy ${ac_tool_prefix}nmedit; ac_word=$2
     8243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8244$as_echo_n "checking for $ac_word... " >&6; }
     8245if ${ac_cv_prog_NMEDIT+:} false; then :
     8246  $as_echo_n "(cached) " >&6
     8247else
     8248  if test -n "$NMEDIT"; then
     8249  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
     8250else
     8251as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8252for as_dir in $PATH
     8253do
     8254  IFS=$as_save_IFS
     8255  test -z "$as_dir" && as_dir=.
     8256    for ac_exec_ext in '' $ac_executable_extensions; do
     8257  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8258    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
     8259    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8260    break 2
     8261  fi
     8262done
     8263  done
     8264IFS=$as_save_IFS
     8265
     8266fi
     8267fi
     8268NMEDIT=$ac_cv_prog_NMEDIT
     8269if test -n "$NMEDIT"; then
     8270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
     8271$as_echo "$NMEDIT" >&6; }
     8272else
     8273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8274$as_echo "no" >&6; }
     8275fi
     8276
     8277
     8278fi
     8279if test -z "$ac_cv_prog_NMEDIT"; then
     8280  ac_ct_NMEDIT=$NMEDIT
     8281  # Extract the first word of "nmedit", so it can be a program name with args.
     8282set dummy nmedit; ac_word=$2
     8283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8284$as_echo_n "checking for $ac_word... " >&6; }
     8285if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
     8286  $as_echo_n "(cached) " >&6
     8287else
     8288  if test -n "$ac_ct_NMEDIT"; then
     8289  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
     8290else
     8291as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8292for as_dir in $PATH
     8293do
     8294  IFS=$as_save_IFS
     8295  test -z "$as_dir" && as_dir=.
     8296    for ac_exec_ext in '' $ac_executable_extensions; do
     8297  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8298    ac_cv_prog_ac_ct_NMEDIT="nmedit"
     8299    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8300    break 2
     8301  fi
     8302done
     8303  done
     8304IFS=$as_save_IFS
     8305
     8306fi
     8307fi
     8308ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
     8309if test -n "$ac_ct_NMEDIT"; then
     8310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
     8311$as_echo "$ac_ct_NMEDIT" >&6; }
     8312else
     8313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8314$as_echo "no" >&6; }
     8315fi
     8316
     8317  if test "x$ac_ct_NMEDIT" = x; then
     8318    NMEDIT=":"
     8319  else
     8320    case $cross_compiling:$ac_tool_warned in
     8321yes:)
     8322{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8323$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8324ac_tool_warned=yes ;;
     8325esac
     8326    NMEDIT=$ac_ct_NMEDIT
     8327  fi
     8328else
     8329  NMEDIT="$ac_cv_prog_NMEDIT"
     8330fi
     8331
     8332    if test -n "$ac_tool_prefix"; then
     8333  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
     8334set dummy ${ac_tool_prefix}lipo; ac_word=$2
     8335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8336$as_echo_n "checking for $ac_word... " >&6; }
     8337if ${ac_cv_prog_LIPO+:} false; then :
     8338  $as_echo_n "(cached) " >&6
     8339else
     8340  if test -n "$LIPO"; then
     8341  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
     8342else
     8343as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8344for as_dir in $PATH
     8345do
     8346  IFS=$as_save_IFS
     8347  test -z "$as_dir" && as_dir=.
     8348    for ac_exec_ext in '' $ac_executable_extensions; do
     8349  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8350    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
     8351    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8352    break 2
     8353  fi
     8354done
     8355  done
     8356IFS=$as_save_IFS
     8357
     8358fi
     8359fi
     8360LIPO=$ac_cv_prog_LIPO
     8361if test -n "$LIPO"; then
     8362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
     8363$as_echo "$LIPO" >&6; }
     8364else
     8365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8366$as_echo "no" >&6; }
     8367fi
     8368
     8369
     8370fi
     8371if test -z "$ac_cv_prog_LIPO"; then
     8372  ac_ct_LIPO=$LIPO
     8373  # Extract the first word of "lipo", so it can be a program name with args.
     8374set dummy lipo; ac_word=$2
     8375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8376$as_echo_n "checking for $ac_word... " >&6; }
     8377if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
     8378  $as_echo_n "(cached) " >&6
     8379else
     8380  if test -n "$ac_ct_LIPO"; then
     8381  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
     8382else
     8383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8384for as_dir in $PATH
     8385do
     8386  IFS=$as_save_IFS
     8387  test -z "$as_dir" && as_dir=.
     8388    for ac_exec_ext in '' $ac_executable_extensions; do
     8389  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8390    ac_cv_prog_ac_ct_LIPO="lipo"
     8391    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8392    break 2
     8393  fi
     8394done
     8395  done
     8396IFS=$as_save_IFS
     8397
     8398fi
     8399fi
     8400ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
     8401if test -n "$ac_ct_LIPO"; then
     8402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
     8403$as_echo "$ac_ct_LIPO" >&6; }
     8404else
     8405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8406$as_echo "no" >&6; }
     8407fi
     8408
     8409  if test "x$ac_ct_LIPO" = x; then
     8410    LIPO=":"
     8411  else
     8412    case $cross_compiling:$ac_tool_warned in
     8413yes:)
     8414{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8415$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8416ac_tool_warned=yes ;;
     8417esac
     8418    LIPO=$ac_ct_LIPO
     8419  fi
     8420else
     8421  LIPO="$ac_cv_prog_LIPO"
     8422fi
     8423
     8424    if test -n "$ac_tool_prefix"; then
     8425  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
     8426set dummy ${ac_tool_prefix}otool; ac_word=$2
     8427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8428$as_echo_n "checking for $ac_word... " >&6; }
     8429if ${ac_cv_prog_OTOOL+:} false; then :
     8430  $as_echo_n "(cached) " >&6
     8431else
     8432  if test -n "$OTOOL"; then
     8433  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
     8434else
     8435as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8436for as_dir in $PATH
     8437do
     8438  IFS=$as_save_IFS
     8439  test -z "$as_dir" && as_dir=.
     8440    for ac_exec_ext in '' $ac_executable_extensions; do
     8441  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8442    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
     8443    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8444    break 2
     8445  fi
     8446done
     8447  done
     8448IFS=$as_save_IFS
     8449
     8450fi
     8451fi
     8452OTOOL=$ac_cv_prog_OTOOL
     8453if test -n "$OTOOL"; then
     8454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
     8455$as_echo "$OTOOL" >&6; }
     8456else
     8457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8458$as_echo "no" >&6; }
     8459fi
     8460
     8461
     8462fi
     8463if test -z "$ac_cv_prog_OTOOL"; then
     8464  ac_ct_OTOOL=$OTOOL
     8465  # Extract the first word of "otool", so it can be a program name with args.
     8466set dummy otool; ac_word=$2
     8467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8468$as_echo_n "checking for $ac_word... " >&6; }
     8469if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
     8470  $as_echo_n "(cached) " >&6
     8471else
     8472  if test -n "$ac_ct_OTOOL"; then
     8473  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
     8474else
     8475as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8476for as_dir in $PATH
     8477do
     8478  IFS=$as_save_IFS
     8479  test -z "$as_dir" && as_dir=.
     8480    for ac_exec_ext in '' $ac_executable_extensions; do
     8481  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8482    ac_cv_prog_ac_ct_OTOOL="otool"
     8483    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8484    break 2
     8485  fi
     8486done
     8487  done
     8488IFS=$as_save_IFS
     8489
     8490fi
     8491fi
     8492ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
     8493if test -n "$ac_ct_OTOOL"; then
     8494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
     8495$as_echo "$ac_ct_OTOOL" >&6; }
     8496else
     8497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8498$as_echo "no" >&6; }
     8499fi
     8500
     8501  if test "x$ac_ct_OTOOL" = x; then
     8502    OTOOL=":"
     8503  else
     8504    case $cross_compiling:$ac_tool_warned in
     8505yes:)
     8506{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8507$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8508ac_tool_warned=yes ;;
     8509esac
     8510    OTOOL=$ac_ct_OTOOL
     8511  fi
     8512else
     8513  OTOOL="$ac_cv_prog_OTOOL"
     8514fi
     8515
     8516    if test -n "$ac_tool_prefix"; then
     8517  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
     8518set dummy ${ac_tool_prefix}otool64; ac_word=$2
     8519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8520$as_echo_n "checking for $ac_word... " >&6; }
     8521if ${ac_cv_prog_OTOOL64+:} false; then :
     8522  $as_echo_n "(cached) " >&6
     8523else
     8524  if test -n "$OTOOL64"; then
     8525  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
     8526else
     8527as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8528for as_dir in $PATH
     8529do
     8530  IFS=$as_save_IFS
     8531  test -z "$as_dir" && as_dir=.
     8532    for ac_exec_ext in '' $ac_executable_extensions; do
     8533  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8534    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
     8535    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8536    break 2
     8537  fi
     8538done
     8539  done
     8540IFS=$as_save_IFS
     8541
     8542fi
     8543fi
     8544OTOOL64=$ac_cv_prog_OTOOL64
     8545if test -n "$OTOOL64"; then
     8546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
     8547$as_echo "$OTOOL64" >&6; }
     8548else
     8549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8550$as_echo "no" >&6; }
     8551fi
     8552
     8553
     8554fi
     8555if test -z "$ac_cv_prog_OTOOL64"; then
     8556  ac_ct_OTOOL64=$OTOOL64
     8557  # Extract the first word of "otool64", so it can be a program name with args.
     8558set dummy otool64; ac_word=$2
     8559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8560$as_echo_n "checking for $ac_word... " >&6; }
     8561if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
     8562  $as_echo_n "(cached) " >&6
     8563else
     8564  if test -n "$ac_ct_OTOOL64"; then
     8565  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
     8566else
     8567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8568for as_dir in $PATH
     8569do
     8570  IFS=$as_save_IFS
     8571  test -z "$as_dir" && as_dir=.
     8572    for ac_exec_ext in '' $ac_executable_extensions; do
     8573  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8574    ac_cv_prog_ac_ct_OTOOL64="otool64"
     8575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8576    break 2
     8577  fi
     8578done
     8579  done
     8580IFS=$as_save_IFS
     8581
     8582fi
     8583fi
     8584ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
     8585if test -n "$ac_ct_OTOOL64"; then
     8586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
     8587$as_echo "$ac_ct_OTOOL64" >&6; }
     8588else
     8589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8590$as_echo "no" >&6; }
     8591fi
     8592
     8593  if test "x$ac_ct_OTOOL64" = x; then
     8594    OTOOL64=":"
     8595  else
     8596    case $cross_compiling:$ac_tool_warned in
     8597yes:)
     8598{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8599$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8600ac_tool_warned=yes ;;
     8601esac
     8602    OTOOL64=$ac_ct_OTOOL64
     8603  fi
     8604else
     8605  OTOOL64="$ac_cv_prog_OTOOL64"
     8606fi
     8607
     8608
     8609
     8610
     8611
     8612
     8613
     8614
     8615
     8616
     8617
     8618
     8619
     8620
     8621
     8622
     8623
     8624
     8625
     8626
     8627
     8628
     8629
     8630
     8631
     8632
     8633
     8634    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
     8635$as_echo_n "checking for -single_module linker flag... " >&6; }
     8636if ${lt_cv_apple_cc_single_mod+:} false; then :
     8637  $as_echo_n "(cached) " >&6
     8638else
     8639  lt_cv_apple_cc_single_mod=no
     8640      if test -z "$LT_MULTI_MODULE"; then
     8641        # By default we will add the -single_module flag. You can override
     8642        # by either setting the environment variable LT_MULTI_MODULE
     8643        # non-empty at configure time, or by adding -multi_module to the
     8644        # link flags.
     8645        rm -rf libconftest.dylib*
     8646        echo "int foo(void){return 1;}" > conftest.c
     8647        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     8648-dynamiclib -Wl,-single_module conftest.c" >&5
     8649        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     8650          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
     8651        _lt_result=$?
     8652        # If there is a non-empty error log, and "single_module"
     8653        # appears in it, assume the flag caused a linker warning
     8654        if test -s conftest.err && $GREP single_module conftest.err; then
     8655          cat conftest.err >&5
     8656        # Otherwise, if the output was created with a 0 exit code from
     8657        # the compiler, it worked.
     8658        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
     8659          lt_cv_apple_cc_single_mod=yes
     8660        else
     8661          cat conftest.err >&5
     8662        fi
     8663        rm -rf libconftest.dylib*
     8664        rm -f conftest.*
     8665      fi
     8666fi
     8667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
     8668$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
     8669
     8670    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
     8671$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
     8672if ${lt_cv_ld_exported_symbols_list+:} false; then :
     8673  $as_echo_n "(cached) " >&6
     8674else
     8675  lt_cv_ld_exported_symbols_list=no
     8676      save_LDFLAGS=$LDFLAGS
     8677      echo "_main" > conftest.sym
     8678      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
     8679      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8680/* end confdefs.h.  */
     8681
     8682int
     8683main ()
     8684{
     8685
     8686  ;
     8687  return 0;
     8688}
     8689_ACEOF
     8690if ac_fn_c_try_link "$LINENO"; then :
     8691  lt_cv_ld_exported_symbols_list=yes
     8692else
     8693  lt_cv_ld_exported_symbols_list=no
     8694fi
     8695rm -f core conftest.err conftest.$ac_objext \
     8696    conftest$ac_exeext conftest.$ac_ext
     8697        LDFLAGS=$save_LDFLAGS
     8698
     8699fi
     8700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
     8701$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
     8702
     8703    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
     8704$as_echo_n "checking for -force_load linker flag... " >&6; }
     8705if ${lt_cv_ld_force_load+:} false; then :
     8706  $as_echo_n "(cached) " >&6
     8707else
     8708  lt_cv_ld_force_load=no
     8709      cat > conftest.c << _LT_EOF
     8710int forced_loaded() { return 2;}
     8711_LT_EOF
     8712      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
     8713      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
     8714      echo "$AR cru libconftest.a conftest.o" >&5
     8715      $AR cru libconftest.a conftest.o 2>&5
     8716      echo "$RANLIB libconftest.a" >&5
     8717      $RANLIB libconftest.a 2>&5
     8718      cat > conftest.c << _LT_EOF
     8719int main() { return 0;}
     8720_LT_EOF
     8721      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
     8722      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
     8723      _lt_result=$?
     8724      if test -s conftest.err && $GREP force_load conftest.err; then
     8725        cat conftest.err >&5
     8726      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
     8727        lt_cv_ld_force_load=yes
     8728      else
     8729        cat conftest.err >&5
     8730      fi
     8731        rm -f conftest.err libconftest.a conftest conftest.c
     8732        rm -rf conftest.dSYM
     8733
     8734fi
     8735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
     8736$as_echo "$lt_cv_ld_force_load" >&6; }
     8737    case $host_os in
     8738    rhapsody* | darwin1.[012])
     8739      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
     8740    darwin1.*)
     8741      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     8742    darwin*) # darwin 5.x on
     8743      # if running on 10.5 or later, the deployment target defaults
     8744      # to the OS version, if on x86, and 10.4, the deployment
     8745      # target defaults to 10.4. Don't you love it?
     8746      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
     8747        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
     8748          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     8749        10.[012][,.]*)
     8750          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     8751        10.*)
     8752          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     8753      esac
     8754    ;;
     8755  esac
     8756    if test yes = "$lt_cv_apple_cc_single_mod"; then
     8757      _lt_dar_single_mod='$single_module'
     8758    fi
     8759    if test yes = "$lt_cv_ld_exported_symbols_list"; then
     8760      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
     8761    else
     8762      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
     8763    fi
     8764    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
     8765      _lt_dsymutil='~$DSYMUTIL $lib || :'
     8766    else
     8767      _lt_dsymutil=
     8768    fi
     8769    ;;
     8770  esac
     8771
     8772# func_munge_path_list VARIABLE PATH
     8773# -----------------------------------
     8774# VARIABLE is name of variable containing _space_ separated list of
     8775# directories to be munged by the contents of PATH, which is string
     8776# having a format:
     8777# "DIR[:DIR]:"
     8778#       string "DIR[ DIR]" will be prepended to VARIABLE
     8779# ":DIR[:DIR]"
     8780#       string "DIR[ DIR]" will be appended to VARIABLE
     8781# "DIRP[:DIRP]::[DIRA:]DIRA"
     8782#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     8783#       "DIRA[ DIRA]" will be appended to VARIABLE
     8784# "DIR[:DIR]"
     8785#       VARIABLE will be replaced by "DIR[ DIR]"
     8786func_munge_path_list ()
     8787{
     8788    case x$2 in
     8789    x)
     8790        ;;
     8791    *:)
     8792        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
     8793        ;;
     8794    x:*)
     8795        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
     8796        ;;
     8797    *::*)
     8798        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     8799        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
     8800        ;;
     8801    *)
     8802        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
     8803        ;;
     8804    esac
     8805}
     8806
     8807ac_ext=c
     8808ac_cpp='$CPP $CPPFLAGS'
     8809ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8810ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     8811ac_compiler_gnu=$ac_cv_c_compiler_gnu
     8812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     8813$as_echo_n "checking how to run the C preprocessor... " >&6; }
     8814# On Suns, sometimes $CPP names a directory.
     8815if test -n "$CPP" && test -d "$CPP"; then
     8816  CPP=
     8817fi
     8818if test -z "$CPP"; then
     8819  if ${ac_cv_prog_CPP+:} false; then :
     8820  $as_echo_n "(cached) " >&6
     8821else
     8822      # Double quotes because CPP needs to be expanded
     8823    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     8824    do
     8825      ac_preproc_ok=false
     8826for ac_c_preproc_warn_flag in '' yes
     8827do
     8828  # Use a header file that comes with gcc, so configuring glibc
     8829  # with a fresh cross-compiler works.
     8830  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     8831  # <limits.h> exists even on freestanding compilers.
     8832  # On the NeXT, cc -E runs the code through the compiler's parser,
     8833  # not just through cpp. "Syntax error" is here to catch this case.
     8834  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8835/* end confdefs.h.  */
     8836#ifdef __STDC__
     8837# include <limits.h>
     8838#else
     8839# include <assert.h>
     8840#endif
     8841                     Syntax error
     8842_ACEOF
     8843if ac_fn_c_try_cpp "$LINENO"; then :
     8844
     8845else
     8846  # Broken: fails on valid input.
     8847continue
     8848fi
     8849rm -f conftest.err conftest.i conftest.$ac_ext
     8850
     8851  # OK, works on sane cases.  Now check whether nonexistent headers
     8852  # can be detected and how.
     8853  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8854/* end confdefs.h.  */
     8855#include <ac_nonexistent.h>
     8856_ACEOF
     8857if ac_fn_c_try_cpp "$LINENO"; then :
     8858  # Broken: success on invalid input.
     8859continue
     8860else
     8861  # Passes both tests.
     8862ac_preproc_ok=:
     8863break
     8864fi
     8865rm -f conftest.err conftest.i conftest.$ac_ext
     8866
     8867done
     8868# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     8869rm -f conftest.i conftest.err conftest.$ac_ext
     8870if $ac_preproc_ok; then :
     8871  break
     8872fi
     8873
     8874    done
     8875    ac_cv_prog_CPP=$CPP
     8876
     8877fi
     8878  CPP=$ac_cv_prog_CPP
     8879else
     8880  ac_cv_prog_CPP=$CPP
     8881fi
     8882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     8883$as_echo "$CPP" >&6; }
     8884ac_preproc_ok=false
     8885for ac_c_preproc_warn_flag in '' yes
     8886do
     8887  # Use a header file that comes with gcc, so configuring glibc
     8888  # with a fresh cross-compiler works.
     8889  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     8890  # <limits.h> exists even on freestanding compilers.
     8891  # On the NeXT, cc -E runs the code through the compiler's parser,
     8892  # not just through cpp. "Syntax error" is here to catch this case.
     8893  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8894/* end confdefs.h.  */
     8895#ifdef __STDC__
     8896# include <limits.h>
     8897#else
     8898# include <assert.h>
     8899#endif
     8900                     Syntax error
     8901_ACEOF
     8902if ac_fn_c_try_cpp "$LINENO"; then :
     8903
     8904else
     8905  # Broken: fails on valid input.
     8906continue
     8907fi
     8908rm -f conftest.err conftest.i conftest.$ac_ext
     8909
     8910  # OK, works on sane cases.  Now check whether nonexistent headers
     8911  # can be detected and how.
     8912  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8913/* end confdefs.h.  */
     8914#include <ac_nonexistent.h>
     8915_ACEOF
     8916if ac_fn_c_try_cpp "$LINENO"; then :
     8917  # Broken: success on invalid input.
     8918continue
     8919else
     8920  # Passes both tests.
     8921ac_preproc_ok=:
     8922break
     8923fi
     8924rm -f conftest.err conftest.i conftest.$ac_ext
     8925
     8926done
     8927# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     8928rm -f conftest.i conftest.err conftest.$ac_ext
     8929if $ac_preproc_ok; then :
     8930
     8931else
     8932  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8933$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     8934as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     8935See \`config.log' for more details" "$LINENO" 5; }
     8936fi
     8937
     8938ac_ext=c
     8939ac_cpp='$CPP $CPPFLAGS'
     8940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     8942ac_compiler_gnu=$ac_cv_c_compiler_gnu
     8943
     8944
    56968945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    56978946$as_echo_n "checking for ANSI C header files... " >&6; }
     
    58239072
    58249073
     9074for ac_header in dlfcn.h
     9075do :
     9076  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
     9077"
     9078if test "x$ac_cv_header_dlfcn_h" = xyes; then :
     9079  cat >>confdefs.h <<_ACEOF
     9080#define HAVE_DLFCN_H 1
     9081_ACEOF
     9082
     9083fi
     9084
     9085done
     9086
     9087
     9088
     9089
     9090func_stripname_cnf ()
     9091{
     9092  case $2 in
     9093  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
     9094  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
     9095  esac
     9096} # func_stripname_cnf
     9097
     9098
     9099
     9100
     9101
     9102# Set options
     9103
     9104
     9105
     9106        enable_dlopen=no
     9107
     9108
     9109  enable_win32_dll=no
     9110
     9111
     9112            # Check whether --enable-shared was given.
     9113if test "${enable_shared+set}" = set; then :
     9114  enableval=$enable_shared; p=${PACKAGE-default}
     9115    case $enableval in
     9116    yes) enable_shared=yes ;;
     9117    no) enable_shared=no ;;
     9118    *)
     9119      enable_shared=no
     9120      # Look at the argument we got.  We use all the common list separators.
     9121      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     9122      for pkg in $enableval; do
     9123        IFS=$lt_save_ifs
     9124        if test "X$pkg" = "X$p"; then
     9125          enable_shared=yes
     9126        fi
     9127      done
     9128      IFS=$lt_save_ifs
     9129      ;;
     9130    esac
     9131else
     9132  enable_shared=yes
     9133fi
     9134
     9135
     9136
     9137
     9138
     9139
     9140
     9141
     9142
     9143  # Check whether --enable-static was given.
     9144if test "${enable_static+set}" = set; then :
     9145  enableval=$enable_static; p=${PACKAGE-default}
     9146    case $enableval in
     9147    yes) enable_static=yes ;;
     9148    no) enable_static=no ;;
     9149    *)
     9150     enable_static=no
     9151      # Look at the argument we got.  We use all the common list separators.
     9152      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     9153      for pkg in $enableval; do
     9154        IFS=$lt_save_ifs
     9155        if test "X$pkg" = "X$p"; then
     9156          enable_static=yes
     9157        fi
     9158      done
     9159      IFS=$lt_save_ifs
     9160      ;;
     9161    esac
     9162else
     9163  enable_static=yes
     9164fi
     9165
     9166
     9167
     9168
     9169
     9170
     9171
     9172
     9173
     9174
     9175# Check whether --with-pic was given.
     9176if test "${with_pic+set}" = set; then :
     9177  withval=$with_pic; lt_p=${PACKAGE-default}
     9178    case $withval in
     9179    yes|no) pic_mode=$withval ;;
     9180    *)
     9181      pic_mode=default
     9182      # Look at the argument we got.  We use all the common list separators.
     9183      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     9184      for lt_pkg in $withval; do
     9185        IFS=$lt_save_ifs
     9186        if test "X$lt_pkg" = "X$lt_p"; then
     9187          pic_mode=yes
     9188        fi
     9189      done
     9190      IFS=$lt_save_ifs
     9191      ;;
     9192    esac
     9193else
     9194  pic_mode=default
     9195fi
     9196
     9197
     9198
     9199
     9200
     9201
     9202
     9203
     9204  # Check whether --enable-fast-install was given.
     9205if test "${enable_fast_install+set}" = set; then :
     9206  enableval=$enable_fast_install; p=${PACKAGE-default}
     9207    case $enableval in
     9208    yes) enable_fast_install=yes ;;
     9209    no) enable_fast_install=no ;;
     9210    *)
     9211      enable_fast_install=no
     9212      # Look at the argument we got.  We use all the common list separators.
     9213      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     9214      for pkg in $enableval; do
     9215        IFS=$lt_save_ifs
     9216        if test "X$pkg" = "X$p"; then
     9217          enable_fast_install=yes
     9218        fi
     9219      done
     9220      IFS=$lt_save_ifs
     9221      ;;
     9222    esac
     9223else
     9224  enable_fast_install=yes
     9225fi
     9226
     9227
     9228
     9229
     9230
     9231
     9232
     9233
     9234  shared_archive_member_spec=
     9235case $host,$enable_shared in
     9236power*-*-aix[5-9]*,yes)
     9237  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
     9238$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
     9239
     9240# Check whether --with-aix-soname was given.
     9241if test "${with_aix_soname+set}" = set; then :
     9242  withval=$with_aix_soname; case $withval in
     9243    aix|svr4|both)
     9244      ;;
     9245    *)
     9246      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
     9247      ;;
     9248    esac
     9249    lt_cv_with_aix_soname=$with_aix_soname
     9250else
     9251  if ${lt_cv_with_aix_soname+:} false; then :
     9252  $as_echo_n "(cached) " >&6
     9253else
     9254  lt_cv_with_aix_soname=aix
     9255fi
     9256
     9257    with_aix_soname=$lt_cv_with_aix_soname
     9258fi
     9259
     9260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
     9261$as_echo "$with_aix_soname" >&6; }
     9262  if test aix != "$with_aix_soname"; then
     9263    # For the AIX way of multilib, we name the shared archive member
     9264    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
     9265    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
     9266    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
     9267    # the AIX toolchain works better with OBJECT_MODE set (default 32).
     9268    if test 64 = "${OBJECT_MODE-32}"; then
     9269      shared_archive_member_spec=shr_64
     9270    else
     9271      shared_archive_member_spec=shr
     9272    fi
     9273  fi
     9274  ;;
     9275*)
     9276  with_aix_soname=aix
     9277  ;;
     9278esac
     9279
     9280
     9281
     9282
     9283
     9284
     9285
     9286
     9287
     9288
     9289# This can be used to rebuild libtool when needed
     9290LIBTOOL_DEPS=$ltmain
     9291
     9292# Always use our own libtool.
     9293LIBTOOL='$(SHELL) $(top_builddir)/libtool'
     9294
     9295
     9296
     9297
     9298
     9299
     9300
     9301
     9302
     9303
     9304
     9305
     9306
     9307
     9308
     9309
     9310
     9311
     9312
     9313
     9314
     9315
     9316
     9317
     9318
     9319
     9320
     9321
     9322
     9323
     9324test -z "$LN_S" && LN_S="ln -s"
     9325
     9326
     9327
     9328
     9329
     9330
     9331
     9332
     9333
     9334
     9335
     9336
     9337
     9338
     9339if test -n "${ZSH_VERSION+set}"; then
     9340   setopt NO_GLOB_SUBST
     9341fi
     9342
     9343{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
     9344$as_echo_n "checking for objdir... " >&6; }
     9345if ${lt_cv_objdir+:} false; then :
     9346  $as_echo_n "(cached) " >&6
     9347else
     9348  rm -f .libs 2>/dev/null
     9349mkdir .libs 2>/dev/null
     9350if test -d .libs; then
     9351  lt_cv_objdir=.libs
     9352else
     9353  # MS-DOS does not allow filenames that begin with a dot.
     9354  lt_cv_objdir=_libs
     9355fi
     9356rmdir .libs 2>/dev/null
     9357fi
     9358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
     9359$as_echo "$lt_cv_objdir" >&6; }
     9360objdir=$lt_cv_objdir
     9361
     9362
     9363
     9364
     9365
     9366cat >>confdefs.h <<_ACEOF
     9367#define LT_OBJDIR "$lt_cv_objdir/"
     9368_ACEOF
     9369
     9370
     9371
     9372
     9373case $host_os in
     9374aix3*)
     9375  # AIX sometimes has problems with the GCC collect2 program.  For some
     9376  # reason, if we set the COLLECT_NAMES environment variable, the problems
     9377  # vanish in a puff of smoke.
     9378  if test set != "${COLLECT_NAMES+set}"; then
     9379    COLLECT_NAMES=
     9380    export COLLECT_NAMES
     9381  fi
     9382  ;;
     9383esac
     9384
     9385# Global variables:
     9386ofile=libtool
     9387can_build_shared=yes
     9388
     9389# All known linkers require a '.a' archive for static linking (except MSVC,
     9390# which needs '.lib').
     9391libext=a
     9392
     9393with_gnu_ld=$lt_cv_prog_gnu_ld
     9394
     9395old_CC=$CC
     9396old_CFLAGS=$CFLAGS
     9397
     9398# Set sane defaults for various variables
     9399test -z "$CC" && CC=cc
     9400test -z "$LTCC" && LTCC=$CC
     9401test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
     9402test -z "$LD" && LD=ld
     9403test -z "$ac_objext" && ac_objext=o
     9404
     9405func_cc_basename $compiler
     9406cc_basename=$func_cc_basename_result
     9407
     9408
     9409# Only perform the check for file, if the check method requires it
     9410test -z "$MAGIC_CMD" && MAGIC_CMD=file
     9411case $deplibs_check_method in
     9412file_magic*)
     9413  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     9414    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
     9415$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
     9416if ${lt_cv_path_MAGIC_CMD+:} false; then :
     9417  $as_echo_n "(cached) " >&6
     9418else
     9419  case $MAGIC_CMD in
     9420[\\/*] |  ?:[\\/]*)
     9421  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
     9422  ;;
     9423*)
     9424  lt_save_MAGIC_CMD=$MAGIC_CMD
     9425  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     9426  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
     9427  for ac_dir in $ac_dummy; do
     9428    IFS=$lt_save_ifs
     9429    test -z "$ac_dir" && ac_dir=.
     9430    if test -f "$ac_dir/${ac_tool_prefix}file"; then
     9431      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
     9432      if test -n "$file_magic_test_file"; then
     9433        case $deplibs_check_method in
     9434        "file_magic "*)
     9435          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
     9436          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9437          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     9438            $EGREP "$file_magic_regex" > /dev/null; then
     9439            :
     9440          else
     9441            cat <<_LT_EOF 1>&2
     9442
     9443*** Warning: the command libtool uses to detect shared libraries,
     9444*** $file_magic_cmd, produces output that libtool cannot recognize.
     9445*** The result is that libtool may fail to recognize shared libraries
     9446*** as such.  This will affect the creation of libtool libraries that
     9447*** depend on shared libraries, but programs linked with such libtool
     9448*** libraries will work regardless of this problem.  Nevertheless, you
     9449*** may want to report the problem to your system manager and/or to
     9450*** bug-libtool@gnu.org
     9451
     9452_LT_EOF
     9453          fi ;;
     9454        esac
     9455      fi
     9456      break
     9457    fi
     9458  done
     9459  IFS=$lt_save_ifs
     9460  MAGIC_CMD=$lt_save_MAGIC_CMD
     9461  ;;
     9462esac
     9463fi
     9464
     9465MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9466if test -n "$MAGIC_CMD"; then
     9467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     9468$as_echo "$MAGIC_CMD" >&6; }
     9469else
     9470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9471$as_echo "no" >&6; }
     9472fi
     9473
     9474
     9475
     9476
     9477
     9478if test -z "$lt_cv_path_MAGIC_CMD"; then
     9479  if test -n "$ac_tool_prefix"; then
     9480    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
     9481$as_echo_n "checking for file... " >&6; }
     9482if ${lt_cv_path_MAGIC_CMD+:} false; then :
     9483  $as_echo_n "(cached) " >&6
     9484else
     9485  case $MAGIC_CMD in
     9486[\\/*] |  ?:[\\/]*)
     9487  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
     9488  ;;
     9489*)
     9490  lt_save_MAGIC_CMD=$MAGIC_CMD
     9491  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     9492  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
     9493  for ac_dir in $ac_dummy; do
     9494    IFS=$lt_save_ifs
     9495    test -z "$ac_dir" && ac_dir=.
     9496    if test -f "$ac_dir/file"; then
     9497      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
     9498      if test -n "$file_magic_test_file"; then
     9499        case $deplibs_check_method in
     9500        "file_magic "*)
     9501          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
     9502          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9503          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     9504            $EGREP "$file_magic_regex" > /dev/null; then
     9505            :
     9506          else
     9507            cat <<_LT_EOF 1>&2
     9508
     9509*** Warning: the command libtool uses to detect shared libraries,
     9510*** $file_magic_cmd, produces output that libtool cannot recognize.
     9511*** The result is that libtool may fail to recognize shared libraries
     9512*** as such.  This will affect the creation of libtool libraries that
     9513*** depend on shared libraries, but programs linked with such libtool
     9514*** libraries will work regardless of this problem.  Nevertheless, you
     9515*** may want to report the problem to your system manager and/or to
     9516*** bug-libtool@gnu.org
     9517
     9518_LT_EOF
     9519          fi ;;
     9520        esac
     9521      fi
     9522      break
     9523    fi
     9524  done
     9525  IFS=$lt_save_ifs
     9526  MAGIC_CMD=$lt_save_MAGIC_CMD
     9527  ;;
     9528esac
     9529fi
     9530
     9531MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9532if test -n "$MAGIC_CMD"; then
     9533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     9534$as_echo "$MAGIC_CMD" >&6; }
     9535else
     9536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9537$as_echo "no" >&6; }
     9538fi
     9539
     9540
     9541  else
     9542    MAGIC_CMD=:
     9543  fi
     9544fi
     9545
     9546  fi
     9547  ;;
     9548esac
     9549
     9550# Use C for the default configuration in the libtool script
     9551
     9552lt_save_CC=$CC
     9553ac_ext=c
     9554ac_cpp='$CPP $CPPFLAGS'
     9555ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     9556ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     9557ac_compiler_gnu=$ac_cv_c_compiler_gnu
     9558
     9559
     9560# Source file extension for C test sources.
     9561ac_ext=c
     9562
     9563# Object file extension for compiled C test sources.
     9564objext=o
     9565objext=$objext
     9566
     9567# Code to be used in simple compile tests
     9568lt_simple_compile_test_code="int some_variable = 0;"
     9569
     9570# Code to be used in simple link tests
     9571lt_simple_link_test_code='int main(){return(0);}'
     9572
     9573
     9574
     9575
     9576
     9577
     9578
     9579# If no C compiler was specified, use CC.
     9580LTCC=${LTCC-"$CC"}
     9581
     9582# If no C compiler flags were specified, use CFLAGS.
     9583LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     9584
     9585# Allow CC to be a program name with arguments.
     9586compiler=$CC
     9587
     9588# Save the default compiler, since it gets overwritten when the other
     9589# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
     9590compiler_DEFAULT=$CC
     9591
     9592# save warnings/boilerplate of simple test code
     9593ac_outfile=conftest.$ac_objext
     9594echo "$lt_simple_compile_test_code" >conftest.$ac_ext
     9595eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     9596_lt_compiler_boilerplate=`cat conftest.err`
     9597$RM conftest*
     9598
     9599ac_outfile=conftest.$ac_objext
     9600echo "$lt_simple_link_test_code" >conftest.$ac_ext
     9601eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     9602_lt_linker_boilerplate=`cat conftest.err`
     9603$RM -r conftest*
     9604
     9605
     9606## CAVEAT EMPTOR:
     9607## There is no encapsulation within the following macros, do not change
     9608## the running order or otherwise move them around unless you know exactly
     9609## what you are doing...
     9610if test -n "$compiler"; then
     9611
     9612lt_prog_compiler_no_builtin_flag=
     9613
     9614if test yes = "$GCC"; then
     9615  case $cc_basename in
     9616  nvcc*)
     9617    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
     9618  *)
     9619    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
     9620  esac
     9621
     9622  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
     9623$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
     9624if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
     9625  $as_echo_n "(cached) " >&6
     9626else
     9627  lt_cv_prog_compiler_rtti_exceptions=no
     9628   ac_outfile=conftest.$ac_objext
     9629   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     9630   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
     9631   # Insert the option either (1) after the last *FLAGS variable, or
     9632   # (2) before a word containing "conftest.", or (3) at the end.
     9633   # Note that $ac_compile itself does not contain backslashes and begins
     9634   # with a dollar sign (not a hyphen), so the echo should work correctly.
     9635   # The option is referenced via a variable to avoid confusing sed.
     9636   lt_compile=`echo "$ac_compile" | $SED \
     9637   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     9638   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     9639   -e 's:$: $lt_compiler_flag:'`
     9640   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     9641   (eval "$lt_compile" 2>conftest.err)
     9642   ac_status=$?
     9643   cat conftest.err >&5
     9644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9645   if (exit $ac_status) && test -s "$ac_outfile"; then
     9646     # The compiler can only warn and ignore the option if not recognized
     9647     # So say no if there are warnings other than the usual output.
     9648     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
     9649     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     9650     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
     9651       lt_cv_prog_compiler_rtti_exceptions=yes
     9652     fi
     9653   fi
     9654   $RM conftest*
     9655
     9656fi
     9657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
     9658$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
     9659
     9660if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
     9661    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
     9662else
     9663    :
     9664fi
     9665
     9666fi
     9667
     9668
     9669
     9670
     9671
     9672
     9673  lt_prog_compiler_wl=
     9674lt_prog_compiler_pic=
     9675lt_prog_compiler_static=
     9676
     9677
     9678  if test yes = "$GCC"; then
     9679    lt_prog_compiler_wl='-Wl,'
     9680    lt_prog_compiler_static='-static'
     9681
     9682    case $host_os in
     9683      aix*)
     9684      # All AIX code is PIC.
     9685      if test ia64 = "$host_cpu"; then
     9686        # AIX 5 now supports IA64 processor
     9687        lt_prog_compiler_static='-Bstatic'
     9688      fi
     9689      lt_prog_compiler_pic='-fPIC'
     9690      ;;
     9691
     9692    amigaos*)
     9693      case $host_cpu in
     9694      powerpc)
     9695            # see comment about AmigaOS4 .so support
     9696            lt_prog_compiler_pic='-fPIC'
     9697        ;;
     9698      m68k)
     9699            # FIXME: we need at least 68020 code to build shared libraries, but
     9700            # adding the '-m68020' flag to GCC prevents building anything better,
     9701            # like '-m68040'.
     9702            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
     9703        ;;
     9704      esac
     9705      ;;
     9706
     9707    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     9708      # PIC is the default for these OSes.
     9709      ;;
     9710
     9711    mingw* | cygwin* | pw32* | os2* | cegcc*)
     9712      # This hack is so that the source file can tell whether it is being
     9713      # built for inclusion in a dll (and should export symbols for example).
     9714      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     9715      # (--disable-auto-import) libraries
     9716      lt_prog_compiler_pic='-DDLL_EXPORT'
     9717      case $host_os in
     9718      os2*)
     9719        lt_prog_compiler_static='$wl-static'
     9720        ;;
     9721      esac
     9722      ;;
     9723
     9724    darwin* | rhapsody*)
     9725      # PIC is the default on this platform
     9726      # Common symbols not allowed in MH_DYLIB files
     9727      lt_prog_compiler_pic='-fno-common'
     9728      ;;
     9729
     9730    haiku*)
     9731      # PIC is the default for Haiku.
     9732      # The "-static" flag exists, but is broken.
     9733      lt_prog_compiler_static=
     9734      ;;
     9735
     9736    hpux*)
     9737      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
     9738      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
     9739      # sets the default TLS model and affects inlining.
     9740      case $host_cpu in
     9741      hppa*64*)
     9742        # +Z the default
     9743        ;;
     9744      *)
     9745        lt_prog_compiler_pic='-fPIC'
     9746        ;;
     9747      esac
     9748      ;;
     9749
     9750    interix[3-9]*)
     9751      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
     9752      # Instead, we relocate shared libraries at runtime.
     9753      ;;
     9754
     9755    msdosdjgpp*)
     9756      # Just because we use GCC doesn't mean we suddenly get shared libraries
     9757      # on systems that don't support them.
     9758      lt_prog_compiler_can_build_shared=no
     9759      enable_shared=no
     9760      ;;
     9761
     9762    *nto* | *qnx*)
     9763      # QNX uses GNU C++, but need to define -shared option too, otherwise
     9764      # it will coredump.
     9765      lt_prog_compiler_pic='-fPIC -shared'
     9766      ;;
     9767
     9768    sysv4*MP*)
     9769      if test -d /usr/nec; then
     9770        lt_prog_compiler_pic=-Kconform_pic
     9771      fi
     9772      ;;
     9773
     9774    *)
     9775      lt_prog_compiler_pic='-fPIC'
     9776      ;;
     9777    esac
     9778
     9779    case $cc_basename in
     9780    nvcc*) # Cuda Compiler Driver 2.2
     9781      lt_prog_compiler_wl='-Xlinker '
     9782      if test -n "$lt_prog_compiler_pic"; then
     9783        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
     9784      fi
     9785      ;;
     9786    esac
     9787  else
     9788    # PORTME Check for flag to pass linker flags through the system compiler.
     9789    case $host_os in
     9790    aix*)
     9791      lt_prog_compiler_wl='-Wl,'
     9792      if test ia64 = "$host_cpu"; then
     9793        # AIX 5 now supports IA64 processor
     9794        lt_prog_compiler_static='-Bstatic'
     9795      else
     9796        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
     9797      fi
     9798      ;;
     9799
     9800    darwin* | rhapsody*)
     9801      # PIC is the default on this platform
     9802      # Common symbols not allowed in MH_DYLIB files
     9803      lt_prog_compiler_pic='-fno-common'
     9804      case $cc_basename in
     9805      nagfor*)
     9806        # NAG Fortran compiler
     9807        lt_prog_compiler_wl='-Wl,-Wl,,'
     9808        lt_prog_compiler_pic='-PIC'
     9809        lt_prog_compiler_static='-Bstatic'
     9810        ;;
     9811      esac
     9812      ;;
     9813
     9814    mingw* | cygwin* | pw32* | os2* | cegcc*)
     9815      # This hack is so that the source file can tell whether it is being
     9816      # built for inclusion in a dll (and should export symbols for example).
     9817      lt_prog_compiler_pic='-DDLL_EXPORT'
     9818      case $host_os in
     9819      os2*)
     9820        lt_prog_compiler_static='$wl-static'
     9821        ;;
     9822      esac
     9823      ;;
     9824
     9825    hpux9* | hpux10* | hpux11*)
     9826      lt_prog_compiler_wl='-Wl,'
     9827      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
     9828      # not for PA HP-UX.
     9829      case $host_cpu in
     9830      hppa*64*|ia64*)
     9831        # +Z the default
     9832        ;;
     9833      *)
     9834        lt_prog_compiler_pic='+Z'
     9835        ;;
     9836      esac
     9837      # Is there a better lt_prog_compiler_static that works with the bundled CC?
     9838      lt_prog_compiler_static='$wl-a ${wl}archive'
     9839      ;;
     9840
     9841    irix5* | irix6* | nonstopux*)
     9842      lt_prog_compiler_wl='-Wl,'
     9843      # PIC (with -KPIC) is the default.
     9844      lt_prog_compiler_static='-non_shared'
     9845      ;;
     9846
     9847    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     9848      case $cc_basename in
     9849      # old Intel for x86_64, which still supported -KPIC.
     9850      ecc*)
     9851        lt_prog_compiler_wl='-Wl,'
     9852        lt_prog_compiler_pic='-KPIC'
     9853        lt_prog_compiler_static='-static'
     9854        ;;
     9855      # icc used to be incompatible with GCC.
     9856      # ICC 10 doesn't accept -KPIC any more.
     9857      icc* | ifort*)
     9858        lt_prog_compiler_wl='-Wl,'
     9859        lt_prog_compiler_pic='-fPIC'
     9860        lt_prog_compiler_static='-static'
     9861        ;;
     9862      # Lahey Fortran 8.1.
     9863      lf95*)
     9864        lt_prog_compiler_wl='-Wl,'
     9865        lt_prog_compiler_pic='--shared'
     9866        lt_prog_compiler_static='--static'
     9867        ;;
     9868      nagfor*)
     9869        # NAG Fortran compiler
     9870        lt_prog_compiler_wl='-Wl,-Wl,,'
     9871        lt_prog_compiler_pic='-PIC'
     9872        lt_prog_compiler_static='-Bstatic'
     9873        ;;
     9874      tcc*)
     9875        # Fabrice Bellard et al's Tiny C Compiler
     9876        lt_prog_compiler_wl='-Wl,'
     9877        lt_prog_compiler_pic='-fPIC'
     9878        lt_prog_compiler_static='-static'
     9879        ;;
     9880      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
     9881        # Portland Group compilers (*not* the Pentium gcc compiler,
     9882        # which looks to be a dead project)
     9883        lt_prog_compiler_wl='-Wl,'
     9884        lt_prog_compiler_pic='-fpic'
     9885        lt_prog_compiler_static='-Bstatic'
     9886        ;;
     9887      ccc*)
     9888        lt_prog_compiler_wl='-Wl,'
     9889        # All Alpha code is PIC.
     9890        lt_prog_compiler_static='-non_shared'
     9891        ;;
     9892      xl* | bgxl* | bgf* | mpixl*)
     9893        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
     9894        lt_prog_compiler_wl='-Wl,'
     9895        lt_prog_compiler_pic='-qpic'
     9896        lt_prog_compiler_static='-qstaticlink'
     9897        ;;
     9898      *)
     9899        case `$CC -V 2>&1 | sed 5q` in
     9900        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
     9901          # Sun Fortran 8.3 passes all unrecognized flags to the linker
     9902          lt_prog_compiler_pic='-KPIC'
     9903          lt_prog_compiler_static='-Bstatic'
     9904          lt_prog_compiler_wl=''
     9905          ;;
     9906        *Sun\ F* | *Sun*Fortran*)
     9907          lt_prog_compiler_pic='-KPIC'
     9908          lt_prog_compiler_static='-Bstatic'
     9909          lt_prog_compiler_wl='-Qoption ld '
     9910          ;;
     9911        *Sun\ C*)
     9912          # Sun C 5.9
     9913          lt_prog_compiler_pic='-KPIC'
     9914          lt_prog_compiler_static='-Bstatic'
     9915          lt_prog_compiler_wl='-Wl,'
     9916          ;;
     9917        *Intel*\ [CF]*Compiler*)
     9918          lt_prog_compiler_wl='-Wl,'
     9919          lt_prog_compiler_pic='-fPIC'
     9920          lt_prog_compiler_static='-static'
     9921          ;;
     9922        *Portland\ Group*)
     9923          lt_prog_compiler_wl='-Wl,'
     9924          lt_prog_compiler_pic='-fpic'
     9925          lt_prog_compiler_static='-Bstatic'
     9926          ;;
     9927        esac
     9928        ;;
     9929      esac
     9930      ;;
     9931
     9932    newsos6)
     9933      lt_prog_compiler_pic='-KPIC'
     9934      lt_prog_compiler_static='-Bstatic'
     9935      ;;
     9936
     9937    *nto* | *qnx*)
     9938      # QNX uses GNU C++, but need to define -shared option too, otherwise
     9939      # it will coredump.
     9940      lt_prog_compiler_pic='-fPIC -shared'
     9941      ;;
     9942
     9943    osf3* | osf4* | osf5*)
     9944      lt_prog_compiler_wl='-Wl,'
     9945      # All OSF/1 code is PIC.
     9946      lt_prog_compiler_static='-non_shared'
     9947      ;;
     9948
     9949    rdos*)
     9950      lt_prog_compiler_static='-non_shared'
     9951      ;;
     9952
     9953    solaris*)
     9954      lt_prog_compiler_pic='-KPIC'
     9955      lt_prog_compiler_static='-Bstatic'
     9956      case $cc_basename in
     9957      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
     9958        lt_prog_compiler_wl='-Qoption ld ';;
     9959      *)
     9960        lt_prog_compiler_wl='-Wl,';;
     9961      esac
     9962      ;;
     9963
     9964    sunos4*)
     9965      lt_prog_compiler_wl='-Qoption ld '
     9966      lt_prog_compiler_pic='-PIC'
     9967      lt_prog_compiler_static='-Bstatic'
     9968      ;;
     9969
     9970    sysv4 | sysv4.2uw2* | sysv4.3*)
     9971      lt_prog_compiler_wl='-Wl,'
     9972      lt_prog_compiler_pic='-KPIC'
     9973      lt_prog_compiler_static='-Bstatic'
     9974      ;;
     9975
     9976    sysv4*MP*)
     9977      if test -d /usr/nec; then
     9978        lt_prog_compiler_pic='-Kconform_pic'
     9979        lt_prog_compiler_static='-Bstatic'
     9980      fi
     9981      ;;
     9982
     9983    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
     9984      lt_prog_compiler_wl='-Wl,'
     9985      lt_prog_compiler_pic='-KPIC'
     9986      lt_prog_compiler_static='-Bstatic'
     9987      ;;
     9988
     9989    unicos*)
     9990      lt_prog_compiler_wl='-Wl,'
     9991      lt_prog_compiler_can_build_shared=no
     9992      ;;
     9993
     9994    uts4*)
     9995      lt_prog_compiler_pic='-pic'
     9996      lt_prog_compiler_static='-Bstatic'
     9997      ;;
     9998
     9999    *)
     10000      lt_prog_compiler_can_build_shared=no
     10001      ;;
     10002    esac
     10003  fi
     10004
     10005case $host_os in
     10006  # For platforms that do not support PIC, -DPIC is meaningless:
     10007  *djgpp*)
     10008    lt_prog_compiler_pic=
     10009    ;;
     10010  *)
     10011    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
     10012    ;;
     10013esac
     10014
     10015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
     10016$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
     10017if ${lt_cv_prog_compiler_pic+:} false; then :
     10018  $as_echo_n "(cached) " >&6
     10019else
     10020  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
     10021fi
     10022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
     10023$as_echo "$lt_cv_prog_compiler_pic" >&6; }
     10024lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
     10025
     10026#
     10027# Check to make sure the PIC flag actually works.
     10028#
     10029if test -n "$lt_prog_compiler_pic"; then
     10030  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
     10031$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
     10032if ${lt_cv_prog_compiler_pic_works+:} false; then :
     10033  $as_echo_n "(cached) " >&6
     10034else
     10035  lt_cv_prog_compiler_pic_works=no
     10036   ac_outfile=conftest.$ac_objext
     10037   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     10038   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
     10039   # Insert the option either (1) after the last *FLAGS variable, or
     10040   # (2) before a word containing "conftest.", or (3) at the end.
     10041   # Note that $ac_compile itself does not contain backslashes and begins
     10042   # with a dollar sign (not a hyphen), so the echo should work correctly.
     10043   # The option is referenced via a variable to avoid confusing sed.
     10044   lt_compile=`echo "$ac_compile" | $SED \
     10045   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     10046   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     10047   -e 's:$: $lt_compiler_flag:'`
     10048   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     10049   (eval "$lt_compile" 2>conftest.err)
     10050   ac_status=$?
     10051   cat conftest.err >&5
     10052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10053   if (exit $ac_status) && test -s "$ac_outfile"; then
     10054     # The compiler can only warn and ignore the option if not recognized
     10055     # So say no if there are warnings other than the usual output.
     10056     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
     10057     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     10058     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
     10059       lt_cv_prog_compiler_pic_works=yes
     10060     fi
     10061   fi
     10062   $RM conftest*
     10063
     10064fi
     10065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
     10066$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
     10067
     10068if test yes = "$lt_cv_prog_compiler_pic_works"; then
     10069    case $lt_prog_compiler_pic in
     10070     "" | " "*) ;;
     10071     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
     10072     esac
     10073else
     10074    lt_prog_compiler_pic=
     10075     lt_prog_compiler_can_build_shared=no
     10076fi
     10077
     10078fi
     10079
     10080
     10081
     10082
     10083
     10084
     10085
     10086
     10087
     10088
     10089
     10090#
     10091# Check to make sure the static flag actually works.
     10092#
     10093wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
     10094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
     10095$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
     10096if ${lt_cv_prog_compiler_static_works+:} false; then :
     10097  $as_echo_n "(cached) " >&6
     10098else
     10099  lt_cv_prog_compiler_static_works=no
     10100   save_LDFLAGS=$LDFLAGS
     10101   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
     10102   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     10103   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
     10104     # The linker can only warn and ignore the option if not recognized
     10105     # So say no if there are warnings
     10106     if test -s conftest.err; then
     10107       # Append any errors to the config.log.
     10108       cat conftest.err 1>&5
     10109       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
     10110       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     10111       if diff conftest.exp conftest.er2 >/dev/null; then
     10112         lt_cv_prog_compiler_static_works=yes
     10113       fi
     10114     else
     10115       lt_cv_prog_compiler_static_works=yes
     10116     fi
     10117   fi
     10118   $RM -r conftest*
     10119   LDFLAGS=$save_LDFLAGS
     10120
     10121fi
     10122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
     10123$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
     10124
     10125if test yes = "$lt_cv_prog_compiler_static_works"; then
     10126    :
     10127else
     10128    lt_prog_compiler_static=
     10129fi
     10130
     10131
     10132
     10133
     10134
     10135
     10136
     10137  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     10138$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     10139if ${lt_cv_prog_compiler_c_o+:} false; then :
     10140  $as_echo_n "(cached) " >&6
     10141else
     10142  lt_cv_prog_compiler_c_o=no
     10143   $RM -r conftest 2>/dev/null
     10144   mkdir conftest
     10145   cd conftest
     10146   mkdir out
     10147   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     10148
     10149   lt_compiler_flag="-o out/conftest2.$ac_objext"
     10150   # Insert the option either (1) after the last *FLAGS variable, or
     10151   # (2) before a word containing "conftest.", or (3) at the end.
     10152   # Note that $ac_compile itself does not contain backslashes and begins
     10153   # with a dollar sign (not a hyphen), so the echo should work correctly.
     10154   lt_compile=`echo "$ac_compile" | $SED \
     10155   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     10156   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     10157   -e 's:$: $lt_compiler_flag:'`
     10158   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     10159   (eval "$lt_compile" 2>out/conftest.err)
     10160   ac_status=$?
     10161   cat out/conftest.err >&5
     10162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10163   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     10164   then
     10165     # The compiler can only warn and ignore the option if not recognized
     10166     # So say no if there are warnings
     10167     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     10168     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     10169     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     10170       lt_cv_prog_compiler_c_o=yes
     10171     fi
     10172   fi
     10173   chmod u+w . 2>&5
     10174   $RM conftest*
     10175   # SGI C++ compiler will create directory out/ii_files/ for
     10176   # template instantiation
     10177   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     10178   $RM out/* && rmdir out
     10179   cd ..
     10180   $RM -r conftest
     10181   $RM conftest*
     10182
     10183fi
     10184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
     10185$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
     10186
     10187
     10188
     10189
     10190
     10191
     10192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     10193$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     10194if ${lt_cv_prog_compiler_c_o+:} false; then :
     10195  $as_echo_n "(cached) " >&6
     10196else
     10197  lt_cv_prog_compiler_c_o=no
     10198   $RM -r conftest 2>/dev/null
     10199   mkdir conftest
     10200   cd conftest
     10201   mkdir out
     10202   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     10203
     10204   lt_compiler_flag="-o out/conftest2.$ac_objext"
     10205   # Insert the option either (1) after the last *FLAGS variable, or
     10206   # (2) before a word containing "conftest.", or (3) at the end.
     10207   # Note that $ac_compile itself does not contain backslashes and begins
     10208   # with a dollar sign (not a hyphen), so the echo should work correctly.
     10209   lt_compile=`echo "$ac_compile" | $SED \
     10210   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     10211   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     10212   -e 's:$: $lt_compiler_flag:'`
     10213   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     10214   (eval "$lt_compile" 2>out/conftest.err)
     10215   ac_status=$?
     10216   cat out/conftest.err >&5
     10217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10218   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     10219   then
     10220     # The compiler can only warn and ignore the option if not recognized
     10221     # So say no if there are warnings
     10222     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     10223     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     10224     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     10225       lt_cv_prog_compiler_c_o=yes
     10226     fi
     10227   fi
     10228   chmod u+w . 2>&5
     10229   $RM conftest*
     10230   # SGI C++ compiler will create directory out/ii_files/ for
     10231   # template instantiation
     10232   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     10233   $RM out/* && rmdir out
     10234   cd ..
     10235   $RM -r conftest
     10236   $RM conftest*
     10237
     10238fi
     10239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
     10240$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
     10241
     10242
     10243
     10244
     10245hard_links=nottested
     10246if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
     10247  # do not overwrite the value of need_locks provided by the user
     10248  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     10249$as_echo_n "checking if we can lock with hard links... " >&6; }
     10250  hard_links=yes
     10251  $RM conftest*
     10252  ln conftest.a conftest.b 2>/dev/null && hard_links=no
     10253  touch conftest.a
     10254  ln conftest.a conftest.b 2>&5 || hard_links=no
     10255  ln conftest.a conftest.b 2>/dev/null && hard_links=no
     10256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
     10257$as_echo "$hard_links" >&6; }
     10258  if test no = "$hard_links"; then
     10259    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
     10260$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
     10261    need_locks=warn
     10262  fi
     10263else
     10264  need_locks=no
     10265fi
     10266
     10267
     10268
     10269
     10270
     10271
     10272  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     10273$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
     10274
     10275  runpath_var=
     10276  allow_undefined_flag=
     10277  always_export_symbols=no
     10278  archive_cmds=
     10279  archive_expsym_cmds=
     10280  compiler_needs_object=no
     10281  enable_shared_with_static_runtimes=no
     10282  export_dynamic_flag_spec=
     10283  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     10284  hardcode_automatic=no
     10285  hardcode_direct=no
     10286  hardcode_direct_absolute=no
     10287  hardcode_libdir_flag_spec=
     10288  hardcode_libdir_separator=
     10289  hardcode_minus_L=no
     10290  hardcode_shlibpath_var=unsupported
     10291  inherit_rpath=no
     10292  link_all_deplibs=unknown
     10293  module_cmds=
     10294  module_expsym_cmds=
     10295  old_archive_from_new_cmds=
     10296  old_archive_from_expsyms_cmds=
     10297  thread_safe_flag_spec=
     10298  whole_archive_flag_spec=
     10299  # include_expsyms should be a list of space-separated symbols to be *always*
     10300  # included in the symbol list
     10301  include_expsyms=
     10302  # exclude_expsyms can be an extended regexp of symbols to exclude
     10303  # it will be wrapped by ' (' and ')$', so one must not match beginning or
     10304  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
     10305  # as well as any symbol that contains 'd'.
     10306  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
     10307  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     10308  # platforms (ab)use it in PIC code, but their linkers get confused if
     10309  # the symbol is explicitly referenced.  Since portable code cannot
     10310  # rely on this symbol name, it's probably fine to never include it in
     10311  # preloaded symbol tables.
     10312  # Exclude shared library initialization/finalization symbols.
     10313  extract_expsyms_cmds=
     10314
     10315  case $host_os in
     10316  cygwin* | mingw* | pw32* | cegcc*)
     10317    # FIXME: the MSVC++ port hasn't been tested in a loooong time
     10318    # When not using gcc, we currently assume that we are using
     10319    # Microsoft Visual C++.
     10320    if test yes != "$GCC"; then
     10321      with_gnu_ld=no
     10322    fi
     10323    ;;
     10324  interix*)
     10325    # we just hope/assume this is gcc and not c89 (= MSVC++)
     10326    with_gnu_ld=yes
     10327    ;;
     10328  openbsd* | bitrig*)
     10329    with_gnu_ld=no
     10330    ;;
     10331  linux* | k*bsd*-gnu | gnu*)
     10332    link_all_deplibs=no
     10333    ;;
     10334  esac
     10335
     10336  ld_shlibs=yes
     10337
     10338  # On some targets, GNU ld is compatible enough with the native linker
     10339  # that we're better off using the native interface for both.
     10340  lt_use_gnu_ld_interface=no
     10341  if test yes = "$with_gnu_ld"; then
     10342    case $host_os in
     10343      aix*)
     10344        # The AIX port of GNU ld has always aspired to compatibility
     10345        # with the native linker.  However, as the warning in the GNU ld
     10346        # block says, versions before 2.19.5* couldn't really create working
     10347        # shared libraries, regardless of the interface used.
     10348        case `$LD -v 2>&1` in
     10349          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
     10350          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
     10351          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
     10352          *)
     10353            lt_use_gnu_ld_interface=yes
     10354            ;;
     10355        esac
     10356        ;;
     10357      *)
     10358        lt_use_gnu_ld_interface=yes
     10359        ;;
     10360    esac
     10361  fi
     10362
     10363  if test yes = "$lt_use_gnu_ld_interface"; then
     10364    # If archive_cmds runs LD, not CC, wlarc should be empty
     10365    wlarc='$wl'
     10366
     10367    # Set some defaults for GNU ld with shared library support. These
     10368    # are reset later if shared libraries are not supported. Putting them
     10369    # here allows them to be overridden if necessary.
     10370    runpath_var=LD_RUN_PATH
     10371    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     10372    export_dynamic_flag_spec='$wl--export-dynamic'
     10373    # ancient GNU ld didn't support --whole-archive et. al.
     10374    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
     10375      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     10376    else
     10377      whole_archive_flag_spec=
     10378    fi
     10379    supports_anon_versioning=no
     10380    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
     10381      *GNU\ gold*) supports_anon_versioning=yes ;;
     10382      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
     10383      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
     10384      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
     10385      *\ 2.11.*) ;; # other 2.11 versions
     10386      *) supports_anon_versioning=yes ;;
     10387    esac
     10388
     10389    # See if GNU ld supports shared libraries.
     10390    case $host_os in
     10391    aix[3-9]*)
     10392      # On AIX/PPC, the GNU linker is very broken
     10393      if test ia64 != "$host_cpu"; then
     10394        ld_shlibs=no
     10395        cat <<_LT_EOF 1>&2
     10396
     10397*** Warning: the GNU linker, at least up to release 2.19, is reported
     10398*** to be unable to reliably create shared libraries on AIX.
     10399*** Therefore, libtool is disabling shared libraries support.  If you
     10400*** really care for shared libraries, you may want to install binutils
     10401*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
     10402*** You will then need to restart the configuration process.
     10403
     10404_LT_EOF
     10405      fi
     10406      ;;
     10407
     10408    amigaos*)
     10409      case $host_cpu in
     10410      powerpc)
     10411            # see comment about AmigaOS4 .so support
     10412            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10413            archive_expsym_cmds=''
     10414        ;;
     10415      m68k)
     10416            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
     10417            hardcode_libdir_flag_spec='-L$libdir'
     10418            hardcode_minus_L=yes
     10419        ;;
     10420      esac
     10421      ;;
     10422
     10423    beos*)
     10424      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     10425        allow_undefined_flag=unsupported
     10426        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
     10427        # support --undefined.  This deserves some investigation.  FIXME
     10428        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10429      else
     10430        ld_shlibs=no
     10431      fi
     10432      ;;
     10433
     10434    cygwin* | mingw* | pw32* | cegcc*)
     10435      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
     10436      # as there is no search path for DLLs.
     10437      hardcode_libdir_flag_spec='-L$libdir'
     10438      export_dynamic_flag_spec='$wl--export-all-symbols'
     10439      allow_undefined_flag=unsupported
     10440      always_export_symbols=no
     10441      enable_shared_with_static_runtimes=yes
     10442      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
     10443      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
     10444
     10445      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
     10446        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     10447        # If the export-symbols file already is a .def file, use it as
     10448        # is; otherwise, prepend EXPORTS...
     10449        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     10450          cp $export_symbols $output_objdir/$soname.def;
     10451        else
     10452          echo EXPORTS > $output_objdir/$soname.def;
     10453          cat $export_symbols >> $output_objdir/$soname.def;
     10454        fi~
     10455        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     10456      else
     10457        ld_shlibs=no
     10458      fi
     10459      ;;
     10460
     10461    haiku*)
     10462      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10463      link_all_deplibs=yes
     10464      ;;
     10465
     10466    os2*)
     10467      hardcode_libdir_flag_spec='-L$libdir'
     10468      hardcode_minus_L=yes
     10469      allow_undefined_flag=unsupported
     10470      shrext_cmds=.dll
     10471      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     10472        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     10473        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     10474        $ECHO EXPORTS >> $output_objdir/$libname.def~
     10475        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     10476        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     10477        emximp -o $lib $output_objdir/$libname.def'
     10478      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     10479        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     10480        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     10481        $ECHO EXPORTS >> $output_objdir/$libname.def~
     10482        prefix_cmds="$SED"~
     10483        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     10484          prefix_cmds="$prefix_cmds -e 1d";
     10485        fi~
     10486        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     10487        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     10488        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     10489        emximp -o $lib $output_objdir/$libname.def'
     10490      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     10491      enable_shared_with_static_runtimes=yes
     10492      ;;
     10493
     10494    interix[3-9]*)
     10495      hardcode_direct=no
     10496      hardcode_shlibpath_var=no
     10497      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
     10498      export_dynamic_flag_spec='$wl-E'
     10499      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
     10500      # Instead, shared libraries are loaded at an image base (0x10000000 by
     10501      # default) and relocated if they conflict, which is a slow very memory
     10502      # consuming and fragmenting process.  To avoid this, we pick a random,
     10503      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
     10504      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
     10505      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     10506      archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     10507      ;;
     10508
     10509    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
     10510      tmp_diet=no
     10511      if test linux-dietlibc = "$host_os"; then
     10512        case $cc_basename in
     10513          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
     10514        esac
     10515      fi
     10516      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
     10517         && test no = "$tmp_diet"
     10518      then
     10519        tmp_addflag=' $pic_flag'
     10520        tmp_sharedflag='-shared'
     10521        case $cc_basename,$host_cpu in
     10522        pgcc*)                          # Portland Group C compiler
     10523          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
     10524          tmp_addflag=' $pic_flag'
     10525          ;;
     10526        pgf77* | pgf90* | pgf95* | pgfortran*)
     10527                                        # Portland Group f77 and f90 compilers
     10528          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
     10529          tmp_addflag=' $pic_flag -Mnomain' ;;
     10530        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
     10531          tmp_addflag=' -i_dynamic' ;;
     10532        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
     10533          tmp_addflag=' -i_dynamic -nofor_main' ;;
     10534        ifc* | ifort*)                  # Intel Fortran compiler
     10535          tmp_addflag=' -nofor_main' ;;
     10536        lf95*)                          # Lahey Fortran 8.1
     10537          whole_archive_flag_spec=
     10538          tmp_sharedflag='--shared' ;;
     10539        nagfor*)                        # NAGFOR 5.3
     10540          tmp_sharedflag='-Wl,-shared' ;;
     10541        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
     10542          tmp_sharedflag='-qmkshrobj'
     10543          tmp_addflag= ;;
     10544        nvcc*)  # Cuda Compiler Driver 2.2
     10545          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
     10546          compiler_needs_object=yes
     10547          ;;
     10548        esac
     10549        case `$CC -V 2>&1 | sed 5q` in
     10550        *Sun\ C*)                       # Sun C 5.9
     10551          whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
     10552          compiler_needs_object=yes
     10553          tmp_sharedflag='-G' ;;
     10554        *Sun\ F*)                       # Sun Fortran 8.3
     10555          tmp_sharedflag='-G' ;;
     10556        esac
     10557        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10558
     10559        if test yes = "$supports_anon_versioning"; then
     10560          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
     10561            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     10562            echo "local: *; };" >> $output_objdir/$libname.ver~
     10563            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
     10564        fi
     10565
     10566        case $cc_basename in
     10567        tcc*)
     10568          export_dynamic_flag_spec='-rdynamic'
     10569          ;;
     10570        xlf* | bgf* | bgxlf* | mpixlf*)
     10571          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
     10572          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
     10573          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     10574          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
     10575          if test yes = "$supports_anon_versioning"; then
     10576            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
     10577              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     10578              echo "local: *; };" >> $output_objdir/$libname.ver~
     10579              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
     10580          fi
     10581          ;;
     10582        esac
     10583      else
     10584        ld_shlibs=no
     10585      fi
     10586      ;;
     10587
     10588    netbsd* | netbsdelf*-gnu)
     10589      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
     10590        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
     10591        wlarc=
     10592      else
     10593        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10594        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     10595      fi
     10596      ;;
     10597
     10598    solaris*)
     10599      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
     10600        ld_shlibs=no
     10601        cat <<_LT_EOF 1>&2
     10602
     10603*** Warning: The releases 2.8.* of the GNU linker cannot reliably
     10604*** create shared libraries on Solaris systems.  Therefore, libtool
     10605*** is disabling shared libraries support.  We urge you to upgrade GNU
     10606*** binutils to release 2.9.1 or newer.  Another option is to modify
     10607*** your PATH or compiler configuration so that the native linker is
     10608*** used, and then restart.
     10609
     10610_LT_EOF
     10611      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     10612        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10613        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     10614      else
     10615        ld_shlibs=no
     10616      fi
     10617      ;;
     10618
     10619    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
     10620      case `$LD -v 2>&1` in
     10621        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
     10622        ld_shlibs=no
     10623        cat <<_LT_EOF 1>&2
     10624
     10625*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
     10626*** reliably create shared libraries on SCO systems.  Therefore, libtool
     10627*** is disabling shared libraries support.  We urge you to upgrade GNU
     10628*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
     10629*** your PATH or compiler configuration so that the native linker is
     10630*** used, and then restart.
     10631
     10632_LT_EOF
     10633        ;;
     10634        *)
     10635          # For security reasons, it is highly recommended that you always
     10636          # use absolute paths for naming shared libraries, and exclude the
     10637          # DT_RUNPATH tag from executables and libraries.  But doing so
     10638          # requires that you compile everything twice, which is a pain.
     10639          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     10640            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     10641            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10642            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     10643          else
     10644            ld_shlibs=no
     10645          fi
     10646        ;;
     10647      esac
     10648      ;;
     10649
     10650    sunos4*)
     10651      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     10652      wlarc=
     10653      hardcode_direct=yes
     10654      hardcode_shlibpath_var=no
     10655      ;;
     10656
     10657    *)
     10658      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     10659        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10660        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     10661      else
     10662        ld_shlibs=no
     10663      fi
     10664      ;;
     10665    esac
     10666
     10667    if test no = "$ld_shlibs"; then
     10668      runpath_var=
     10669      hardcode_libdir_flag_spec=
     10670      export_dynamic_flag_spec=
     10671      whole_archive_flag_spec=
     10672    fi
     10673  else
     10674    # PORTME fill in a description of your system's linker (not GNU ld)
     10675    case $host_os in
     10676    aix3*)
     10677      allow_undefined_flag=unsupported
     10678      always_export_symbols=yes
     10679      archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
     10680      # Note: this linker hardcodes the directories in LIBPATH if there
     10681      # are no directories specified by -L.
     10682      hardcode_minus_L=yes
     10683      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
     10684        # Neither direct hardcoding nor static linking is supported with a
     10685        # broken collect2.
     10686        hardcode_direct=unsupported
     10687      fi
     10688      ;;
     10689
     10690    aix[4-9]*)
     10691      if test ia64 = "$host_cpu"; then
     10692        # On IA64, the linker does run time linking by default, so we don't
     10693        # have to do anything special.
     10694        aix_use_runtimelinking=no
     10695        exp_sym_flag='-Bexport'
     10696        no_entry_flag=
     10697      else
     10698        # If we're using GNU nm, then we don't want the "-C" option.
     10699        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     10700        # Without the "-l" option, or with the "-B" option, AIX nm treats
     10701        # weak defined symbols like other global defined symbols, whereas
     10702        # GNU nm marks them as "W".
     10703        # While the 'weak' keyword is ignored in the Export File, we need
     10704        # it in the Import File for the 'aix-soname' feature, so we have
     10705        # to replace the "-B" option with "-P" for AIX nm.
     10706        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
     10707          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
     10708        else
     10709          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
     10710        fi
     10711        aix_use_runtimelinking=no
     10712
     10713        # Test if we are trying to use run time linking or normal
     10714        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
     10715        # have runtime linking enabled, and use it for executables.
     10716        # For shared libraries, we enable/disable runtime linking
     10717        # depending on the kind of the shared library created -
     10718        # when "with_aix_soname,aix_use_runtimelinking" is:
     10719        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
     10720        # "aix,yes"  lib.so          shared, rtl:yes, for executables
     10721        #            lib.a           static archive
     10722        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
     10723        #            lib.a(lib.so.V) shared, rtl:no,  for executables
     10724        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
     10725        #            lib.a(lib.so.V) shared, rtl:no
     10726        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
     10727        #            lib.a           static archive
     10728        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
     10729          for ld_flag in $LDFLAGS; do
     10730          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
     10731            aix_use_runtimelinking=yes
     10732            break
     10733          fi
     10734          done
     10735          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
     10736            # With aix-soname=svr4, we create the lib.so.V shared archives only,
     10737            # so we don't have lib.a shared libs to link our executables.
     10738            # We have to force runtime linking in this case.
     10739            aix_use_runtimelinking=yes
     10740            LDFLAGS="$LDFLAGS -Wl,-brtl"
     10741          fi
     10742          ;;
     10743        esac
     10744
     10745        exp_sym_flag='-bexport'
     10746        no_entry_flag='-bnoentry'
     10747      fi
     10748
     10749      # When large executables or shared objects are built, AIX ld can
     10750      # have problems creating the table of contents.  If linking a library
     10751      # or program results in "error TOC overflow" add -mminimal-toc to
     10752      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
     10753      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
     10754
     10755      archive_cmds=''
     10756      hardcode_direct=yes
     10757      hardcode_direct_absolute=yes
     10758      hardcode_libdir_separator=':'
     10759      link_all_deplibs=yes
     10760      file_list_spec='$wl-f,'
     10761      case $with_aix_soname,$aix_use_runtimelinking in
     10762      aix,*) ;; # traditional, no import file
     10763      svr4,* | *,yes) # use import file
     10764        # The Import File defines what to hardcode.
     10765        hardcode_direct=no
     10766        hardcode_direct_absolute=no
     10767        ;;
     10768      esac
     10769
     10770      if test yes = "$GCC"; then
     10771        case $host_os in aix4.[012]|aix4.[012].*)
     10772        # We only want to do this on AIX 4.2 and lower, the check
     10773        # below for broken collect2 doesn't work under 4.3+
     10774          collect2name=`$CC -print-prog-name=collect2`
     10775          if test -f "$collect2name" &&
     10776           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     10777          then
     10778          # We have reworked collect2
     10779          :
     10780          else
     10781          # We have old collect2
     10782          hardcode_direct=unsupported
     10783          # It fails to find uninstalled libraries when the uninstalled
     10784          # path is not listed in the libpath.  Setting hardcode_minus_L
     10785          # to unsupported forces relinking
     10786          hardcode_minus_L=yes
     10787          hardcode_libdir_flag_spec='-L$libdir'
     10788          hardcode_libdir_separator=
     10789          fi
     10790          ;;
     10791        esac
     10792        shared_flag='-shared'
     10793        if test yes = "$aix_use_runtimelinking"; then
     10794          shared_flag="$shared_flag "'$wl-G'
     10795        fi
     10796        # Need to ensure runtime linking is disabled for the traditional
     10797        # shared library, or the linker may eventually find shared libraries
     10798        # /with/ Import File - we do not want to mix them.
     10799        shared_flag_aix='-shared'
     10800        shared_flag_svr4='-shared $wl-G'
     10801      else
     10802        # not using gcc
     10803        if test ia64 = "$host_cpu"; then
     10804        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
     10805        # chokes on -Wl,-G. The following line is correct:
     10806          shared_flag='-G'
     10807        else
     10808          if test yes = "$aix_use_runtimelinking"; then
     10809            shared_flag='$wl-G'
     10810          else
     10811            shared_flag='$wl-bM:SRE'
     10812          fi
     10813          shared_flag_aix='$wl-bM:SRE'
     10814          shared_flag_svr4='$wl-G'
     10815        fi
     10816      fi
     10817
     10818      export_dynamic_flag_spec='$wl-bexpall'
     10819      # It seems that -bexpall does not export symbols beginning with
     10820      # underscore (_), so it is better to generate a list of symbols to export.
     10821      always_export_symbols=yes
     10822      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
     10823        # Warning - without using the other runtime loading flags (-brtl),
     10824        # -berok will link without error, but may produce a broken library.
     10825        allow_undefined_flag='-berok'
     10826        # Determine the default libpath from the value encoded in an
     10827        # empty executable.
     10828        if test set = "${lt_cv_aix_libpath+set}"; then
     10829  aix_libpath=$lt_cv_aix_libpath
     10830else
     10831  if ${lt_cv_aix_libpath_+:} false; then :
     10832  $as_echo_n "(cached) " >&6
     10833else
     10834  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     10835/* end confdefs.h.  */
     10836
     10837int
     10838main ()
     10839{
     10840
     10841  ;
     10842  return 0;
     10843}
     10844_ACEOF
     10845if ac_fn_c_try_link "$LINENO"; then :
     10846
     10847  lt_aix_libpath_sed='
     10848      /Import File Strings/,/^$/ {
     10849          /^0/ {
     10850              s/^0  *\([^ ]*\) *$/\1/
     10851              p
     10852          }
     10853      }'
     10854  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     10855  # Check for a 64-bit object if we didn't find anything.
     10856  if test -z "$lt_cv_aix_libpath_"; then
     10857    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     10858  fi
     10859fi
     10860rm -f core conftest.err conftest.$ac_objext \
     10861    conftest$ac_exeext conftest.$ac_ext
     10862  if test -z "$lt_cv_aix_libpath_"; then
     10863    lt_cv_aix_libpath_=/usr/lib:/lib
     10864  fi
     10865
     10866fi
     10867
     10868  aix_libpath=$lt_cv_aix_libpath_
     10869fi
     10870
     10871        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
     10872        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
     10873      else
     10874        if test ia64 = "$host_cpu"; then
     10875          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
     10876          allow_undefined_flag="-z nodefs"
     10877          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
     10878        else
     10879         # Determine the default libpath from the value encoded in an
     10880         # empty executable.
     10881         if test set = "${lt_cv_aix_libpath+set}"; then
     10882  aix_libpath=$lt_cv_aix_libpath
     10883else
     10884  if ${lt_cv_aix_libpath_+:} false; then :
     10885  $as_echo_n "(cached) " >&6
     10886else
     10887  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     10888/* end confdefs.h.  */
     10889
     10890int
     10891main ()
     10892{
     10893
     10894  ;
     10895  return 0;
     10896}
     10897_ACEOF
     10898if ac_fn_c_try_link "$LINENO"; then :
     10899
     10900  lt_aix_libpath_sed='
     10901      /Import File Strings/,/^$/ {
     10902          /^0/ {
     10903              s/^0  *\([^ ]*\) *$/\1/
     10904              p
     10905          }
     10906      }'
     10907  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     10908  # Check for a 64-bit object if we didn't find anything.
     10909  if test -z "$lt_cv_aix_libpath_"; then
     10910    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     10911  fi
     10912fi
     10913rm -f core conftest.err conftest.$ac_objext \
     10914    conftest$ac_exeext conftest.$ac_ext
     10915  if test -z "$lt_cv_aix_libpath_"; then
     10916    lt_cv_aix_libpath_=/usr/lib:/lib
     10917  fi
     10918
     10919fi
     10920
     10921  aix_libpath=$lt_cv_aix_libpath_
     10922fi
     10923
     10924         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
     10925          # Warning - without using the other run time loading flags,
     10926          # -berok will link without error, but may produce a broken library.
     10927          no_undefined_flag=' $wl-bernotok'
     10928          allow_undefined_flag=' $wl-berok'
     10929          if test yes = "$with_gnu_ld"; then
     10930            # We only use this code for GNU lds that support --whole-archive.
     10931            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
     10932          else
     10933            # Exported symbols can be pulled into shared objects from archives
     10934            whole_archive_flag_spec='$convenience'
     10935          fi
     10936          archive_cmds_need_lc=yes
     10937          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
     10938          # -brtl affects multiple linker settings, -berok does not and is overridden later
     10939          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
     10940          if test svr4 != "$with_aix_soname"; then
     10941            # This is similar to how AIX traditionally builds its shared libraries.
     10942            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
     10943          fi
     10944          if test aix != "$with_aix_soname"; then
     10945            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
     10946          else
     10947            # used by -dlpreopen to get the symbols
     10948            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
     10949          fi
     10950          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
     10951        fi
     10952      fi
     10953      ;;
     10954
     10955    amigaos*)
     10956      case $host_cpu in
     10957      powerpc)
     10958            # see comment about AmigaOS4 .so support
     10959            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10960            archive_expsym_cmds=''
     10961        ;;
     10962      m68k)
     10963            archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
     10964            hardcode_libdir_flag_spec='-L$libdir'
     10965            hardcode_minus_L=yes
     10966        ;;
     10967      esac
     10968      ;;
     10969
     10970    bsdi[45]*)
     10971      export_dynamic_flag_spec=-rdynamic
     10972      ;;
     10973
     10974    cygwin* | mingw* | pw32* | cegcc*)
     10975      # When not using gcc, we currently assume that we are using
     10976      # Microsoft Visual C++.
     10977      # hardcode_libdir_flag_spec is actually meaningless, as there is
     10978      # no search path for DLLs.
     10979      case $cc_basename in
     10980      cl*)
     10981        # Native MSVC
     10982        hardcode_libdir_flag_spec=' '
     10983        allow_undefined_flag=unsupported
     10984        always_export_symbols=yes
     10985        file_list_spec='@'
     10986        # Tell ltmain to make .lib files, not .a files.
     10987        libext=lib
     10988        # Tell ltmain to make .dll files, not .so files.
     10989        shrext_cmds=.dll
     10990        # FIXME: Setting linknames here is a bad hack.
     10991        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
     10992        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     10993            cp "$export_symbols" "$output_objdir/$soname.def";
     10994            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
     10995          else
     10996            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
     10997          fi~
     10998          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     10999          linknames='
     11000        # The linker will not automatically build a static lib if we build a DLL.
     11001        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
     11002        enable_shared_with_static_runtimes=yes
     11003        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
     11004        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
     11005        # Don't use ranlib
     11006        old_postinstall_cmds='chmod 644 $oldlib'
     11007        postlink_cmds='lt_outputfile="@OUTPUT@"~
     11008          lt_tool_outputfile="@TOOL_OUTPUT@"~
     11009          case $lt_outputfile in
     11010            *.exe|*.EXE) ;;
     11011            *)
     11012              lt_outputfile=$lt_outputfile.exe
     11013              lt_tool_outputfile=$lt_tool_outputfile.exe
     11014              ;;
     11015          esac~
     11016          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
     11017            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     11018            $RM "$lt_outputfile.manifest";
     11019          fi'
     11020        ;;
     11021      *)
     11022        # Assume MSVC wrapper
     11023        hardcode_libdir_flag_spec=' '
     11024        allow_undefined_flag=unsupported
     11025        # Tell ltmain to make .lib files, not .a files.
     11026        libext=lib
     11027        # Tell ltmain to make .dll files, not .so files.
     11028        shrext_cmds=.dll
     11029        # FIXME: Setting linknames here is a bad hack.
     11030        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
     11031        # The linker will automatically build a .lib file if we build a DLL.
     11032        old_archive_from_new_cmds='true'
     11033        # FIXME: Should let the user specify the lib program.
     11034        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
     11035        enable_shared_with_static_runtimes=yes
     11036        ;;
     11037      esac
     11038      ;;
     11039
     11040    darwin* | rhapsody*)
     11041
     11042
     11043  archive_cmds_need_lc=no
     11044  hardcode_direct=no
     11045  hardcode_automatic=yes
     11046  hardcode_shlibpath_var=unsupported
     11047  if test yes = "$lt_cv_ld_force_load"; then
     11048    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
     11049
     11050  else
     11051    whole_archive_flag_spec=''
     11052  fi
     11053  link_all_deplibs=yes
     11054  allow_undefined_flag=$_lt_dar_allow_undefined
     11055  case $cc_basename in
     11056     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
     11057     *) _lt_dar_can_shared=$GCC ;;
     11058  esac
     11059  if test yes = "$_lt_dar_can_shared"; then
     11060    output_verbose_link_cmd=func_echo_all
     11061    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
     11062    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
     11063    archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
     11064    module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
     11065
     11066  else
     11067  ld_shlibs=no
     11068  fi
     11069
     11070      ;;
     11071
     11072    dgux*)
     11073      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     11074      hardcode_libdir_flag_spec='-L$libdir'
     11075      hardcode_shlibpath_var=no
     11076      ;;
     11077
     11078    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     11079    # support.  Future versions do this automatically, but an explicit c++rt0.o
     11080    # does not break anything, and helps significantly (at the cost of a little
     11081    # extra space).
     11082    freebsd2.2*)
     11083      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
     11084      hardcode_libdir_flag_spec='-R$libdir'
     11085      hardcode_direct=yes
     11086      hardcode_shlibpath_var=no
     11087      ;;
     11088
     11089    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
     11090    freebsd2.*)
     11091      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     11092      hardcode_direct=yes
     11093      hardcode_minus_L=yes
     11094      hardcode_shlibpath_var=no
     11095      ;;
     11096
     11097    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
     11098    freebsd* | dragonfly*)
     11099      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     11100      hardcode_libdir_flag_spec='-R$libdir'
     11101      hardcode_direct=yes
     11102      hardcode_shlibpath_var=no
     11103      ;;
     11104
     11105    hpux9*)
     11106      if test yes = "$GCC"; then
     11107        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     11108      else
     11109        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     11110      fi
     11111      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
     11112      hardcode_libdir_separator=:
     11113      hardcode_direct=yes
     11114
     11115      # hardcode_minus_L: Not really in the search PATH,
     11116      # but as the default location of the library.
     11117      hardcode_minus_L=yes
     11118      export_dynamic_flag_spec='$wl-E'
     11119      ;;
     11120
     11121    hpux10*)
     11122      if test yes,no = "$GCC,$with_gnu_ld"; then
     11123        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     11124      else
     11125        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
     11126      fi
     11127      if test no = "$with_gnu_ld"; then
     11128        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
     11129        hardcode_libdir_separator=:
     11130        hardcode_direct=yes
     11131        hardcode_direct_absolute=yes
     11132        export_dynamic_flag_spec='$wl-E'
     11133        # hardcode_minus_L: Not really in the search PATH,
     11134        # but as the default location of the library.
     11135        hardcode_minus_L=yes
     11136      fi
     11137</