Changes in / [5e49e47:d0c91a6]


Ignore:
Files:
88 added
53 deleted
139 edited

Legend:

Unmodified
Added
Removed
  • INSTALL

    r5e49e47 rd0c91a6  
    2222  it is important not to put quotes around the directory path; Cforall may
    2323  appear to build, but the installed version may not work properly.
    24 
    25 --with-backend-compiler=PROGRAM specifies the installed path of gcc.  It
    26   defaults to the first command named 'gcc' in the current PATH.
    27 
    28 cfa-cc itself is built with the version of g++ specified by the environment
    29 variable CXX.  If CXX is unset, cfa-cc is built using the first command named
    30 'g++' in the current PATH.
  • Jenkins/TestRegen

    r5e49e47 rd0c91a6  
    7070        //escapes the sandbox
    7171        //Also specify the compiler by hand
    72         sh "./configure CXX=clang++ --host=${arch} --with-backend-compiler=gcc-6 --prefix=${install_dir} --enable-silent-rules --quiet"
     72        sh "./configure CXX=clang++ CC=gcc-6 --host=${arch} --enable-silent-rules --quiet"
    7373
    7474        //Compile the project
    75         sh 'make -j 8 --no-print-directory install'
     75        sh 'make -j 8 --no-print-directory'
    7676
    7777        //Regenerate the desired tests
  • Jenkinsfile

    r5e49e47 rd0c91a6  
    118118                        }
    119119
    120                         sh "${SrcDir}/configure CXX=${Settings.Compiler.cpp_cc} ${Settings.Architecture.flags} ${targets} --with-backend-compiler=${Settings.Compiler.cfa_cc} --quiet"
     120                        sh "${SrcDir}/configure CXX=${Settings.Compiler.CXX} CC=${Settings.Compiler.CC} ${Settings.Architecture.flags} ${targets} --quiet"
    121121
    122122                        //Compile the project
     
    239239//Description of a compiler (Must be serializable since pipelines are persistent)
    240240class CC_Desc implements Serializable {
    241         public String cc_name
    242         public String cpp_cc
    243         public String cfa_cc
    244 
    245         CC_Desc(String cc_name, String cpp_cc, String cfa_cc) {
    246                 this.cc_name = cc_name
    247                 this.cpp_cc = cpp_cc
    248                 this.cfa_cc = cfa_cc
     241        public String name
     242        public String CXX
     243        public String CC
     244
     245        CC_Desc(String name, String CXX, String CC) {
     246                this.name = name
     247                this.CXX = CXX
     248                this.CC = CC
    249249        }
    250250}
     
    315315
    316316                def full = param.RunAllTests ? " (Full)" : ""
    317                 this.DescShort = "${ this.Compiler.cc_name }:${ this.Architecture.name }${full}"
    318 
    319                 this.DescLong = """Compiler              : ${ this.Compiler.cc_name } (${ this.Compiler.cpp_cc }/${ this.Compiler.cfa_cc })
     317                this.DescShort = "${ this.Compiler.name }:${ this.Architecture.name }${full}"
     318
     319                this.DescLong = """Compiler              : ${ this.Compiler.name } (${ this.Compiler.CXX }/${ this.Compiler.CC })
    320320Architecture            : ${ this.Architecture.name }
    321321Arc Flags               : ${ this.Architecture.flags }
  • Makefile.am

    r5e49e47 rd0c91a6  
    1616
    1717AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
    18 BACKEND_CC = @BACKEND_CC@     # C compiler used to compile Cforall programs, versus C++ compiler used to build cfa command
     18ACLOCAL_AMFLAGS  = -I automake
    1919
    2020MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/*
  • Makefile.in

    r5e49e47 rd0c91a6  
    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@
    252258AUTOMAKE = @AUTOMAKE@
    253259AWK = @AWK@
    254 BACKEND_CC = @BACKEND_CC@     # C compiler used to compile Cforall programs, versus C++ compiler used to build cfa command
    255260BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@
    256261CC = @CC@
     
    272277CPPFLAGS = @CPPFLAGS@
    273278CXX = @CXX@
     279CXXCPP = @CXXCPP@
    274280CXXDEPMODE = @CXXDEPMODE@
    275281CXXFLAGS = @CXXFLAGS@
     
    277283DEFS = @DEFS@
    278284DEPDIR = @DEPDIR@
     285DLLTOOL = @DLLTOOL@
    279286DRIVER_DIR = @DRIVER_DIR@
     287DSYMUTIL = @DSYMUTIL@
     288DUMPBIN = @DUMPBIN@
    280289ECHO_C = @ECHO_C@
    281290ECHO_N = @ECHO_N@
     
    283292EGREP = @EGREP@
    284293EXEEXT = @EXEEXT@
     294FGREP = @FGREP@
    285295GREP = @GREP@
    286296HOST_FLAGS = @HOST_FLAGS@
     
    290300INSTALL_SCRIPT = @INSTALL_SCRIPT@
    291301INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
     302LD = @LD@
    292303LDFLAGS = @LDFLAGS@
    293304LEX = @LEX@
     
    298309LIBOBJS = @LIBOBJS@
    299310LIBS = @LIBS@
     311LIBTOOL = @LIBTOOL@
     312LIPO = @LIPO@
     313LN_S = @LN_S@
    300314LTLIBOBJS = @LTLIBOBJS@
     315LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    301316MAKEINFO = @MAKEINFO@
     317MANIFEST_TOOL = @MANIFEST_TOOL@
    302318MKDIR_P = @MKDIR_P@
     319NM = @NM@
     320NMEDIT = @NMEDIT@
     321OBJDUMP = @OBJDUMP@
    303322OBJEXT = @OBJEXT@
     323OTOOL = @OTOOL@
     324OTOOL64 = @OTOOL64@
    304325PACKAGE = @PACKAGE@
    305326PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    311332PATH_SEPARATOR = @PATH_SEPARATOR@
    312333RANLIB = @RANLIB@
     334SED = @SED@
    313335SET_MAKE = @SET_MAKE@
    314336SHELL = @SHELL@
     
    322344abs_top_builddir = @abs_top_builddir@
    323345abs_top_srcdir = @abs_top_srcdir@
     346ac_ct_AR = @ac_ct_AR@
    324347ac_ct_CC = @ac_ct_CC@
    325348ac_ct_CXX = @ac_ct_CXX@
     349ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
    326350am__include = @am__include@
    327351am__leading_dot = @am__leading_dot@
     
    371395top_srcdir = @top_srcdir@
    372396AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
     397ACLOCAL_AMFLAGS = -I automake
    373398MAINTAINERCLEANFILES = lib/* bin/* tests/.deps/* tests/.out/*
    374399SUBDIRS = driver src . @LIBCFA_TARGET_DIRS@
     
    428453distclean-hdr:
    429454        -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
    430464install-man1: $(man1_MANS)
    431465        @$(NORMAL_INSTALL)
     
    803837clean: clean-recursive
    804838
    805 clean-am: clean-generic mostlyclean-am
     839clean-am: clean-generic clean-libtool mostlyclean-am
    806840
    807841distclean: distclean-recursive
    808842        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
    809843        -rm -f Makefile
    810 distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
     844distclean-am: clean-am distclean-generic distclean-hdr \
     845        distclean-libtool distclean-tags
    811846
    812847dvi: dvi-recursive
     
    858893mostlyclean: mostlyclean-recursive
    859894
    860 mostlyclean-am: mostlyclean-generic
     895mostlyclean-am: mostlyclean-generic mostlyclean-libtool
    861896
    862897pdf: pdf-recursive
     
    876911.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
    877912        am--refresh check check-am clean clean-cscope clean-generic \
    878         cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
    879         dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
    880         distcheck distclean distclean-generic distclean-hdr \
    881         distclean-tags distcleancheck distdir distuninstallcheck dvi \
    882         dvi-am html html-am info info-am install install-am \
    883         install-data install-data-am install-dvi install-dvi-am \
    884         install-exec install-exec-am install-html install-html-am \
    885         install-info install-info-am install-man install-man1 \
    886         install-pdf install-pdf-am install-ps install-ps-am \
    887         install-strip installcheck installcheck-am installdirs \
    888         installdirs-am maintainer-clean maintainer-clean-generic \
    889         mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
    890         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
    891927
    892928.PRECIOUS: Makefile
  • aclocal.m4

    r5e49e47 rd0c91a6  
    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])
  • automake/cfa.m4

    r5e49e47 rd0c91a6  
    7373                "arm"        ) cannon_arch_name="arm";;
    7474                "ARM"        ) cannon_arch_name="arm";;
     75                "armv7l"     ) cannon_arch_name="arm";;
    7576                *)
    7677                >&2 echo "Unkown architecture " $arch_name;
  • benchmark/Makefile.am

    r5e49e47 rd0c91a6  
    1616
    1717AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
     18ACLOCAL_AMFLAGS  = -I automake
    1819
    1920# applies to both programs
    2021include $(top_srcdir)/src/cfa.make
    2122
    22 UPPCC = u++
    23 UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS)
     23
    2424
    2525AM_CFLAGS = -O2 -Wall -I$(srcdir) -lrt -pthread
     
    3535PRINT_FORMAT = %20s: #Comments needed for spacing
    3636
     37# Dummy hack tricks
    3738EXTRA_PROGRAMS = dummy # build but do not install
    38 
    3939dummy_SOURCES = dummyC.c dummyCXX.cpp
    4040
     
    4747.NOTPARALLEL:
    4848
    49 noinst_PROGRAMS =
    50 
     49## =========================================================================================================
    5150all : ctxswitch$(EXEEXT) mutex$(EXEEXT) signal$(EXEEXT) waitfor$(EXEEXT) creation$(EXEEXT)
    5251
     
    5857        @${STATS} .result.log
    5958        @echo "------------------------------------------------------"
    60         @rm -f a.out .result.log
     59        @rm -f a.out .result.log *.class
    6160
    6261%.runquiet :
     
    111110## =========================================================================================================
    112111loop$(EXEEXT):
    113         $(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c
     112        $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c
    114113
    115114function$(EXEEXT):
    116         $(COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c
     115        $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c
    117116
    118117fetch_add$(EXEEXT):
    119         $(COMPILE) -DBENCH_N=500000000  $(srcdir)/fetch_add.c
     118        $(AM_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/fetch_add.c
    120119
    121120## =========================================================================================================
     
    140139
    141140ctxswitch-kos_fibre$(EXEEXT):
    142         @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp  -I$(LIBFIBRE_DIR) -lfibre
     141        $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp  -I$(LIBFIBRE_DIR) -lfibre
    143142
    144143ctxswitch-kos_fibre2$(EXEEXT):
    145         @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre
     144        $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre
    146145endif
    147146
     
    149148
    150149ctxswitch-pthread$(EXEEXT):
    151         @$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c
     150        $(AM_V_CC)$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c
    152151
    153152ctxswitch-cfa_coroutine$(EXEEXT):
    154         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.cfa
     153        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.cfa
    155154
    156155ctxswitch-cfa_thread$(EXEEXT):
    157         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.cfa
     156        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.cfa
    158157
    159158ctxswitch-cfa_thread2$(EXEEXT):
    160         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.cfa
     159        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.cfa
    161160
    162161ctxswitch-upp_coroutine$(EXEEXT):
    163         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc
     162        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc
    164163
    165164ctxswitch-upp_thread$(EXEEXT):
    166         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc
     165        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc
    167166
    168167ctxswitch-goroutine$(EXEEXT):
    169         @go build -o a.out $(srcdir)/ctxswitch/goroutine.go
     168        $(AM_V_GOC)go build -o a.out $(srcdir)/ctxswitch/goroutine.go
    170169
    171170ctxswitch-java_thread$(EXEEXT):
    172         @javac -d . $(srcdir)/ctxswitch/JavaThread.java
     171        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java
    173172        @echo "#!/bin/sh" > a.out
    174173        @echo "java JavaThread" >> a.out
     
    188187
    189188mutex-pthread_lock$(EXEEXT):
    190         @$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c
     189        $(AM_V_CC)$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c
    191190
    192191mutex-upp$(EXEEXT):
    193         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc
     192        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc
    194193
    195194mutex-cfa1$(EXEEXT):
    196         @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa1.cfa
     195        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa1.cfa
    197196
    198197mutex-cfa2$(EXEEXT):
    199         @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa2.cfa
     198        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa2.cfa
    200199
    201200mutex-cfa4$(EXEEXT):
    202         @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa4.cfa
     201        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa4.cfa
    203202
    204203mutex-java_thread$(EXEEXT):
    205         @javac -d . $(srcdir)/mutex/JavaThread.java
     204        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java
    206205        @echo "#!/bin/sh" > a.out
    207206        @echo "java JavaThread" >> a.out
     
    218217
    219218signal-pthread_cond$(EXEEXT):
    220         @$(COMPILE)    -DBENCH_N=500000  $(srcdir)/schedint/pthreads.c
     219        $(AM_V_CC)$(COMPILE)    -DBENCH_N=500000  $(srcdir)/schedint/pthreads.c
    221220
    222221signal-upp$(EXEEXT):
    223         @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc
     222        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc
    224223
    225224signal-cfa1$(EXEEXT):
    226         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa1.cfa
     225        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa1.cfa
    227226
    228227signal-cfa2$(EXEEXT):
    229         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa2.cfa
     228        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa2.cfa
    230229
    231230signal-cfa4$(EXEEXT):
    232         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa4.cfa
     231        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa4.cfa
    233232
    234233signal-java_thread$(EXEEXT):
    235         @javac -d . $(srcdir)/schedint/JavaThread.java
     234        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java
    236235        @echo "#!/bin/sh" > a.out
    237236        @echo "java JavaThread" >> a.out
     
    247246
    248247waitfor-upp$(EXEEXT):
    249         @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc
     248        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc
    250249
    251250waitfor-cfa1$(EXEEXT):
    252         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa1.cfa
     251        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa1.cfa
    253252
    254253waitfor-cfa2$(EXEEXT):
    255         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa2.cfa
     254        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa2.cfa
    256255
    257256waitfor-cfa4$(EXEEXT):
    258         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa4.cfa
     257        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa4.cfa
    259258
    260259## =========================================================================================================
     
    270269
    271270creation-cfa_coroutine$(EXEEXT):
    272         @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa
     271        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa
    273272
    274273creation-cfa_coroutine_eager$(EXEEXT):
    275         @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa -DEAGER
     274        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa -DEAGER
    276275
    277276creation-cfa_thread$(EXEEXT):
    278         @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.cfa
     277        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.cfa
    279278
    280279creation-upp_coroutine$(EXEEXT):
    281         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc
     280        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc
    282281
    283282creation-upp_thread$(EXEEXT):
    284         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc
     283        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc
    285284
    286285creation-pthread$(EXEEXT):
    287         @$(COMPILE)    -DBENCH_N=250000   $(srcdir)/creation/pthreads.c
     286        $(AM_V_CC)$(COMPILE)    -DBENCH_N=250000   $(srcdir)/creation/pthreads.c
    288287
    289288creation-goroutine$(EXEEXT):
    290         @go build -o a.out $(srcdir)/creation/goroutine.go
     289        $(AM_V_GOC)go build -o a.out $(srcdir)/creation/goroutine.go
    291290
    292291creation-java_thread$(EXEEXT):
    293         @javac -d . $(srcdir)/creation/JavaThread.java
     292        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java
    294293        @echo "#!/bin/sh" > a.out
    295294        @echo "java JavaThread" >> a.out
     
    312311
    313312compile-array$(EXEEXT):
    314         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa
     313        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa
    315314
    316315compile-attributes$(EXEEXT):
    317         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa
     316        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa
    318317
    319318compile-empty$(EXEEXT):
    320         @$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa
     319        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa
    321320
    322321compile-expression$(EXEEXT):
    323         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa
     322        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa
    324323
    325324compile-io$(EXEEXT):
    326         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa
     325        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa
    327326
    328327compile-monitor$(EXEEXT):
    329         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa
     328        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa
    330329
    331330compile-operators$(EXEEXT):
    332         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa
     331        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa
    333332
    334333compile-thread$(EXEEXT):
    335         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa
     334        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa
    336335
    337336compile-typeof$(EXEEXT):
    338         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa
    339 
     337        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa
     338
  • benchmark/Makefile.in

    r5e49e47 rd0c91a6  
    1717######################## -*- Mode: Makefile-Automake -*- ######################
    1818###############################################################################
    19 
    2019VPATH = @srcdir@
    2120am__is_gnu_make = { \
     
    9392host_triplet = @host@
    9493EXTRA_PROGRAMS = dummy$(EXEEXT)
    95 noinst_PROGRAMS =
    9694@WITH_LIBFIBRE_TRUE@am__append_1 = \
    9795@WITH_LIBFIBRE_TRUE@    ctxswitch-kos_fibre.run  \
     
    10098subdir = benchmark
    10199ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    102 am__aclocal_m4_deps = $(top_srcdir)/automake/cfa.m4 \
    103         $(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
    104106am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    105107        $(ACLOCAL_M4)
     
    109111CONFIG_CLEAN_FILES =
    110112CONFIG_CLEAN_VPATH_FILES =
    111 PROGRAMS = $(noinst_PROGRAMS)
    112113am_dummy_OBJECTS = dummyC.$(OBJEXT) dummyCXX.$(OBJEXT)
    113114dummy_OBJECTS = $(am_dummy_OBJECTS)
    114115dummy_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 =
    115120AM_V_P = $(am__v_P_@AM_V@)
    116121am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
     
    131136COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
    132137        $(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)
    133142AM_V_CC = $(am__v_CC_@AM_V@)
    134143am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
     
    136145am__v_CC_1 =
    137146CCLD = $(CC)
    138 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 $@
    139150AM_V_CCLD = $(am__v_CCLD_@AM_V@)
    140151am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
     
    143154CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    144155        $(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)
    145160AM_V_CXX = $(am__v_CXX_@AM_V@)
    146161am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
     
    148163am__v_CXX_1 =
    149164CXXLD = $(CXX)
    150 CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
    151         -o $@
     165CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
     166        $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
     167        $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
    152168AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
    153169am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
     
    187203AMTAR = @AMTAR@
    188204AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
     205AR = @AR@
    189206AUTOCONF = @AUTOCONF@
    190207AUTOHEADER = @AUTOHEADER@
    191208AUTOMAKE = @AUTOMAKE@
    192209AWK = @AWK@
    193 BACKEND_CC = @BACKEND_CC@
    194210BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@
    195211CC = @CC@
     
    211227CPPFLAGS = @CPPFLAGS@
    212228CXX = @CXX@
     229CXXCPP = @CXXCPP@
    213230CXXDEPMODE = @CXXDEPMODE@
    214231CXXFLAGS = @CXXFLAGS@
     
    216233DEFS = @DEFS@
    217234DEPDIR = @DEPDIR@
     235DLLTOOL = @DLLTOOL@
    218236DRIVER_DIR = @DRIVER_DIR@
     237DSYMUTIL = @DSYMUTIL@
     238DUMPBIN = @DUMPBIN@
    219239ECHO_C = @ECHO_C@
    220240ECHO_N = @ECHO_N@
     
    222242EGREP = @EGREP@
    223243EXEEXT = @EXEEXT@
     244FGREP = @FGREP@
    224245GREP = @GREP@
    225246HOST_FLAGS = @HOST_FLAGS@
     
    229250INSTALL_SCRIPT = @INSTALL_SCRIPT@
    230251INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
     252LD = @LD@
    231253LDFLAGS = @LDFLAGS@
    232254LEX = @LEX@
     
    237259LIBOBJS = @LIBOBJS@
    238260LIBS = @LIBS@
     261LIBTOOL = @LIBTOOL@
     262LIPO = @LIPO@
     263LN_S = @LN_S@
    239264LTLIBOBJS = @LTLIBOBJS@
     265LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    240266MAKEINFO = @MAKEINFO@
     267MANIFEST_TOOL = @MANIFEST_TOOL@
    241268MKDIR_P = @MKDIR_P@
     269NM = @NM@
     270NMEDIT = @NMEDIT@
     271OBJDUMP = @OBJDUMP@
    242272OBJEXT = @OBJEXT@
     273OTOOL = @OTOOL@
     274OTOOL64 = @OTOOL64@
    243275PACKAGE = @PACKAGE@
    244276PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
     
    250282PATH_SEPARATOR = @PATH_SEPARATOR@
    251283RANLIB = @RANLIB@
     284SED = @SED@
    252285SET_MAKE = @SET_MAKE@
    253286SHELL = @SHELL@
     
    261294abs_top_builddir = @abs_top_builddir@
    262295abs_top_srcdir = @abs_top_srcdir@
     296ac_ct_AR = @ac_ct_AR@
    263297ac_ct_CC = @ac_ct_CC@
    264298ac_ct_CXX = @ac_ct_CXX@
     299ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
    265300am__include = @am__include@
    266301am__leading_dot = @am__leading_dot@
     
    310345top_srcdir = @top_srcdir@
    311346AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
     347ACLOCAL_AMFLAGS = -I automake
    312348CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS)
    313349LTCFACOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
     
    320356am__v_CFA_0 = @echo "  CFA     " $@;
    321357am__v_CFA_1 =
    322 
    323 # applies to both programs
     358AM_V_JAVAC = $(am__v_JAVAC_@AM_V@)
     359am__v_JAVAC_ = $(am__v_JAVAC_@AM_DEFAULT_V@)
     360am__v_JAVAC_0 = @echo "  JAVAC   " $@;
     361am__v_JAVAC_1 =
     362AM_V_GOC = $(am__v_GOC_@AM_V@)
     363am__v_GOC_ = $(am__v_GOC_@AM_DEFAULT_V@)
     364am__v_GOC_0 = @echo "  GOC     " $@;
     365am__v_GOC_1 =
    324366UPPCC = u++
    325367UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS)
     368AM_V_UPP = $(am__v_UPP_@AM_V@)
     369am__v_UPP_ = $(am__v_UPP_@AM_DEFAULT_V@)
     370am__v_UPP_0 = @echo "  UPP     " $@;
     371am__v_UPP_1 =
     372
     373# applies to both programs
    326374AM_CFLAGS = -O2 -Wall -I$(srcdir) -lrt -pthread
    327375AM_CFAFLAGS = -quiet -in-tree -nodebug
     
    377425$(am__aclocal_m4_deps):
    378426
    379 clean-noinstPROGRAMS:
    380         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
    381 
    382427dummy$(EXEEXT): $(dummy_OBJECTS) $(dummy_DEPENDENCIES) $(EXTRA_dummy_DEPENDENCIES)
    383428        @rm -f dummy$(EXEEXT)
     
    409454@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
    410455
     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
    411464.cpp.o:
    412465@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
     
    424477@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    425478@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
    426493
    427494ID: $(am__tagged_files)
     
    509576check-am: all-am
    510577check: check-am
    511 all-am: Makefile $(PROGRAMS)
     578all-am: Makefile
    512579installdirs:
    513580install: install-am
     
    543610clean: clean-am
    544611
    545 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     612clean-am: clean-generic clean-libtool mostlyclean-am
    546613
    547614distclean: distclean-am
     
    598665mostlyclean: mostlyclean-am
    599666
    600 mostlyclean-am: mostlyclean-compile mostlyclean-generic
     667mostlyclean-am: mostlyclean-compile mostlyclean-generic \
     668        mostlyclean-libtool
    601669
    602670pdf: pdf-am
     
    613681
    614682.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
    615         clean-noinstPROGRAMS cscopelist-am ctags ctags-am distclean \
    616         distclean-compile distclean-generic distclean-tags distdir dvi \
    617         dvi-am html html-am info info-am install install-am \
    618         install-data install-data-am install-dvi install-dvi-am \
    619         install-exec install-exec-am install-html install-html-am \
    620         install-info install-info-am install-man install-pdf \
    621         install-pdf-am install-ps install-ps-am install-strip \
    622         installcheck installcheck-am installdirs maintainer-clean \
    623         maintainer-clean-generic mostlyclean mostlyclean-compile \
    624         mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
    625         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
    626694
    627695.PRECIOUS: Makefile
     
    655723        @${STATS} .result.log
    656724        @echo "------------------------------------------------------"
    657         @rm -f a.out .result.log
     725        @rm -f a.out .result.log *.class
    658726
    659727%.runquiet :
     
    705773
    706774loop$(EXEEXT):
    707         $(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c
     775        $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c
    708776
    709777function$(EXEEXT):
    710         $(COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c
     778        $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c
    711779
    712780fetch_add$(EXEEXT):
    713         $(COMPILE) -DBENCH_N=500000000  $(srcdir)/fetch_add.c
     781        $(AM_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/fetch_add.c
    714782
    715783@WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre$(EXEEXT):
    716 @WITH_LIBFIBRE_TRUE@    @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp  -I$(LIBFIBRE_DIR) -lfibre
     784@WITH_LIBFIBRE_TRUE@    $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp  -I$(LIBFIBRE_DIR) -lfibre
    717785
    718786@WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre2$(EXEEXT):
    719 @WITH_LIBFIBRE_TRUE@    @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre
     787@WITH_LIBFIBRE_TRUE@    $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre
    720788
    721789ctxswitch$(EXEEXT): $(CTXSWITCH_DEPEND)
    722790
    723791ctxswitch-pthread$(EXEEXT):
    724         @$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c
     792        $(AM_V_CC)$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c
    725793
    726794ctxswitch-cfa_coroutine$(EXEEXT):
    727         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.cfa
     795        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.cfa
    728796
    729797ctxswitch-cfa_thread$(EXEEXT):
    730         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.cfa
     798        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.cfa
    731799
    732800ctxswitch-cfa_thread2$(EXEEXT):
    733         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.cfa
     801        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.cfa
    734802
    735803ctxswitch-upp_coroutine$(EXEEXT):
    736         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc
     804        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc
    737805
    738806ctxswitch-upp_thread$(EXEEXT):
    739         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc
     807        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc
    740808
    741809ctxswitch-goroutine$(EXEEXT):
    742         @go build -o a.out $(srcdir)/ctxswitch/goroutine.go
     810        $(AM_V_GOC)go build -o a.out $(srcdir)/ctxswitch/goroutine.go
    743811
    744812ctxswitch-java_thread$(EXEEXT):
    745         @javac -d . $(srcdir)/ctxswitch/JavaThread.java
     813        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java
    746814        @echo "#!/bin/sh" > a.out
    747815        @echo "java JavaThread" >> a.out
     
    760828
    761829mutex-pthread_lock$(EXEEXT):
    762         @$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c
     830        $(AM_V_CC)$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c
    763831
    764832mutex-upp$(EXEEXT):
    765         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc
     833        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc
    766834
    767835mutex-cfa1$(EXEEXT):
    768         @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa1.cfa
     836        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa1.cfa
    769837
    770838mutex-cfa2$(EXEEXT):
    771         @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa2.cfa
     839        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa2.cfa
    772840
    773841mutex-cfa4$(EXEEXT):
    774         @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa4.cfa
     842        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa4.cfa
    775843
    776844mutex-java_thread$(EXEEXT):
    777         @javac -d . $(srcdir)/mutex/JavaThread.java
     845        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java
    778846        @echo "#!/bin/sh" > a.out
    779847        @echo "java JavaThread" >> a.out
     
    789857
    790858signal-pthread_cond$(EXEEXT):
    791         @$(COMPILE)    -DBENCH_N=500000  $(srcdir)/schedint/pthreads.c
     859        $(AM_V_CC)$(COMPILE)    -DBENCH_N=500000  $(srcdir)/schedint/pthreads.c
    792860
    793861signal-upp$(EXEEXT):
    794         @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc
     862        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc
    795863
    796864signal-cfa1$(EXEEXT):
    797         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa1.cfa
     865        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa1.cfa
    798866
    799867signal-cfa2$(EXEEXT):
    800         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa2.cfa
     868        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa2.cfa
    801869
    802870signal-cfa4$(EXEEXT):
    803         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa4.cfa
     871        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa4.cfa
    804872
    805873signal-java_thread$(EXEEXT):
    806         @javac -d . $(srcdir)/schedint/JavaThread.java
     874        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java
    807875        @echo "#!/bin/sh" > a.out
    808876        @echo "java JavaThread" >> a.out
     
    816884
    817885waitfor-upp$(EXEEXT):
    818         @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc
     886        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc
    819887
    820888waitfor-cfa1$(EXEEXT):
    821         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa1.cfa
     889        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa1.cfa
    822890
    823891waitfor-cfa2$(EXEEXT):
    824         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa2.cfa
     892        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa2.cfa
    825893
    826894waitfor-cfa4$(EXEEXT):
    827         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa4.cfa
     895        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa4.cfa
    828896
    829897creation$(EXEEXT) :\
     
    838906
    839907creation-cfa_coroutine$(EXEEXT):
    840         @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa
     908        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa
    841909
    842910creation-cfa_coroutine_eager$(EXEEXT):
    843         @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa -DEAGER
     911        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa -DEAGER
    844912
    845913creation-cfa_thread$(EXEEXT):
    846         @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.cfa
     914        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.cfa
    847915
    848916creation-upp_coroutine$(EXEEXT):
    849         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc
     917        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc
    850918
    851919creation-upp_thread$(EXEEXT):
    852         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc
     920        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc
    853921
    854922creation-pthread$(EXEEXT):
    855         @$(COMPILE)    -DBENCH_N=250000   $(srcdir)/creation/pthreads.c
     923        $(AM_V_CC)$(COMPILE)    -DBENCH_N=250000   $(srcdir)/creation/pthreads.c
    856924
    857925creation-goroutine$(EXEEXT):
    858         @go build -o a.out $(srcdir)/creation/goroutine.go
     926        $(AM_V_GOC)go build -o a.out $(srcdir)/creation/goroutine.go
    859927
    860928creation-java_thread$(EXEEXT):
    861         @javac -d . $(srcdir)/creation/JavaThread.java
     929        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java
    862930        @echo "#!/bin/sh" > a.out
    863931        @echo "java JavaThread" >> a.out
     
    875943
    876944compile-array$(EXEEXT):
    877         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa
     945        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa
    878946
    879947compile-attributes$(EXEEXT):
    880         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa
     948        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa
    881949
    882950compile-empty$(EXEEXT):
    883         @$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa
     951        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa
    884952
    885953compile-expression$(EXEEXT):
    886         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa
     954        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa
    887955
    888956compile-io$(EXEEXT):
    889         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa
     957        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa
    890958
    891959compile-monitor$(EXEEXT):
    892         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa
     960        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa
    893961
    894962compile-operators$(EXEEXT):
    895         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa
     963        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa
    896964
    897965compile-thread$(EXEEXT):
    898         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa
     966        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa
    899967
    900968compile-typeof$(EXEEXT):
    901         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa
     969        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa
    902970
    903971# Tell versions [3.59,3.63) of GNU make to not export all variables.
  • benchmark/Monitor.c

    r5e49e47 rd0c91a6  
    2929        EndTime = Time();
    3030
    31         sout | ( EndTime - StartTime ) / N | endl;
     31        sout | ( EndTime - StartTime ) / N;
    3232}
  • configure

    r5e49e47 rd0c91a6  
    199199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     201
     202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
     203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
     205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
     206    PATH=/empty FPATH=/empty; export PATH FPATH
     207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
     208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    201209test \$(( 1 + 1 )) = 2 || exit 1"
    202210  if (eval "$as_required") 2>/dev/null; then :
     
    557565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    558566
     567SHELL=${CONFIG_SHELL-/bin/sh}
     568
    559569
    560570test -n "$DJDIR" || exec 7<&0 </dev/null
     
    626636LTLIBOBJS
    627637LIBOBJS
     638CFA_BACKEND_CC
    628639ALLOCA
     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
    629662EGREP
    630663GREP
    631 CPP
    632 WITH_LIBFIBRE_FALSE
    633 WITH_LIBFIBRE_TRUE
    634 RANLIB
     664SED
     665LIBTOOL
    635666LEXLIB
    636667LEX_OUTPUT_ROOT
     
    687718CFA_INCDIR
    688719CFA_PREFIX
    689 CFA_BACKEND_CC
    690 BACKEND_CC
    691720DOendif
    692721DOifskipcompile
     
    763792enable_silent_rules
    764793with_cfa_name
    765 with_backend_compiler
    766794with_target_hosts
    767795enable_dependency_tracking
     796enable_shared
     797enable_static
     798with_pic
     799enable_fast_install
     800with_aix_soname
     801with_gnu_ld
     802with_sysroot
     803enable_libtool_lock
    768804'
    769805      ac_precious_vars='build_alias
     
    782818YACC
    783819YFLAGS
    784 CPP'
     820LT_SYS_LIBRARY_PATH
     821CPP
     822CXXCPP'
    785823
    786824
     
    14181456  --disable-dependency-tracking
    14191457                          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)
    14201463
    14211464Optional Packages:
     
    14231466  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    14241467  --with-cfa-name=NAME     NAME too which cfa will be installed
    1425   --with-backend-compiler=PROGRAM     PROGRAM that performs the final code compilation (must be gcc-compatible)
    14261468  --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).
    14271477
    14281478Some influential environment variables:
     
    14441494              This script will default YFLAGS to the empty string to avoid a
    14451495              default value of `-d' given by some make applications.
     1496  LT_SYS_LIBRARY_PATH
     1497              User-defined run-time library search path.
    14461498  CPP         C preprocessor
     1499  CXXCPP      C++ preprocessor
    14471500
    14481501Use these variables to override the choices made by `configure' or to help
     
    16481701} # ac_fn_c_try_link
    16491702
    1650 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
    1651 # -------------------------------------------
    1652 # Tests whether TYPE exists after having included INCLUDES, setting cache
    1653 # variable VAR accordingly.
    1654 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 ()
    16551708{
    16561709  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     
    16601713  $as_echo_n "(cached) " >&6
    16611714else
    1662   eval "$3=no"
    16631715  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16641716/* end confdefs.h.  */
    16651717$4
    1666 int
    1667 main ()
    1668 {
    1669 if (sizeof ($2))
    1670          return 0;
    1671   ;
    1672   return 0;
    1673 }
     1718#include <$2>
    16741719_ACEOF
    16751720if ac_fn_c_try_compile "$LINENO"; then :
    1676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1677 /* end confdefs.h.  */
    1678 $4
    1679 int
    1680 main ()
    1681 {
    1682 if (sizeof (($2)))
    1683             return 0;
    1684   ;
    1685   return 0;
    1686 }
    1687 _ACEOF
    1688 if ac_fn_c_try_compile "$LINENO"; then :
    1689 
    1690 else
    16911721  eval "$3=yes"
    1692 fi
    1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1722else
     1723  eval "$3=no"
    16941724fi
    16951725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     
    17001730  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    17011731
    1702 } # ac_fn_c_check_type
     1732} # ac_fn_c_check_header_compile
    17031733
    17041734# ac_fn_c_try_cpp LINENO
     
    17811811} # ac_fn_c_try_run
    17821812
    1783 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1784 # -------------------------------------------------------
    1785 # Tests whether HEADER exists and can be compiled using the include files in
    1786 # INCLUDES, setting the cache variable VAR accordingly.
    1787 ac_fn_c_check_header_compile ()
    1788 {
    1789   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1791 $as_echo_n "checking for $2... " >&6; }
    1792 if eval \${$3+:} false; then :
    1793   $as_echo_n "(cached) " >&6
    1794 else
    1795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1796 /* end confdefs.h.  */
    1797 $4
    1798 #include <$2>
    1799 _ACEOF
    1800 if ac_fn_c_try_compile "$LINENO"; then :
    1801   eval "$3=yes"
    1802 else
    1803   eval "$3=no"
    1804 fi
    1805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1806 fi
    1807 eval ac_res=\$$3
    1808                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1809 $as_echo "$ac_res" >&6; }
    1810   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1811 
    1812 } # ac_fn_c_check_header_compile
    1813 
    18141813# ac_fn_c_check_func LINENO FUNC VAR
    18151814# ----------------------------------
     
    18781877
    18791878} # 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
    18802016
    18812017# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     
    24802616
    24812617
     2618
    24822619#AC_CONFIG_SRCDIR([src/main.cc])
    24832620ac_config_headers="$ac_config_headers config.h:src/config.h.in"
     
    31663303
    31673304#==============================================================================
    3168 # backend compiler implementation
    3169 
    3170 # Check whether --with-backend-compiler was given.
    3171 if test "${with_backend_compiler+set}" = set; then :
    3172   withval=$with_backend_compiler; backendcompiler=$withval
    3173 else
    3174   backendcompiler=""
    3175 fi
    3176 
    3177 if test "x$backendcompiler" != "x"; then
    3178        BACKEND_CC=${backendcompiler}
    3179 else
    3180        # Extract the first word of "gcc", so it can be a program name with args.
    3181 set dummy gcc; ac_word=$2
    3182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3183 $as_echo_n "checking for $ac_word... " >&6; }
    3184 if ${ac_cv_path_BACKEND_CC+:} false; then :
    3185   $as_echo_n "(cached) " >&6
    3186 else
    3187   case $BACKEND_CC in
    3188   [\\/]* | ?:[\\/]*)
    3189   ac_cv_path_BACKEND_CC="$BACKEND_CC" # Let the user override the test with a path.
    3190   ;;
    3191   *)
    3192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3193 for as_dir in $PATH
    3194 do
    3195   IFS=$as_save_IFS
    3196   test -z "$as_dir" && as_dir=.
    3197     for ac_exec_ext in '' $ac_executable_extensions; do
    3198   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3199     ac_cv_path_BACKEND_CC="$as_dir/$ac_word$ac_exec_ext"
    3200     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    3201     break 2
    3202   fi
    3203 done
    3204   done
    3205 IFS=$as_save_IFS
    3206 
    3207   ;;
    3208 esac
    3209 fi
    3210 BACKEND_CC=$ac_cv_path_BACKEND_CC
    3211 if test -n "$BACKEND_CC"; then
    3212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BACKEND_CC" >&5
    3213 $as_echo "$BACKEND_CC" >&6; }
    3214 else
    3215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3216 $as_echo "no" >&6; }
    3217 fi
    3218 
    3219        # check gcc installed
    3220        if test "x$BACKEND_CC" = "x"; then
    3221                as_fn_error $? "some version of gcc is needed. Get it at ftp://ftp.gnu.org" "$LINENO" 5
    3222                exit 1
    3223        fi
    3224 fi
    3225 
    3226 cat >>confdefs.h <<_ACEOF
    3227 #define CFA_BACKEND_CC "${BACKEND_CC}"
    3228 _ACEOF
    3229 
    3230 
    3231 
    3232 #==============================================================================
    32333305# Installation paths
    32343306
     
    34783550                "arm"        ) cannon_arch_name="arm";;
    34793551                "ARM"        ) cannon_arch_name="arm";;
     3552                "armv7l"     ) cannon_arch_name="arm";;
    34803553                *)
    34813554                >&2 echo "Unkown architecture " $arch_name;
     
    35183591                "arm"        ) cannon_arch_name="arm";;
    35193592                "ARM"        ) cannon_arch_name="arm";;
     3593                "armv7l"     ) cannon_arch_name="arm";;
    35203594                *)
    35213595                >&2 echo "Unkown architecture " $arch_name;
     
    53165390fi
    53175391if test "${LEX}" = "lex" ; then echo "Error: flex required." ; exit 1 ; fi
    5318 
    5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
    5320 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
    5321 set x ${MAKE-make}
    5322 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
    5323 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
     5392case `pwd` in
     5393  *\ * | *\     *)
     5394    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
     5395$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
     5396esac
     5397
     5398
     5399
     5400macro_version='2.4.6'
     5401macro_revision='2.4.6'
     5402
     5403
     5404
     5405
     5406
     5407
     5408
     5409
     5410
     5411
     5412
     5413
     5414
     5415ltmain=$ac_aux_dir/ltmain.sh
     5416
     5417# Backslashify metacharacters that are still active within
     5418# double-quoted strings.
     5419sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
     5420
     5421# Same as above, but do not quote variable references.
     5422double_quote_subst='s/\(["`\\]\)/\\\1/g'
     5423
     5424# Sed substitution to delay expansion of an escaped shell variable in a
     5425# double_quote_subst'ed string.
     5426delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     5427
     5428# Sed substitution to delay expansion of an escaped single quote.
     5429delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
     5430
     5431# Sed substitution to avoid accidental globbing in evaled expressions
     5432no_glob_subst='s/\*/\\\*/g'
     5433
     5434ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     5435ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
     5436ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
     5437
     5438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
     5439$as_echo_n "checking how to print strings... " >&6; }
     5440# Test print first, because it will be a builtin if present.
     5441if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
     5442   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
     5443  ECHO='print -r --'
     5444elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
     5445  ECHO='printf %s\n'
     5446else
     5447  # Use this function as a fallback that always works.
     5448  func_fallback_echo ()
     5449  {
     5450    eval 'cat <<_LTECHO_EOF
     5451$1
     5452_LTECHO_EOF'
     5453  }
     5454  ECHO='func_fallback_echo'
     5455fi
     5456
     5457# func_echo_all arg...
     5458# Invoke $ECHO with all args, space-separated.
     5459func_echo_all ()
     5460{
     5461    $ECHO ""
     5462}
     5463
     5464case $ECHO in
     5465  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
     5466$as_echo "printf" >&6; } ;;
     5467  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
     5468$as_echo "print -r" >&6; } ;;
     5469  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
     5470$as_echo "cat" >&6; } ;;
     5471esac
     5472
     5473
     5474
     5475
     5476
     5477
     5478
     5479
     5480
     5481
     5482
     5483
     5484
     5485
     5486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
     5487$as_echo_n "checking for a sed that does not truncate output... " >&6; }
     5488if ${ac_cv_path_SED+:} false; then :
    53245489  $as_echo_n "(cached) " >&6
    53255490else
    5326   cat >conftest.make <<\_ACEOF
    5327 SHELL = /bin/sh
    5328 all:
    5329         @echo '@@@%%%=$(MAKE)=@@@%%%'
    5330 _ACEOF
    5331 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    5332 case `${MAKE-make} -f conftest.make 2>/dev/null` in
    5333   *@@@%%%=?*=@@@%%%*)
    5334     eval ac_cv_prog_make_${ac_make}_set=yes;;
    5335   *)
    5336     eval ac_cv_prog_make_${ac_make}_set=no;;
    5337 esac
    5338 rm -f conftest.make
    5339 fi
    5340 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
    5341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    5342 $as_echo "yes" >&6; }
    5343   SET_MAKE=
    5344 else
    5345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5346 $as_echo "no" >&6; }
    5347   SET_MAKE="MAKE=${MAKE-make}"
    5348 fi
    5349 
    5350 if test -n "$ac_tool_prefix"; then
    5351   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    5352 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    5353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5354 $as_echo_n "checking for $ac_word... " >&6; }
    5355 if ${ac_cv_prog_RANLIB+:} false; then :
    5356   $as_echo_n "(cached) " >&6
    5357 else
    5358   if test -n "$RANLIB"; then
    5359   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    5360 else
    5361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5491            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
     5492     for ac_i in 1 2 3 4 5 6 7; do
     5493       ac_script="$ac_script$as_nl$ac_script"
     5494     done
     5495     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
     5496     { ac_script=; unset ac_script;}
     5497     if test -z "$SED"; then
     5498  ac_path_SED_found=false
     5499  # Loop through the user's path and test for each of PROGNAME-LIST
     5500  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    53625501for as_dir in $PATH
    53635502do
    53645503  IFS=$as_save_IFS
    53655504  test -z "$as_dir" && as_dir=.
     5505    for ac_prog in sed gsed; do
    53665506    for ac_exec_ext in '' $ac_executable_extensions; do
    5367   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5368     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    5369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5370     break 2
    5371   fi
    5372 done
     5507      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
     5508      as_fn_executable_p "$ac_path_SED" || continue
     5509# Check for GNU ac_path_SED and select it if it is found.
     5510  # Check for GNU $ac_path_SED
     5511case `"$ac_path_SED" --version 2>&1` in
     5512*GNU*)
     5513  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
     5514*)
     5515  ac_count=0
     5516  $as_echo_n 0123456789 >"conftest.in"
     5517  while :
     5518  do
     5519    cat "conftest.in" "conftest.in" >"conftest.tmp"
     5520    mv "conftest.tmp" "conftest.in"
     5521    cp "conftest.in" "conftest.nl"
     5522    $as_echo '' >> "conftest.nl"
     5523    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
     5524    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     5525    as_fn_arith $ac_count + 1 && ac_count=$as_val
     5526    if test $ac_count -gt ${ac_path_SED_max-0}; then
     5527      # Best one so far, save it but keep looking for a better one
     5528      ac_cv_path_SED="$ac_path_SED"
     5529      ac_path_SED_max=$ac_count
     5530    fi
     5531    # 10*(2^10) chars as input seems more than enough
     5532    test $ac_count -gt 10 && break
     5533  done
     5534  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     5535esac
     5536
     5537      $ac_path_SED_found && break 3
     5538    done
     5539  done
    53735540  done
    53745541IFS=$as_save_IFS
    5375 
    5376 fi
    5377 fi
    5378 RANLIB=$ac_cv_prog_RANLIB
    5379 if test -n "$RANLIB"; then
    5380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    5381 $as_echo "$RANLIB" >&6; }
    5382 else
    5383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5384 $as_echo "no" >&6; }
    5385 fi
    5386 
    5387 
    5388 fi
    5389 if test -z "$ac_cv_prog_RANLIB"; then
    5390   ac_ct_RANLIB=$RANLIB
    5391   # Extract the first word of "ranlib", so it can be a program name with args.
    5392 set dummy ranlib; ac_word=$2
    5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5394 $as_echo_n "checking for $ac_word... " >&6; }
    5395 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    5396   $as_echo_n "(cached) " >&6
    5397 else
    5398   if test -n "$ac_ct_RANLIB"; then
    5399   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    5400 else
    5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5402 for as_dir in $PATH
    5403 do
    5404   IFS=$as_save_IFS
    5405   test -z "$as_dir" && as_dir=.
    5406     for ac_exec_ext in '' $ac_executable_extensions; do
    5407   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5408     ac_cv_prog_ac_ct_RANLIB="ranlib"
    5409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5410     break 2
     5542  if test -z "$ac_cv_path_SED"; then
     5543    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
    54115544  fi
    5412 done
    5413   done
    5414 IFS=$as_save_IFS
    5415 
    5416 fi
    5417 fi
    5418 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    5419 if test -n "$ac_ct_RANLIB"; then
    5420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    5421 $as_echo "$ac_ct_RANLIB" >&6; }
    5422 else
    5423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5424 $as_echo "no" >&6; }
    5425 fi
    5426 
    5427   if test "x$ac_ct_RANLIB" = x; then
    5428     RANLIB=":"
    5429   else
    5430     case $cross_compiling:$ac_tool_warned in
    5431 yes:)
    5432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    5433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    5434 ac_tool_warned=yes ;;
    5435 esac
    5436     RANLIB=$ac_ct_RANLIB
    5437   fi
    5438 else
    5439   RANLIB="$ac_cv_prog_RANLIB"
    5440 fi
    5441 
    5442 
    5443 # Checks for libraries.
    5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fibre::yield in -lfibre" >&5
    5445 $as_echo_n "checking for Fibre::yield in -lfibre... " >&6; }
    5446 if ${ac_cv_lib_fibre_Fibre__yield+:} false; then :
    5447   $as_echo_n "(cached) " >&6
    5448 else
    5449   ac_check_lib_save_LIBS=$LIBS
    5450 LIBS="-lfibre  $LIBS"
    5451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5452 /* end confdefs.h.  */
    5453 
    5454 /* Override any GCC internal prototype to avoid an error.
    5455    Use char because int might match the return type of a GCC
    5456    builtin and then its argument prototype would still apply.  */
    5457 #ifdef __cplusplus
    5458 extern "C"
    5459 #endif
    5460 char Fibre::yield ();
    5461 int
    5462 main ()
    5463 {
    5464 return Fibre::yield ();
    5465   ;
    5466   return 0;
    5467 }
    5468 _ACEOF
    5469 if ac_fn_c_try_link "$LINENO"; then :
    5470   ac_cv_lib_fibre_Fibre__yield=yes
    5471 else
    5472   ac_cv_lib_fibre_Fibre__yield=no
    5473 fi
    5474 rm -f core conftest.err conftest.$ac_objext \
    5475     conftest$ac_exeext conftest.$ac_ext
    5476 LIBS=$ac_check_lib_save_LIBS
    5477 fi
    5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fibre_Fibre__yield" >&5
    5479 $as_echo "$ac_cv_lib_fibre_Fibre__yield" >&6; }
    5480 if test "x$ac_cv_lib_fibre_Fibre__yield" = xyes; then :
    5481   HAVE_LIBFIBRE=1
    5482 else
    5483   HAVE_LIBFIBRE=0
    5484 fi
    5485 
    5486  if test "$HAVE_LIBFIBRE" -eq 1; then
    5487   WITH_LIBFIBRE_TRUE=
    5488   WITH_LIBFIBRE_FALSE='#'
    5489 else
    5490   WITH_LIBFIBRE_TRUE='#'
    5491   WITH_LIBFIBRE_FALSE=
    5492 fi
    5493 
    5494 
    5495 # Checks for header files.
    5496 ac_ext=c
    5497 ac_cpp='$CPP $CPPFLAGS'
    5498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    5502 $as_echo_n "checking how to run the C preprocessor... " >&6; }
    5503 # On Suns, sometimes $CPP names a directory.
    5504 if test -n "$CPP" && test -d "$CPP"; then
    5505   CPP=
    5506 fi
    5507 if test -z "$CPP"; then
    5508   if ${ac_cv_prog_CPP+:} false; then :
    5509   $as_echo_n "(cached) " >&6
    5510 else
    5511       # Double quotes because CPP needs to be expanded
    5512     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    5513     do
    5514       ac_preproc_ok=false
    5515 for ac_c_preproc_warn_flag in '' yes
    5516 do
    5517   # Use a header file that comes with gcc, so configuring glibc
    5518   # with a fresh cross-compiler works.
    5519   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5520   # <limits.h> exists even on freestanding compilers.
    5521   # On the NeXT, cc -E runs the code through the compiler's parser,
    5522   # not just through cpp. "Syntax error" is here to catch this case.
    5523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5524 /* end confdefs.h.  */
    5525 #ifdef __STDC__
    5526 # include <limits.h>
    5527 #else
    5528 # include <assert.h>
    5529 #endif
    5530                      Syntax error
    5531 _ACEOF
    5532 if ac_fn_c_try_cpp "$LINENO"; then :
    5533 
    5534 else
    5535   # Broken: fails on valid input.
    5536 continue
    5537 fi
    5538 rm -f conftest.err conftest.i conftest.$ac_ext
    5539 
    5540   # OK, works on sane cases.  Now check whether nonexistent headers
    5541   # can be detected and how.
    5542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5543 /* end confdefs.h.  */
    5544 #include <ac_nonexistent.h>
    5545 _ACEOF
    5546 if ac_fn_c_try_cpp "$LINENO"; then :
    5547   # Broken: success on invalid input.
    5548 continue
    5549 else
    5550   # Passes both tests.
    5551 ac_preproc_ok=:
    5552 break
    5553 fi
    5554 rm -f conftest.err conftest.i conftest.$ac_ext
    5555 
    5556 done
    5557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5558 rm -f conftest.i conftest.err conftest.$ac_ext
    5559 if $ac_preproc_ok; then :
    5560   break
    5561 fi
    5562 
    5563     done
    5564     ac_cv_prog_CPP=$CPP
    5565 
    5566 fi
    5567   CPP=$ac_cv_prog_CPP
    5568 else
    5569   ac_cv_prog_CPP=$CPP
    5570 fi
    5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    5572 $as_echo "$CPP" >&6; }
    5573 ac_preproc_ok=false
    5574 for ac_c_preproc_warn_flag in '' yes
    5575 do
    5576   # Use a header file that comes with gcc, so configuring glibc
    5577   # with a fresh cross-compiler works.
    5578   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    5579   # <limits.h> exists even on freestanding compilers.
    5580   # On the NeXT, cc -E runs the code through the compiler's parser,
    5581   # not just through cpp. "Syntax error" is here to catch this case.
    5582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5583 /* end confdefs.h.  */
    5584 #ifdef __STDC__
    5585 # include <limits.h>
    5586 #else
    5587 # include <assert.h>
    5588 #endif
    5589                      Syntax error
    5590 _ACEOF
    5591 if ac_fn_c_try_cpp "$LINENO"; then :
    5592 
    5593 else
    5594   # Broken: fails on valid input.
    5595 continue
    5596 fi
    5597 rm -f conftest.err conftest.i conftest.$ac_ext
    5598 
    5599   # OK, works on sane cases.  Now check whether nonexistent headers
    5600   # can be detected and how.
    5601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5602 /* end confdefs.h.  */
    5603 #include <ac_nonexistent.h>
    5604 _ACEOF
    5605 if ac_fn_c_try_cpp "$LINENO"; then :
    5606   # Broken: success on invalid input.
    5607 continue
    5608 else
    5609   # Passes both tests.
    5610 ac_preproc_ok=:
    5611 break
    5612 fi
    5613 rm -f conftest.err conftest.i conftest.$ac_ext
    5614 
    5615 done
    5616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    5617 rm -f conftest.i conftest.err conftest.$ac_ext
    5618 if $ac_preproc_ok; then :
    5619 
    5620 else
    5621   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    5622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    5623 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    5624 See \`config.log' for more details" "$LINENO" 5; }
    5625 fi
    5626 
    5627 ac_ext=c
    5628 ac_cpp='$CPP $CPPFLAGS'
    5629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    5630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    5631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5545else
     5546  ac_cv_path_SED=$SED
     5547fi
     5548
     5549fi
     5550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
     5551$as_echo "$ac_cv_path_SED" >&6; }
     5552 SED="$ac_cv_path_SED"
     5553  rm -f conftest.sed
     5554
     5555test -z "$SED" && SED=sed
     5556Xsed="$SED -e 1s/^X//"
     5557
     5558
     5559
     5560
     5561
     5562
     5563
     5564
     5565
    56325566
    56335567
     
    57625696
    57635697
     5698{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
     5699$as_echo_n "checking for fgrep... " >&6; }
     5700if ${ac_cv_path_FGREP+:} false; then :
     5701  $as_echo_n "(cached) " >&6
     5702else
     5703  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
     5704   then ac_cv_path_FGREP="$GREP -F"
     5705   else
     5706     if test -z "$FGREP"; then
     5707  ac_path_FGREP_found=false
     5708  # Loop through the user's path and test for each of PROGNAME-LIST
     5709  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5710for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     5711do
     5712  IFS=$as_save_IFS
     5713  test -z "$as_dir" && as_dir=.
     5714    for ac_prog in fgrep; do
     5715    for ac_exec_ext in '' $ac_executable_extensions; do
     5716      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
     5717      as_fn_executable_p "$ac_path_FGREP" || continue
     5718# Check for GNU ac_path_FGREP and select it if it is found.
     5719  # Check for GNU $ac_path_FGREP
     5720case `"$ac_path_FGREP" --version 2>&1` in
     5721*GNU*)
     5722  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
     5723*)
     5724  ac_count=0
     5725  $as_echo_n 0123456789 >"conftest.in"
     5726  while :
     5727  do
     5728    cat "conftest.in" "conftest.in" >"conftest.tmp"
     5729    mv "conftest.tmp" "conftest.in"
     5730    cp "conftest.in" "conftest.nl"
     5731    $as_echo 'FGREP' >> "conftest.nl"
     5732    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
     5733    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     5734    as_fn_arith $ac_count + 1 && ac_count=$as_val
     5735    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
     5736      # Best one so far, save it but keep looking for a better one
     5737      ac_cv_path_FGREP="$ac_path_FGREP"
     5738      ac_path_FGREP_max=$ac_count
     5739    fi
     5740    # 10*(2^10) chars as input seems more than enough
     5741    test $ac_count -gt 10 && break
     5742  done
     5743  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     5744esac
     5745
     5746      $ac_path_FGREP_found && break 3
     5747    done
     5748  done
     5749  done
     5750IFS=$as_save_IFS
     5751  if test -z "$ac_cv_path_FGREP"; then
     5752    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     5753  fi
     5754else
     5755  ac_cv_path_FGREP=$FGREP
     5756fi
     5757
     5758   fi
     5759fi
     5760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
     5761$as_echo "$ac_cv_path_FGREP" >&6; }
     5762 FGREP="$ac_cv_path_FGREP"
     5763
     5764
     5765test -z "$GREP" && GREP=grep
     5766
     5767
     5768
     5769
     5770
     5771
     5772
     5773
     5774
     5775
     5776
     5777
     5778
     5779
     5780
     5781
     5782
     5783
     5784
     5785# Check whether --with-gnu-ld was given.
     5786if test "${with_gnu_ld+set}" = set; then :
     5787  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
     5788else
     5789  with_gnu_ld=no
     5790fi
     5791
     5792ac_prog=ld
     5793if test yes = "$GCC"; then
     5794  # Check if gcc -print-prog-name=ld gives a path.
     5795  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     5796$as_echo_n "checking for ld used by $CC... " >&6; }
     5797  case $host in
     5798  *-*-mingw*)
     5799    # gcc leaves a trailing carriage return, which upsets mingw
     5800    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
     5801  *)
     5802    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
     5803  esac
     5804  case $ac_prog in
     5805    # Accept absolute paths.
     5806    [\\/]* | ?:[\\/]*)
     5807      re_direlt='/[^/][^/]*/\.\./'
     5808      # Canonicalize the pathname of ld
     5809      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
     5810      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
     5811        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
     5812      done
     5813      test -z "$LD" && LD=$ac_prog
     5814      ;;
     5815  "")
     5816    # If it fails, then pretend we aren't using GCC.
     5817    ac_prog=ld
     5818    ;;
     5819  *)
     5820    # If it is relative, then search for the first ld in PATH.
     5821    with_gnu_ld=unknown
     5822    ;;
     5823  esac
     5824elif test yes = "$with_gnu_ld"; then
     5825  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
     5826$as_echo_n "checking for GNU ld... " >&6; }
     5827else
     5828  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
     5829$as_echo_n "checking for non-GNU ld... " >&6; }
     5830fi
     5831if ${lt_cv_path_LD+:} false; then :
     5832  $as_echo_n "(cached) " >&6
     5833else
     5834  if test -z "$LD"; then
     5835  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     5836  for ac_dir in $PATH; do
     5837    IFS=$lt_save_ifs
     5838    test -z "$ac_dir" && ac_dir=.
     5839    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
     5840      lt_cv_path_LD=$ac_dir/$ac_prog
     5841      # Check to see if the program is GNU ld.  I'd rather use --version,
     5842      # but apparently some variants of GNU ld only accept -v.
     5843      # Break only if it was the GNU/non-GNU ld that we prefer.
     5844      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
     5845      *GNU* | *'with BFD'*)
     5846        test no != "$with_gnu_ld" && break
     5847        ;;
     5848      *)
     5849        test yes != "$with_gnu_ld" && break
     5850        ;;
     5851      esac
     5852    fi
     5853  done
     5854  IFS=$lt_save_ifs
     5855else
     5856  lt_cv_path_LD=$LD # Let the user override the test with a path.
     5857fi
     5858fi
     5859
     5860LD=$lt_cv_path_LD
     5861if test -n "$LD"; then
     5862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     5863$as_echo "$LD" >&6; }
     5864else
     5865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5866$as_echo "no" >&6; }
     5867fi
     5868test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
     5869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
     5870$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
     5871if ${lt_cv_prog_gnu_ld+:} false; then :
     5872  $as_echo_n "(cached) " >&6
     5873else
     5874  # I'd rather use --version here, but apparently some GNU lds only accept -v.
     5875case `$LD -v 2>&1 </dev/null` in
     5876*GNU* | *'with BFD'*)
     5877  lt_cv_prog_gnu_ld=yes
     5878  ;;
     5879*)
     5880  lt_cv_prog_gnu_ld=no
     5881  ;;
     5882esac
     5883fi
     5884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
     5885$as_echo "$lt_cv_prog_gnu_ld" >&6; }
     5886with_gnu_ld=$lt_cv_prog_gnu_ld
     5887
     5888
     5889
     5890
     5891
     5892
     5893
     5894
     5895
     5896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
     5897$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
     5898if ${lt_cv_path_NM+:} false; then :
     5899  $as_echo_n "(cached) " >&6
     5900else
     5901  if test -n "$NM"; then
     5902  # Let the user override the test.
     5903  lt_cv_path_NM=$NM
     5904else
     5905  lt_nm_to_check=${ac_tool_prefix}nm
     5906  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
     5907    lt_nm_to_check="$lt_nm_to_check nm"
     5908  fi
     5909  for lt_tmp_nm in $lt_nm_to_check; do
     5910    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     5911    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
     5912      IFS=$lt_save_ifs
     5913      test -z "$ac_dir" && ac_dir=.
     5914      tmp_nm=$ac_dir/$lt_tmp_nm
     5915      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
     5916        # Check to see if the nm accepts a BSD-compat flag.
     5917        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
     5918        #   nm: unknown option "B" ignored
     5919        # Tru64's nm complains that /dev/null is an invalid object file
     5920        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
     5921        case $build_os in
     5922        mingw*) lt_bad_file=conftest.nm/nofile ;;
     5923        *) lt_bad_file=/dev/null ;;
     5924        esac
     5925        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
     5926        *$lt_bad_file* | *'Invalid file or object type'*)
     5927          lt_cv_path_NM="$tmp_nm -B"
     5928          break 2
     5929          ;;
     5930        *)
     5931          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
     5932          */dev/null*)
     5933            lt_cv_path_NM="$tmp_nm -p"
     5934            break 2
     5935            ;;
     5936          *)
     5937            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
     5938            continue # so that we can try to find one that supports BSD flags
     5939            ;;
     5940          esac
     5941          ;;
     5942        esac
     5943      fi
     5944    done
     5945    IFS=$lt_save_ifs
     5946  done
     5947  : ${lt_cv_path_NM=no}
     5948fi
     5949fi
     5950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
     5951$as_echo "$lt_cv_path_NM" >&6; }
     5952if test no != "$lt_cv_path_NM"; then
     5953  NM=$lt_cv_path_NM
     5954else
     5955  # Didn't find any BSD compatible name lister, look for dumpbin.
     5956  if test -n "$DUMPBIN"; then :
     5957    # Let the user override the test.
     5958  else
     5959    if test -n "$ac_tool_prefix"; then
     5960  for ac_prog in dumpbin "link -dump"
     5961  do
     5962    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     5963set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     5964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5965$as_echo_n "checking for $ac_word... " >&6; }
     5966if ${ac_cv_prog_DUMPBIN+:} false; then :
     5967  $as_echo_n "(cached) " >&6
     5968else
     5969  if test -n "$DUMPBIN"; then
     5970  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
     5971else
     5972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5973for as_dir in $PATH
     5974do
     5975  IFS=$as_save_IFS
     5976  test -z "$as_dir" && as_dir=.
     5977    for ac_exec_ext in '' $ac_executable_extensions; do
     5978  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5979    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
     5980    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5981    break 2
     5982  fi
     5983done
     5984  done
     5985IFS=$as_save_IFS
     5986
     5987fi
     5988fi
     5989DUMPBIN=$ac_cv_prog_DUMPBIN
     5990if test -n "$DUMPBIN"; then
     5991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
     5992$as_echo "$DUMPBIN" >&6; }
     5993else
     5994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5995$as_echo "no" >&6; }
     5996fi
     5997
     5998
     5999    test -n "$DUMPBIN" && break
     6000  done
     6001fi
     6002if test -z "$DUMPBIN"; then
     6003  ac_ct_DUMPBIN=$DUMPBIN
     6004  for ac_prog in dumpbin "link -dump"
     6005do
     6006  # Extract the first word of "$ac_prog", so it can be a program name with args.
     6007set dummy $ac_prog; ac_word=$2
     6008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6009$as_echo_n "checking for $ac_word... " >&6; }
     6010if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
     6011  $as_echo_n "(cached) " >&6
     6012else
     6013  if test -n "$ac_ct_DUMPBIN"; then
     6014  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
     6015else
     6016as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6017for as_dir in $PATH
     6018do
     6019  IFS=$as_save_IFS
     6020  test -z "$as_dir" && as_dir=.
     6021    for ac_exec_ext in '' $ac_executable_extensions; do
     6022  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6023    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
     6024    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6025    break 2
     6026  fi
     6027done
     6028  done
     6029IFS=$as_save_IFS
     6030
     6031fi
     6032fi
     6033ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
     6034if test -n "$ac_ct_DUMPBIN"; then
     6035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
     6036$as_echo "$ac_ct_DUMPBIN" >&6; }
     6037else
     6038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6039$as_echo "no" >&6; }
     6040fi
     6041
     6042
     6043  test -n "$ac_ct_DUMPBIN" && break
     6044done
     6045
     6046  if test "x$ac_ct_DUMPBIN" = x; then
     6047    DUMPBIN=":"
     6048  else
     6049    case $cross_compiling:$ac_tool_warned in
     6050yes:)
     6051{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6052$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6053ac_tool_warned=yes ;;
     6054esac
     6055    DUMPBIN=$ac_ct_DUMPBIN
     6056  fi
     6057fi
     6058
     6059    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
     6060    *COFF*)
     6061      DUMPBIN="$DUMPBIN -symbols -headers"
     6062      ;;
     6063    *)
     6064      DUMPBIN=:
     6065      ;;
     6066    esac
     6067  fi
     6068
     6069  if test : != "$DUMPBIN"; then
     6070    NM=$DUMPBIN
     6071  fi
     6072fi
     6073test -z "$NM" && NM=nm
     6074
     6075
     6076
     6077
     6078
     6079
     6080{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
     6081$as_echo_n "checking the name lister ($NM) interface... " >&6; }
     6082if ${lt_cv_nm_interface+:} false; then :
     6083  $as_echo_n "(cached) " >&6
     6084else
     6085  lt_cv_nm_interface="BSD nm"
     6086  echo "int some_variable = 0;" > conftest.$ac_ext
     6087  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
     6088  (eval "$ac_compile" 2>conftest.err)
     6089  cat conftest.err >&5
     6090  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
     6091  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
     6092  cat conftest.err >&5
     6093  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
     6094  cat conftest.out >&5
     6095  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     6096    lt_cv_nm_interface="MS dumpbin"
     6097  fi
     6098  rm -f conftest*
     6099fi
     6100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
     6101$as_echo "$lt_cv_nm_interface" >&6; }
     6102
     6103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     6104$as_echo_n "checking whether ln -s works... " >&6; }
     6105LN_S=$as_ln_s
     6106if test "$LN_S" = "ln -s"; then
     6107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     6108$as_echo "yes" >&6; }
     6109else
     6110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     6111$as_echo "no, using $LN_S" >&6; }
     6112fi
     6113
     6114# find the maximum length of command line arguments
     6115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
     6116$as_echo_n "checking the maximum length of command line arguments... " >&6; }
     6117if ${lt_cv_sys_max_cmd_len+:} false; then :
     6118  $as_echo_n "(cached) " >&6
     6119else
     6120    i=0
     6121  teststring=ABCD
     6122
     6123  case $build_os in
     6124  msdosdjgpp*)
     6125    # On DJGPP, this test can blow up pretty badly due to problems in libc
     6126    # (any single argument exceeding 2000 bytes causes a buffer overrun
     6127    # during glob expansion).  Even if it were fixed, the result of this
     6128    # check would be larger than it should be.
     6129    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
     6130    ;;
     6131
     6132  gnu*)
     6133    # Under GNU Hurd, this test is not required because there is
     6134    # no limit to the length of command line arguments.
     6135    # Libtool will interpret -1 as no limit whatsoever
     6136    lt_cv_sys_max_cmd_len=-1;
     6137    ;;
     6138
     6139  cygwin* | mingw* | cegcc*)
     6140    # On Win9x/ME, this test blows up -- it succeeds, but takes
     6141    # about 5 minutes as the teststring grows exponentially.
     6142    # Worse, since 9x/ME are not pre-emptively multitasking,
     6143    # you end up with a "frozen" computer, even though with patience
     6144    # the test eventually succeeds (with a max line length of 256k).
     6145    # Instead, let's just punt: use the minimum linelength reported by
     6146    # all of the supported platforms: 8192 (on NT/2K/XP).
     6147    lt_cv_sys_max_cmd_len=8192;
     6148    ;;
     6149
     6150  mint*)
     6151    # On MiNT this can take a long time and run out of memory.
     6152    lt_cv_sys_max_cmd_len=8192;
     6153    ;;
     6154
     6155  amigaos*)
     6156    # On AmigaOS with pdksh, this test takes hours, literally.
     6157    # So we just punt and use a minimum line length of 8192.
     6158    lt_cv_sys_max_cmd_len=8192;
     6159    ;;
     6160
     6161  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
     6162    # This has been around since 386BSD, at least.  Likely further.
     6163    if test -x /sbin/sysctl; then
     6164      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
     6165    elif test -x /usr/sbin/sysctl; then
     6166      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
     6167    else
     6168      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
     6169    fi
     6170    # And add a safety zone
     6171    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     6172    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     6173    ;;
     6174
     6175  interix*)
     6176    # We know the value 262144 and hardcode it with a safety zone (like BSD)
     6177    lt_cv_sys_max_cmd_len=196608
     6178    ;;
     6179
     6180  os2*)
     6181    # The test takes a long time on OS/2.
     6182    lt_cv_sys_max_cmd_len=8192
     6183    ;;
     6184
     6185  osf*)
     6186    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     6187    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
     6188    # nice to cause kernel panics so lets avoid the loop below.
     6189    # First set a reasonable default.
     6190    lt_cv_sys_max_cmd_len=16384
     6191    #
     6192    if test -x /sbin/sysconfig; then
     6193      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
     6194        *1*) lt_cv_sys_max_cmd_len=-1 ;;
     6195      esac
     6196    fi
     6197    ;;
     6198  sco3.2v5*)
     6199    lt_cv_sys_max_cmd_len=102400
     6200    ;;
     6201  sysv5* | sco5v6* | sysv4.2uw2*)
     6202    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
     6203    if test -n "$kargmax"; then
     6204      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
     6205    else
     6206      lt_cv_sys_max_cmd_len=32768
     6207    fi
     6208    ;;
     6209  *)
     6210    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
     6211    if test -n "$lt_cv_sys_max_cmd_len" && \
     6212       test undefined != "$lt_cv_sys_max_cmd_len"; then
     6213      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     6214      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     6215    else
     6216      # Make teststring a little bigger before we do anything with it.
     6217      # a 1K string should be a reasonable start.
     6218      for i in 1 2 3 4 5 6 7 8; do
     6219        teststring=$teststring$teststring
     6220      done
     6221      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
     6222      # If test is not a shell built-in, we'll probably end up computing a
     6223      # maximum length that is only half of the actual maximum length, but
     6224      # we can't tell.
     6225      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
     6226                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
     6227              test 17 != "$i" # 1/2 MB should be enough
     6228      do
     6229        i=`expr $i + 1`
     6230        teststring=$teststring$teststring
     6231      done
     6232      # Only check the string length outside the loop.
     6233      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
     6234      teststring=
     6235      # Add a significant safety factor because C++ compilers can tack on
     6236      # massive amounts of additional arguments before passing them to the
     6237      # linker.  It appears as though 1/2 is a usable value.
     6238      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
     6239    fi
     6240    ;;
     6241  esac
     6242
     6243fi
     6244
     6245if test -n "$lt_cv_sys_max_cmd_len"; then
     6246  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
     6247$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
     6248else
     6249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
     6250$as_echo "none" >&6; }
     6251fi
     6252max_cmd_len=$lt_cv_sys_max_cmd_len
     6253
     6254
     6255
     6256
     6257
     6258
     6259: ${CP="cp -f"}
     6260: ${MV="mv -f"}
     6261: ${RM="rm -f"}
     6262
     6263if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     6264  lt_unset=unset
     6265else
     6266  lt_unset=false
     6267fi
     6268
     6269
     6270
     6271
     6272
     6273# test EBCDIC or ASCII
     6274case `echo X|tr X '\101'` in
     6275 A) # ASCII based system
     6276    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
     6277  lt_SP2NL='tr \040 \012'
     6278  lt_NL2SP='tr \015\012 \040\040'
     6279  ;;
     6280 *) # EBCDIC based system
     6281  lt_SP2NL='tr \100 \n'
     6282  lt_NL2SP='tr \r\n \100\100'
     6283  ;;
     6284esac
     6285
     6286
     6287
     6288
     6289
     6290
     6291
     6292
     6293
     6294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
     6295$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
     6296if ${lt_cv_to_host_file_cmd+:} false; then :
     6297  $as_echo_n "(cached) " >&6
     6298else
     6299  case $host in
     6300  *-*-mingw* )
     6301    case $build in
     6302      *-*-mingw* ) # actually msys
     6303        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
     6304        ;;
     6305      *-*-cygwin* )
     6306        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
     6307        ;;
     6308      * ) # otherwise, assume *nix
     6309        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
     6310        ;;
     6311    esac
     6312    ;;
     6313  *-*-cygwin* )
     6314    case $build in
     6315      *-*-mingw* ) # actually msys
     6316        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
     6317        ;;
     6318      *-*-cygwin* )
     6319        lt_cv_to_host_file_cmd=func_convert_file_noop
     6320        ;;
     6321      * ) # otherwise, assume *nix
     6322        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
     6323        ;;
     6324    esac
     6325    ;;
     6326  * ) # unhandled hosts (and "normal" native builds)
     6327    lt_cv_to_host_file_cmd=func_convert_file_noop
     6328    ;;
     6329esac
     6330
     6331fi
     6332
     6333to_host_file_cmd=$lt_cv_to_host_file_cmd
     6334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
     6335$as_echo "$lt_cv_to_host_file_cmd" >&6; }
     6336
     6337
     6338
     6339
     6340
     6341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
     6342$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
     6343if ${lt_cv_to_tool_file_cmd+:} false; then :
     6344  $as_echo_n "(cached) " >&6
     6345else
     6346  #assume ordinary cross tools, or native build.
     6347lt_cv_to_tool_file_cmd=func_convert_file_noop
     6348case $host in
     6349  *-*-mingw* )
     6350    case $build in
     6351      *-*-mingw* ) # actually msys
     6352        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
     6353        ;;
     6354    esac
     6355    ;;
     6356esac
     6357
     6358fi
     6359
     6360to_tool_file_cmd=$lt_cv_to_tool_file_cmd
     6361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
     6362$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
     6363
     6364
     6365
     6366
     6367
     6368{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
     6369$as_echo_n "checking for $LD option to reload object files... " >&6; }
     6370if ${lt_cv_ld_reload_flag+:} false; then :
     6371  $as_echo_n "(cached) " >&6
     6372else
     6373  lt_cv_ld_reload_flag='-r'
     6374fi
     6375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
     6376$as_echo "$lt_cv_ld_reload_flag" >&6; }
     6377reload_flag=$lt_cv_ld_reload_flag
     6378case $reload_flag in
     6379"" | " "*) ;;
     6380*) reload_flag=" $reload_flag" ;;
     6381esac
     6382reload_cmds='$LD$reload_flag -o $output$reload_objs'
     6383case $host_os in
     6384  cygwin* | mingw* | pw32* | cegcc*)
     6385    if test yes != "$GCC"; then
     6386      reload_cmds=false
     6387    fi
     6388    ;;
     6389  darwin*)
     6390    if test yes = "$GCC"; then
     6391      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
     6392    else
     6393      reload_cmds='$LD$reload_flag -o $output$reload_objs'
     6394    fi
     6395    ;;
     6396esac
     6397
     6398
     6399
     6400
     6401
     6402
     6403
     6404
     6405
     6406if test -n "$ac_tool_prefix"; then
     6407  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
     6408set dummy ${ac_tool_prefix}objdump; ac_word=$2
     6409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6410$as_echo_n "checking for $ac_word... " >&6; }
     6411if ${ac_cv_prog_OBJDUMP+:} false; then :
     6412  $as_echo_n "(cached) " >&6
     6413else
     6414  if test -n "$OBJDUMP"; then
     6415  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
     6416else
     6417as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6418for as_dir in $PATH
     6419do
     6420  IFS=$as_save_IFS
     6421  test -z "$as_dir" && as_dir=.
     6422    for ac_exec_ext in '' $ac_executable_extensions; do
     6423  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6424    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
     6425    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6426    break 2
     6427  fi
     6428done
     6429  done
     6430IFS=$as_save_IFS
     6431
     6432fi
     6433fi
     6434OBJDUMP=$ac_cv_prog_OBJDUMP
     6435if test -n "$OBJDUMP"; then
     6436  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
     6437$as_echo "$OBJDUMP" >&6; }
     6438else
     6439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6440$as_echo "no" >&6; }
     6441fi
     6442
     6443
     6444fi
     6445if test -z "$ac_cv_prog_OBJDUMP"; then
     6446  ac_ct_OBJDUMP=$OBJDUMP
     6447  # Extract the first word of "objdump", so it can be a program name with args.
     6448set dummy objdump; ac_word=$2
     6449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6450$as_echo_n "checking for $ac_word... " >&6; }
     6451if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
     6452  $as_echo_n "(cached) " >&6
     6453else
     6454  if test -n "$ac_ct_OBJDUMP"; then
     6455  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
     6456else
     6457as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6458for as_dir in $PATH
     6459do
     6460  IFS=$as_save_IFS
     6461  test -z "$as_dir" && as_dir=.
     6462    for ac_exec_ext in '' $ac_executable_extensions; do
     6463  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6464    ac_cv_prog_ac_ct_OBJDUMP="objdump"
     6465    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6466    break 2
     6467  fi
     6468done
     6469  done
     6470IFS=$as_save_IFS
     6471
     6472fi
     6473fi
     6474ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
     6475if test -n "$ac_ct_OBJDUMP"; then
     6476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
     6477$as_echo "$ac_ct_OBJDUMP" >&6; }
     6478else
     6479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6480$as_echo "no" >&6; }
     6481fi
     6482
     6483  if test "x$ac_ct_OBJDUMP" = x; then
     6484    OBJDUMP="false"
     6485  else
     6486    case $cross_compiling:$ac_tool_warned in
     6487yes:)
     6488{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6489$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6490ac_tool_warned=yes ;;
     6491esac
     6492    OBJDUMP=$ac_ct_OBJDUMP
     6493  fi
     6494else
     6495  OBJDUMP="$ac_cv_prog_OBJDUMP"
     6496fi
     6497
     6498test -z "$OBJDUMP" && OBJDUMP=objdump
     6499
     6500
     6501
     6502
     6503
     6504
     6505
     6506
     6507
     6508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
     6509$as_echo_n "checking how to recognize dependent libraries... " >&6; }
     6510if ${lt_cv_deplibs_check_method+:} false; then :
     6511  $as_echo_n "(cached) " >&6
     6512else
     6513  lt_cv_file_magic_cmd='$MAGIC_CMD'
     6514lt_cv_file_magic_test_file=
     6515lt_cv_deplibs_check_method='unknown'
     6516# Need to set the preceding variable on all platforms that support
     6517# interlibrary dependencies.
     6518# 'none' -- dependencies not supported.
     6519# 'unknown' -- same as none, but documents that we really don't know.
     6520# 'pass_all' -- all dependencies passed with no checks.
     6521# 'test_compile' -- check by making test program.
     6522# 'file_magic [[regex]]' -- check by looking for files in library path
     6523# that responds to the $file_magic_cmd with a given extended regex.
     6524# If you have 'file' or equivalent on your system and you're not sure
     6525# whether 'pass_all' will *always* work, you probably want this one.
     6526
     6527case $host_os in
     6528aix[4-9]*)
     6529  lt_cv_deplibs_check_method=pass_all
     6530  ;;
     6531
     6532beos*)
     6533  lt_cv_deplibs_check_method=pass_all
     6534  ;;
     6535
     6536bsdi[45]*)
     6537  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     6538  lt_cv_file_magic_cmd='/usr/bin/file -L'
     6539  lt_cv_file_magic_test_file=/shlib/libc.so
     6540  ;;
     6541
     6542cygwin*)
     6543  # func_win32_libid is a shell function defined in ltmain.sh
     6544  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     6545  lt_cv_file_magic_cmd='func_win32_libid'
     6546  ;;
     6547
     6548mingw* | pw32*)
     6549  # Base MSYS/MinGW do not provide the 'file' command needed by
     6550  # func_win32_libid shell function, so use a weaker test based on 'objdump',
     6551  # unless we find 'file', for example because we are cross-compiling.
     6552  if ( file / ) >/dev/null 2>&1; then
     6553    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     6554    lt_cv_file_magic_cmd='func_win32_libid'
     6555  else
     6556    # Keep this pattern in sync with the one in func_win32_libid.
     6557    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
     6558    lt_cv_file_magic_cmd='$OBJDUMP -f'
     6559  fi
     6560  ;;
     6561
     6562cegcc*)
     6563  # use the weaker test based on 'objdump'. See mingw*.
     6564  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
     6565  lt_cv_file_magic_cmd='$OBJDUMP -f'
     6566  ;;
     6567
     6568darwin* | rhapsody*)
     6569  lt_cv_deplibs_check_method=pass_all
     6570  ;;
     6571
     6572freebsd* | dragonfly*)
     6573  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     6574    case $host_cpu in
     6575    i*86 )
     6576      # Not sure whether the presence of OpenBSD here was a mistake.
     6577      # Let's accept both of them until this is cleared up.
     6578      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
     6579      lt_cv_file_magic_cmd=/usr/bin/file
     6580      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
     6581      ;;
     6582    esac
     6583  else
     6584    lt_cv_deplibs_check_method=pass_all
     6585  fi
     6586  ;;
     6587
     6588haiku*)
     6589  lt_cv_deplibs_check_method=pass_all
     6590  ;;
     6591
     6592hpux10.20* | hpux11*)
     6593  lt_cv_file_magic_cmd=/usr/bin/file
     6594  case $host_cpu in
     6595  ia64*)
     6596    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     6597    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     6598    ;;
     6599  hppa*64*)
     6600    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]'
     6601    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
     6602    ;;
     6603  *)
     6604    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
     6605    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     6606    ;;
     6607  esac
     6608  ;;
     6609
     6610interix[3-9]*)
     6611  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
     6612  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
     6613  ;;
     6614
     6615irix5* | irix6* | nonstopux*)
     6616  case $LD in
     6617  *-32|*"-32 ") libmagic=32-bit;;
     6618  *-n32|*"-n32 ") libmagic=N32;;
     6619  *-64|*"-64 ") libmagic=64-bit;;
     6620  *) libmagic=never-match;;
     6621  esac
     6622  lt_cv_deplibs_check_method=pass_all
     6623  ;;
     6624
     6625# This must be glibc/ELF.
     6626linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     6627  lt_cv_deplibs_check_method=pass_all
     6628  ;;
     6629
     6630netbsd* | netbsdelf*-gnu)
     6631  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     6632    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
     6633  else
     6634    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
     6635  fi
     6636  ;;
     6637
     6638newos6*)
     6639  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     6640  lt_cv_file_magic_cmd=/usr/bin/file
     6641  lt_cv_file_magic_test_file=/usr/lib/libnls.so
     6642  ;;
     6643
     6644*nto* | *qnx*)
     6645  lt_cv_deplibs_check_method=pass_all
     6646  ;;
     6647
     6648openbsd* | bitrig*)
     6649  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     6650    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
     6651  else
     6652    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
     6653  fi
     6654  ;;
     6655
     6656osf3* | osf4* | osf5*)
     6657  lt_cv_deplibs_check_method=pass_all
     6658  ;;
     6659
     6660rdos*)
     6661  lt_cv_deplibs_check_method=pass_all
     6662  ;;
     6663
     6664solaris*)
     6665  lt_cv_deplibs_check_method=pass_all
     6666  ;;
     6667
     6668sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     6669  lt_cv_deplibs_check_method=pass_all
     6670  ;;
     6671
     6672sysv4 | sysv4.3*)
     6673  case $host_vendor in
     6674  motorola)
     6675    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]'
     6676    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     6677    ;;
     6678  ncr)
     6679    lt_cv_deplibs_check_method=pass_all
     6680    ;;
     6681  sequent)
     6682    lt_cv_file_magic_cmd='/bin/file'
     6683    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
     6684    ;;
     6685  sni)
     6686    lt_cv_file_magic_cmd='/bin/file'
     6687    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
     6688    lt_cv_file_magic_test_file=/lib/libc.so
     6689    ;;
     6690  siemens)
     6691    lt_cv_deplibs_check_method=pass_all
     6692    ;;
     6693  pc)
     6694    lt_cv_deplibs_check_method=pass_all
     6695    ;;
     6696  esac
     6697  ;;
     6698
     6699tpf*)
     6700  lt_cv_deplibs_check_method=pass_all
     6701  ;;
     6702os2*)
     6703  lt_cv_deplibs_check_method=pass_all
     6704  ;;
     6705esac
     6706
     6707fi
     6708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
     6709$as_echo "$lt_cv_deplibs_check_method" >&6; }
     6710
     6711file_magic_glob=
     6712want_nocaseglob=no
     6713if test "$build" = "$host"; then
     6714  case $host_os in
     6715  mingw* | pw32*)
     6716    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
     6717      want_nocaseglob=yes
     6718    else
     6719      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
     6720    fi
     6721    ;;
     6722  esac
     6723fi
     6724
     6725file_magic_cmd=$lt_cv_file_magic_cmd
     6726deplibs_check_method=$lt_cv_deplibs_check_method
     6727test -z "$deplibs_check_method" && deplibs_check_method=unknown
     6728
     6729
     6730
     6731
     6732
     6733
     6734
     6735
     6736
     6737
     6738
     6739
     6740
     6741
     6742
     6743
     6744
     6745
     6746
     6747
     6748
     6749
     6750if test -n "$ac_tool_prefix"; then
     6751  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
     6752set dummy ${ac_tool_prefix}dlltool; ac_word=$2
     6753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6754$as_echo_n "checking for $ac_word... " >&6; }
     6755if ${ac_cv_prog_DLLTOOL+:} false; then :
     6756  $as_echo_n "(cached) " >&6
     6757else
     6758  if test -n "$DLLTOOL"; then
     6759  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
     6760else
     6761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6762for as_dir in $PATH
     6763do
     6764  IFS=$as_save_IFS
     6765  test -z "$as_dir" && as_dir=.
     6766    for ac_exec_ext in '' $ac_executable_extensions; do
     6767  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6768    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
     6769    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6770    break 2
     6771  fi
     6772done
     6773  done
     6774IFS=$as_save_IFS
     6775
     6776fi
     6777fi
     6778DLLTOOL=$ac_cv_prog_DLLTOOL
     6779if test -n "$DLLTOOL"; then
     6780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
     6781$as_echo "$DLLTOOL" >&6; }
     6782else
     6783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6784$as_echo "no" >&6; }
     6785fi
     6786
     6787
     6788fi
     6789if test -z "$ac_cv_prog_DLLTOOL"; then
     6790  ac_ct_DLLTOOL=$DLLTOOL
     6791  # Extract the first word of "dlltool", so it can be a program name with args.
     6792set dummy dlltool; ac_word=$2
     6793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6794$as_echo_n "checking for $ac_word... " >&6; }
     6795if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
     6796  $as_echo_n "(cached) " >&6
     6797else
     6798  if test -n "$ac_ct_DLLTOOL"; then
     6799  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
     6800else
     6801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6802for as_dir in $PATH
     6803do
     6804  IFS=$as_save_IFS
     6805  test -z "$as_dir" && as_dir=.
     6806    for ac_exec_ext in '' $ac_executable_extensions; do
     6807  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6808    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
     6809    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6810    break 2
     6811  fi
     6812done
     6813  done
     6814IFS=$as_save_IFS
     6815
     6816fi
     6817fi
     6818ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
     6819if test -n "$ac_ct_DLLTOOL"; then
     6820  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
     6821$as_echo "$ac_ct_DLLTOOL" >&6; }
     6822else
     6823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6824$as_echo "no" >&6; }
     6825fi
     6826
     6827  if test "x$ac_ct_DLLTOOL" = x; then
     6828    DLLTOOL="false"
     6829  else
     6830    case $cross_compiling:$ac_tool_warned in
     6831yes:)
     6832{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6833$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6834ac_tool_warned=yes ;;
     6835esac
     6836    DLLTOOL=$ac_ct_DLLTOOL
     6837  fi
     6838else
     6839  DLLTOOL="$ac_cv_prog_DLLTOOL"
     6840fi
     6841
     6842test -z "$DLLTOOL" && DLLTOOL=dlltool
     6843
     6844
     6845
     6846
     6847
     6848
     6849
     6850
     6851
     6852
     6853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
     6854$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
     6855if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
     6856  $as_echo_n "(cached) " >&6
     6857else
     6858  lt_cv_sharedlib_from_linklib_cmd='unknown'
     6859
     6860case $host_os in
     6861cygwin* | mingw* | pw32* | cegcc*)
     6862  # two different shell functions defined in ltmain.sh;
     6863  # decide which one to use based on capabilities of $DLLTOOL
     6864  case `$DLLTOOL --help 2>&1` in
     6865  *--identify-strict*)
     6866    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
     6867    ;;
     6868  *)
     6869    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
     6870    ;;
     6871  esac
     6872  ;;
     6873*)
     6874  # fallback: assume linklib IS sharedlib
     6875  lt_cv_sharedlib_from_linklib_cmd=$ECHO
     6876  ;;
     6877esac
     6878
     6879fi
     6880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
     6881$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
     6882sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
     6883test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
     6884
     6885
     6886
     6887
     6888
     6889
     6890
     6891if test -n "$ac_tool_prefix"; then
     6892  for ac_prog in ar
     6893  do
     6894    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     6895set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     6896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6897$as_echo_n "checking for $ac_word... " >&6; }
     6898if ${ac_cv_prog_AR+:} false; then :
     6899  $as_echo_n "(cached) " >&6
     6900else
     6901  if test -n "$AR"; then
     6902  ac_cv_prog_AR="$AR" # Let the user override the test.
     6903else
     6904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6905for as_dir in $PATH
     6906do
     6907  IFS=$as_save_IFS
     6908  test -z "$as_dir" && as_dir=.
     6909    for ac_exec_ext in '' $ac_executable_extensions; do
     6910  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6911    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
     6912    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6913    break 2
     6914  fi
     6915done
     6916  done
     6917IFS=$as_save_IFS
     6918
     6919fi
     6920fi
     6921AR=$ac_cv_prog_AR
     6922if test -n "$AR"; then
     6923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     6924$as_echo "$AR" >&6; }
     6925else
     6926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6927$as_echo "no" >&6; }
     6928fi
     6929
     6930
     6931    test -n "$AR" && break
     6932  done
     6933fi
     6934if test -z "$AR"; then
     6935  ac_ct_AR=$AR
     6936  for ac_prog in ar
     6937do
     6938  # Extract the first word of "$ac_prog", so it can be a program name with args.
     6939set dummy $ac_prog; ac_word=$2
     6940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6941$as_echo_n "checking for $ac_word... " >&6; }
     6942if ${ac_cv_prog_ac_ct_AR+:} false; then :
     6943  $as_echo_n "(cached) " >&6
     6944else
     6945  if test -n "$ac_ct_AR"; then
     6946  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
     6947else
     6948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6949for as_dir in $PATH
     6950do
     6951  IFS=$as_save_IFS
     6952  test -z "$as_dir" && as_dir=.
     6953    for ac_exec_ext in '' $ac_executable_extensions; do
     6954  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6955    ac_cv_prog_ac_ct_AR="$ac_prog"
     6956    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6957    break 2
     6958  fi
     6959done
     6960  done
     6961IFS=$as_save_IFS
     6962
     6963fi
     6964fi
     6965ac_ct_AR=$ac_cv_prog_ac_ct_AR
     6966if test -n "$ac_ct_AR"; then
     6967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
     6968$as_echo "$ac_ct_AR" >&6; }
     6969else
     6970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6971$as_echo "no" >&6; }
     6972fi
     6973
     6974
     6975  test -n "$ac_ct_AR" && break
     6976done
     6977
     6978  if test "x$ac_ct_AR" = x; then
     6979    AR="false"
     6980  else
     6981    case $cross_compiling:$ac_tool_warned in
     6982yes:)
     6983{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6984$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6985ac_tool_warned=yes ;;
     6986esac
     6987    AR=$ac_ct_AR
     6988  fi
     6989fi
     6990
     6991: ${AR=ar}
     6992: ${AR_FLAGS=cru}
     6993
     6994
     6995
     6996
     6997
     6998
     6999
     7000
     7001
     7002
     7003
     7004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
     7005$as_echo_n "checking for archiver @FILE support... " >&6; }
     7006if ${lt_cv_ar_at_file+:} false; then :
     7007  $as_echo_n "(cached) " >&6
     7008else
     7009  lt_cv_ar_at_file=no
     7010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7011/* end confdefs.h.  */
     7012
     7013int
     7014main ()
     7015{
     7016
     7017  ;
     7018  return 0;
     7019}
     7020_ACEOF
     7021if ac_fn_c_try_compile "$LINENO"; then :
     7022  echo conftest.$ac_objext > conftest.lst
     7023      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
     7024      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     7025  (eval $lt_ar_try) 2>&5
     7026  ac_status=$?
     7027  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7028  test $ac_status = 0; }
     7029      if test 0 -eq "$ac_status"; then
     7030        # Ensure the archiver fails upon bogus file names.
     7031        rm -f conftest.$ac_objext libconftest.a
     7032        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     7033  (eval $lt_ar_try) 2>&5
     7034  ac_status=$?
     7035  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7036  test $ac_status = 0; }
     7037        if test 0 -ne "$ac_status"; then
     7038          lt_cv_ar_at_file=@
     7039        fi
     7040      fi
     7041      rm -f conftest.* libconftest.a
     7042
     7043fi
     7044rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7045
     7046fi
     7047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
     7048$as_echo "$lt_cv_ar_at_file" >&6; }
     7049
     7050if test no = "$lt_cv_ar_at_file"; then
     7051  archiver_list_spec=
     7052else
     7053  archiver_list_spec=$lt_cv_ar_at_file
     7054fi
     7055
     7056
     7057
     7058
     7059
     7060
     7061
     7062if test -n "$ac_tool_prefix"; then
     7063  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     7064set dummy ${ac_tool_prefix}strip; ac_word=$2
     7065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7066$as_echo_n "checking for $ac_word... " >&6; }
     7067if ${ac_cv_prog_STRIP+:} false; then :
     7068  $as_echo_n "(cached) " >&6
     7069else
     7070  if test -n "$STRIP"; then
     7071  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
     7072else
     7073as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7074for as_dir in $PATH
     7075do
     7076  IFS=$as_save_IFS
     7077  test -z "$as_dir" && as_dir=.
     7078    for ac_exec_ext in '' $ac_executable_extensions; do
     7079  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7080    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     7081    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7082    break 2
     7083  fi
     7084done
     7085  done
     7086IFS=$as_save_IFS
     7087
     7088fi
     7089fi
     7090STRIP=$ac_cv_prog_STRIP
     7091if test -n "$STRIP"; then
     7092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
     7093$as_echo "$STRIP" >&6; }
     7094else
     7095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7096$as_echo "no" >&6; }
     7097fi
     7098
     7099
     7100fi
     7101if test -z "$ac_cv_prog_STRIP"; then
     7102  ac_ct_STRIP=$STRIP
     7103  # Extract the first word of "strip", so it can be a program name with args.
     7104set dummy strip; ac_word=$2
     7105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7106$as_echo_n "checking for $ac_word... " >&6; }
     7107if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
     7108  $as_echo_n "(cached) " >&6
     7109else
     7110  if test -n "$ac_ct_STRIP"; then
     7111  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     7112else
     7113as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7114for as_dir in $PATH
     7115do
     7116  IFS=$as_save_IFS
     7117  test -z "$as_dir" && as_dir=.
     7118    for ac_exec_ext in '' $ac_executable_extensions; do
     7119  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7120    ac_cv_prog_ac_ct_STRIP="strip"
     7121    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7122    break 2
     7123  fi
     7124done
     7125  done
     7126IFS=$as_save_IFS
     7127
     7128fi
     7129fi
     7130ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     7131if test -n "$ac_ct_STRIP"; then
     7132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
     7133$as_echo "$ac_ct_STRIP" >&6; }
     7134else
     7135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7136$as_echo "no" >&6; }
     7137fi
     7138
     7139  if test "x$ac_ct_STRIP" = x; then
     7140    STRIP=":"
     7141  else
     7142    case $cross_compiling:$ac_tool_warned in
     7143yes:)
     7144{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7145$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7146ac_tool_warned=yes ;;
     7147esac
     7148    STRIP=$ac_ct_STRIP
     7149  fi
     7150else
     7151  STRIP="$ac_cv_prog_STRIP"
     7152fi
     7153
     7154test -z "$STRIP" && STRIP=:
     7155
     7156
     7157
     7158
     7159
     7160
     7161if test -n "$ac_tool_prefix"; then
     7162  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     7163set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     7164{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7165$as_echo_n "checking for $ac_word... " >&6; }
     7166if ${ac_cv_prog_RANLIB+:} false; then :
     7167  $as_echo_n "(cached) " >&6
     7168else
     7169  if test -n "$RANLIB"; then
     7170  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     7171else
     7172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7173for as_dir in $PATH
     7174do
     7175  IFS=$as_save_IFS
     7176  test -z "$as_dir" && as_dir=.
     7177    for ac_exec_ext in '' $ac_executable_extensions; do
     7178  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7179    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     7180    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7181    break 2
     7182  fi
     7183done
     7184  done
     7185IFS=$as_save_IFS
     7186
     7187fi
     7188fi
     7189RANLIB=$ac_cv_prog_RANLIB
     7190if test -n "$RANLIB"; then
     7191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     7192$as_echo "$RANLIB" >&6; }
     7193else
     7194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7195$as_echo "no" >&6; }
     7196fi
     7197
     7198
     7199fi
     7200if test -z "$ac_cv_prog_RANLIB"; then
     7201  ac_ct_RANLIB=$RANLIB
     7202  # Extract the first word of "ranlib", so it can be a program name with args.
     7203set dummy ranlib; ac_word=$2
     7204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7205$as_echo_n "checking for $ac_word... " >&6; }
     7206if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     7207  $as_echo_n "(cached) " >&6
     7208else
     7209  if test -n "$ac_ct_RANLIB"; then
     7210  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     7211else
     7212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7213for as_dir in $PATH
     7214do
     7215  IFS=$as_save_IFS
     7216  test -z "$as_dir" && as_dir=.
     7217    for ac_exec_ext in '' $ac_executable_extensions; do
     7218  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7219    ac_cv_prog_ac_ct_RANLIB="ranlib"
     7220    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7221    break 2
     7222  fi
     7223done
     7224  done
     7225IFS=$as_save_IFS
     7226
     7227fi
     7228fi
     7229ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     7230if test -n "$ac_ct_RANLIB"; then
     7231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     7232$as_echo "$ac_ct_RANLIB" >&6; }
     7233else
     7234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7235$as_echo "no" >&6; }
     7236fi
     7237
     7238  if test "x$ac_ct_RANLIB" = x; then
     7239    RANLIB=":"
     7240  else
     7241    case $cross_compiling:$ac_tool_warned in
     7242yes:)
     7243{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7244$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7245ac_tool_warned=yes ;;
     7246esac
     7247    RANLIB=$ac_ct_RANLIB
     7248  fi
     7249else
     7250  RANLIB="$ac_cv_prog_RANLIB"
     7251fi
     7252
     7253test -z "$RANLIB" && RANLIB=:
     7254
     7255
     7256
     7257
     7258
     7259
     7260# Determine commands to create old-style static archives.
     7261old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
     7262old_postinstall_cmds='chmod 644 $oldlib'
     7263old_postuninstall_cmds=
     7264
     7265if test -n "$RANLIB"; then
     7266  case $host_os in
     7267  bitrig* | openbsd*)
     7268    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
     7269    ;;
     7270  *)
     7271    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
     7272    ;;
     7273  esac
     7274  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
     7275fi
     7276
     7277case $host_os in
     7278  darwin*)
     7279    lock_old_archive_extraction=yes ;;
     7280  *)
     7281    lock_old_archive_extraction=no ;;
     7282esac
     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
     7321
     7322# If no C compiler was specified, use CC.
     7323LTCC=${LTCC-"$CC"}
     7324
     7325# If no C compiler flags were specified, use CFLAGS.
     7326LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     7327
     7328# Allow CC to be a program name with arguments.
     7329compiler=$CC
     7330
     7331
     7332# Check for command to grab the raw symbol name followed by C symbol from nm.
     7333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
     7334$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
     7335if ${lt_cv_sys_global_symbol_pipe+:} false; then :
     7336  $as_echo_n "(cached) " >&6
     7337else
     7338
     7339# These are sane defaults that work on at least a few old systems.
     7340# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
     7341
     7342# Character class describing NM global symbol codes.
     7343symcode='[BCDEGRST]'
     7344
     7345# Regexp to match symbols that can be accessed directly from C.
     7346sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
     7347
     7348# Define system-specific variables.
     7349case $host_os in
     7350aix*)
     7351  symcode='[BCDT]'
     7352  ;;
     7353cygwin* | mingw* | pw32* | cegcc*)
     7354  symcode='[ABCDGISTW]'
     7355  ;;
     7356hpux*)
     7357  if test ia64 = "$host_cpu"; then
     7358    symcode='[ABCDEGRST]'
     7359  fi
     7360  ;;
     7361irix* | nonstopux*)
     7362  symcode='[BCDEGRST]'
     7363  ;;
     7364osf*)
     7365  symcode='[BCDEGQRST]'
     7366  ;;
     7367solaris*)
     7368  symcode='[BDRT]'
     7369  ;;
     7370sco3.2v5*)
     7371  symcode='[DT]'
     7372  ;;
     7373sysv4.2uw2*)
     7374  symcode='[DT]'
     7375  ;;
     7376sysv5* | sco5v6* | unixware* | OpenUNIX*)
     7377  symcode='[ABDT]'
     7378  ;;
     7379sysv4)
     7380  symcode='[DFNSTU]'
     7381  ;;
     7382esac
     7383
     7384# If we're using GNU nm, then use its standard symbol codes.
     7385case `$NM -V 2>&1` in
     7386*GNU* | *'with BFD'*)
     7387  symcode='[ABCDGIRSTW]' ;;
     7388esac
     7389
     7390if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     7391  # Gets list of data symbols to import.
     7392  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
     7393  # Adjust the below global symbol transforms to fixup imported variables.
     7394  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
     7395  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
     7396  lt_c_name_lib_hook="\
     7397  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
     7398  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
     7399else
     7400  # Disable hooks by default.
     7401  lt_cv_sys_global_symbol_to_import=
     7402  lt_cdecl_hook=
     7403  lt_c_name_hook=
     7404  lt_c_name_lib_hook=
     7405fi
     7406
     7407# Transform an extracted symbol line into a proper C declaration.
     7408# Some systems (esp. on ia64) link data and code symbols differently,
     7409# so use this general approach.
     7410lt_cv_sys_global_symbol_to_cdecl="sed -n"\
     7411$lt_cdecl_hook\
     7412" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
     7413" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
     7414
     7415# Transform an extracted symbol line into symbol name and symbol address
     7416lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
     7417$lt_c_name_hook\
     7418" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     7419" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
     7420
     7421# Transform an extracted symbol line into symbol name with lib prefix and
     7422# symbol address.
     7423lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
     7424$lt_c_name_lib_hook\
     7425" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     7426" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
     7427" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
     7428
     7429# Handle CRLF in mingw tool chain
     7430opt_cr=
     7431case $build_os in
     7432mingw*)
     7433  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
     7434  ;;
     7435esac
     7436
     7437# Try without a prefix underscore, then with it.
     7438for ac_symprfx in "" "_"; do
     7439
     7440  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
     7441  symxfrm="\\1 $ac_symprfx\\2 \\2"
     7442
     7443  # Write the raw and C identifiers.
     7444  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     7445    # Fake it for dumpbin and say T for any non-static function,
     7446    # D for any global variable and I for any imported variable.
     7447    # Also find C++ and __fastcall symbols from MSVC++,
     7448    # which start with @ or ?.
     7449    lt_cv_sys_global_symbol_pipe="$AWK '"\
     7450"     {last_section=section; section=\$ 3};"\
     7451"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
     7452"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
     7453"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
     7454"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
     7455"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
     7456"     \$ 0!~/External *\|/{next};"\
     7457"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
     7458"     {if(hide[section]) next};"\
     7459"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
     7460"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
     7461"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
     7462"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
     7463"     ' prfx=^$ac_symprfx"
     7464  else
     7465    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
     7466  fi
     7467  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
     7468
     7469  # Check to see that the pipe works correctly.
     7470  pipe_works=no
     7471
     7472  rm -f conftest*
     7473  cat > conftest.$ac_ext <<_LT_EOF
     7474#ifdef __cplusplus
     7475extern "C" {
     7476#endif
     7477char nm_test_var;
     7478void nm_test_func(void);
     7479void nm_test_func(void){}
     7480#ifdef __cplusplus
     7481}
     7482#endif
     7483int main(){nm_test_var='a';nm_test_func();return(0);}
     7484_LT_EOF
     7485
     7486  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7487  (eval $ac_compile) 2>&5
     7488  ac_status=$?
     7489  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7490  test $ac_status = 0; }; then
     7491    # Now try to grab the symbols.
     7492    nlist=conftest.nm
     7493    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
     7494  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
     7495  ac_status=$?
     7496  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7497  test $ac_status = 0; } && test -s "$nlist"; then
     7498      # Try sorting and uniquifying the output.
     7499      if sort "$nlist" | uniq > "$nlist"T; then
     7500        mv -f "$nlist"T "$nlist"
     7501      else
     7502        rm -f "$nlist"T
     7503      fi
     7504
     7505      # Make sure that we snagged all the symbols we need.
     7506      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
     7507        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
     7508          cat <<_LT_EOF > conftest.$ac_ext
     7509/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
     7510#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
     7511/* DATA imports from DLLs on WIN32 can't be const, because runtime
     7512   relocations are performed -- see ld's documentation on pseudo-relocs.  */
     7513# define LT_DLSYM_CONST
     7514#elif defined __osf__
     7515/* This system does not cope well with relocations in const data.  */
     7516# define LT_DLSYM_CONST
     7517#else
     7518# define LT_DLSYM_CONST const
     7519#endif
     7520
     7521#ifdef __cplusplus
     7522extern "C" {
     7523#endif
     7524
     7525_LT_EOF
     7526          # Now generate the symbol file.
     7527          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
     7528
     7529          cat <<_LT_EOF >> conftest.$ac_ext
     7530
     7531/* The mapping between symbol names and symbols.  */
     7532LT_DLSYM_CONST struct {
     7533  const char *name;
     7534  void       *address;
     7535}
     7536lt__PROGRAM__LTX_preloaded_symbols[] =
     7537{
     7538  { "@PROGRAM@", (void *) 0 },
     7539_LT_EOF
     7540          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
     7541          cat <<\_LT_EOF >> conftest.$ac_ext
     7542  {0, (void *) 0}
     7543};
     7544
     7545/* This works around a problem in FreeBSD linker */
     7546#ifdef FREEBSD_WORKAROUND
     7547static const void *lt_preloaded_setup() {
     7548  return lt__PROGRAM__LTX_preloaded_symbols;
     7549}
     7550#endif
     7551
     7552#ifdef __cplusplus
     7553}
     7554#endif
     7555_LT_EOF
     7556          # Now try linking the two files.
     7557          mv conftest.$ac_objext conftstm.$ac_objext
     7558          lt_globsym_save_LIBS=$LIBS
     7559          lt_globsym_save_CFLAGS=$CFLAGS
     7560          LIBS=conftstm.$ac_objext
     7561          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
     7562          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
     7563  (eval $ac_link) 2>&5
     7564  ac_status=$?
     7565  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7566  test $ac_status = 0; } && test -s conftest$ac_exeext; then
     7567            pipe_works=yes
     7568          fi
     7569          LIBS=$lt_globsym_save_LIBS
     7570          CFLAGS=$lt_globsym_save_CFLAGS
     7571        else
     7572          echo "cannot find nm_test_func in $nlist" >&5
     7573        fi
     7574      else
     7575        echo "cannot find nm_test_var in $nlist" >&5
     7576      fi
     7577    else
     7578      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
     7579    fi
     7580  else
     7581    echo "$progname: failed program was:" >&5
     7582    cat conftest.$ac_ext >&5
     7583  fi
     7584  rm -rf conftest* conftst*
     7585
     7586  # Do not use the global_symbol_pipe unless it works.
     7587  if test yes = "$pipe_works"; then
     7588    break
     7589  else
     7590    lt_cv_sys_global_symbol_pipe=
     7591  fi
     7592done
     7593
     7594fi
     7595
     7596if test -z "$lt_cv_sys_global_symbol_pipe"; then
     7597  lt_cv_sys_global_symbol_to_cdecl=
     7598fi
     7599if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
     7600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
     7601$as_echo "failed" >&6; }
     7602else
     7603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
     7604$as_echo "ok" >&6; }
     7605fi
     7606
     7607# Response file support.
     7608if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     7609  nm_file_list_spec='@'
     7610elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
     7611  nm_file_list_spec='@'
     7612fi
     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
     7649
     7650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
     7651$as_echo_n "checking for sysroot... " >&6; }
     7652
     7653# Check whether --with-sysroot was given.
     7654if test "${with_sysroot+set}" = set; then :
     7655  withval=$with_sysroot;
     7656else
     7657  with_sysroot=no
     7658fi
     7659
     7660
     7661lt_sysroot=
     7662case $with_sysroot in #(
     7663 yes)
     7664   if test yes = "$GCC"; then
     7665     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
     7666   fi
     7667   ;; #(
     7668 /*)
     7669   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
     7670   ;; #(
     7671 no|'')
     7672   ;; #(
     7673 *)
     7674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
     7675$as_echo "$with_sysroot" >&6; }
     7676   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
     7677   ;;
     7678esac
     7679
     7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
     7681$as_echo "${lt_sysroot:-no}" >&6; }
     7682
     7683
     7684
     7685
     7686
     7687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
     7688$as_echo_n "checking for a working dd... " >&6; }
     7689if ${ac_cv_path_lt_DD+:} false; then :
     7690  $as_echo_n "(cached) " >&6
     7691else
     7692  printf 0123456789abcdef0123456789abcdef >conftest.i
     7693cat conftest.i conftest.i >conftest2.i
     7694: ${lt_DD:=$DD}
     7695if test -z "$lt_DD"; then
     7696  ac_path_lt_DD_found=false
     7697  # Loop through the user's path and test for each of PROGNAME-LIST
     7698  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7699for as_dir in $PATH
     7700do
     7701  IFS=$as_save_IFS
     7702  test -z "$as_dir" && as_dir=.
     7703    for ac_prog in dd; do
     7704    for ac_exec_ext in '' $ac_executable_extensions; do
     7705      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
     7706      as_fn_executable_p "$ac_path_lt_DD" || continue
     7707if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     7708  cmp -s conftest.i conftest.out \
     7709  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
     7710fi
     7711      $ac_path_lt_DD_found && break 3
     7712    done
     7713  done
     7714  done
     7715IFS=$as_save_IFS
     7716  if test -z "$ac_cv_path_lt_DD"; then
     7717    :
     7718  fi
     7719else
     7720  ac_cv_path_lt_DD=$lt_DD
     7721fi
     7722
     7723rm -f conftest.i conftest2.i conftest.out
     7724fi
     7725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
     7726$as_echo "$ac_cv_path_lt_DD" >&6; }
     7727
     7728
     7729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
     7730$as_echo_n "checking how to truncate binary pipes... " >&6; }
     7731if ${lt_cv_truncate_bin+:} false; then :
     7732  $as_echo_n "(cached) " >&6
     7733else
     7734  printf 0123456789abcdef0123456789abcdef >conftest.i
     7735cat conftest.i conftest.i >conftest2.i
     7736lt_cv_truncate_bin=
     7737if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     7738  cmp -s conftest.i conftest.out \
     7739  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
     7740fi
     7741rm -f conftest.i conftest2.i conftest.out
     7742test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
     7743fi
     7744{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
     7745$as_echo "$lt_cv_truncate_bin" >&6; }
     7746
     7747
     7748
     7749
     7750
     7751
     7752
     7753# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     7754func_cc_basename ()
     7755{
     7756    for cc_temp in $*""; do
     7757      case $cc_temp in
     7758        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     7759        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     7760        \-*) ;;
     7761        *) break;;
     7762      esac
     7763    done
     7764    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     7765}
     7766
     7767# Check whether --enable-libtool-lock was given.
     7768if test "${enable_libtool_lock+set}" = set; then :
     7769  enableval=$enable_libtool_lock;
     7770fi
     7771
     7772test no = "$enable_libtool_lock" || enable_libtool_lock=yes
     7773
     7774# Some flags need to be propagated to the compiler or linker for good
     7775# libtool support.
     7776case $host in
     7777ia64-*-hpux*)
     7778  # Find out what ABI is being produced by ac_compile, and set mode
     7779  # options accordingly.
     7780  echo 'int i;' > conftest.$ac_ext
     7781  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7782  (eval $ac_compile) 2>&5
     7783  ac_status=$?
     7784  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7785  test $ac_status = 0; }; then
     7786    case `/usr/bin/file conftest.$ac_objext` in
     7787      *ELF-32*)
     7788        HPUX_IA64_MODE=32
     7789        ;;
     7790      *ELF-64*)
     7791        HPUX_IA64_MODE=64
     7792        ;;
     7793    esac
     7794  fi
     7795  rm -rf conftest*
     7796  ;;
     7797*-*-irix6*)
     7798  # Find out what ABI is being produced by ac_compile, and set linker
     7799  # options accordingly.
     7800  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
     7801  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7802  (eval $ac_compile) 2>&5
     7803  ac_status=$?
     7804  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7805  test $ac_status = 0; }; then
     7806    if test yes = "$lt_cv_prog_gnu_ld"; then
     7807      case `/usr/bin/file conftest.$ac_objext` in
     7808        *32-bit*)
     7809          LD="${LD-ld} -melf32bsmip"
     7810          ;;
     7811        *N32*)
     7812          LD="${LD-ld} -melf32bmipn32"
     7813          ;;
     7814        *64-bit*)
     7815          LD="${LD-ld} -melf64bmip"
     7816        ;;
     7817      esac
     7818    else
     7819      case `/usr/bin/file conftest.$ac_objext` in
     7820        *32-bit*)
     7821          LD="${LD-ld} -32"
     7822          ;;
     7823        *N32*)
     7824          LD="${LD-ld} -n32"
     7825          ;;
     7826        *64-bit*)
     7827          LD="${LD-ld} -64"
     7828          ;;
     7829      esac
     7830    fi
     7831  fi
     7832  rm -rf conftest*
     7833  ;;
     7834
     7835mips64*-*linux*)
     7836  # Find out what ABI is being produced by ac_compile, and set linker
     7837  # options accordingly.
     7838  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
     7839  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7840  (eval $ac_compile) 2>&5
     7841  ac_status=$?
     7842  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7843  test $ac_status = 0; }; then
     7844    emul=elf
     7845    case `/usr/bin/file conftest.$ac_objext` in
     7846      *32-bit*)
     7847        emul="${emul}32"
     7848        ;;
     7849      *64-bit*)
     7850        emul="${emul}64"
     7851        ;;
     7852    esac
     7853    case `/usr/bin/file conftest.$ac_objext` in
     7854      *MSB*)
     7855        emul="${emul}btsmip"
     7856        ;;
     7857      *LSB*)
     7858        emul="${emul}ltsmip"
     7859        ;;
     7860    esac
     7861    case `/usr/bin/file conftest.$ac_objext` in
     7862      *N32*)
     7863        emul="${emul}n32"
     7864        ;;
     7865    esac
     7866    LD="${LD-ld} -m $emul"
     7867  fi
     7868  rm -rf conftest*
     7869  ;;
     7870
     7871x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
     7872s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
     7873  # Find out what ABI is being produced by ac_compile, and set linker
     7874  # options accordingly.  Note that the listed cases only cover the
     7875  # situations where additional linker options are needed (such as when
     7876  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
     7877  # vice versa); the common cases where no linker options are needed do
     7878  # not appear in the list.
     7879  echo 'int i;' > conftest.$ac_ext
     7880  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7881  (eval $ac_compile) 2>&5
     7882  ac_status=$?
     7883  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7884  test $ac_status = 0; }; then
     7885    case `/usr/bin/file conftest.o` in
     7886      *32-bit*)
     7887        case $host in
     7888          x86_64-*kfreebsd*-gnu)
     7889            LD="${LD-ld} -m elf_i386_fbsd"
     7890            ;;
     7891          x86_64-*linux*)
     7892            case `/usr/bin/file conftest.o` in
     7893              *x86-64*)
     7894                LD="${LD-ld} -m elf32_x86_64"
     7895                ;;
     7896              *)
     7897                LD="${LD-ld} -m elf_i386"
     7898                ;;
     7899            esac
     7900            ;;
     7901          powerpc64le-*linux*)
     7902            LD="${LD-ld} -m elf32lppclinux"
     7903            ;;
     7904          powerpc64-*linux*)
     7905            LD="${LD-ld} -m elf32ppclinux"
     7906            ;;
     7907          s390x-*linux*)
     7908            LD="${LD-ld} -m elf_s390"
     7909            ;;
     7910          sparc64-*linux*)
     7911            LD="${LD-ld} -m elf32_sparc"
     7912            ;;
     7913        esac
     7914        ;;
     7915      *64-bit*)
     7916        case $host in
     7917          x86_64-*kfreebsd*-gnu)
     7918            LD="${LD-ld} -m elf_x86_64_fbsd"
     7919            ;;
     7920          x86_64-*linux*)
     7921            LD="${LD-ld} -m elf_x86_64"
     7922            ;;
     7923          powerpcle-*linux*)
     7924            LD="${LD-ld} -m elf64lppc"
     7925            ;;
     7926          powerpc-*linux*)
     7927            LD="${LD-ld} -m elf64ppc"
     7928            ;;
     7929          s390*-*linux*|s390*-*tpf*)
     7930            LD="${LD-ld} -m elf64_s390"
     7931            ;;
     7932          sparc*-*linux*)
     7933            LD="${LD-ld} -m elf64_sparc"
     7934            ;;
     7935        esac
     7936        ;;
     7937    esac
     7938  fi
     7939  rm -rf conftest*
     7940  ;;
     7941
     7942*-*-sco3.2v5*)
     7943  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     7944  SAVE_CFLAGS=$CFLAGS
     7945  CFLAGS="$CFLAGS -belf"
     7946  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
     7947$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
     7948if ${lt_cv_cc_needs_belf+:} false; then :
     7949  $as_echo_n "(cached) " >&6
     7950else
     7951  ac_ext=c
     7952ac_cpp='$CPP $CPPFLAGS'
     7953ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     7954ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     7955ac_compiler_gnu=$ac_cv_c_compiler_gnu
     7956
     7957     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7958/* end confdefs.h.  */
     7959
     7960int
     7961main ()
     7962{
     7963
     7964  ;
     7965  return 0;
     7966}
     7967_ACEOF
     7968if ac_fn_c_try_link "$LINENO"; then :
     7969  lt_cv_cc_needs_belf=yes
     7970else
     7971  lt_cv_cc_needs_belf=no
     7972fi
     7973rm -f core conftest.err conftest.$ac_objext \
     7974    conftest$ac_exeext conftest.$ac_ext
     7975     ac_ext=c
     7976ac_cpp='$CPP $CPPFLAGS'
     7977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     7978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     7979ac_compiler_gnu=$ac_cv_c_compiler_gnu
     7980
     7981fi
     7982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
     7983$as_echo "$lt_cv_cc_needs_belf" >&6; }
     7984  if test yes != "$lt_cv_cc_needs_belf"; then
     7985    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
     7986    CFLAGS=$SAVE_CFLAGS
     7987  fi
     7988  ;;
     7989*-*solaris*)
     7990  # Find out what ABI is being produced by ac_compile, and set linker
     7991  # options accordingly.
     7992  echo 'int i;' > conftest.$ac_ext
     7993  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7994  (eval $ac_compile) 2>&5
     7995  ac_status=$?
     7996  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7997  test $ac_status = 0; }; then
     7998    case `/usr/bin/file conftest.o` in
     7999    *64-bit*)
     8000      case $lt_cv_prog_gnu_ld in
     8001      yes*)
     8002        case $host in
     8003        i?86-*-solaris*|x86_64-*-solaris*)
     8004          LD="${LD-ld} -m elf_x86_64"
     8005          ;;
     8006        sparc*-*-solaris*)
     8007          LD="${LD-ld} -m elf64_sparc"
     8008          ;;
     8009        esac
     8010        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
     8011        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
     8012          LD=${LD-ld}_sol2
     8013        fi
     8014        ;;
     8015      *)
     8016        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
     8017          LD="${LD-ld} -64"
     8018        fi
     8019        ;;
     8020      esac
     8021      ;;
     8022    esac
     8023  fi
     8024  rm -rf conftest*
     8025  ;;
     8026esac
     8027
     8028need_locks=$enable_libtool_lock
     8029
     8030if test -n "$ac_tool_prefix"; then
     8031  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
     8032set dummy ${ac_tool_prefix}mt; ac_word=$2
     8033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8034$as_echo_n "checking for $ac_word... " >&6; }
     8035if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
     8036  $as_echo_n "(cached) " >&6
     8037else
     8038  if test -n "$MANIFEST_TOOL"; then
     8039  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
     8040else
     8041as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8042for as_dir in $PATH
     8043do
     8044  IFS=$as_save_IFS
     8045  test -z "$as_dir" && as_dir=.
     8046    for ac_exec_ext in '' $ac_executable_extensions; do
     8047  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8048    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
     8049    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8050    break 2
     8051  fi
     8052done
     8053  done
     8054IFS=$as_save_IFS
     8055
     8056fi
     8057fi
     8058MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
     8059if test -n "$MANIFEST_TOOL"; then
     8060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
     8061$as_echo "$MANIFEST_TOOL" >&6; }
     8062else
     8063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8064$as_echo "no" >&6; }
     8065fi
     8066
     8067
     8068fi
     8069if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
     8070  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
     8071  # Extract the first word of "mt", so it can be a program name with args.
     8072set dummy mt; ac_word=$2
     8073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8074$as_echo_n "checking for $ac_word... " >&6; }
     8075if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
     8076  $as_echo_n "(cached) " >&6
     8077else
     8078  if test -n "$ac_ct_MANIFEST_TOOL"; then
     8079  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
     8080else
     8081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8082for as_dir in $PATH
     8083do
     8084  IFS=$as_save_IFS
     8085  test -z "$as_dir" && as_dir=.
     8086    for ac_exec_ext in '' $ac_executable_extensions; do
     8087  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8088    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
     8089    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8090    break 2
     8091  fi
     8092done
     8093  done
     8094IFS=$as_save_IFS
     8095
     8096fi
     8097fi
     8098ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
     8099if test -n "$ac_ct_MANIFEST_TOOL"; then
     8100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
     8101$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
     8102else
     8103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8104$as_echo "no" >&6; }
     8105fi
     8106
     8107  if test "x$ac_ct_MANIFEST_TOOL" = x; then
     8108    MANIFEST_TOOL=":"
     8109  else
     8110    case $cross_compiling:$ac_tool_warned in
     8111yes:)
     8112{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8113$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8114ac_tool_warned=yes ;;
     8115esac
     8116    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
     8117  fi
     8118else
     8119  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
     8120fi
     8121
     8122test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
     8123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
     8124$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
     8125if ${lt_cv_path_mainfest_tool+:} false; then :
     8126  $as_echo_n "(cached) " >&6
     8127else
     8128  lt_cv_path_mainfest_tool=no
     8129  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
     8130  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
     8131  cat conftest.err >&5
     8132  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
     8133    lt_cv_path_mainfest_tool=yes
     8134  fi
     8135  rm -f conftest*
     8136fi
     8137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
     8138$as_echo "$lt_cv_path_mainfest_tool" >&6; }
     8139if test yes != "$lt_cv_path_mainfest_tool"; then
     8140  MANIFEST_TOOL=:
     8141fi
     8142
     8143
     8144
     8145
     8146
     8147
     8148  case $host_os in
     8149    rhapsody* | darwin*)
     8150    if test -n "$ac_tool_prefix"; then
     8151  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
     8152set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
     8153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8154$as_echo_n "checking for $ac_word... " >&6; }
     8155if ${ac_cv_prog_DSYMUTIL+:} false; then :
     8156  $as_echo_n "(cached) " >&6
     8157else
     8158  if test -n "$DSYMUTIL"; then
     8159  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
     8160else
     8161as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8162for as_dir in $PATH
     8163do
     8164  IFS=$as_save_IFS
     8165  test -z "$as_dir" && as_dir=.
     8166    for ac_exec_ext in '' $ac_executable_extensions; do
     8167  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8168    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
     8169    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8170    break 2
     8171  fi
     8172done
     8173  done
     8174IFS=$as_save_IFS
     8175
     8176fi
     8177fi
     8178DSYMUTIL=$ac_cv_prog_DSYMUTIL
     8179if test -n "$DSYMUTIL"; then
     8180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
     8181$as_echo "$DSYMUTIL" >&6; }
     8182else
     8183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8184$as_echo "no" >&6; }
     8185fi
     8186
     8187
     8188fi
     8189if test -z "$ac_cv_prog_DSYMUTIL"; then
     8190  ac_ct_DSYMUTIL=$DSYMUTIL
     8191  # Extract the first word of "dsymutil", so it can be a program name with args.
     8192set dummy dsymutil; ac_word=$2
     8193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8194$as_echo_n "checking for $ac_word... " >&6; }
     8195if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
     8196  $as_echo_n "(cached) " >&6
     8197else
     8198  if test -n "$ac_ct_DSYMUTIL"; then
     8199  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
     8200else
     8201as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8202for as_dir in $PATH
     8203do
     8204  IFS=$as_save_IFS
     8205  test -z "$as_dir" && as_dir=.
     8206    for ac_exec_ext in '' $ac_executable_extensions; do
     8207  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8208    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
     8209    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8210    break 2
     8211  fi
     8212done
     8213  done
     8214IFS=$as_save_IFS
     8215
     8216fi
     8217fi
     8218ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
     8219if test -n "$ac_ct_DSYMUTIL"; then
     8220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
     8221$as_echo "$ac_ct_DSYMUTIL" >&6; }
     8222else
     8223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8224$as_echo "no" >&6; }
     8225fi
     8226
     8227  if test "x$ac_ct_DSYMUTIL" = x; then
     8228    DSYMUTIL=":"
     8229  else
     8230    case $cross_compiling:$ac_tool_warned in
     8231yes:)
     8232{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8233$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8234ac_tool_warned=yes ;;
     8235esac
     8236    DSYMUTIL=$ac_ct_DSYMUTIL
     8237  fi
     8238else
     8239  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
     8240fi
     8241
     8242    if test -n "$ac_tool_prefix"; then
     8243  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
     8244set dummy ${ac_tool_prefix}nmedit; ac_word=$2
     8245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8246$as_echo_n "checking for $ac_word... " >&6; }
     8247if ${ac_cv_prog_NMEDIT+:} false; then :
     8248  $as_echo_n "(cached) " >&6
     8249else
     8250  if test -n "$NMEDIT"; then
     8251  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
     8252else
     8253as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8254for as_dir in $PATH
     8255do
     8256  IFS=$as_save_IFS
     8257  test -z "$as_dir" && as_dir=.
     8258    for ac_exec_ext in '' $ac_executable_extensions; do
     8259  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8260    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
     8261    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8262    break 2
     8263  fi
     8264done
     8265  done
     8266IFS=$as_save_IFS
     8267
     8268fi
     8269fi
     8270NMEDIT=$ac_cv_prog_NMEDIT
     8271if test -n "$NMEDIT"; then
     8272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
     8273$as_echo "$NMEDIT" >&6; }
     8274else
     8275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8276$as_echo "no" >&6; }
     8277fi
     8278
     8279
     8280fi
     8281if test -z "$ac_cv_prog_NMEDIT"; then
     8282  ac_ct_NMEDIT=$NMEDIT
     8283  # Extract the first word of "nmedit", so it can be a program name with args.
     8284set dummy nmedit; ac_word=$2
     8285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8286$as_echo_n "checking for $ac_word... " >&6; }
     8287if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
     8288  $as_echo_n "(cached) " >&6
     8289else
     8290  if test -n "$ac_ct_NMEDIT"; then
     8291  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
     8292else
     8293as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8294for as_dir in $PATH
     8295do
     8296  IFS=$as_save_IFS
     8297  test -z "$as_dir" && as_dir=.
     8298    for ac_exec_ext in '' $ac_executable_extensions; do
     8299  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8300    ac_cv_prog_ac_ct_NMEDIT="nmedit"
     8301    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8302    break 2
     8303  fi
     8304done
     8305  done
     8306IFS=$as_save_IFS
     8307
     8308fi
     8309fi
     8310ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
     8311if test -n "$ac_ct_NMEDIT"; then
     8312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
     8313$as_echo "$ac_ct_NMEDIT" >&6; }
     8314else
     8315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8316$as_echo "no" >&6; }
     8317fi
     8318
     8319  if test "x$ac_ct_NMEDIT" = x; then
     8320    NMEDIT=":"
     8321  else
     8322    case $cross_compiling:$ac_tool_warned in
     8323yes:)
     8324{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8325$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8326ac_tool_warned=yes ;;
     8327esac
     8328    NMEDIT=$ac_ct_NMEDIT
     8329  fi
     8330else
     8331  NMEDIT="$ac_cv_prog_NMEDIT"
     8332fi
     8333
     8334    if test -n "$ac_tool_prefix"; then
     8335  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
     8336set dummy ${ac_tool_prefix}lipo; ac_word=$2
     8337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8338$as_echo_n "checking for $ac_word... " >&6; }
     8339if ${ac_cv_prog_LIPO+:} false; then :
     8340  $as_echo_n "(cached) " >&6
     8341else
     8342  if test -n "$LIPO"; then
     8343  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
     8344else
     8345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8346for as_dir in $PATH
     8347do
     8348  IFS=$as_save_IFS
     8349  test -z "$as_dir" && as_dir=.
     8350    for ac_exec_ext in '' $ac_executable_extensions; do
     8351  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8352    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
     8353    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8354    break 2
     8355  fi
     8356done
     8357  done
     8358IFS=$as_save_IFS
     8359
     8360fi
     8361fi
     8362LIPO=$ac_cv_prog_LIPO
     8363if test -n "$LIPO"; then
     8364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
     8365$as_echo "$LIPO" >&6; }
     8366else
     8367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8368$as_echo "no" >&6; }
     8369fi
     8370
     8371
     8372fi
     8373if test -z "$ac_cv_prog_LIPO"; then
     8374  ac_ct_LIPO=$LIPO
     8375  # Extract the first word of "lipo", so it can be a program name with args.
     8376set dummy lipo; ac_word=$2
     8377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8378$as_echo_n "checking for $ac_word... " >&6; }
     8379if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
     8380  $as_echo_n "(cached) " >&6
     8381else
     8382  if test -n "$ac_ct_LIPO"; then
     8383  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
     8384else
     8385as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8386for as_dir in $PATH
     8387do
     8388  IFS=$as_save_IFS
     8389  test -z "$as_dir" && as_dir=.
     8390    for ac_exec_ext in '' $ac_executable_extensions; do
     8391  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8392    ac_cv_prog_ac_ct_LIPO="lipo"
     8393    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8394    break 2
     8395  fi
     8396done
     8397  done
     8398IFS=$as_save_IFS
     8399
     8400fi
     8401fi
     8402ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
     8403if test -n "$ac_ct_LIPO"; then
     8404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
     8405$as_echo "$ac_ct_LIPO" >&6; }
     8406else
     8407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8408$as_echo "no" >&6; }
     8409fi
     8410
     8411  if test "x$ac_ct_LIPO" = x; then
     8412    LIPO=":"
     8413  else
     8414    case $cross_compiling:$ac_tool_warned in
     8415yes:)
     8416{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8417$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8418ac_tool_warned=yes ;;
     8419esac
     8420    LIPO=$ac_ct_LIPO
     8421  fi
     8422else
     8423  LIPO="$ac_cv_prog_LIPO"
     8424fi
     8425
     8426    if test -n "$ac_tool_prefix"; then
     8427  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
     8428set dummy ${ac_tool_prefix}otool; ac_word=$2
     8429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8430$as_echo_n "checking for $ac_word... " >&6; }
     8431if ${ac_cv_prog_OTOOL+:} false; then :
     8432  $as_echo_n "(cached) " >&6
     8433else
     8434  if test -n "$OTOOL"; then
     8435  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
     8436else
     8437as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8438for as_dir in $PATH
     8439do
     8440  IFS=$as_save_IFS
     8441  test -z "$as_dir" && as_dir=.
     8442    for ac_exec_ext in '' $ac_executable_extensions; do
     8443  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8444    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
     8445    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8446    break 2
     8447  fi
     8448done
     8449  done
     8450IFS=$as_save_IFS
     8451
     8452fi
     8453fi
     8454OTOOL=$ac_cv_prog_OTOOL
     8455if test -n "$OTOOL"; then
     8456  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
     8457$as_echo "$OTOOL" >&6; }
     8458else
     8459  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8460$as_echo "no" >&6; }
     8461fi
     8462
     8463
     8464fi
     8465if test -z "$ac_cv_prog_OTOOL"; then
     8466  ac_ct_OTOOL=$OTOOL
     8467  # Extract the first word of "otool", so it can be a program name with args.
     8468set dummy otool; ac_word=$2
     8469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8470$as_echo_n "checking for $ac_word... " >&6; }
     8471if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
     8472  $as_echo_n "(cached) " >&6
     8473else
     8474  if test -n "$ac_ct_OTOOL"; then
     8475  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
     8476else
     8477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8478for as_dir in $PATH
     8479do
     8480  IFS=$as_save_IFS
     8481  test -z "$as_dir" && as_dir=.
     8482    for ac_exec_ext in '' $ac_executable_extensions; do
     8483  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8484    ac_cv_prog_ac_ct_OTOOL="otool"
     8485    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8486    break 2
     8487  fi
     8488done
     8489  done
     8490IFS=$as_save_IFS
     8491
     8492fi
     8493fi
     8494ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
     8495if test -n "$ac_ct_OTOOL"; then
     8496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
     8497$as_echo "$ac_ct_OTOOL" >&6; }
     8498else
     8499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8500$as_echo "no" >&6; }
     8501fi
     8502
     8503  if test "x$ac_ct_OTOOL" = x; then
     8504    OTOOL=":"
     8505  else
     8506    case $cross_compiling:$ac_tool_warned in
     8507yes:)
     8508{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8509$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8510ac_tool_warned=yes ;;
     8511esac
     8512    OTOOL=$ac_ct_OTOOL
     8513  fi
     8514else
     8515  OTOOL="$ac_cv_prog_OTOOL"
     8516fi
     8517
     8518    if test -n "$ac_tool_prefix"; then
     8519  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
     8520set dummy ${ac_tool_prefix}otool64; ac_word=$2
     8521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8522$as_echo_n "checking for $ac_word... " >&6; }
     8523if ${ac_cv_prog_OTOOL64+:} false; then :
     8524  $as_echo_n "(cached) " >&6
     8525else
     8526  if test -n "$OTOOL64"; then
     8527  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
     8528else
     8529as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8530for as_dir in $PATH
     8531do
     8532  IFS=$as_save_IFS
     8533  test -z "$as_dir" && as_dir=.
     8534    for ac_exec_ext in '' $ac_executable_extensions; do
     8535  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8536    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
     8537    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8538    break 2
     8539  fi
     8540done
     8541  done
     8542IFS=$as_save_IFS
     8543
     8544fi
     8545fi
     8546OTOOL64=$ac_cv_prog_OTOOL64
     8547if test -n "$OTOOL64"; then
     8548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
     8549$as_echo "$OTOOL64" >&6; }
     8550else
     8551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8552$as_echo "no" >&6; }
     8553fi
     8554
     8555
     8556fi
     8557if test -z "$ac_cv_prog_OTOOL64"; then
     8558  ac_ct_OTOOL64=$OTOOL64
     8559  # Extract the first word of "otool64", so it can be a program name with args.
     8560set dummy otool64; ac_word=$2
     8561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8562$as_echo_n "checking for $ac_word... " >&6; }
     8563if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
     8564  $as_echo_n "(cached) " >&6
     8565else
     8566  if test -n "$ac_ct_OTOOL64"; then
     8567  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
     8568else
     8569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8570for as_dir in $PATH
     8571do
     8572  IFS=$as_save_IFS
     8573  test -z "$as_dir" && as_dir=.
     8574    for ac_exec_ext in '' $ac_executable_extensions; do
     8575  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8576    ac_cv_prog_ac_ct_OTOOL64="otool64"
     8577    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8578    break 2
     8579  fi
     8580done
     8581  done
     8582IFS=$as_save_IFS
     8583
     8584fi
     8585fi
     8586ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
     8587if test -n "$ac_ct_OTOOL64"; then
     8588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
     8589$as_echo "$ac_ct_OTOOL64" >&6; }
     8590else
     8591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8592$as_echo "no" >&6; }
     8593fi
     8594
     8595  if test "x$ac_ct_OTOOL64" = x; then
     8596    OTOOL64=":"
     8597  else
     8598    case $cross_compiling:$ac_tool_warned in
     8599yes:)
     8600{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8601$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     8602ac_tool_warned=yes ;;
     8603esac
     8604    OTOOL64=$ac_ct_OTOOL64
     8605  fi
     8606else
     8607  OTOOL64="$ac_cv_prog_OTOOL64"
     8608fi
     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
     8635
     8636    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
     8637$as_echo_n "checking for -single_module linker flag... " >&6; }
     8638if ${lt_cv_apple_cc_single_mod+:} false; then :
     8639  $as_echo_n "(cached) " >&6
     8640else
     8641  lt_cv_apple_cc_single_mod=no
     8642      if test -z "$LT_MULTI_MODULE"; then
     8643        # By default we will add the -single_module flag. You can override
     8644        # by either setting the environment variable LT_MULTI_MODULE
     8645        # non-empty at configure time, or by adding -multi_module to the
     8646        # link flags.
     8647        rm -rf libconftest.dylib*
     8648        echo "int foo(void){return 1;}" > conftest.c
     8649        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     8650-dynamiclib -Wl,-single_module conftest.c" >&5
     8651        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     8652          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
     8653        _lt_result=$?
     8654        # If there is a non-empty error log, and "single_module"
     8655        # appears in it, assume the flag caused a linker warning
     8656        if test -s conftest.err && $GREP single_module conftest.err; then
     8657          cat conftest.err >&5
     8658        # Otherwise, if the output was created with a 0 exit code from
     8659        # the compiler, it worked.
     8660        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
     8661          lt_cv_apple_cc_single_mod=yes
     8662        else
     8663          cat conftest.err >&5
     8664        fi
     8665        rm -rf libconftest.dylib*
     8666        rm -f conftest.*
     8667      fi
     8668fi
     8669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
     8670$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
     8671
     8672    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
     8673$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
     8674if ${lt_cv_ld_exported_symbols_list+:} false; then :
     8675  $as_echo_n "(cached) " >&6
     8676else
     8677  lt_cv_ld_exported_symbols_list=no
     8678      save_LDFLAGS=$LDFLAGS
     8679      echo "_main" > conftest.sym
     8680      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
     8681      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8682/* end confdefs.h.  */
     8683
     8684int
     8685main ()
     8686{
     8687
     8688  ;
     8689  return 0;
     8690}
     8691_ACEOF
     8692if ac_fn_c_try_link "$LINENO"; then :
     8693  lt_cv_ld_exported_symbols_list=yes
     8694else
     8695  lt_cv_ld_exported_symbols_list=no
     8696fi
     8697rm -f core conftest.err conftest.$ac_objext \
     8698    conftest$ac_exeext conftest.$ac_ext
     8699        LDFLAGS=$save_LDFLAGS
     8700
     8701fi
     8702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
     8703$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
     8704
     8705    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
     8706$as_echo_n "checking for -force_load linker flag... " >&6; }
     8707if ${lt_cv_ld_force_load+:} false; then :
     8708  $as_echo_n "(cached) " >&6
     8709else
     8710  lt_cv_ld_force_load=no
     8711      cat > conftest.c << _LT_EOF
     8712int forced_loaded() { return 2;}
     8713_LT_EOF
     8714      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
     8715      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
     8716      echo "$AR cru libconftest.a conftest.o" >&5
     8717      $AR cru libconftest.a conftest.o 2>&5
     8718      echo "$RANLIB libconftest.a" >&5
     8719      $RANLIB libconftest.a 2>&5
     8720      cat > conftest.c << _LT_EOF
     8721int main() { return 0;}
     8722_LT_EOF
     8723      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
     8724      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
     8725      _lt_result=$?
     8726      if test -s conftest.err && $GREP force_load conftest.err; then
     8727        cat conftest.err >&5
     8728      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
     8729        lt_cv_ld_force_load=yes
     8730      else
     8731        cat conftest.err >&5
     8732      fi
     8733        rm -f conftest.err libconftest.a conftest conftest.c
     8734        rm -rf conftest.dSYM
     8735
     8736fi
     8737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
     8738$as_echo "$lt_cv_ld_force_load" >&6; }
     8739    case $host_os in
     8740    rhapsody* | darwin1.[012])
     8741      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
     8742    darwin1.*)
     8743      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     8744    darwin*) # darwin 5.x on
     8745      # if running on 10.5 or later, the deployment target defaults
     8746      # to the OS version, if on x86, and 10.4, the deployment
     8747      # target defaults to 10.4. Don't you love it?
     8748      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
     8749        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
     8750          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     8751        10.[012][,.]*)
     8752          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     8753        10.*)
     8754          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     8755      esac
     8756    ;;
     8757  esac
     8758    if test yes = "$lt_cv_apple_cc_single_mod"; then
     8759      _lt_dar_single_mod='$single_module'
     8760    fi
     8761    if test yes = "$lt_cv_ld_exported_symbols_list"; then
     8762      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
     8763    else
     8764      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
     8765    fi
     8766    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
     8767      _lt_dsymutil='~$DSYMUTIL $lib || :'
     8768    else
     8769      _lt_dsymutil=
     8770    fi
     8771    ;;
     8772  esac
     8773
     8774# func_munge_path_list VARIABLE PATH
     8775# -----------------------------------
     8776# VARIABLE is name of variable containing _space_ separated list of
     8777# directories to be munged by the contents of PATH, which is string
     8778# having a format:
     8779# "DIR[:DIR]:"
     8780#       string "DIR[ DIR]" will be prepended to VARIABLE
     8781# ":DIR[:DIR]"
     8782#       string "DIR[ DIR]" will be appended to VARIABLE
     8783# "DIRP[:DIRP]::[DIRA:]DIRA"
     8784#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     8785#       "DIRA[ DIRA]" will be appended to VARIABLE
     8786# "DIR[:DIR]"
     8787#       VARIABLE will be replaced by "DIR[ DIR]"
     8788func_munge_path_list ()
     8789{
     8790    case x$2 in
     8791    x)
     8792        ;;
     8793    *:)
     8794        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
     8795        ;;
     8796    x:*)
     8797        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
     8798        ;;
     8799    *::*)
     8800        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     8801        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
     8802        ;;
     8803    *)
     8804        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
     8805        ;;
     8806    esac
     8807}
     8808
     8809ac_ext=c
     8810ac_cpp='$CPP $CPPFLAGS'
     8811ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8812ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     8813ac_compiler_gnu=$ac_cv_c_compiler_gnu
     8814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     8815$as_echo_n "checking how to run the C preprocessor... " >&6; }
     8816# On Suns, sometimes $CPP names a directory.
     8817if test -n "$CPP" && test -d "$CPP"; then
     8818  CPP=
     8819fi
     8820if test -z "$CPP"; then
     8821  if ${ac_cv_prog_CPP+:} false; then :
     8822  $as_echo_n "(cached) " >&6
     8823else
     8824      # Double quotes because CPP needs to be expanded
     8825    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     8826    do
     8827      ac_preproc_ok=false
     8828for ac_c_preproc_warn_flag in '' yes
     8829do
     8830  # Use a header file that comes with gcc, so configuring glibc
     8831  # with a fresh cross-compiler works.
     8832  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     8833  # <limits.h> exists even on freestanding compilers.
     8834  # On the NeXT, cc -E runs the code through the compiler's parser,
     8835  # not just through cpp. "Syntax error" is here to catch this case.
     8836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8837/* end confdefs.h.  */
     8838#ifdef __STDC__
     8839# include <limits.h>
     8840#else
     8841# include <assert.h>
     8842#endif
     8843                     Syntax error
     8844_ACEOF
     8845if ac_fn_c_try_cpp "$LINENO"; then :
     8846
     8847else
     8848  # Broken: fails on valid input.
     8849continue
     8850fi
     8851rm -f conftest.err conftest.i conftest.$ac_ext
     8852
     8853  # OK, works on sane cases.  Now check whether nonexistent headers
     8854  # can be detected and how.
     8855  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8856/* end confdefs.h.  */
     8857#include <ac_nonexistent.h>
     8858_ACEOF
     8859if ac_fn_c_try_cpp "$LINENO"; then :
     8860  # Broken: success on invalid input.
     8861continue
     8862else
     8863  # Passes both tests.
     8864ac_preproc_ok=:
     8865break
     8866fi
     8867rm -f conftest.err conftest.i conftest.$ac_ext
     8868
     8869done
     8870# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     8871rm -f conftest.i conftest.err conftest.$ac_ext
     8872if $ac_preproc_ok; then :
     8873  break
     8874fi
     8875
     8876    done
     8877    ac_cv_prog_CPP=$CPP
     8878
     8879fi
     8880  CPP=$ac_cv_prog_CPP
     8881else
     8882  ac_cv_prog_CPP=$CPP
     8883fi
     8884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     8885$as_echo "$CPP" >&6; }
     8886ac_preproc_ok=false
     8887for ac_c_preproc_warn_flag in '' yes
     8888do
     8889  # Use a header file that comes with gcc, so configuring glibc
     8890  # with a fresh cross-compiler works.
     8891  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     8892  # <limits.h> exists even on freestanding compilers.
     8893  # On the NeXT, cc -E runs the code through the compiler's parser,
     8894  # not just through cpp. "Syntax error" is here to catch this case.
     8895  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8896/* end confdefs.h.  */
     8897#ifdef __STDC__
     8898# include <limits.h>
     8899#else
     8900# include <assert.h>
     8901#endif
     8902                     Syntax error
     8903_ACEOF
     8904if ac_fn_c_try_cpp "$LINENO"; then :
     8905
     8906else
     8907  # Broken: fails on valid input.
     8908continue
     8909fi
     8910rm -f conftest.err conftest.i conftest.$ac_ext
     8911
     8912  # OK, works on sane cases.  Now check whether nonexistent headers
     8913  # can be detected and how.
     8914  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8915/* end confdefs.h.  */
     8916#include <ac_nonexistent.h>
     8917_ACEOF
     8918if ac_fn_c_try_cpp "$LINENO"; then :
     8919  # Broken: success on invalid input.
     8920continue
     8921else
     8922  # Passes both tests.
     8923ac_preproc_ok=:
     8924break
     8925fi
     8926rm -f conftest.err conftest.i conftest.$ac_ext
     8927
     8928done
     8929# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     8930rm -f conftest.i conftest.err conftest.$ac_ext
     8931if $ac_preproc_ok; then :
     8932
     8933else
     8934  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8935$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     8936as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     8937See \`config.log' for more details" "$LINENO" 5; }
     8938fi
     8939
     8940ac_ext=c
     8941ac_cpp='$CPP $CPPFLAGS'
     8942ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8943ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     8944ac_compiler_gnu=$ac_cv_c_compiler_gnu
     8945
     8946
    57648947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    57658948$as_echo_n "checking for ANSI C header files... " >&6; }
     
    58919074
    58929075
     9076for ac_header in dlfcn.h
     9077do :
     9078  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
     9079"
     9080if test "x$ac_cv_header_dlfcn_h" = xyes; then :
     9081  cat >>confdefs.h <<_ACEOF
     9082#define HAVE_DLFCN_H 1
     9083_ACEOF
     9084
     9085fi
     9086
     9087done
     9088
     9089
     9090
     9091
     9092func_stripname_cnf ()
     9093{
     9094  case $2 in
     9095  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
     9096  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
     9097  esac
     9098} # func_stripname_cnf
     9099
     9100
     9101
     9102
     9103
     9104# Set options
     9105
     9106
     9107
     9108        enable_dlopen=no
     9109
     9110
     9111  enable_win32_dll=no
     9112
     9113
     9114            # Check whether --enable-shared was given.
     9115if test "${enable_shared+set}" = set; then :
     9116  enableval=$enable_shared; p=${PACKAGE-default}
     9117    case $enableval in
     9118    yes) enable_shared=yes ;;
     9119    no) enable_shared=no ;;
     9120    *)
     9121      enable_shared=no
     9122      # Look at the argument we got.  We use all the common list separators.
     9123      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     9124      for pkg in $enableval; do
     9125        IFS=$lt_save_ifs
     9126        if test "X$pkg" = "X$p"; then
     9127          enable_shared=yes
     9128        fi
     9129      done
     9130      IFS=$lt_save_ifs
     9131      ;;
     9132    esac
     9133else
     9134  enable_shared=yes
     9135fi
     9136
     9137
     9138
     9139
     9140
     9141
     9142
     9143
     9144
     9145  # Check whether --enable-static was given.
     9146if test "${enable_static+set}" = set; then :
     9147  enableval=$enable_static; p=${PACKAGE-default}
     9148    case $enableval in
     9149    yes) enable_static=yes ;;
     9150    no) enable_static=no ;;
     9151    *)
     9152     enable_static=no
     9153      # Look at the argument we got.  We use all the common list separators.
     9154      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     9155      for pkg in $enableval; do
     9156        IFS=$lt_save_ifs
     9157        if test "X$pkg" = "X$p"; then
     9158          enable_static=yes
     9159        fi
     9160      done
     9161      IFS=$lt_save_ifs
     9162      ;;
     9163    esac
     9164else
     9165  enable_static=yes
     9166fi
     9167
     9168
     9169
     9170
     9171
     9172
     9173
     9174
     9175
     9176
     9177# Check whether --with-pic was given.
     9178if test "${with_pic+set}" = set; then :
     9179  withval=$with_pic; lt_p=${PACKAGE-default}
     9180    case $withval in
     9181    yes|no) pic_mode=$withval ;;
     9182    *)
     9183      pic_mode=default
     9184      # Look at the argument we got.  We use all the common list separators.
     9185      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     9186      for lt_pkg in $withval; do
     9187        IFS=$lt_save_ifs
     9188        if test "X$lt_pkg" = "X$lt_p"; then
     9189          pic_mode=yes
     9190        fi
     9191      done
     9192      IFS=$lt_save_ifs
     9193      ;;
     9194    esac
     9195else
     9196  pic_mode=default
     9197fi
     9198
     9199
     9200
     9201
     9202
     9203
     9204
     9205
     9206  # Check whether --enable-fast-install was given.
     9207if test "${enable_fast_install+set}" = set; then :
     9208  enableval=$enable_fast_install; p=${PACKAGE-default}
     9209    case $enableval in
     9210    yes) enable_fast_install=yes ;;
     9211    no) enable_fast_install=no ;;
     9212    *)
     9213      enable_fast_install=no
     9214      # Look at the argument we got.  We use all the common list separators.
     9215      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     9216      for pkg in $enableval; do
     9217        IFS=$lt_save_ifs
     9218        if test "X$pkg" = "X$p"; then
     9219          enable_fast_install=yes
     9220        fi
     9221      done
     9222      IFS=$lt_save_ifs
     9223      ;;
     9224    esac
     9225else
     9226  enable_fast_install=yes
     9227fi
     9228
     9229
     9230
     9231
     9232
     9233
     9234
     9235
     9236  shared_archive_member_spec=
     9237case $host,$enable_shared in
     9238power*-*-aix[5-9]*,yes)
     9239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
     9240$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
     9241
     9242# Check whether --with-aix-soname was given.
     9243if test "${with_aix_soname+set}" = set; then :
     9244  withval=$with_aix_soname; case $withval in
     9245    aix|svr4|both)
     9246      ;;
     9247    *)
     9248      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
     9249      ;;
     9250    esac
     9251    lt_cv_with_aix_soname=$with_aix_soname
     9252else
     9253  if ${lt_cv_with_aix_soname+:} false; then :
     9254  $as_echo_n "(cached) " >&6
     9255else
     9256  lt_cv_with_aix_soname=aix
     9257fi
     9258
     9259    with_aix_soname=$lt_cv_with_aix_soname
     9260fi
     9261
     9262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
     9263$as_echo "$with_aix_soname" >&6; }
     9264  if test aix != "$with_aix_soname"; then
     9265    # For the AIX way of multilib, we name the shared archive member
     9266    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
     9267    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
     9268    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
     9269    # the AIX toolchain works better with OBJECT_MODE set (default 32).
     9270    if test 64 = "${OBJECT_MODE-32}"; then
     9271      shared_archive_member_spec=shr_64
     9272    else
     9273      shared_archive_member_spec=shr
     9274    fi
     9275  fi
     9276  ;;
     9277*)
     9278  with_aix_soname=aix
     9279  ;;
     9280esac
     9281
     9282
     9283
     9284
     9285
     9286
     9287
     9288
     9289
     9290
     9291# This can be used to rebuild libtool when needed
     9292LIBTOOL_DEPS=$ltmain
     9293
     9294# Always use our own libtool.
     9295LIBTOOL='$(SHELL) $(top_builddir)/libtool'
     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
     9324
     9325
     9326test -z "$LN_S" && LN_S="ln -s"
     9327
     9328
     9329
     9330
     9331
     9332
     9333
     9334
     9335
     9336
     9337
     9338
     9339
     9340
     9341if test -n "${ZSH_VERSION+set}"; then
     9342   setopt NO_GLOB_SUBST
     9343fi
     9344
     9345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
     9346$as_echo_n "checking for objdir... " >&6; }
     9347if ${lt_cv_objdir+:} false; then :
     9348  $as_echo_n "(cached) " >&6
     9349else
     9350  rm -f .libs 2>/dev/null
     9351mkdir .libs 2>/dev/null
     9352if test -d .libs; then
     9353  lt_cv_objdir=.libs
     9354else
     9355  # MS-DOS does not allow filenames that begin with a dot.
     9356  lt_cv_objdir=_libs
     9357fi
     9358rmdir .libs 2>/dev/null
     9359fi
     9360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
     9361$as_echo "$lt_cv_objdir" >&6; }
     9362objdir=$lt_cv_objdir
     9363
     9364
     9365
     9366
     9367
     9368cat >>confdefs.h <<_ACEOF
     9369#define LT_OBJDIR "$lt_cv_objdir/"
     9370_ACEOF
     9371
     9372
     9373
     9374
     9375case $host_os in
     9376aix3*)
     9377  # AIX sometimes has problems with the GCC collect2 program.  For some
     9378  # reason, if we set the COLLECT_NAMES environment variable, the problems
     9379  # vanish in a puff of smoke.
     9380  if test set != "${COLLECT_NAMES+set}"; then
     9381    COLLECT_NAMES=
     9382    export COLLECT_NAMES
     9383  fi
     9384  ;;
     9385esac
     9386
     9387# Global variables:
     9388ofile=libtool
     9389can_build_shared=yes
     9390
     9391# All known linkers require a '.a' archive for static linking (except MSVC,
     9392# which needs '.lib').
     9393libext=a
     9394
     9395with_gnu_ld=$lt_cv_prog_gnu_ld
     9396
     9397old_CC=$CC
     9398old_CFLAGS=$CFLAGS
     9399
     9400# Set sane defaults for various variables
     9401test -z "$CC" && CC=cc
     9402test -z "$LTCC" && LTCC=$CC
     9403test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
     9404test -z "$LD" && LD=ld
     9405test -z "$ac_objext" && ac_objext=o
     9406
     9407func_cc_basename $compiler
     9408cc_basename=$func_cc_basename_result
     9409
     9410
     9411# Only perform the check for file, if the check method requires it
     9412test -z "$MAGIC_CMD" && MAGIC_CMD=file
     9413case $deplibs_check_method in
     9414file_magic*)
     9415  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     9416    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
     9417$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
     9418if ${lt_cv_path_MAGIC_CMD+:} false; then :
     9419  $as_echo_n "(cached) " >&6
     9420else
     9421  case $MAGIC_CMD in
     9422[\\/*] |  ?:[\\/]*)
     9423  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
     9424  ;;
     9425*)
     9426  lt_save_MAGIC_CMD=$MAGIC_CMD
     9427  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     9428  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
     9429  for ac_dir in $ac_dummy; do
     9430    IFS=$lt_save_ifs
     9431    test -z "$ac_dir" && ac_dir=.
     9432    if test -f "$ac_dir/${ac_tool_prefix}file"; then
     9433      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
     9434      if test -n "$file_magic_test_file"; then
     9435        case $deplibs_check_method in
     9436        "file_magic "*)
     9437          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
     9438          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9439          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     9440            $EGREP "$file_magic_regex" > /dev/null; then
     9441            :
     9442          else
     9443            cat <<_LT_EOF 1>&2
     9444
     9445*** Warning: the command libtool uses to detect shared libraries,
     9446*** $file_magic_cmd, produces output that libtool cannot recognize.
     9447*** The result is that libtool may fail to recognize shared libraries
     9448*** as such.  This will affect the creation of libtool libraries that
     9449*** depend on shared libraries, but programs linked with such libtool
     9450*** libraries will work regardless of this problem.  Nevertheless, you
     9451*** may want to report the problem to your system manager and/or to
     9452*** bug-libtool@gnu.org
     9453
     9454_LT_EOF
     9455          fi ;;
     9456        esac
     9457      fi
     9458      break
     9459    fi
     9460  done
     9461  IFS=$lt_save_ifs
     9462  MAGIC_CMD=$lt_save_MAGIC_CMD
     9463  ;;
     9464esac
     9465fi
     9466
     9467MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9468if test -n "$MAGIC_CMD"; then
     9469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     9470$as_echo "$MAGIC_CMD" >&6; }
     9471else
     9472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9473$as_echo "no" >&6; }
     9474fi
     9475
     9476
     9477
     9478
     9479
     9480if test -z "$lt_cv_path_MAGIC_CMD"; then
     9481  if test -n "$ac_tool_prefix"; then
     9482    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
     9483$as_echo_n "checking for file... " >&6; }
     9484if ${lt_cv_path_MAGIC_CMD+:} false; then :
     9485  $as_echo_n "(cached) " >&6
     9486else
     9487  case $MAGIC_CMD in
     9488[\\/*] |  ?:[\\/]*)
     9489  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
     9490  ;;
     9491*)
     9492  lt_save_MAGIC_CMD=$MAGIC_CMD
     9493  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     9494  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
     9495  for ac_dir in $ac_dummy; do
     9496    IFS=$lt_save_ifs
     9497    test -z "$ac_dir" && ac_dir=.
     9498    if test -f "$ac_dir/file"; then
     9499      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
     9500      if test -n "$file_magic_test_file"; then
     9501        case $deplibs_check_method in
     9502        "file_magic "*)
     9503          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
     9504          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9505          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     9506            $EGREP "$file_magic_regex" > /dev/null; then
     9507            :
     9508          else
     9509            cat <<_LT_EOF 1>&2
     9510
     9511*** Warning: the command libtool uses to detect shared libraries,
     9512*** $file_magic_cmd, produces output that libtool cannot recognize.
     9513*** The result is that libtool may fail to recognize shared libraries
     9514*** as such.  This will affect the creation of libtool libraries that
     9515*** depend on shared libraries, but programs linked with such libtool
     9516*** libraries will work regardless of this problem.  Nevertheless, you
     9517*** may want to report the problem to your system manager and/or to
     9518*** bug-libtool@gnu.org
     9519
     9520_LT_EOF
     9521          fi ;;
     9522        esac
     9523      fi
     9524      break
     9525    fi
     9526  done
     9527  IFS=$lt_save_ifs
     9528  MAGIC_CMD=$lt_save_MAGIC_CMD
     9529  ;;
     9530esac
     9531fi
     9532
     9533MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     9534if test -n "$MAGIC_CMD"; then
     9535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     9536$as_echo "$MAGIC_CMD" >&6; }
     9537else
     9538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     9539$as_echo "no" >&6; }
     9540fi
     9541
     9542
     9543  else
     9544    MAGIC_CMD=:
     9545  fi
     9546fi
     9547
     9548  fi
     9549  ;;
     9550esac
     9551
     9552# Use C for the default configuration in the libtool script
     9553
     9554lt_save_CC=$CC
     9555ac_ext=c
     9556ac_cpp='$CPP $CPPFLAGS'
     9557ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     9558ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     9559ac_compiler_gnu=$ac_cv_c_compiler_gnu
     9560
     9561
     9562# Source file extension for C test sources.
     9563ac_ext=c
     9564
     9565# Object file extension for compiled C test sources.
     9566objext=o
     9567objext=$objext
     9568
     9569# Code to be used in simple compile tests
     9570lt_simple_compile_test_code="int some_variable = 0;"
     9571
     9572# Code to be used in simple link tests
     9573lt_simple_link_test_code='int main(){return(0);}'
     9574
     9575
     9576
     9577
     9578
     9579
     9580
     9581# If no C compiler was specified, use CC.
     9582LTCC=${LTCC-"$CC"}
     9583
     9584# If no C compiler flags were specified, use CFLAGS.
     9585LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     9586
     9587# Allow CC to be a program name with arguments.
     9588compiler=$CC
     9589
     9590# Save the default compiler, since it gets overwritten when the other
     9591# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
     9592compiler_DEFAULT=$CC
     9593
     9594# save warnings/boilerplate of simple test code
     9595ac_outfile=conftest.$ac_objext
     9596echo "$lt_simple_compile_test_code" >conftest.$ac_ext
     9597eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     9598_lt_compiler_boilerplate=`cat conftest.err`
     9599$RM conftest*
     9600
     9601ac_outfile=conftest.$ac_objext
     9602echo "$lt_simple_link_test_code" >conftest.$ac_ext
     9603eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     9604_lt_linker_boilerplate=`cat conftest.err`
     9605$RM -r conftest*
     9606
     9607
     9608## CAVEAT EMPTOR:
     9609## There is no encapsulation within the following macros, do not change
     9610## the running order or otherwise move them around unless you know exactly
     9611## what you are doing...
     9612if test -n "$compiler"; then
     9613
     9614lt_prog_compiler_no_builtin_flag=
     9615
     9616if test yes = "$GCC"; then
     9617  case $cc_basename in
     9618  nvcc*)
     9619    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
     9620  *)
     9621    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
     9622  esac
     9623
     9624  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
     9625$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
     9626if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
     9627  $as_echo_n "(cached) " >&6
     9628else
     9629  lt_cv_prog_compiler_rtti_exceptions=no
     9630   ac_outfile=conftest.$ac_objext
     9631   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     9632   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
     9633   # Insert the option either (1) after the last *FLAGS variable, or
     9634   # (2) before a word containing "conftest.", or (3) at the end.
     9635   # Note that $ac_compile itself does not contain backslashes and begins
     9636   # with a dollar sign (not a hyphen), so the echo should work correctly.
     9637   # The option is referenced via a variable to avoid confusing sed.
     9638   lt_compile=`echo "$ac_compile" | $SED \
     9639   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     9640   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     9641   -e 's:$: $lt_compiler_flag:'`
     9642   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     9643   (eval "$lt_compile" 2>conftest.err)
     9644   ac_status=$?
     9645   cat conftest.err >&5
     9646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9647   if (exit $ac_status) && test -s "$ac_outfile"; then
     9648     # The compiler can only warn and ignore the option if not recognized
     9649     # So say no if there are warnings other than the usual output.
     9650     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
     9651     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     9652     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
     9653       lt_cv_prog_compiler_rtti_exceptions=yes
     9654     fi
     9655   fi
     9656   $RM conftest*
     9657
     9658fi
     9659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
     9660$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
     9661
     9662if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
     9663    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
     9664else
     9665    :
     9666fi
     9667
     9668fi
     9669
     9670
     9671
     9672
     9673
     9674
     9675  lt_prog_compiler_wl=
     9676lt_prog_compiler_pic=
     9677lt_prog_compiler_static=
     9678
     9679
     9680  if test yes = "$GCC"; then
     9681    lt_prog_compiler_wl='-Wl,'
     9682    lt_prog_compiler_static='-static'
     9683
     9684    case $host_os in
     9685      aix*)
     9686      # All AIX code is PIC.
     9687      if test ia64 = "$host_cpu"; then
     9688        # AIX 5 now supports IA64 processor
     9689        lt_prog_compiler_static='-Bstatic'
     9690      fi
     9691      lt_prog_compiler_pic='-fPIC'
     9692      ;;
     9693
     9694    amigaos*)
     9695      case $host_cpu in
     9696      powerpc)
     9697            # see comment about AmigaOS4 .so support
     9698            lt_prog_compiler_pic='-fPIC'
     9699        ;;
     9700      m68k)
     9701            # FIXME: we need at least 68020 code to build shared libraries, but
     9702            # adding the '-m68020' flag to GCC prevents building anything better,
     9703            # like '-m68040'.
     9704            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
     9705        ;;
     9706      esac
     9707      ;;
     9708
     9709    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     9710      # PIC is the default for these OSes.
     9711      ;;
     9712
     9713    mingw* | cygwin* | pw32* | os2* | cegcc*)
     9714      # This hack is so that the source file can tell whether it is being
     9715      # built for inclusion in a dll (and should export symbols for example).
     9716      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     9717      # (--disable-auto-import) libraries
     9718      lt_prog_compiler_pic='-DDLL_EXPORT'
     9719      case $host_os in
     9720      os2*)
     9721        lt_prog_compiler_static='$wl-static'
     9722        ;;
     9723      esac
     9724      ;;
     9725
     9726    darwin* | rhapsody*)
     9727      # PIC is the default on this platform
     9728      # Common symbols not allowed in MH_DYLIB files
     9729      lt_prog_compiler_pic='-fno-common'
     9730      ;;
     9731
     9732    haiku*)
     9733      # PIC is the default for Haiku.
     9734      # The "-static" flag exists, but is broken.
     9735      lt_prog_compiler_static=
     9736      ;;
     9737
     9738    hpux*)
     9739      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
     9740      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
     9741      # sets the default TLS model and affects inlining.
     9742      case $host_cpu in
     9743      hppa*64*)
     9744        # +Z the default
     9745        ;;
     9746      *)
     9747        lt_prog_compiler_pic='-fPIC'
     9748        ;;
     9749      esac
     9750      ;;
     9751
     9752    interix[3-9]*)
     9753      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
     9754      # Instead, we relocate shared libraries at runtime.
     9755      ;;
     9756
     9757    msdosdjgpp*)
     9758      # Just because we use GCC doesn't mean we suddenly get shared libraries
     9759      # on systems that don't support them.
     9760      lt_prog_compiler_can_build_shared=no
     9761      enable_shared=no
     9762      ;;
     9763
     9764    *nto* | *qnx*)
     9765      # QNX uses GNU C++, but need to define -shared option too, otherwise
     9766      # it will coredump.
     9767      lt_prog_compiler_pic='-fPIC -shared'
     9768      ;;
     9769
     9770    sysv4*MP*)
     9771      if test -d /usr/nec; then
     9772        lt_prog_compiler_pic=-Kconform_pic
     9773      fi
     9774      ;;
     9775
     9776    *)
     9777      lt_prog_compiler_pic='-fPIC'
     9778      ;;
     9779    esac
     9780
     9781    case $cc_basename in
     9782    nvcc*) # Cuda Compiler Driver 2.2
     9783      lt_prog_compiler_wl='-Xlinker '
     9784      if test -n "$lt_prog_compiler_pic"; then
     9785        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
     9786      fi
     9787      ;;
     9788    esac
     9789  else
     9790    # PORTME Check for flag to pass linker flags through the system compiler.
     9791    case $host_os in
     9792    aix*)
     9793      lt_prog_compiler_wl='-Wl,'
     9794      if test ia64 = "$host_cpu"; then
     9795        # AIX 5 now supports IA64 processor
     9796        lt_prog_compiler_static='-Bstatic'
     9797      else
     9798        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
     9799      fi
     9800      ;;
     9801
     9802    darwin* | rhapsody*)
     9803      # PIC is the default on this platform
     9804      # Common symbols not allowed in MH_DYLIB files
     9805      lt_prog_compiler_pic='-fno-common'
     9806      case $cc_basename in
     9807      nagfor*)
     9808        # NAG Fortran compiler
     9809        lt_prog_compiler_wl='-Wl,-Wl,,'
     9810        lt_prog_compiler_pic='-PIC'
     9811        lt_prog_compiler_static='-Bstatic'
     9812        ;;
     9813      esac
     9814      ;;
     9815
     9816    mingw* | cygwin* | pw32* | os2* | cegcc*)
     9817      # This hack is so that the source file can tell whether it is being
     9818      # built for inclusion in a dll (and should export symbols for example).
     9819      lt_prog_compiler_pic='-DDLL_EXPORT'
     9820      case $host_os in
     9821      os2*)
     9822        lt_prog_compiler_static='$wl-static'
     9823        ;;
     9824      esac
     9825      ;;
     9826
     9827    hpux9* | hpux10* | hpux11*)
     9828      lt_prog_compiler_wl='-Wl,'
     9829      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
     9830      # not for PA HP-UX.
     9831      case $host_cpu in
     9832      hppa*64*|ia64*)
     9833        # +Z the default
     9834        ;;
     9835      *)
     9836        lt_prog_compiler_pic='+Z'
     9837        ;;
     9838      esac
     9839      # Is there a better lt_prog_compiler_static that works with the bundled CC?
     9840      lt_prog_compiler_static='$wl-a ${wl}archive'
     9841      ;;
     9842
     9843    irix5* | irix6* | nonstopux*)
     9844      lt_prog_compiler_wl='-Wl,'
     9845      # PIC (with -KPIC) is the default.
     9846      lt_prog_compiler_static='-non_shared'
     9847      ;;
     9848
     9849    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     9850      case $cc_basename in
     9851      # old Intel for x86_64, which still supported -KPIC.
     9852      ecc*)
     9853        lt_prog_compiler_wl='-Wl,'
     9854        lt_prog_compiler_pic='-KPIC'
     9855        lt_prog_compiler_static='-static'
     9856        ;;
     9857      # icc used to be incompatible with GCC.
     9858      # ICC 10 doesn't accept -KPIC any more.
     9859      icc* | ifort*)
     9860        lt_prog_compiler_wl='-Wl,'
     9861        lt_prog_compiler_pic='-fPIC'
     9862        lt_prog_compiler_static='-static'
     9863        ;;
     9864      # Lahey Fortran 8.1.
     9865      lf95*)
     9866        lt_prog_compiler_wl='-Wl,'
     9867        lt_prog_compiler_pic='--shared'
     9868        lt_prog_compiler_static='--static'
     9869        ;;
     9870      nagfor*)
     9871        # NAG Fortran compiler
     9872        lt_prog_compiler_wl='-Wl,-Wl,,'
     9873        lt_prog_compiler_pic='-PIC'
     9874        lt_prog_compiler_static='-Bstatic'
     9875        ;;
     9876      tcc*)
     9877        # Fabrice Bellard et al's Tiny C Compiler
     9878        lt_prog_compiler_wl='-Wl,'
     9879        lt_prog_compiler_pic='-fPIC'
     9880        lt_prog_compiler_static='-static'
     9881        ;;
     9882      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
     9883        # Portland Group compilers (*not* the Pentium gcc compiler,
     9884        # which looks to be a dead project)
     9885        lt_prog_compiler_wl='-Wl,'
     9886        lt_prog_compiler_pic='-fpic'
     9887        lt_prog_compiler_static='-Bstatic'
     9888        ;;
     9889      ccc*)
     9890        lt_prog_compiler_wl='-Wl,'
     9891        # All Alpha code is PIC.
     9892        lt_prog_compiler_static='-non_shared'
     9893        ;;
     9894      xl* | bgxl* | bgf* | mpixl*)
     9895        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
     9896        lt_prog_compiler_wl='-Wl,'
     9897        lt_prog_compiler_pic='-qpic'
     9898        lt_prog_compiler_static='-qstaticlink'
     9899        ;;
     9900      *)
     9901        case `$CC -V 2>&1 | sed 5q` in
     9902        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
     9903          # Sun Fortran 8.3 passes all unrecognized flags to the linker
     9904          lt_prog_compiler_pic='-KPIC'
     9905          lt_prog_compiler_static='-Bstatic'
     9906          lt_prog_compiler_wl=''
     9907          ;;
     9908        *Sun\ F* | *Sun*Fortran*)
     9909          lt_prog_compiler_pic='-KPIC'
     9910          lt_prog_compiler_static='-Bstatic'
     9911          lt_prog_compiler_wl='-Qoption ld '
     9912          ;;
     9913        *Sun\ C*)
     9914          # Sun C 5.9
     9915          lt_prog_compiler_pic='-KPIC'
     9916          lt_prog_compiler_static='-Bstatic'
     9917          lt_prog_compiler_wl='-Wl,'
     9918          ;;<