Changeset 765


Ignore:
Timestamp:
Jan 30, 2019 9:45:11 AM (8 weeks ago)
Author:
mbanovic
Message:

Regenerate all files.

Location:
trunk
Files:
54 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/Makefile.in

    r762 r765  
    236236ETAGS = etags
    237237CTAGS = ctags
    238 DIST_SUBDIRS = src . test include examples
     238DIST_SUBDIRS = src . test include swig examples
    239239am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/autoconf/depcomp
    240240DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
     
    317317LN_S = @LN_S@
    318318LTLIBOBJS = @LTLIBOBJS@
     319LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    319320MAINT = @MAINT@
    320321MAKEINFO = @MAKEINFO@
     
    340341SET_MAKE = @SET_MAKE@
    341342SHELL = @SHELL@
     343SPARSE_DRIVERS = @SPARSE_DRIVERS@
    342344STRIP = @STRIP@
    343345UINT_TYPE = @UINT_TYPE@
     
    406408top_srcdir = @top_srcdir@
    407409AUTOMAKE_OPTIONS = foreign
    408 @ADDEXA_FALSE@@DOCEXA_FALSE@@PAREXA_FALSE@SUBDIRS = src . test include
     410@ADDEXA_FALSE@@DOCEXA_FALSE@@PAREXA_FALSE@SUBDIRS = src . test include \
     411@ADDEXA_FALSE@@DOCEXA_FALSE@@PAREXA_FALSE@      swig
    409412@ADDEXA_FALSE@@DOCEXA_FALSE@@PAREXA_TRUE@SUBDIRS = src . test examples \
    410 @ADDEXA_FALSE@@DOCEXA_FALSE@@PAREXA_TRUE@       include
    411 @ADDEXA_TRUE@@DOCEXA_FALSE@SUBDIRS = src . test examples include
    412 @DOCEXA_TRUE@SUBDIRS = src . test examples include
     413@ADDEXA_FALSE@@DOCEXA_FALSE@@PAREXA_TRUE@       include swig
     414@ADDEXA_TRUE@@DOCEXA_FALSE@SUBDIRS = src . test examples include swig
     415@DOCEXA_TRUE@SUBDIRS = src . test examples include swig
    413416MAINTAINERCLEANFILES = Makefile.in
    414417lib_LTLIBRARIES = lib@adolclib@.la
  • trunk/ADOL-C/examples/Makefile.in

    r762 r765  
    321321LN_S = @LN_S@
    322322LTLIBOBJS = @LTLIBOBJS@
     323LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    323324MAINT = @MAINT@
    324325MAKEINFO = @MAKEINFO@
     
    344345SET_MAKE = @SET_MAKE@
    345346SHELL = @SHELL@
     347SPARSE_DRIVERS = @SPARSE_DRIVERS@
    346348STRIP = @STRIP@
    347349UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/Makefile.in

    r762 r765  
    250250LN_S = @LN_S@
    251251LTLIBOBJS = @LTLIBOBJS@
     252LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    252253MAINT = @MAINT@
    253254MAKEINFO = @MAKEINFO@
     
    273274SET_MAKE = @SET_MAKE@
    274275SHELL = @SHELL@
     276SPARSE_DRIVERS = @SPARSE_DRIVERS@
    275277STRIP = @STRIP@
    276278UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/checkpointing/Makefile.in

    r762 r765  
    239239LN_S = @LN_S@
    240240LTLIBOBJS = @LTLIBOBJS@
     241LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    241242MAINT = @MAINT@
    242243MAKEINFO = @MAKEINFO@
     
    262263SET_MAKE = @SET_MAKE@
    263264SHELL = @SHELL@
     265SPARSE_DRIVERS = @SPARSE_DRIVERS@
    264266STRIP = @STRIP@
    265267UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/clock/Makefile.in

    r762 r765  
    255255LN_S = @LN_S@
    256256LTLIBOBJS = @LTLIBOBJS@
     257LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    257258MAINT = @MAINT@
    258259MAKEINFO = @MAKEINFO@
     
    278279SET_MAKE = @SET_MAKE@
    279280SHELL = @SHELL@
     281SPARSE_DRIVERS = @SPARSE_DRIVERS@
    280282STRIP = @STRIP@
    281283UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/cuda/Makefile.in

    r762 r765  
    188188LN_S = @LN_S@
    189189LTLIBOBJS = @LTLIBOBJS@
     190LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    190191MAINT = @MAINT@
    191192MAKEINFO = @MAKEINFO@
     
    211212SET_MAKE = @SET_MAKE@
    212213SHELL = @SHELL@
     214SPARSE_DRIVERS = @SPARSE_DRIVERS@
    213215STRIP = @STRIP@
    214216UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/detexam/Makefile.in

    r762 r765  
    242242LN_S = @LN_S@
    243243LTLIBOBJS = @LTLIBOBJS@
     244LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    244245MAINT = @MAINT@
    245246MAKEINFO = @MAKEINFO@
     
    265266SET_MAKE = @SET_MAKE@
    266267SHELL = @SHELL@
     268SPARSE_DRIVERS = @SPARSE_DRIVERS@
    267269STRIP = @STRIP@
    268270UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/ext_diff_func/Makefile.in

    r762 r765  
    243243LN_S = @LN_S@
    244244LTLIBOBJS = @LTLIBOBJS@
     245LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    245246MAINT = @MAINT@
    246247MAKEINFO = @MAKEINFO@
     
    266267SET_MAKE = @SET_MAKE@
    267268SHELL = @SHELL@
     269SPARSE_DRIVERS = @SPARSE_DRIVERS@
    268270STRIP = @STRIP@
    269271UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/fixpoint_exam/Makefile.in

    r762 r765  
    239239LN_S = @LN_S@
    240240LTLIBOBJS = @LTLIBOBJS@
     241LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    241242MAINT = @MAINT@
    242243MAKEINFO = @MAKEINFO@
     
    262263SET_MAKE = @SET_MAKE@
    263264SHELL = @SHELL@
     265SPARSE_DRIVERS = @SPARSE_DRIVERS@
    264266STRIP = @STRIP@
    265267UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/helm/Makefile.in

    r762 r765  
    242242LN_S = @LN_S@
    243243LTLIBOBJS = @LTLIBOBJS@
     244LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    244245MAINT = @MAINT@
    245246MAKEINFO = @MAKEINFO@
     
    265266SET_MAKE = @SET_MAKE@
    266267SHELL = @SHELL@
     268SPARSE_DRIVERS = @SPARSE_DRIVERS@
    267269STRIP = @STRIP@
    268270UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/hessmat/Makefile.in

    r762 r765  
    239239LN_S = @LN_S@
    240240LTLIBOBJS = @LTLIBOBJS@
     241LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    241242MAINT = @MAINT@
    242243MAKEINFO = @MAKEINFO@
     
    262263SET_MAKE = @SET_MAKE@
    263264SHELL = @SHELL@
     265SPARSE_DRIVERS = @SPARSE_DRIVERS@
    264266STRIP = @STRIP@
    265267UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/lie/Makefile.in

    r762 r765  
    238238LN_S = @LN_S@
    239239LTLIBOBJS = @LTLIBOBJS@
     240LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    240241MAINT = @MAINT@
    241242MAKEINFO = @MAKEINFO@
     
    261262SET_MAKE = @SET_MAKE@
    262263SHELL = @SHELL@
     264SPARSE_DRIVERS = @SPARSE_DRIVERS@
    263265STRIP = @STRIP@
    264266UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/lighthouse/Makefile.in

    r762 r765  
    251251LN_S = @LN_S@
    252252LTLIBOBJS = @LTLIBOBJS@
     253LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    253254MAINT = @MAINT@
    254255MAKEINFO = @MAKEINFO@
     
    274275SET_MAKE = @SET_MAKE@
    275276SHELL = @SHELL@
     277SPARSE_DRIVERS = @SPARSE_DRIVERS@
    276278STRIP = @STRIP@
    277279UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/lufact/Makefile.in

    r762 r765  
    242242LN_S = @LN_S@
    243243LTLIBOBJS = @LTLIBOBJS@
     244LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    244245MAINT = @MAINT@
    245246MAKEINFO = @MAKEINFO@
     
    265266SET_MAKE = @SET_MAKE@
    266267SHELL = @SHELL@
     268SPARSE_DRIVERS = @SPARSE_DRIVERS@
    267269STRIP = @STRIP@
    268270UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/ode/Makefile.in

    r762 r765  
    261261LN_S = @LN_S@
    262262LTLIBOBJS = @LTLIBOBJS@
     263LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    263264MAINT = @MAINT@
    264265MAKEINFO = @MAKEINFO@
     
    284285SET_MAKE = @SET_MAKE@
    285286SHELL = @SHELL@
     287SPARSE_DRIVERS = @SPARSE_DRIVERS@
    286288STRIP = @STRIP@
    287289UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/openmp_exam/Makefile.in

    r762 r765  
    242242LN_S = @LN_S@
    243243LTLIBOBJS = @LTLIBOBJS@
     244LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    244245MAINT = @MAINT@
    245246MAKEINFO = @MAKEINFO@
     
    265266SET_MAKE = @SET_MAKE@
    266267SHELL = @SHELL@
     268SPARSE_DRIVERS = @SPARSE_DRIVERS@
    267269STRIP = @STRIP@
    268270UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/param/Makefile.in

    r762 r765  
    238238LN_S = @LN_S@
    239239LTLIBOBJS = @LTLIBOBJS@
     240LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    240241MAINT = @MAINT@
    241242MAKEINFO = @MAKEINFO@
     
    261262SET_MAKE = @SET_MAKE@
    262263SHELL = @SHELL@
     264SPARSE_DRIVERS = @SPARSE_DRIVERS@
    263265STRIP = @STRIP@
    264266UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/pow/Makefile.in

    r762 r765  
    239239LN_S = @LN_S@
    240240LTLIBOBJS = @LTLIBOBJS@
     241LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    241242MAINT = @MAINT@
    242243MAKEINFO = @MAKEINFO@
     
    262263SET_MAKE = @SET_MAKE@
    263264SHELL = @SHELL@
     265SPARSE_DRIVERS = @SPARSE_DRIVERS@
    264266STRIP = @STRIP@
    265267UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/scal/Makefile.in

    r762 r765  
    239239LN_S = @LN_S@
    240240LTLIBOBJS = @LTLIBOBJS@
     241LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    241242MAINT = @MAINT@
    242243MAKEINFO = @MAKEINFO@
     
    262263SET_MAKE = @SET_MAKE@
    263264SHELL = @SHELL@
     265SPARSE_DRIVERS = @SPARSE_DRIVERS@
    264266STRIP = @STRIP@
    265267UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/sparse/Makefile.in

    r762 r765  
    254254LN_S = @LN_S@
    255255LTLIBOBJS = @LTLIBOBJS@
     256LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    256257MAINT = @MAINT@
    257258MAKEINFO = @MAKEINFO@
     
    277278SET_MAKE = @SET_MAKE@
    278279SHELL = @SHELL@
     280SPARSE_DRIVERS = @SPARSE_DRIVERS@
    279281STRIP = @STRIP@
    280282UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/speelpenning/Makefile.in

    r762 r765  
    239239LN_S = @LN_S@
    240240LTLIBOBJS = @LTLIBOBJS@
     241LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    241242MAINT = @MAINT@
    242243MAKEINFO = @MAKEINFO@
     
    262263SET_MAKE = @SET_MAKE@
    263264SHELL = @SHELL@
     265SPARSE_DRIVERS = @SPARSE_DRIVERS@
    264266STRIP = @STRIP@
    265267UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/tapesave/Makefile.in

    r762 r765  
    242242LN_S = @LN_S@
    243243LTLIBOBJS = @LTLIBOBJS@
     244LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    244245MAINT = @MAINT@
    245246MAKEINFO = @MAKEINFO@
     
    265266SET_MAKE = @SET_MAKE@
    266267SHELL = @SHELL@
     268SPARSE_DRIVERS = @SPARSE_DRIVERS@
    267269STRIP = @STRIP@
    268270UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/taylor/Makefile.in

    r762 r765  
    255255LN_S = @LN_S@
    256256LTLIBOBJS = @LTLIBOBJS@
     257LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    257258MAINT = @MAINT@
    258259MAKEINFO = @MAKEINFO@
     
    278279SET_MAKE = @SET_MAKE@
    279280SHELL = @SHELL@
     281SPARSE_DRIVERS = @SPARSE_DRIVERS@
    280282STRIP = @STRIP@
    281283UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/examples/additional_examples/timing/Makefile.in

    r762 r765  
    306306LN_S = @LN_S@
    307307LTLIBOBJS = @LTLIBOBJS@
     308LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    308309MAINT = @MAINT@
    309310MAKEINFO = @MAKEINFO@
     
    329330SET_MAKE = @SET_MAKE@
    330331SHELL = @SHELL@
     332SPARSE_DRIVERS = @SPARSE_DRIVERS@
    331333STRIP = @STRIP@
    332334UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/include/Makefile.in

    r762 r765  
    248248LN_S = @LN_S@
    249249LTLIBOBJS = @LTLIBOBJS@
     250LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    250251MAINT = @MAINT@
    251252MAKEINFO = @MAKEINFO@
     
    271272SET_MAKE = @SET_MAKE@
    272273SHELL = @SHELL@
     274SPARSE_DRIVERS = @SPARSE_DRIVERS@
    273275STRIP = @STRIP@
    274276UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/include/adolc/Makefile.in

    r762 r765  
    287287LN_S = @LN_S@
    288288LTLIBOBJS = @LTLIBOBJS@
     289LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    289290MAINT = @MAINT@
    290291MAKEINFO = @MAKEINFO@
     
    310311SET_MAKE = @SET_MAKE@
    311312SHELL = @SHELL@
     313SPARSE_DRIVERS = @SPARSE_DRIVERS@
    312314STRIP = @STRIP@
    313315UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/include/adolc/drivers/Makefile.in

    r762 r765  
    237237LN_S = @LN_S@
    238238LTLIBOBJS = @LTLIBOBJS@
     239LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    239240MAINT = @MAINT@
    240241MAKEINFO = @MAKEINFO@
     
    260261SET_MAKE = @SET_MAKE@
    261262SHELL = @SHELL@
     263SPARSE_DRIVERS = @SPARSE_DRIVERS@
    262264STRIP = @STRIP@
    263265UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/include/adolc/internal/Makefile.in

    r762 r765  
    237237LN_S = @LN_S@
    238238LTLIBOBJS = @LTLIBOBJS@
     239LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    239240MAINT = @MAINT@
    240241MAKEINFO = @MAKEINFO@
     
    260261SET_MAKE = @SET_MAKE@
    261262SHELL = @SHELL@
     263SPARSE_DRIVERS = @SPARSE_DRIVERS@
    262264STRIP = @STRIP@
    263265UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/include/adolc/internal/adolc_settings.h

    r708 r765  
    3434
    3535/*--------------------------------------------------------------------------*/
     36/* Use reference counting for tapeless numbers */
     37@ADTL_REFCNT@
     38
     39/*--------------------------------------------------------------------------*/
     40/* Sparse drivers have been compiled */
     41#undef SPARSE_DRIVERS
     42
     43/*--------------------------------------------------------------------------*/
    3644/* Use Boost Library Pool allocator */
    3745#define USE_BOOST_POOL 1
  • trunk/ADOL-C/include/adolc/lie/Makefile.in

    r762 r765  
    237237LN_S = @LN_S@
    238238LTLIBOBJS = @LTLIBOBJS@
     239LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    239240MAINT = @MAINT@
    240241MAKEINFO = @MAKEINFO@
     
    260261SET_MAKE = @SET_MAKE@
    261262SHELL = @SHELL@
     263SPARSE_DRIVERS = @SPARSE_DRIVERS@
    262264STRIP = @STRIP@
    263265UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/include/adolc/sparse/Makefile.in

    r762 r765  
    237237LN_S = @LN_S@
    238238LTLIBOBJS = @LTLIBOBJS@
     239LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    239240MAINT = @MAINT@
    240241MAKEINFO = @MAKEINFO@
     
    260261SET_MAKE = @SET_MAKE@
    261262SHELL = @SHELL@
     263SPARSE_DRIVERS = @SPARSE_DRIVERS@
    262264STRIP = @STRIP@
    263265UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/include/adolc/tapedoc/Makefile.in

    r762 r765  
    237237LN_S = @LN_S@
    238238LTLIBOBJS = @LTLIBOBJS@
     239LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    239240MAINT = @MAINT@
    240241MAKEINFO = @MAKEINFO@
     
    260261SET_MAKE = @SET_MAKE@
    261262SHELL = @SHELL@
     263SPARSE_DRIVERS = @SPARSE_DRIVERS@
    262264STRIP = @STRIP@
    263265UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/src/Makefile.in

    r762 r765  
    364364LN_S = @LN_S@
    365365LTLIBOBJS = @LTLIBOBJS@
     366LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    366367MAINT = @MAINT@
    367368MAKEINFO = @MAKEINFO@
     
    387388SET_MAKE = @SET_MAKE@
    388389SHELL = @SHELL@
     390SPARSE_DRIVERS = @SPARSE_DRIVERS@
    389391STRIP = @STRIP@
    390392UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/src/config.h.in

    r749 r765  
    1616#undef ADOLC_HARDDEBUG
    1717
     18/* defined if MeDiPack support is to be compiled in */
     19#undef ADOLC_MEDIPACK_SUPPORT
     20
    1821/* ADOL-C Patchlevel */
    1922#undef ADOLC_PATCHLEVEL
     
    5154/* Define if the compiler provides __builtin_expect */
    5255#undef HAVE_BUILTIN_EXPECT
     56
     57/* Define to 1 if you have the `cbrt' function. */
     58#undef HAVE_CBRT
    5359
    5460/* define if the compiler supports basic C++11 syntax */
     
    138144#undef HAVE__BOOL
    139145
    140 /* Define to the sub-directory in which libtool stores uninstalled libraries.
    141    */
     146/* Define to the sub-directory where libtool stores uninstalled libraries. */
    142147#undef LT_OBJDIR
    143148
  • trunk/ADOL-C/src/drivers/Makefile.in

    r762 r765  
    238238LN_S = @LN_S@
    239239LTLIBOBJS = @LTLIBOBJS@
     240LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    240241MAINT = @MAINT@
    241242MAKEINFO = @MAKEINFO@
     
    261262SET_MAKE = @SET_MAKE@
    262263SHELL = @SHELL@
     264SPARSE_DRIVERS = @SPARSE_DRIVERS@
    263265STRIP = @STRIP@
    264266UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/src/lie/Makefile.in

    r762 r765  
    255255LN_S = @LN_S@
    256256LTLIBOBJS = @LTLIBOBJS@
     257LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    257258MAINT = @MAINT@
    258259MAKEINFO = @MAKEINFO@
     
    278279SET_MAKE = @SET_MAKE@
    279280SHELL = @SHELL@
     281SPARSE_DRIVERS = @SPARSE_DRIVERS@
    280282STRIP = @STRIP@
    281283UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/src/sparse/Makefile.in

    r762 r765  
    237237LN_S = @LN_S@
    238238LTLIBOBJS = @LTLIBOBJS@
     239LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    239240MAINT = @MAINT@
    240241MAKEINFO = @MAKEINFO@
     
    260261SET_MAKE = @SET_MAKE@
    261262SHELL = @SHELL@
     263SPARSE_DRIVERS = @SPARSE_DRIVERS@
    262264STRIP = @STRIP@
    263265UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/src/tapedoc/Makefile.in

    r762 r765  
    237237LN_S = @LN_S@
    238238LTLIBOBJS = @LTLIBOBJS@
     239LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    239240MAINT = @MAINT@
    240241MAKEINFO = @MAKEINFO@
     
    260261SET_MAKE = @SET_MAKE@
    261262SHELL = @SHELL@
     263SPARSE_DRIVERS = @SPARSE_DRIVERS@
    262264STRIP = @STRIP@
    263265UINT_TYPE = @UINT_TYPE@
  • trunk/ADOL-C/test/Makefile.in

    r762 r765  
    246246LN_S = @LN_S@
    247247LTLIBOBJS = @LTLIBOBJS@
     248LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    248249MAINT = @MAINT@
    249250MAKEINFO = @MAKEINFO@
     
    269270SET_MAKE = @SET_MAKE@
    270271SHELL = @SHELL@
     272SPARSE_DRIVERS = @SPARSE_DRIVERS@
    271273STRIP = @STRIP@
    272274UINT_TYPE = @UINT_TYPE@
  • trunk/Makefile.in

    r762 r765  
    318318LN_S = @LN_S@
    319319LTLIBOBJS = @LTLIBOBJS@
     320LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    320321MAINT = @MAINT@
    321322MAKEINFO = @MAKEINFO@
     
    341342SET_MAKE = @SET_MAKE@
    342343SHELL = @SHELL@
     344SPARSE_DRIVERS = @SPARSE_DRIVERS@
    343345STRIP = @STRIP@
    344346UINT_TYPE = @UINT_TYPE@
  • trunk/autoconf/config.guess

    r451 r765  
    11#! /bin/sh
    22# Attempt to guess a canonical system name.
    3 #   Copyright 1992-2013 Free Software Foundation, Inc.
    4 
    5 timestamp='2013-06-10'
     3#   Copyright 1992-2015 Free Software Foundation, Inc.
     4
     5timestamp='2015-08-20'
    66
    77# This file is free software; you can redistribute it and/or modify it
     
    2525# of the GNU General Public License, version 3 ("GPLv3").
    2626#
    27 # Originally written by Per Bothner.
     27# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
    2828#
    2929# You can get the latest version of this script from:
    3030# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
    3131#
    32 # Please send patches with a ChangeLog entry to config-patches@gnu.org.
     32# Please send patches to <config-patches@gnu.org>.
    3333
    3434
     
    5151
    5252Originally written by Per Bothner.
    53 Copyright 1992-2013 Free Software Foundation, Inc.
     53Copyright 1992-2015 Free Software Foundation, Inc.
    5454
    5555This is free software; see the source for copying conditions.  There is NO
     
    150150        #endif
    151151        EOF
    152         eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'`
     152        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
    153153        ;;
    154154esac
    155 
    156 case "${UNAME_MACHINE}" in
    157   i?86)
    158      test -z "$VENDOR" && VENDOR=pc
    159      ;;
    160   *)
    161      test -z "$VENDOR" && VENDOR=unknown
    162      ;;
    163 esac
    164 test -f /etc/SuSE-release -o -f /.buildenv && VENDOR=suse
    165155
    166156# Note: order is significant - the case branches are not exclusive.
     
    179169        # portion of the name.  We always set it to "unknown".
    180170        sysctl="sysctl -n hw.machine_arch"
    181         UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \
    182             /usr/sbin/$sysctl 2>/dev/null || echo unknown)`
     171        UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
     172            /sbin/$sysctl 2>/dev/null || \
     173            /usr/sbin/$sysctl 2>/dev/null || \
     174            echo unknown)`
    183175        case "${UNAME_MACHINE_ARCH}" in
    184176            armeb) machine=armeb-unknown ;;
     
    187179            sh3eb) machine=sh-unknown ;;
    188180            sh5el) machine=sh5le-unknown ;;
     181            earmv*)
     182                arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
     183                endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'`
     184                machine=${arch}${endian}-unknown
     185                ;;
    189186            *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
    190187        esac
     
    192189        # to ELF recently, or will in the future.
    193190        case "${UNAME_MACHINE_ARCH}" in
    194             arm*|i386|m68k|ns32k|sh3*|sparc|vax)
     191            arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax)
    195192                eval $set_cc_for_build
    196193                if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
     
    208205                ;;
    209206        esac
     207        # Determine ABI tags.
     208        case "${UNAME_MACHINE_ARCH}" in
     209            earm*)
     210                expr='s/^earmv[0-9]/-eabi/;s/eb$//'
     211                abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"`
     212                ;;
     213        esac
    210214        # The OS release
    211215        # Debian GNU/NetBSD machines have a different userland, and
     
    218222                ;;
    219223            *)
    220                 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
     224                release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2`
    221225                ;;
    222226        esac
     
    224228        # contains redundant information, the shorter form:
    225229        # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
    226         echo "${machine}-${os}${release}"
     230        echo "${machine}-${os}${release}${abi}"
    227231        exit ;;
    228232    *:Bitrig:*:*)
    229233        UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
    230         echo ${UNAME_MACHINE_ARCH}-${VENDOR}-bitrig${UNAME_RELEASE}
     234        echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE}
    231235        exit ;;
    232236    *:OpenBSD:*:*)
    233237        UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
    234         echo ${UNAME_MACHINE_ARCH}-${VENDOR}-openbsd${UNAME_RELEASE}
     238        echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
    235239        exit ;;
    236240    *:ekkoBSD:*:*)
    237         echo ${UNAME_MACHINE}-${VENDOR}-ekkobsd${UNAME_RELEASE}
     241        echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
    238242        exit ;;
    239243    *:SolidBSD:*:*)
    240         echo ${UNAME_MACHINE}-${VENDOR}-solidbsd${UNAME_RELEASE}
     244        echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
    241245        exit ;;
    242246    macppc:MirBSD:*:*)
    243         echo powerpc-${VENDOR}-mirbsd${UNAME_RELEASE}
     247        echo powerpc-unknown-mirbsd${UNAME_RELEASE}
    244248        exit ;;
    245249    *:MirBSD:*:*)
    246         echo ${UNAME_MACHINE}-${VENDOR}-mirbsd${UNAME_RELEASE}
     250        echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
     251        exit ;;
     252    *:Sortix:*:*)
     253        echo ${UNAME_MACHINE}-unknown-sortix
    247254        exit ;;
    248255    alpha:OSF1:*:*)
     
    312319        exit ;;
    313320    Amiga*:UNIX_System_V:4.0:*)
    314         echo m68k-${VENDOR}-sysv4
     321        echo m68k-unknown-sysv4
    315322        exit ;;
    316323    *:[Aa]miga[Oo][Ss]:*:*)
    317         echo ${UNAME_MACHINE}-${VENDOR}-amigaos
     324        echo ${UNAME_MACHINE}-unknown-amigaos
    318325        exit ;;
    319326    *:[Mm]orph[Oo][Ss]:*:*)
    320         echo ${UNAME_MACHINE}-${VENDOR}-morphos
     327        echo ${UNAME_MACHINE}-unknown-morphos
    321328        exit ;;
    322329    *:OS/390:*:*)
     
    333340        exit ;;
    334341    arm*:riscos:*:*|arm*:RISCOS:*:*)
    335         echo arm-${VENDOR}-riscos
     342        echo arm-unknown-riscos
    336343        exit ;;
    337344    SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
     
    441448        exit ;;
    442449    *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
    443         echo m68k-${VENDOR}-mint${UNAME_RELEASE}
     450        echo m68k-unknown-mint${UNAME_RELEASE}
    444451        exit ;;
    445452    m68k:machten:*:*)
     
    590597                IBM_ARCH=powerpc
    591598        fi
    592         if [ -x /usr/bin/oslevel ] ; then
    593                 IBM_REV=`/usr/bin/oslevel`
     599        if [ -x /usr/bin/lslpp ] ; then
     600                IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
     601                           awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
    594602        else
    595603                IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE}
     
    752760    i*86:OSF1:*:*)
    753761        if [ -x /usr/sbin/sysversion ] ; then
    754             echo ${UNAME_MACHINE}-${VENDOR}-osf1mk
     762            echo ${UNAME_MACHINE}-unknown-osf1mk
    755763        else
    756             echo ${UNAME_MACHINE}-${VENDOR}-osf1
     764            echo ${UNAME_MACHINE}-unknown-osf1
    757765        fi
    758766        exit ;;
     
    814822        exit ;;
    815823    sparc*:BSD/OS:*:*)
    816         echo sparc-${VENDOR}-bsdi${UNAME_RELEASE}
     824        echo sparc-unknown-bsdi${UNAME_RELEASE}
    817825        exit ;;
    818826    *:BSD/OS:*:*)
    819         echo ${UNAME_MACHINE}-${VENDOR}-bsdi${UNAME_RELEASE}
     827        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
    820828        exit ;;
    821829    *:FreeBSD:*:*)
     
    823831        case ${UNAME_PROCESSOR} in
    824832            amd64)
    825                 echo x86_64-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
     833                echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    826834            *)
    827                 echo ${UNAME_PROCESSOR}-${VENDOR}-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
     835                echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
    828836        esac
    829837        exit ;;
     
    837845        echo ${UNAME_MACHINE}-pc-mingw32
    838846        exit ;;
    839     i*:MSYS*:*)
     847    *:MSYS*:*)
    840848        echo ${UNAME_MACHINE}-pc-msys
    841849        exit ;;
     
    853861                exit ;;
    854862            authenticamd | genuineintel | EM64T)
    855                 echo x86_64-${VENDOR}-interix${UNAME_RELEASE}
     863                echo x86_64-unknown-interix${UNAME_RELEASE}
    856864                exit ;;
    857865            IA64)
    858                 echo ia64-${VENDOR}-interix${UNAME_RELEASE}
     866                echo ia64-unknown-interix${UNAME_RELEASE}
    859867                exit ;;
    860868        esac ;;
     
    875883        exit ;;
    876884    amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
    877         echo x86_64-${VENDOR}-cygwin
     885        echo x86_64-unknown-cygwin
    878886        exit ;;
    879887    p*:CYGWIN*:*)
    880         echo powerpcle-${VENDOR}-cygwin
     888        echo powerpcle-unknown-cygwin
    881889        exit ;;
    882890    prep*:SunOS:5.*:*)
    883         echo powerpcle-${VENDOR}-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
     891        echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
    884892        exit ;;
    885893    *:GNU:*:*)
    886894        # the GNU system
    887         echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-${VENDOR}-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
     895        echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
    888896        exit ;;
    889897    *:GNU/*:*:*)
    890898        # other systems with GNU libc and userland
    891         echo ${UNAME_MACHINE}-${VENDOR}-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
     899        echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
    892900        exit ;;
    893901    i*86:Minix:*:*)
     
    895903        exit ;;
    896904    aarch64:Linux:*:*)
    897         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     905        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    898906        exit ;;
    899907    aarch64_be:Linux:*:*)
    900908        UNAME_MACHINE=aarch64_be
    901         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     909        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    902910        exit ;;
    903911    alpha:Linux:*:*)
     
    913921        objdump --private-headers /bin/sh | grep -q ld.so.1
    914922        if test "$?" = 0 ; then LIBC="gnulibc1" ; fi
    915         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     923        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    916924        exit ;;
    917925    arc:Linux:*:* | arceb:Linux:*:*)
    918         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     926        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    919927        exit ;;
    920928    arm*:Linux:*:*)
     
    923931            | grep -q __ARM_EABI__
    924932        then
    925             echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     933            echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    926934        else
    927935            if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
    928936                | grep -q __ARM_PCS_VFP
    929937            then
    930                 echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}eabi
     938                echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi
    931939            else
    932                 echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}eabihf
     940                echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf
    933941            fi
    934942        fi
    935943        exit ;;
    936944    avr32*:Linux:*:*)
    937         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     945        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    938946        exit ;;
    939947    cris:Linux:*:*)
     
    943951        echo ${UNAME_MACHINE}-axis-linux-${LIBC}
    944952        exit ;;
     953    e2k:Linux:*:*)
     954        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
     955        exit ;;
    945956    frv:Linux:*:*)
    946         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     957        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    947958        exit ;;
    948959    hexagon:Linux:*:*)
    949         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     960        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    950961        exit ;;
    951962    i*86:Linux:*:*)
     
    953964        exit ;;
    954965    ia64:Linux:*:*)
    955         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     966        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    956967        exit ;;
    957968    m32r*:Linux:*:*)
    958         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     969        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    959970        exit ;;
    960971    m68*:Linux:*:*)
    961         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     972        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    962973        exit ;;
    963974    mips:Linux:*:* | mips64:Linux:*:*)
     
    978989EOF
    979990        eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'`
    980         test x"${CPU}" != x && { echo "${CPU}-${VENDOR}-linux-${LIBC}"; exit; }
     991        test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; }
    981992        ;;
    982     or1k:Linux:*:*)
    983         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
    984         exit ;;
    985     or32:Linux:*:*)
    986         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     993    openrisc*:Linux:*:*)
     994        echo or1k-unknown-linux-${LIBC}
     995        exit ;;
     996    or32:Linux:*:* | or1k*:Linux:*:*)
     997        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    987998        exit ;;
    988999    padre:Linux:*:*)
    989         echo sparc-${VENDOR}-linux-${LIBC}
     1000        echo sparc-unknown-linux-${LIBC}
    9901001        exit ;;
    9911002    parisc64:Linux:*:* | hppa64:Linux:*:*)
    992         echo hppa64-${VENDOR}-linux-${LIBC}
     1003        echo hppa64-unknown-linux-${LIBC}
    9931004        exit ;;
    9941005    parisc:Linux:*:* | hppa:Linux:*:*)
    9951006        # Look for CPU level
    9961007        case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
    997           PA7*) echo hppa1.1-${VENDOR}-linux-${LIBC} ;;
    998           PA8*) echo hppa2.0-${VENDOR}-linux-${LIBC} ;;
    999           *)    echo hppa-${VENDOR}-linux-${LIBC} ;;
     1008          PA7*) echo hppa1.1-unknown-linux-${LIBC} ;;
     1009          PA8*) echo hppa2.0-unknown-linux-${LIBC} ;;
     1010          *)    echo hppa-unknown-linux-${LIBC} ;;
    10001011        esac
    10011012        exit ;;
    10021013    ppc64:Linux:*:*)
    1003         echo powerpc64-${VENDOR}-linux-${LIBC}
     1014        echo powerpc64-unknown-linux-${LIBC}
    10041015        exit ;;
    10051016    ppc:Linux:*:*)
    1006         echo powerpc-${VENDOR}-linux-${LIBC}
     1017        echo powerpc-unknown-linux-${LIBC}
    10071018        exit ;;
    10081019    ppc64le:Linux:*:*)
    1009         echo powerpc64le-${VENDOR}-linux-${LIBC}
     1020        echo powerpc64le-unknown-linux-${LIBC}
    10101021        exit ;;
    10111022    ppcle:Linux:*:*)
    1012         echo powerpcle-${VENDOR}-linux-${LIBC}
     1023        echo powerpcle-unknown-linux-${LIBC}
    10131024        exit ;;
    10141025    s390:Linux:*:* | s390x:Linux:*:*)
     
    10161027        exit ;;
    10171028    sh64*:Linux:*:*)
    1018         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     1029        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    10191030        exit ;;
    10201031    sh*:Linux:*:*)
    1021         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     1032        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    10221033        exit ;;
    10231034    sparc:Linux:*:* | sparc64:Linux:*:*)
    1024         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     1035        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    10251036        exit ;;
    10261037    tile*:Linux:*:*)
    1027         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     1038        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    10281039        exit ;;
    10291040    vax:Linux:*:*)
     
    10311042        exit ;;
    10321043    x86_64:Linux:*:*)
    1033         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     1044        echo ${UNAME_MACHINE}-pc-linux-${LIBC}
    10341045        exit ;;
    10351046    xtensa*:Linux:*:*)
    1036         echo ${UNAME_MACHINE}-${VENDOR}-linux-${LIBC}
     1047        echo ${UNAME_MACHINE}-unknown-linux-${LIBC}
    10371048        exit ;;
    10381049    i*86:DYNIX/ptx:4*:*)
     
    10561067        exit ;;
    10571068    i*86:XTS-300:*:STOP)
    1058         echo ${UNAME_MACHINE}-${VENDOR}-stop
     1069        echo ${UNAME_MACHINE}-unknown-stop
    10591070        exit ;;
    10601071    i*86:atheos:*:*)
    1061         echo ${UNAME_MACHINE}-${VENDOR}-atheos
     1072        echo ${UNAME_MACHINE}-unknown-atheos
    10621073        exit ;;
    10631074    i*86:syllable:*:*)
     
    10651076        exit ;;
    10661077    i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
    1067         echo i386-${VENODR}-lynxos${UNAME_RELEASE}
     1078        echo i386-unknown-lynxos${UNAME_RELEASE}
    10681079        exit ;;
    10691080    i*86:*DOS:*:*)
     
    10851096            *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
    10861097        esac
    1087         echo ${UNAME_MACHINE}-${VENDOR}-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
     1098        echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION}
    10881099        exit ;;
    10891100    i*86:*:3.2:*)
     
    11241135          echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4
    11251136        else # Add other i860-SVR4 vendors below as they are discovered.
    1126           echo i860-${VENODR}-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
     1137          echo i860-unknown-sysv${UNAME_RELEASE}  # Unknown i860-SVR4
    11271138        fi
    11281139        exit ;;
     
    11611172            && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
    11621173    m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
    1163         echo m68k-${VENDOR}-lynxos${UNAME_RELEASE}
     1174        echo m68k-unknown-lynxos${UNAME_RELEASE}
    11641175        exit ;;
    11651176    mc68030:UNIX_System_V:4.*:*)
     
    11671178        exit ;;
    11681179    TSUNAMI:LynxOS:2.*:*)
    1169         echo sparc-${VENDOR}-lynxos${UNAME_RELEASE}
     1180        echo sparc-unknown-lynxos${UNAME_RELEASE}
    11701181        exit ;;
    11711182    rs6000:LynxOS:2.*:*)
    1172         echo rs6000-${VENDOR}-lynxos${UNAME_RELEASE}
     1183        echo rs6000-unknown-lynxos${UNAME_RELEASE}
    11731184        exit ;;
    11741185    PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
    1175         echo powerpc-${VENDOR}-lynxos${UNAME_RELEASE}
     1186        echo powerpc-unknown-lynxos${UNAME_RELEASE}
    11761187        exit ;;
    11771188    SM[BE]S:UNIX_SV:*:*)
     
    12231234                echo mips-nec-sysv${UNAME_RELEASE}
    12241235        else
    1225                 echo mips-${VENDOR}-sysv${UNAME_RELEASE}
     1236                echo mips-unknown-sysv${UNAME_RELEASE}
    12261237        fi
    12271238        exit ;;
     
    12391250        exit ;;
    12401251    x86_64:Haiku:*:*)
    1241         echo x86_64-${VENDOR}-haiku
     1252        echo x86_64-unknown-haiku
    12421253        exit ;;
    12431254    SX-4:SUPER-UX:*:*)
     
    12711282            UNAME_PROCESSOR=powerpc
    12721283        fi
    1273         if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
    1274             if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
    1275                 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
    1276                 grep IS_64BIT_ARCH >/dev/null
    1277             then
    1278                 case $UNAME_PROCESSOR in
    1279                     i386) UNAME_PROCESSOR=x86_64 ;;
    1280                     powerpc) UNAME_PROCESSOR=powerpc64 ;;
    1281                 esac
     1284        if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then
     1285            if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
     1286                if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
     1287                    (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
     1288                    grep IS_64BIT_ARCH >/dev/null
     1289                then
     1290                    case $UNAME_PROCESSOR in
     1291                        i386) UNAME_PROCESSOR=x86_64 ;;
     1292                        powerpc) UNAME_PROCESSOR=powerpc64 ;;
     1293                    esac
     1294                fi
    12821295            fi
     1296        elif test "$UNAME_PROCESSOR" = i386 ; then
     1297            # Avoid executing cc on OS X 10.9, as it ships with a stub
     1298            # that puts up a graphical alert prompting to install
     1299            # developer tools.  Any system running Mac OS X 10.7 or
     1300            # later (Darwin 11 and later) is required to have a 64-bit
     1301            # processor. This is not true of the ARM version of Darwin
     1302            # that Apple uses in portable devices.
     1303            UNAME_PROCESSOR=x86_64
    12831304        fi
    12841305        echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
     
    13221343            UNAME_MACHINE="$cputype"
    13231344        fi
    1324         echo ${UNAME_MACHINE}-${VENDOR}-plan9
     1345        echo ${UNAME_MACHINE}-unknown-plan9
    13251346        exit ;;
    13261347    *:TOPS-10:*:*)
    1327         echo pdp10-${VENDOR}-tops10
     1348        echo pdp10-unknown-tops10
    13281349        exit ;;
    13291350    *:TENEX:*:*)
    1330         echo pdp10-${VENDOR}-tenex
     1351        echo pdp10-unknown-tenex
    13311352        exit ;;
    13321353    KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
     
    13371358        exit ;;
    13381359    *:TOPS-20:*:*)
    1339         echo pdp10-${VENDOR}-tops20
     1360        echo pdp10-unknown-tops20
    13401361        exit ;;
    13411362    *:ITS:*:*)
    1342         echo pdp10-${VENDOR}-its
     1363        echo pdp10-unknown-its
    13431364        exit ;;
    13441365    SEI:*:*:SEIUX)
     
    13461367        exit ;;
    13471368    *:DragonFly:*:*)
    1348         echo ${UNAME_MACHINE}-${VENDOR}-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
     1369        echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
    13491370        exit ;;
    13501371    *:*VMS:*:*)
     
    13681389        exit ;;
    13691390    x86_64:VMkernel:*:*)
    1370         echo ${UNAME_MACHINE}-${VENDOR}-esx
     1391        echo ${UNAME_MACHINE}-unknown-esx
    13711392        exit ;;
    13721393esac
    1373 
    1374 eval $set_cc_for_build
    1375 cat >$dummy.c <<EOF
    1376 #ifdef _SEQUENT_
    1377 # include <sys/types.h>
    1378 # include <sys/utsname.h>
    1379 #endif
    1380 main ()
    1381 {
    1382 #if defined (sony)
    1383 #if defined (MIPSEB)
    1384   /* BFD wants "bsd" instead of "newsos".  Perhaps BFD should be changed,
    1385      I don't know....  */
    1386   printf ("mips-sony-bsd\n"); exit (0);
    1387 #else
    1388 #include <sys/param.h>
    1389   printf ("m68k-sony-newsos%s\n",
    1390 #ifdef NEWSOS4
    1391         "4"
    1392 #else
    1393         ""
    1394 #endif
    1395         ); exit (0);
    1396 #endif
    1397 #endif
    1398 
    1399 #if defined (__arm) && defined (__acorn) && defined (__unix)
    1400   printf ("arm-acorn-riscix\n"); exit (0);
    1401 #endif
    1402 
    1403 #if defined (hp300) && !defined (hpux)
    1404   printf ("m68k-hp-bsd\n"); exit (0);
    1405 #endif
    1406 
    1407 #if defined (NeXT)
    1408 #if !defined (__ARCHITECTURE__)
    1409 #define __ARCHITECTURE__ "m68k"
    1410 #endif
    1411   int version;
    1412   version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`;
    1413   if (version < 4)
    1414     printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version);
    1415   else
    1416     printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version);
    1417   exit (0);
    1418 #endif
    1419 
    1420 #if defined (MULTIMAX) || defined (n16)
    1421 #if defined (UMAXV)
    1422   printf ("ns32k-encore-sysv\n"); exit (0);
    1423 #else
    1424 #if defined (CMU)
    1425   printf ("ns32k-encore-mach\n"); exit (0);
    1426 #else
    1427   printf ("ns32k-encore-bsd\n"); exit (0);
    1428 #endif
    1429 #endif
    1430 #endif
    1431 
    1432 #if defined (__386BSD__)
    1433   printf ("i386-pc-bsd\n"); exit (0);
    1434 #endif
    1435 
    1436 #if defined (sequent)
    1437 #if defined (i386)
    1438   printf ("i386-sequent-dynix\n"); exit (0);
    1439 #endif
    1440 #if defined (ns32000)
    1441   printf ("ns32k-sequent-dynix\n"); exit (0);
    1442 #endif
    1443 #endif
    1444 
    1445 #if defined (_SEQUENT_)
    1446     struct utsname un;
    1447 
    1448     uname(&un);
    1449 
    1450     if (strncmp(un.version, "V2", 2) == 0) {
    1451         printf ("i386-sequent-ptx2\n"); exit (0);
    1452     }
    1453     if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */
    1454         printf ("i386-sequent-ptx1\n"); exit (0);
    1455     }
    1456     printf ("i386-sequent-ptx\n"); exit (0);
    1457 
    1458 #endif
    1459 
    1460 #if defined (vax)
    1461 # if !defined (ultrix)
    1462 #  include <sys/param.h>
    1463 #  if defined (BSD)
    1464 #   if BSD == 43
    1465       printf ("vax-dec-bsd4.3\n"); exit (0);
    1466 #   else
    1467 #    if BSD == 199006
    1468       printf ("vax-dec-bsd4.3reno\n"); exit (0);
    1469 #    else
    1470       printf ("vax-dec-bsd\n"); exit (0);
    1471 #    endif
    1472 #   endif
    1473 #  else
    1474     printf ("vax-dec-bsd\n"); exit (0);
    1475 #  endif
    1476 # else
    1477     printf ("vax-dec-ultrix\n"); exit (0);
    1478 # endif
    1479 #endif
    1480 
    1481 #if defined (alliant) && defined (i860)
    1482   printf ("i860-alliant-bsd\n"); exit (0);
    1483 #endif
    1484 
    1485   exit (1);
    1486 }
    1487 EOF
    1488 
    1489 $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` &&
    1490         { echo "$SYSTEM_NAME"; exit; }
    1491 
    1492 # Apollos put the system type in the environment.
    1493 
    1494 test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; }
    1495 
    1496 # Convex versions that predate uname can use getsysinfo(1)
    1497 
    1498 if [ -x /usr/convex/getsysinfo ]
    1499 then
    1500     case `getsysinfo -f cpu_type` in
    1501     c1*)
    1502         echo c1-convex-bsd
    1503         exit ;;
    1504     c2*)
    1505         if getsysinfo -f scalar_acc
    1506         then echo c32-convex-bsd
    1507         else echo c2-convex-bsd
    1508         fi
    1509         exit ;;
    1510     c34*)
    1511         echo c34-convex-bsd
    1512         exit ;;
    1513     c38*)
    1514         echo c38-convex-bsd
    1515         exit ;;
    1516     c4*)
    1517         echo c4-convex-bsd
    1518         exit ;;
    1519     esac
    1520 fi
    15211394
    15221395cat >&2 <<EOF
  • trunk/autoconf/config.sub

    r451 r765  
    11#! /bin/sh
    22# Configuration validation subroutine script.
    3 #   Copyright 1992-2013 Free Software Foundation, Inc.
    4 
    5 timestamp='2013-04-24'
     3#   Copyright 1992-2015 Free Software Foundation, Inc.
     4
     5timestamp='2015-08-20'
    66
    77# This file is free software; you can redistribute it and/or modify it
     
    2626
    2727
    28 # Please send patches with a ChangeLog entry to config-patches@gnu.org.
     28# Please send patches to <config-patches@gnu.org>.
    2929#
    3030# Configuration subroutine to validate and canonicalize a configuration type.
     
    6969GNU config.sub ($timestamp)
    7070
    71 Copyright 1992-2013 Free Software Foundation, Inc.
     71Copyright 1992-2015 Free Software Foundation, Inc.
    7272
    7373This is free software; see the source for copying conditions.  There is NO
     
    118118  nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
    119119  linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
    120   knetbsd*-gnu* | netbsd*-gnu* | \
     120  knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
    121121  kopensolaris*-gnu* | \
    122122  storm-chaos* | os2-emx* | rtmk-nova*)
     
    256256        | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
    257257        | avr | avr32 \
     258        | ba \
    258259        | be32 | be64 \
    259260        | bfin \
    260         | c4x | clipper \
     261        | c4x | c8051 | clipper \
    261262        | d10v | d30v | dlx | dsp16xx \
    262         | epiphany \
    263         | fido | fr30 | frv \
     263        | e2k | epiphany \
     264        | fido | fr30 | frv | ft32 \
    264265        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
    265266        | hexagon \
    266267        | i370 | i860 | i960 | ia64 \
    267268        | ip2k | iq2000 \
     269        | k1om \
    268270        | le32 | le64 \
    269271        | lm32 \
     
    283285        | mipsisa32 | mipsisa32el \
    284286        | mipsisa32r2 | mipsisa32r2el \
     287        | mipsisa32r6 | mipsisa32r6el \
    285288        | mipsisa64 | mipsisa64el \
    286289        | mipsisa64r2 | mipsisa64r2el \
     290        | mipsisa64r6 | mipsisa64r6el \
    287291        | mipsisa64sb1 | mipsisa64sb1el \
    288292        | mipsisa64sr71k | mipsisa64sr71kel \
     
    296300        | nios | nios2 | nios2eb | nios2el \
    297301        | ns16k | ns32k \
    298         | open8 \
    299         | or1k | or32 \
     302        | open8 | or1k | or1knd | or32 \
    300303        | pdp10 | pdp11 | pj | pjl \
    301304        | powerpc | powerpc64 | powerpc64le | powerpcle \
    302305        | pyramid \
     306        | riscv32 | riscv64 \
    303307        | rl78 | rx \
    304308        | score \
    305         | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
     309        | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
    306310        | sh64 | sh64le \
    307311        | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
     
    311315        | ubicom32 \
    312316        | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
     317        | visium \
    313318        | we32k \
    314319        | x86 | xc16x | xstormy16 | xtensa \
     
    325330                basic_machine=tic6x-unknown
    326331                ;;
    327         m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | picochip)
     332        leon|leon[3-9])
     333                basic_machine=sparc-$basic_machine
     334                ;;
     335        m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
    328336                basic_machine=$basic_machine-unknown
    329337                os=-none
     
    370378        | arm-*  | armbe-* | armle-* | armeb-* | armv*-* \
    371379        | avr-* | avr32-* \
     380        | ba-* \
    372381        | be32-* | be64-* \
    373382        | bfin-* | bs2000-* \
    374383        | c[123]* | c30-* | [cjt]90-* | c4x-* \
    375         | clipper-* | craynv-* | cydra-* \
     384        | c8051-* | clipper-* | craynv-* | cydra-* \
    376385        | d10v-* | d30v-* | dlx-* \
    377         | elxsi-* \
     386        | e2k-* | elxsi-* \
    378387        | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
    379388        | h8300-* | h8500-* \
     
    382391        | i*86-* | i860-* | i960-* | ia64-* \
    383392        | ip2k-* | iq2000-* \
     393        | k1om-* \
    384394        | le32-* | le64-* \
    385395        | lm32-* \
     
    401411        | mipsisa32-* | mipsisa32el-* \
    402412        | mipsisa32r2-* | mipsisa32r2el-* \
     413        | mipsisa32r6-* | mipsisa32r6el-* \
    403414        | mipsisa64-* | mipsisa64el-* \
    404415        | mipsisa64r2-* | mipsisa64r2el-* \
     416        | mipsisa64r6-* | mipsisa64r6el-* \
    405417        | mipsisa64sb1-* | mipsisa64sb1el-* \
    406418        | mipsisa64sr71k-* | mipsisa64sr71kel-* \
     
    414426        | none-* | np1-* | ns16k-* | ns32k-* \
    415427        | open8-* \
     428        | or1k*-* \
    416429        | orion-* \
    417430        | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
    418431        | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
    419432        | pyramid-* \
     433        | riscv32-* | riscv64-* \
    420434        | rl78-* | romp-* | rs6000-* | rx-* \
    421435        | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
     
    423437        | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
    424438        | sparclite-* \
    425         | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \
     439        | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
    426440        | tahoe-* \
    427441        | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
     
    431445        | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
    432446        | vax-* \
     447        | visium-* \
    433448        | we32k-* \
    434449        | x86-* | x86_64-* | xc16x-* | xps100-* \
     
    506521                basic_machine=i386-pc
    507522                os=-aros
     523                ;;
     524        asmjs)
     525                basic_machine=asmjs-unknown
    508526                ;;
    509527        aux)
     
    768786                os=-sysv
    769787                ;;
     788        leon-*|leon[3-9]-*)
     789                basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
     790                ;;
    770791        m68knommu)
    771792                basic_machine=m68k-unknown
     
    795816                ;;
    796817        mingw32)
    797                 basic_machine=i386-pc
     818                basic_machine=i686-pc
    798819                os=-mingw32
    799820                ;;
     
    823844                os=-morphos
    824845                ;;
     846        moxiebox)
     847                basic_machine=moxie-unknown
     848                os=-moxiebox
     849                ;;
    825850        msdos)
    826851                basic_machine=i386-pc
     
    831856                ;;
    832857        msys)
    833                 basic_machine=i386-pc
     858                basic_machine=i686-pc
    834859                os=-msys
    835860                ;;
     
    13551380              | -sym* | -kopensolaris* | -plan9* \
    13561381              | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
    1357               | -aos* | -aros* \
     1382              | -aos* | -aros* | -cloudabi* | -sortix* \
    13581383              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
    13591384              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
     
    13681393              | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
    13691394              | -linux-newlib* | -linux-musl* | -linux-uclibc* \
    1370               | -uxpv* | -beos* | -mpeix* | -udk* \
     1395              | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
    13711396              | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
    13721397              | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
     
    13751400              | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
    13761401              | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
    1377               | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
     1402              | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*)
    13781403        # Remember, each alternative MUST END IN *, to match a version number.
    13791404                ;;
     
    15471572                os=-coff
    15481573                ;;
     1574        c8051-*)
     1575                os=-elf
     1576                ;;
    15491577        hexagon-*)
    15501578                os=-elf
     
    15881616                ;;
    15891617        mips*-*)
    1590                 os=-elf
    1591                 ;;
    1592         or1k-*)
    15931618                os=-elf
    15941619                ;;
  • trunk/autoconf/depcomp

    r451 r765  
    44scriptversion=2013-05-30.07; # UTC
    55
    6 # Copyright (C) 1999-2013 Free Software Foundation, Inc.
     6# Copyright (C) 1999-2014 Free Software Foundation, Inc.
    77
    88# This program is free software; you can redistribute it and/or modify
  • trunk/autoconf/install-sh

    r451 r765  
    22# install - install a program, script, or datafile
    33
    4 scriptversion=2011-11-20.07; # UTC
     4scriptversion=2014-09-12.12; # UTC
    55
    66# This originates from X11R5 (mit/util/scripts/install.sh), which was
     
    4242# from scratch.
    4343
     44tab='   '
    4445nl='
    4546'
    46 IFS=" ""        $nl"
    47 
    48 # set DOITPROG to echo to test this script
    49 
    50 # Don't use :- since 4.3BSD and earlier shells don't like it.
     47IFS=" $tab$nl"
     48
     49# Set DOITPROG to "echo" to test this script.
     50
    5151doit=${DOITPROG-}
    52 if test -z "$doit"; then
    53   doit_exec=exec
    54 else
    55   doit_exec=$doit
    56 fi
     52doit_exec=${doit:-exec}
    5753
    5854# Put in absolute file names if you don't have them in your path;
     
    6965stripprog=${STRIPPROG-strip}
    7066
    71 posix_glob='?'
    72 initialize_posix_glob='
    73   test "$posix_glob" != "?" || {
    74     if (set -f) 2>/dev/null; then
    75       posix_glob=
    76     else
    77       posix_glob=:
    78     fi
    79   }
    80 '
    81 
    8267posix_mkdir=
    8368
     
    9883
    9984copy_on_change=false
    100 no_target_directory=
     85is_target_a_directory=possibly
    10186
    10287usage="\
     
    138123
    139124    -g) chgrpcmd="$chgrpprog $2"
    140         shift;;
     125        shift;;
    141126
    142127    --help) echo "$usage"; exit $?;;
    143128
    144129    -m) mode=$2
    145         case $mode in
    146           *' '* | *'    '* | *'
    147 '*        | *'*'* | *'?'* | *'['*)
    148             echo "$0: invalid mode: $mode" >&2
    149             exit 1;;
    150         esac
    151         shift;;
     130        case $mode in
     131          *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*)
     132            echo "$0: invalid mode: $mode" >&2
     133            exit 1;;
     134        esac
     135        shift;;
    152136
    153137    -o) chowncmd="$chownprog $2"
    154         shift;;
     138        shift;;
    155139
    156140    -s) stripcmd=$stripprog;;
    157141
    158     -t) dst_arg=$2
    159         # Protect names problematic for 'test' and other utilities.
    160         case $dst_arg in
    161           -* | [=\(\)!]) dst_arg=./$dst_arg;;
    162         esac
    163         shift;;
    164 
    165     -T) no_target_directory=true;;
     142    -t)
     143        is_target_a_directory=always
     144        dst_arg=$2
     145        # Protect names problematic for 'test' and other utilities.
     146        case $dst_arg in
     147          -* | [=\(\)!]) dst_arg=./$dst_arg;;
     148        esac
     149        shift;;
     150
     151    -T) is_target_a_directory=never;;
    166152
    167153    --version) echo "$0 $scriptversion"; exit $?;;
    168154
    169     --) shift
    170         break;;
    171 
    172     -*) echo "$0: invalid option: $1" >&2
    173         exit 1;;
     155    --) shift
     156        break;;
     157
     158    -*) echo "$0: invalid option: $1" >&2
     159        exit 1;;
    174160
    175161    *)  break;;
     
    177163  shift
    178164done
     165
     166# We allow the use of options -d and -T together, by making -d
     167# take the precedence; this is for compatibility with GNU install.
     168
     169if test -n "$dir_arg"; then
     170  if test -n "$dst_arg"; then
     171    echo "$0: target directory not allowed when installing a directory." >&2
     172    exit 1
     173  fi
     174fi
    179175
    180176if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
     
    209205
    210206if test -z "$dir_arg"; then
     207  if test $# -gt 1 || test "$is_target_a_directory" = always; then
     208    if test ! -d "$dst_arg"; then
     209      echo "$0: $dst_arg: Is not a directory." >&2
     210      exit 1
     211    fi
     212  fi
     213fi
     214
     215if test -z "$dir_arg"; then
    211216  do_exit='(exit $ret); exit $ret'
    212217  trap "ret=129; $do_exit" 1
     
    224229    *[0-7])
    225230      if test -z "$stripcmd"; then
    226         u_plus_rw=
     231        u_plus_rw=
    227232      else
    228         u_plus_rw='% 200'
     233        u_plus_rw='% 200'
    229234      fi
    230235      cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
    231236    *)
    232237      if test -z "$stripcmd"; then
    233         u_plus_rw=
     238        u_plus_rw=
    234239      else
    235         u_plus_rw=,u+rw
     240        u_plus_rw=,u+rw
    236241      fi
    237242      cp_umask=$mode$u_plus_rw;;
     
    270275    # if double slashes aren't ignored.
    271276    if test -d "$dst"; then
    272       if test -n "$no_target_directory"; then
    273         echo "$0: $dst_arg: Is a directory" >&2
    274         exit 1
     277      if test "$is_target_a_directory" = never; then
     278        echo "$0: $dst_arg: Is a directory" >&2
     279        exit 1
    275280      fi
    276281      dstdir=$dst
     
    278283      dstdir_status=0
    279284    else
    280       # Prefer dirname, but fall back on a substitute if dirname fails.
    281       dstdir=`
    282         (dirname "$dst") 2>/dev/null ||
    283         expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    284              X"$dst" : 'X\(//\)[^/]' \| \
    285              X"$dst" : 'X\(//\)$' \| \
    286              X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
    287         echo X"$dst" |
    288             sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    289                    s//\1/
    290                    q
    291                  }
    292                  /^X\(\/\/\)[^/].*/{
    293                    s//\1/
    294                    q
    295                  }
    296                  /^X\(\/\/\)$/{
    297                    s//\1/
    298                    q
    299                  }
    300                  /^X\(\/\).*/{
    301                    s//\1/
    302                    q
    303                  }
    304                  s/.*/./; q'
    305       `
    306 
     285      dstdir=`dirname "$dst"`
    307286      test -d "$dstdir"
    308287      dstdir_status=$?
     
    315294    case $posix_mkdir in
    316295      '')
    317         # Create intermediate dirs using mode 755 as modified by the umask.
    318         # This is like FreeBSD 'install' as of 1997-10-28.
    319         umask=`umask`
    320         case $stripcmd.$umask in
    321           # Optimize common cases.
    322           *[2367][2367]) mkdir_umask=$umask;;
    323           .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
    324 
    325           *[0-7])
    326             mkdir_umask=`expr $umask + 22 \
    327               - $umask % 100 % 40 + $umask % 20 \
    328               - $umask % 10 % 4 + $umask % 2
    329             `;;
    330           *) mkdir_umask=$umask,go-w;;
    331         esac
    332 
    333         # With -d, create the new directory with the user-specified mode.
    334         # Otherwise, rely on $mkdir_umask.
    335         if test -n "$dir_arg"; then
    336           mkdir_mode=-m$mode
    337         else
    338           mkdir_mode=
    339         fi
    340 
    341         posix_mkdir=false
    342         case $umask in
    343           *[123567][0-7][0-7])
    344             # POSIX mkdir -p sets u+wx bits regardless of umask, which
    345             # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
    346             ;;
    347           *)
    348             tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
    349             trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
    350 
    351             if (umask $mkdir_umask &&
    352                 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
    353             then
    354               if test -z "$dir_arg" || {
    355                    # Check for POSIX incompatibilities with -m.
    356                    # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
    357                    # other-writable bit of parent directory when it shouldn't.
    358                    # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
    359                    ls_ld_tmpdir=`ls -ld "$tmpdir"`
    360                    case $ls_ld_tmpdir in
    361                      d????-?r-*) different_mode=700;;
    362                      d????-?--*) different_mode=755;;
    363                      *) false;;
    364                    esac &&
    365                    $mkdirprog -m$different_mode -p -- "$tmpdir" && {
    366                      ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
    367                      test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
    368                    }
    369                  }
    370               then posix_mkdir=:
    371               fi
    372               rmdir "$tmpdir/d" "$tmpdir"
    373             else
    374               # Remove any dirs left behind by ancient mkdir implementations.
    375               rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
    376             fi
    377             trap '' 0;;
    378         esac;;
     296        # Create intermediate dirs using mode 755 as modified by the umask.
     297        # This is like FreeBSD 'install' as of 1997-10-28.
     298        umask=`umask`
     299        case $stripcmd.$umask in
     300          # Optimize common cases.
     301          *[2367][2367]) mkdir_umask=$umask;;
     302          .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
     303
     304          *[0-7])
     305            mkdir_umask=`expr $umask + 22 \
     306              - $umask % 100 % 40 + $umask % 20 \
     307              - $umask % 10 % 4 + $umask % 2
     308            `;;
     309          *) mkdir_umask=$umask,go-w;;
     310        esac
     311
     312        # With -d, create the new directory with the user-specified mode.
     313        # Otherwise, rely on $mkdir_umask.
     314        if test -n "$dir_arg"; then
     315          mkdir_mode=-m$mode
     316        else
     317          mkdir_mode=
     318        fi
     319
     320        posix_mkdir=false
     321        case $umask in
     322          *[123567][0-7][0-7])
     323            # POSIX mkdir -p sets u+wx bits regardless of umask, which
     324            # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
     325            ;;
     326          *)
     327            # $RANDOM is not portable (e.g. dash);  use it when possible to
     328            # lower collision chance
     329            tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
     330            trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
     331
     332            # As "mkdir -p" follows symlinks and we work in /tmp possibly;  so
     333            # create the $tmpdir first (and fail if unsuccessful) to make sure
     334            # that nobody tries to guess the $tmpdir name.
     335            if (umask $mkdir_umask &&
     336                $mkdirprog $mkdir_mode "$tmpdir" &&
     337                exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
     338            then
     339              if test -z "$dir_arg" || {
     340                   # Check for POSIX incompatibilities with -m.
     341                   # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
     342                   # other-writable bit of parent directory when it shouldn't.
     343                   # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
     344                   test_tmpdir="$tmpdir/a"
     345                   ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
     346                   case $ls_ld_tmpdir in
     347                     d????-?r-*) different_mode=700;;
     348                     d????-?--*) different_mode=755;;
     349                     *) false;;
     350                   esac &&
     351                   $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
     352                     ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
     353                     test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
     354                   }
     355                 }
     356              then posix_mkdir=:
     357              fi
     358              rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
     359            else
     360              # Remove any dirs left behind by ancient mkdir implementations.
     361              rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
     362            fi
     363            trap '' 0;;
     364        esac;;
    379365    esac
    380366
    381367    if
    382368      $posix_mkdir && (
    383         umask $mkdir_umask &&
    384         $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
     369        umask $mkdir_umask &&
     370        $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
    385371      )
    386372    then :
     
    392378
    393379      case $dstdir in
    394         /*) prefix='/';;
    395         [-=\(\)!]*) prefix='./';;
    396         *)  prefix='';;
     380        /*) prefix='/';;
     381        [-=\(\)!]*) prefix='./';;
     382        *)  prefix='';;
    397383      esac
    398 
    399       eval "$initialize_posix_glob"
    400384
    401385      oIFS=$IFS
    402386      IFS=/
    403       $posix_glob set -f
     387      set -f
    404388      set fnord $dstdir
    405389      shift
    406       $posix_glob set +f
     390      set +f
    407391      IFS=$oIFS
    408392
     
    411395      for d
    412396      do
    413         test X"$d" = X && continue
    414 
    415         prefix=$prefix$d
    416         if test -d "$prefix"; then
    417           prefixes=
    418         else
    419           if $posix_mkdir; then
    420             (umask=$mkdir_umask &&
    421              $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
    422             # Don't fail if two instances are running concurrently.
    423             test -d "$prefix" || exit 1
    424           else
    425             case $prefix in
    426               *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
    427               *) qprefix=$prefix;;
    428             esac
    429             prefixes="$prefixes '$qprefix'"
    430           fi
    431         fi
    432         prefix=$prefix/
     397        test X"$d" = X && continue
     398
     399        prefix=$prefix$d
     400        if test -d "$prefix"; then
     401          prefixes=
     402        else
     403          if $posix_mkdir; then
     404            (umask=$mkdir_umask &&
     405             $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
     406            # Don't fail if two instances are running concurrently.
     407            test -d "$prefix" || exit 1
     408          else
     409            case $prefix in
     410              *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
     411              *) qprefix=$prefix;;
     412            esac
     413            prefixes="$prefixes '$qprefix'"
     414          fi
     415        fi
     416        prefix=$prefix/
    433417      done
    434418
    435419      if test -n "$prefixes"; then
    436         # Don't fail if two instances are running concurrently.
    437         (umask $mkdir_umask &&
    438         eval "\$doit_exec \$mkdirprog $prefixes") ||
    439           test -d "$dstdir" || exit 1
    440         obsolete_mkdir_used=true
     420        # Don't fail if two instances are running concurrently.
     421        (umask $mkdir_umask &&
     422        eval "\$doit_exec \$mkdirprog $prefixes") ||
     423          test -d "$dstdir" || exit 1
     424        obsolete_mkdir_used=true
    441425      fi
    442426    fi
     
    473457    # If -C, don't bother to copy if it wouldn't change the file.
    474458    if $copy_on_change &&
    475        old=`LC_ALL=C ls -dlL "$dst"     2>/dev/null` &&
    476        new=`LC_ALL=C ls -dlL "$dsttmp"  2>/dev/null` &&
    477 
    478        eval "$initialize_posix_glob" &&
    479        $posix_glob set -f &&
     459       old=`LC_ALL=C ls -dlL "$dst"     2>/dev/null` &&
     460       new=`LC_ALL=C ls -dlL "$dsttmp"  2>/dev/null` &&
     461       set -f &&
    480462       set X $old && old=:$2:$4:$5:$6 &&
    481463       set X $new && new=:$2:$4:$5:$6 &&
    482        $posix_glob set +f &&
    483 
     464       set +f &&
    484465       test "$old" = "$new" &&
    485466       $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
     
    494475      # support -f.
    495476      {
    496         # Now remove or move aside any old file at destination location.
    497         # We try this two ways since rm can't unlink itself on some
    498         # systems and the destination file might be busy for other
    499         # reasons.  In this case, the final cleanup might fail but the new
    500         # file should still install successfully.
    501         {
    502           test ! -f "$dst" ||
    503           $doit $rmcmd -f "$dst" 2>/dev/null ||
    504           { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
    505             { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
    506           } ||
    507           { echo "$0: cannot unlink or rename $dst" >&2
    508             (exit 1); exit 1
    509           }
    510         } &&
    511 
    512         # Now rename the file to the real destination.
    513         $doit $mvcmd "$dsttmp" "$dst"
     477        # Now remove or move aside any old file at destination location.
     478        # We try this two ways since rm can't unlink itself on some
     479        # systems and the destination file might be busy for other
     480        # reasons.  In this case, the final cleanup might fail but the new
     481        # file should still install successfully.
     482        {
     483          test ! -f "$dst" ||
     484          $doit $rmcmd -f "$dst" 2>/dev/null ||
     485          { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
     486            { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
     487          } ||
     488          { echo "$0: cannot unlink or rename $dst" >&2
     489            (exit 1); exit 1
     490          }
     491        } &&
     492
     493        # Now rename the file to the real destination.
     494        $doit $mvcmd "$dsttmp" "$dst"
    514495      }
    515496    fi || exit 1
  • trunk/autoconf/libtool.m4

    r596 r765  
    11# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
    22#
    3 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
    4 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
    5 #                 Foundation, Inc.
     3#   Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
    64#   Written by Gordon Matzigkeit, 1996
    75#
     
    119
    1210m4_define([_LT_COPYING], [dnl
    13 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
    14 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
    15 #                 Foundation, Inc.
    16 #   Written by Gordon Matzigkeit, 1996
     11# Copyright (C) 2014 Free Software Foundation, Inc.
     12# This is free software; see the source for copying conditions.  There is NO
     13# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     14
     15# GNU Libtool is free software; you can redistribute it and/or modify
     16# it under the terms of the GNU General Public License as published by
     17# the Free Software Foundation; either version 2 of of the License, or
     18# (at your option) any later version.
    1719#
    18 #   This file is part of GNU Libtool.
     20# As a special exception to the GNU General Public License, if you
     21# distribute this file as part of a program or library that is built
     22# using GNU Libtool, you may include this file under the  same
     23# distribution terms that you use for the rest of that program.
    1924#
    20 # GNU Libtool is free software; you can redistribute it and/or
    21 # modify it under the terms of the GNU General Public License as
    22 # published by the Free Software Foundation; either version 2 of
    23 # the License, or (at your option) any later version.
    24 #
    25 # As a special exception to the GNU General Public License,
    26 # if you distribute this file as part of a program or library that
    27 # is built using GNU Libtool, you may include this file under the
    28 # same distribution terms that you use for the rest of that program.
    29 #
    30 # GNU Libtool is distributed in the hope that it will be useful,
    31 # but WITHOUT ANY WARRANTY; without even the implied warranty of
     25# GNU Libtool is distributed in the hope that it will be useful, but
     26# WITHOUT ANY WARRANTY; without even the implied warranty of
    3227# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    3328# GNU General Public License for more details.
    3429#
    3530# You should have received a copy of the GNU General Public License
    36 # along with GNU Libtool; see the file COPYING.  If not, a copy
    37 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
    38 # obtained by writing to the Free Software Foundation, Inc.,
    39 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
     31# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    4032])
    4133
    42 # serial 57 LT_INIT
     34# serial 58 LT_INIT
    4335
    4436
     
    6860# ------------------
    6961AC_DEFUN([LT_INIT],
    70 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
     62[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
    7163AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
    7264AC_BEFORE([$0], [LT_LANG])dnl
     
    9284
    9385# This can be used to rebuild libtool when needed
    94 LIBTOOL_DEPS="$ltmain"
     86LIBTOOL_DEPS=$ltmain
    9587
    9688# Always use our own libtool.
     
    112104
    113105
     106# _LT_PREPARE_CC_BASENAME
     107# -----------------------
     108m4_defun([_LT_PREPARE_CC_BASENAME], [
     109# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     110func_cc_basename ()
     111{
     112    for cc_temp in @S|@*""; do
     113      case $cc_temp in
     114        compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
     115        distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
     116        \-*) ;;
     117        *) break;;
     118      esac
     119    done
     120    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     121}
     122])# _LT_PREPARE_CC_BASENAME
     123
     124
    114125# _LT_CC_BASENAME(CC)
    115126# -------------------
    116 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     127# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
     128# but that macro is also expanded into generated libtool script, which
     129# arranges for $SED and $ECHO to be set by different means.
    117130m4_defun([_LT_CC_BASENAME],
    118 [for cc_temp in $1""; do
    119   case $cc_temp in
    120     compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
    121     distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
    122     \-*) ;;
    123     *) break;;
    124   esac
    125 done
    126 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     131[m4_require([_LT_PREPARE_CC_BASENAME])dnl
     132AC_REQUIRE([_LT_DECL_SED])dnl
     133AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
     134func_cc_basename $1
     135cc_basename=$func_cc_basename_result
    127136])
    128137
     
    131140# ----------------------
    132141# It is okay to use these file commands and assume they have been set
    133 # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
     142# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
    134143m4_defun([_LT_FILEUTILS_DEFAULTS],
    135144[: ${CP="cp -f"}
     
    178187m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
    179188m4_require([_LT_WITH_SYSROOT])dnl
     189m4_require([_LT_CMD_TRUNCATE])dnl
    180190
    181191_LT_CONFIG_LIBTOOL_INIT([
    182 # See if we are running on zsh, and set the options which allow our
     192# See if we are running on zsh, and set the options that allow our
    183193# commands through without removal of \ escapes INIT.
    184 if test -n "\${ZSH_VERSION+set}" ; then
     194if test -n "\${ZSH_VERSION+set}"; then
    185195   setopt NO_GLOB_SUBST
    186196fi
    187197])
    188 if test -n "${ZSH_VERSION+set}" ; then
     198if test -n "${ZSH_VERSION+set}"; then
    189199   setopt NO_GLOB_SUBST
    190200fi
     
    199209  # reason, if we set the COLLECT_NAMES environment variable, the problems
    200210  # vanish in a puff of smoke.
    201   if test "X${COLLECT_NAMES+set}" != Xset; then
     211  if test set != "${COLLECT_NAMES+set}"; then
    202212    COLLECT_NAMES=
    203213    export COLLECT_NAMES
     
    210220can_build_shared=yes
    211221
    212 # All known linkers require a `.a' archive for static linking (except MSVC,
     222# All known linkers require a '.a' archive for static linking (except MSVC,
    213223# which needs '.lib').
    214224libext=a
    215225
    216 with_gnu_ld="$lt_cv_prog_gnu_ld"
    217 
    218 old_CC="$CC"
    219 old_CFLAGS="$CFLAGS"
     226with_gnu_ld=$lt_cv_prog_gnu_ld
     227
     228old_CC=$CC
     229old_CFLAGS=$CFLAGS
    220230
    221231# Set sane defaults for various variables
     
    270280# _LT_PROG_LTMAIN
    271281# ---------------
    272 # Note that this code is called both from `configure', and `config.status'
     282# Note that this code is called both from 'configure', and 'config.status'
    273283# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
    274 # `config.status' has no value for ac_aux_dir unless we are using Automake,
     284# 'config.status' has no value for ac_aux_dir unless we are using Automake,
    275285# so we pass a copy along to make sure it has a sensible value anyway.
    276286m4_defun([_LT_PROG_LTMAIN],
    277287[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
    278288_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
    279 ltmain="$ac_aux_dir/ltmain.sh"
     289ltmain=$ac_aux_dir/ltmain.sh
    280290])# _LT_PROG_LTMAIN
    281291
     
    287297# So that we can recreate a full libtool script including additional
    288298# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
    289 # in macros and then make a single call at the end using the `libtool'
     299# in macros and then make a single call at the end using the 'libtool'
    290300# label.
    291301
     
    422432# _LT_CONFIG_STATUS_DECLARE([VARNAME])
    423433# ------------------------------------
    424 # Quote a variable value, and forward it to `config.status' so that its
    425 # declaration there will have the same value as in `configure'.  VARNAME
     434# Quote a variable value, and forward it to 'config.status' so that its
     435# declaration there will have the same value as in 'configure'.  VARNAME
    426436# must have a single quote delimited value for this to work.
    427437m4_define([_LT_CONFIG_STATUS_DECLARE],
     
    447457m4_defun([_LT_LIBTOOL_TAGS],
    448458[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
    449 available_tags="_LT_TAGS"dnl
     459available_tags='_LT_TAGS'dnl
    450460])
    451461
     
    475485# -----------------------
    476486# Produce commented declarations of non-tagged libtool config variables
    477 # suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
     487# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
    478488# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
    479489# section) are produced by _LT_LIBTOOL_TAG_VARS.
     
    501511# variables for single and double quote escaping we saved from calls
    502512# to _LT_DECL, we can put quote escaped variables declarations
    503 # into `config.status', and then the shell code to quote escape them in
    504 # for loops in `config.status'.  Finally, any additional code accumulated
     513# into 'config.status', and then the shell code to quote escape them in
     514# for loops in 'config.status'.  Finally, any additional code accumulated
    505515# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
    506516m4_defun([_LT_CONFIG_COMMANDS],
     
    548558    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    549559    *[[\\\\\\\`\\"\\\$]]*)
    550       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
     560      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    551561      ;;
    552562    *)
     
    561571    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    562572    *[[\\\\\\\`\\"\\\$]]*)
    563       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
     573      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    564574      ;;
    565575    *)
     
    577587# reuse the environment learned by the parent script, and make the
    578588# file executable.  If COMMENT is supplied, it is inserted after the
    579 # `#!' sequence but before initialization text begins.  After this
     589# '#!' sequence but before initialization text begins.  After this
    580590# macro, additional text can be appended to FILE to form the body of
    581591# the child script.  The macro ends with non-zero status if the
     
    599609exec AS_MESSAGE_FD>&1
    600610_ASEOF
    601 test $lt_write_fail = 0 && chmod +x $1[]dnl
     611test 0 = "$lt_write_fail" && chmod +x $1[]dnl
    602612m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
    603613
     
    622632
    623633lt_cl_help="\
    624 \`$as_me' creates a local libtool stub from the current configuration,
     634'$as_me' creates a local libtool stub from the current configuration,
    625635for use in further configure time tests before the real libtool is
    626636generated.
     
    644654gives unlimited permision to copy, distribute and modify it."
    645655
    646 while test $[#] != 0
     656while test 0 != $[#]
    647657do
    648658  case $[1] in
     
    657667
    658668    -*) AC_MSG_ERROR([unrecognized option: $[1]
    659 Try \`$[0] --help' for more information.]) ;;
     669Try '$[0] --help' for more information.]) ;;
    660670
    661671    *) AC_MSG_ERROR([unrecognized argument: $[1]
    662 Try \`$[0] --help' for more information.]) ;;
     672Try '$[0] --help' for more information.]) ;;
    663673  esac
    664674  shift
     
    686696# config.log, so it can be properly (re)opened and appended to by config.lt.
    687697lt_cl_success=:
    688 test "$silent" = yes &&
     698test yes = "$silent" &&
    689699  lt_config_lt_args="$lt_config_lt_args --quiet"
    690700exec AS_MESSAGE_LOG_FD>/dev/null
     
    706716  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
    707717  m4_if(_LT_TAG, [C], [
    708     # See if we are running on zsh, and set the options which allow our
     718    # See if we are running on zsh, and set the options that allow our
    709719    # commands through without removal of \ escapes.
    710     if test -n "${ZSH_VERSION+set}" ; then
     720    if test -n "${ZSH_VERSION+set}"; then
    711721      setopt NO_GLOB_SUBST
    712722    fi
    713723
    714     cfgfile="${ofile}T"
     724    cfgfile=${ofile}T
    715725    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
    716726    $RM "$cfgfile"
     
    718728    cat <<_LT_EOF >> "$cfgfile"
    719729#! $SHELL
    720 
    721 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
    722 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
     730# Generated automatically by $as_me ($PACKAGE) $VERSION
    723731# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    724732# NOTE: Changes made to this file will be lost: look at ltmain.sh.
    725 #
     733
     734# Provide generalized library-building support services.
     735# Written by Gordon Matzigkeit, 1996
     736
    726737_LT_COPYING
    727738_LT_LIBTOOL_TAGS
     739
     740# Configured defaults for sys_lib_dlsearch_path munging.
     741: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
    728742
    729743# ### BEGIN LIBTOOL CONFIG
     
    731745_LT_LIBTOOL_TAG_VARS
    732746# ### END LIBTOOL CONFIG
     747
     748_LT_EOF
     749
     750    cat <<'_LT_EOF' >> "$cfgfile"
     751
     752# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
     753
     754_LT_PREPARE_MUNGE_PATH_LIST
     755_LT_PREPARE_CC_BASENAME
     756
     757# ### END FUNCTIONS SHARED WITH CONFIGURE
    733758
    734759_LT_EOF
     
    740765# reason, if we set the COLLECT_NAMES environment variable, the problems
    741766# vanish in a puff of smoke.
    742 if test "X${COLLECT_NAMES+set}" != Xset; then
     767if test set != "${COLLECT_NAMES+set}"; then
    743768  COLLECT_NAMES=
    744769  export COLLECT_NAMES
     
    756781  sed '$q' "$ltmain" >> "$cfgfile" \
    757782     || (rm -f "$cfgfile"; exit 1)
    758 
    759   _LT_PROG_REPLACE_SHELLFNS
    760783
    761784   mv -f "$cfgfile" "$ofile" ||
     
    776799    PACKAGE='$PACKAGE'
    777800    VERSION='$VERSION'
    778     TIMESTAMP='$TIMESTAMP'
    779801    RM='$RM'
    780802    ofile='$ofile'], [])
     
    975997    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
    976998      [lt_cv_apple_cc_single_mod=no
    977       if test -z "${LT_MULTI_MODULE}"; then
     999      if test -z "$LT_MULTI_MODULE"; then
    9781000        # By default we will add the -single_module flag. You can override
    9791001        # by either setting the environment variable LT_MULTI_MODULE
     
    9931015        # Otherwise, if the output was created with a 0 exit code from
    9941016        # the compiler, it worked.
    995         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
     1017        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
    9961018          lt_cv_apple_cc_single_mod=yes
    9971019        else
     
    10111033        [lt_cv_ld_exported_symbols_list=yes],
    10121034        [lt_cv_ld_exported_symbols_list=no])
    1013         LDFLAGS="$save_LDFLAGS"
     1035        LDFLAGS=$save_LDFLAGS
    10141036    ])
    10151037
     
    10331055      if test -s conftest.err && $GREP force_load conftest.err; then
    10341056        cat conftest.err >&AS_MESSAGE_LOG_FD
    1035       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
     1057      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
    10361058        lt_cv_ld_force_load=yes
    10371059      else
     
    10431065    case $host_os in
    10441066    rhapsody* | darwin1.[[012]])
    1045       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
     1067      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
    10461068    darwin1.*)
    1047       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     1069      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    10481070    darwin*) # darwin 5.x on
    10491071      # if running on 10.5 or later, the deployment target defaults
     
    10521074      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
    10531075        10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
    1054           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
    1055         10.[[012]]*)
    1056           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     1076          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     1077        10.[[012]][[,.]]*)
     1078          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    10571079        10.*)
    1058           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     1080          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
    10591081      esac
    10601082    ;;
    10611083  esac
    1062     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
     1084    if test yes = "$lt_cv_apple_cc_single_mod"; then
    10631085      _lt_dar_single_mod='$single_module'
    10641086    fi
    1065     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
    1066       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
     1087    if test yes = "$lt_cv_ld_exported_symbols_list"; then
     1088      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
    10671089    else
    1068       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
     1090      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
    10691091    fi
    1070     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
     1092    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
    10711093      _lt_dsymutil='~$DSYMUTIL $lib || :'
    10721094    else
     
    10881110  _LT_TAGVAR(hardcode_automatic, $1)=yes
    10891111  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
    1090   if test "$lt_cv_ld_force_load" = "yes"; then
    1091     _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
     1112  if test yes = "$lt_cv_ld_force_load"; then
     1113    _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
    10921114    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
    10931115                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
     
    10961118  fi
    10971119  _LT_TAGVAR(link_all_deplibs, $1)=yes
    1098   _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
     1120  _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
    10991121  case $cc_basename in
    1100      ifort*) _lt_dar_can_shared=yes ;;
     1122     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
    11011123     *) _lt_dar_can_shared=$GCC ;;
    11021124  esac
    1103   if test "$_lt_dar_can_shared" = "yes"; then
     1125  if test yes = "$_lt_dar_can_shared"; then
    11041126    output_verbose_link_cmd=func_echo_all
    1105     _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
    1106     _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
    1107     _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
    1108     _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
     1127    _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
     1128    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
     1129    _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
     1130    _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
    11091131    m4_if([$1], [CXX],
    1110 [   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
    1111       _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
    1112       _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
     1132[   if test yes != "$lt_cv_apple_cc_single_mod"; then
     1133      _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
     1134      _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
    11131135    fi
    11141136],[])
     
    11301152m4_defun([_LT_SYS_MODULE_PATH_AIX],
    11311153[m4_require([_LT_DECL_SED])dnl
    1132 if test "${lt_cv_aix_libpath+set}" = set; then
     1154if test set = "${lt_cv_aix_libpath+set}"; then
    11331155  aix_libpath=$lt_cv_aix_libpath
    11341156else
     
    11481170  fi],[])
    11491171  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
    1150     _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
     1172    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
    11511173  fi
    11521174  ])
     
    11681190# Find how we can fake an echo command that does not interpret backslash.
    11691191# In particular, with Autoconf 2.60 or later we add some code to the start
    1170 # of the generated configure script which will find a shell with a builtin
    1171 # printf (which we can use as an echo command).
     1192# of the generated configure script that will find a shell with a builtin
     1193# printf (that we can use as an echo command).
    11721194m4_defun([_LT_PROG_ECHO_BACKSLASH],
    11731195[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     
    11971219func_echo_all ()
    11981220{
    1199     $ECHO "$*" 
     1221    $ECHO "$*"
    12001222}
    12011223
    1202 case "$ECHO" in
     1224case $ECHO in
    12031225  printf*) AC_MSG_RESULT([printf]) ;;
    12041226  print*) AC_MSG_RESULT([print -r]) ;;
     
    12261248[AC_MSG_CHECKING([for sysroot])
    12271249AC_ARG_WITH([sysroot],
    1228 [  --with-sysroot[=DIR] Search for dependent libraries within DIR
    1229                         (or the compiler's sysroot if not specified).],
     1250[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
     1251  [Search for dependent libraries within DIR (or the compiler's sysroot
     1252   if not specified).])],
    12301253[], [with_sysroot=no])
    12311254
     
    12331256dnl in case the user passed a directory name.
    12341257lt_sysroot=
    1235 case ${with_sysroot} in #(
     1258case $with_sysroot in #(
    12361259 yes)
    1237    if test "$GCC" = yes; then
     1260   if test yes = "$GCC"; then
    12381261     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
    12391262   fi
     
    12451268   ;; #(
    12461269 *)
    1247    AC_MSG_RESULT([${with_sysroot}])
     1270   AC_MSG_RESULT([$with_sysroot])
    12481271   AC_MSG_ERROR([The sysroot must be an absolute path.])
    12491272   ;;
     
    12521275 AC_MSG_RESULT([${lt_sysroot:-no}])
    12531276_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
    1254 [dependent libraries, and in which our libraries should be installed.])])
     1277[dependent libraries, and where our libraries should be installed.])])
    12551278
    12561279# _LT_ENABLE_LOCK
     
    12601283  [AS_HELP_STRING([--disable-libtool-lock],
    12611284    [avoid locking (might break parallel builds)])])
    1262 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
     1285test no = "$enable_libtool_lock" || enable_libtool_lock=yes
    12631286
    12641287# Some flags need to be propagated to the compiler or linker for good
     
    12661289case $host in
    12671290ia64-*-hpux*)
    1268   # Find out which ABI we are using.
     1291  # Find out what ABI is being produced by ac_compile, and set mode
     1292  # options accordingly.
    12691293  echo 'int i;' > conftest.$ac_ext
    12701294  if AC_TRY_EVAL(ac_compile); then
    12711295    case `/usr/bin/file conftest.$ac_objext` in
    12721296      *ELF-32*)
    1273         HPUX_IA64_MODE="32"
     1297        HPUX_IA64_MODE=32
    12741298        ;;
    12751299      *ELF-64*)
    1276         HPUX_IA64_MODE="64"
     1300        HPUX_IA64_MODE=64
    12771301        ;;
    12781302    esac
     
    12811305  ;;
    12821306*-*-irix6*)
    1283   # Find out which ABI we are using.
     1307  # Find out what ABI is being produced by ac_compile, and set linker
     1308  # options accordingly.
    12841309  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
    12851310  if AC_TRY_EVAL(ac_compile); then
    1286     if test "$lt_cv_prog_gnu_ld" = yes; then
     1311    if test yes = "$lt_cv_prog_gnu_ld"; then
    12871312      case `/usr/bin/file conftest.$ac_objext` in
    12881313        *32-bit*)
     
    13131338  ;;
    13141339
     1340mips64*-*linux*)
     1341  # Find out what ABI is being produced by ac_compile, and set linker
     1342  # options accordingly.
     1343  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
     1344  if AC_TRY_EVAL(ac_compile); then
     1345    emul=elf
     1346    case `/usr/bin/file conftest.$ac_objext` in
     1347      *32-bit*)
     1348        emul="${emul}32"
     1349        ;;
     1350      *64-bit*)
     1351        emul="${emul}64"
     1352        ;;
     1353    esac
     1354    case `/usr/bin/file conftest.$ac_objext` in
     1355      *MSB*)
     1356        emul="${emul}btsmip"
     1357        ;;
     1358      *LSB*)
     1359        emul="${emul}ltsmip"
     1360        ;;
     1361    esac
     1362    case `/usr/bin/file conftest.$ac_objext` in
     1363      *N32*)
     1364        emul="${emul}n32"
     1365        ;;
     1366    esac
     1367    LD="${LD-ld} -m $emul"
     1368  fi
     1369  rm -rf conftest*
     1370  ;;
     1371
    13151372x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
    13161373s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
    1317   # Find out which ABI we are using.
     1374  # Find out what ABI is being produced by ac_compile, and set linker
     1375  # options accordingly.  Note that the listed cases only cover the
     1376  # situations where additional linker options are needed (such as when
     1377  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
     1378  # vice versa); the common cases where no linker options are needed do
     1379  # not appear in the list.
    13181380  echo 'int i;' > conftest.$ac_ext
    13191381  if AC_TRY_EVAL(ac_compile); then
     
    13251387            ;;
    13261388          x86_64-*linux*)
    1327             LD="${LD-ld} -m elf_i386"
     1389            case `/usr/bin/file conftest.o` in
     1390              *x86-64*)
     1391                LD="${LD-ld} -m elf32_x86_64"
     1392                ;;
     1393              *)
     1394                LD="${LD-ld} -m elf_i386"
     1395                ;;
     1396            esac
    13281397            ;;
    13291398          powerpc64le-*linux*)
     
    13701439*-*-sco3.2v5*)
    13711440  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    1372   SAVE_CFLAGS="$CFLAGS"
     1441  SAVE_CFLAGS=$CFLAGS
    13731442  CFLAGS="$CFLAGS -belf"
    13741443  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
     
    13761445     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
    13771446     AC_LANG_POP])
    1378   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
     1447  if test yes != "$lt_cv_cc_needs_belf"; then
    13791448    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    1380     CFLAGS="$SAVE_CFLAGS"
     1449    CFLAGS=$SAVE_CFLAGS
    13811450  fi
    13821451  ;;
    13831452*-*solaris*)
    1384   # Find out which ABI we are using.
     1453  # Find out what ABI is being produced by ac_compile, and set linker
     1454  # options accordingly.
    13851455  echo 'int i;' > conftest.$ac_ext
    13861456  if AC_TRY_EVAL(ac_compile); then
     
    13901460      yes*)
    13911461        case $host in
    1392         i?86-*-solaris*)
     1462        i?86-*-solaris*|x86_64-*-solaris*)
    13931463          LD="${LD-ld} -m elf_x86_64"
    13941464          ;;
     
    13991469        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
    14001470        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
    1401           LD="${LD-ld}_sol2"
     1471          LD=${LD-ld}_sol2
    14021472        fi
    14031473        ;;
     
    14151485esac
    14161486
    1417 need_locks="$enable_libtool_lock"
     1487need_locks=$enable_libtool_lock
    14181488])# _LT_ENABLE_LOCK
    14191489
     
    14341504      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
    14351505      AC_TRY_EVAL([lt_ar_try])
    1436       if test "$ac_status" -eq 0; then
     1506      if test 0 -eq "$ac_status"; then
    14371507        # Ensure the archiver fails upon bogus file names.
    14381508        rm -f conftest.$ac_objext libconftest.a
    14391509        AC_TRY_EVAL([lt_ar_try])
    1440         if test "$ac_status" -ne 0; then
     1510        if test 0 -ne "$ac_status"; then
    14411511          lt_cv_ar_at_file=@
    14421512        fi
     
    14461516  ])
    14471517
    1448 if test "x$lt_cv_ar_at_file" = xno; then
     1518if test no = "$lt_cv_ar_at_file"; then
    14491519  archiver_list_spec=
    14501520else
     
    14771547if test -n "$RANLIB"; then
    14781548  case $host_os in
    1479   openbsd*)
     1549  bitrig* | openbsd*)
    14801550    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
    14811551    ;;
     
    15131583   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
    15141584   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    1515    lt_compiler_flag="$3"
     1585   lt_compiler_flag="$3"  ## exclude from sc_useless_quotes_in_assignment
    15161586   # Insert the option either (1) after the last *FLAGS variable, or
    15171587   # (2) before a word containing "conftest.", or (3) at the end.
     
    15401610])
    15411611
    1542 if test x"[$]$2" = xyes; then
     1612if test yes = "[$]$2"; then
    15431613    m4_if([$5], , :, [$5])
    15441614else
     
    15621632AC_CACHE_CHECK([$1], [$2],
    15631633  [$2=no
    1564    save_LDFLAGS="$LDFLAGS"
     1634   save_LDFLAGS=$LDFLAGS
    15651635   LDFLAGS="$LDFLAGS $3"
    15661636   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     
    15811651   fi
    15821652   $RM -r conftest*
    1583    LDFLAGS="$save_LDFLAGS"
     1653   LDFLAGS=$save_LDFLAGS
    15841654])
    15851655
    1586 if test x"[$]$2" = xyes; then
     1656if test yes = "[$]$2"; then
    15871657    m4_if([$4], , :, [$4])
    15881658else
     
    16051675AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
    16061676  i=0
    1607   teststring="ABCD"
     1677  teststring=ABCD
    16081678
    16091679  case $build_os in
     
    16451715    ;;
    16461716
    1647   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
     1717  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
    16481718    # This has been around since 386BSD, at least.  Likely further.
    16491719    if test -x /sbin/sysctl; then
     
    16951765  *)
    16961766    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
    1697     if test -n "$lt_cv_sys_max_cmd_len"; then
     1767    if test -n "$lt_cv_sys_max_cmd_len" && \
     1768       test undefined != "$lt_cv_sys_max_cmd_len"; then
    16981769      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    16991770      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     
    17011772      # Make teststring a little bigger before we do anything with it.
    17021773      # a 1K string should be a reasonable start.
    1703       for i in 1 2 3 4 5 6 7 8 ; do
     1774      for i in 1 2 3 4 5 6 7 8; do
    17041775        teststring=$teststring$teststring
    17051776      done
     
    17081779      # maximum length that is only half of the actual maximum length, but
    17091780      # we can't tell.
    1710       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
     1781      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
    17111782                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
    1712               test $i != 17 # 1/2 MB should be enough
     1783              test 17 != "$i" # 1/2 MB should be enough
    17131784      do
    17141785        i=`expr $i + 1`
     
    17261797  esac
    17271798])
    1728 if test -n $lt_cv_sys_max_cmd_len ; then
     1799if test -n "$lt_cv_sys_max_cmd_len"; then
    17291800  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
    17301801else
     
    17541825m4_defun([_LT_TRY_DLOPEN_SELF],
    17551826[m4_require([_LT_HEADER_DLFCN])dnl
    1756 if test "$cross_compiling" = yes; then :
     1827if test yes = "$cross_compiling"; then :
    17571828  [$4]
    17581829else
     
    18011872#endif
    18021873
    1803 /* When -fvisbility=hidden is used, assume the code has been annotated
     1874/* When -fvisibility=hidden is used, assume the code has been annotated
    18041875   correspondingly for the symbols needed.  */
    1805 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     1876#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    18061877int fnord () __attribute__((visibility("default")));
    18071878#endif
     
    18291900}]
    18301901_LT_EOF
    1831   if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
     1902  if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
    18321903    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
    18331904    lt_status=$?
     
    18501921AC_DEFUN([LT_SYS_DLOPEN_SELF],
    18511922[m4_require([_LT_HEADER_DLFCN])dnl
    1852 if test "x$enable_dlopen" != xyes; then
     1923if test yes != "$enable_dlopen"; then
    18531924  enable_dlopen=unknown
    18541925  enable_dlopen_self=unknown
     
    18601931  case $host_os in
    18611932  beos*)
    1862     lt_cv_dlopen="load_add_on"
     1933    lt_cv_dlopen=load_add_on
    18631934    lt_cv_dlopen_libs=
    18641935    lt_cv_dlopen_self=yes
     
    18661937
    18671938  mingw* | pw32* | cegcc*)
    1868     lt_cv_dlopen="LoadLibrary"
     1939    lt_cv_dlopen=LoadLibrary
    18691940    lt_cv_dlopen_libs=
    18701941    ;;
    18711942
    18721943  cygwin*)
    1873     lt_cv_dlopen="dlopen"
     1944    lt_cv_dlopen=dlopen
    18741945    lt_cv_dlopen_libs=
    18751946    ;;
    18761947
    18771948  darwin*)
    1878   # if libdl is installed we need to link against it
     1949    # if libdl is installed we need to link against it
    18791950    AC_CHECK_LIB([dl], [dlopen],
    1880                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
    1881     lt_cv_dlopen="dyld"
     1951                [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
     1952    lt_cv_dlopen=dyld
    18821953    lt_cv_dlopen_libs=
    18831954    lt_cv_dlopen_self=yes
     
    18851956    ;;
    18861957
     1958  tpf*)
     1959    # Don't try to run any link tests for TPF.  We know it's impossible
     1960    # because TPF is a cross-compiler, and we know how we open DSOs.
     1961    lt_cv_dlopen=dlopen
     1962    lt_cv_dlopen_libs=
     1963    lt_cv_dlopen_self=no
     1964    ;;
     1965
    18871966  *)
    18881967    AC_CHECK_FUNC([shl_load],
    1889           [lt_cv_dlopen="shl_load"],
     1968          [lt_cv_dlopen=shl_load],
    18901969      [AC_CHECK_LIB([dld], [shl_load],
    1891             [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
     1970            [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
    18921971        [AC_CHECK_FUNC([dlopen],
    1893               [lt_cv_dlopen="dlopen"],
     1972              [lt_cv_dlopen=dlopen],
    18941973          [AC_CHECK_LIB([dl], [dlopen],
    1895                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
     1974                [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
    18961975            [AC_CHECK_LIB([svld], [dlopen],
    1897                   [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
     1976                  [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
    18981977              [AC_CHECK_LIB([dld], [dld_link],
    1899                     [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
     1978                    [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
    19001979              ])
    19011980            ])
     
    19061985  esac
    19071986
    1908   if test "x$lt_cv_dlopen" != xno; then
     1987  if test no = "$lt_cv_dlopen"; then
     1988    enable_dlopen=no
     1989  else
    19091990    enable_dlopen=yes
    1910   else
    1911     enable_dlopen=no
    19121991  fi
    19131992
    19141993  case $lt_cv_dlopen in
    19151994  dlopen)
    1916     save_CPPFLAGS="$CPPFLAGS"
    1917     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    1918 
    1919     save_LDFLAGS="$LDFLAGS"
     1995    save_CPPFLAGS=$CPPFLAGS
     1996    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
     1997
     1998    save_LDFLAGS=$LDFLAGS
    19201999    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
    19212000
    1922     save_LIBS="$LIBS"
     2001    save_LIBS=$LIBS
    19232002    LIBS="$lt_cv_dlopen_libs $LIBS"
    19242003
     
    19302009    ])
    19312010
    1932     if test "x$lt_cv_dlopen_self" = xyes; then
     2011    if test yes = "$lt_cv_dlopen_self"; then
    19332012      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
    19342013      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
     
    19402019    fi
    19412020
    1942     CPPFLAGS="$save_CPPFLAGS"
    1943     LDFLAGS="$save_LDFLAGS"
    1944     LIBS="$save_LIBS"
     2021    CPPFLAGS=$save_CPPFLAGS
     2022    LDFLAGS=$save_LDFLAGS
     2023    LIBS=$save_LIBS
    19452024    ;;
    19462025  esac
     
    20342113_LT_COMPILER_C_O([$1])
    20352114
    2036 hard_links="nottested"
    2037 if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
     2115hard_links=nottested
     2116if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
    20382117  # do not overwrite the value of need_locks provided by the user
    20392118  AC_MSG_CHECKING([if we can lock with hard links])
     
    20452124  ln conftest.a conftest.b 2>/dev/null && hard_links=no
    20462125  AC_MSG_RESULT([$hard_links])
    2047   if test "$hard_links" = no; then
    2048     AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
     2126  if test no = "$hard_links"; then
     2127    AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
    20492128    need_locks=warn
    20502129  fi
     
    20732152         [The name of the directory that contains temporary libtool files])dnl
    20742153m4_pattern_allow([LT_OBJDIR])dnl
    2075 AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
    2076   [Define to the sub-directory in which libtool stores uninstalled libraries.])
     2154AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/",
     2155  [Define to the sub-directory where libtool stores uninstalled libraries.])
    20772156])# _LT_CHECK_OBJDIR
    20782157
     
    20862165if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
    20872166   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
    2088    test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
     2167   test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
    20892168
    20902169  # We can hardcode non-existent directories.
    2091   if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
     2170  if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
    20922171     # If the only mechanism to avoid hardcoding is shlibpath_var, we
    20932172     # have to relink, otherwise we might link with an installed library
    20942173     # when we should be linking with a yet-to-be-installed one
    2095      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
    2096      test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
     2174     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
     2175     test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
    20972176    # Linking always hardcodes the temporary library directory.
    20982177    _LT_TAGVAR(hardcode_action, $1)=relink
     
    21082187AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
    21092188
    2110 if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
    2111    test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
     2189if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
     2190   test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
    21122191  # Fast installation is not supported
    21132192  enable_fast_install=no
    2114 elif test "$shlibpath_overrides_runpath" = yes ||
    2115      test "$enable_shared" = no; then
     2193elif test yes = "$shlibpath_overrides_runpath" ||
     2194     test no = "$enable_shared"; then
    21162195  # Fast installation is not necessary
    21172196  enable_fast_install=needless
     
    21372216  case $host_os in
    21382217  darwin*)
    2139     if test -n "$STRIP" ; then
     2218    if test -n "$STRIP"; then
    21402219      striplib="$STRIP -x"
    21412220      old_striplib="$STRIP -S"
     
    21552234
    21562235
     2236# _LT_PREPARE_MUNGE_PATH_LIST
     2237# ---------------------------
     2238# Make sure func_munge_path_list() is defined correctly.
     2239m4_defun([_LT_PREPARE_MUNGE_PATH_LIST],
     2240[[# func_munge_path_list VARIABLE PATH
     2241# -----------------------------------
     2242# VARIABLE is name of variable containing _space_ separated list of
     2243# directories to be munged by the contents of PATH, which is string
     2244# having a format:
     2245# "DIR[:DIR]:"
     2246#       string "DIR[ DIR]" will be prepended to VARIABLE
     2247# ":DIR[:DIR]"
     2248#       string "DIR[ DIR]" will be appended to VARIABLE
     2249# "DIRP[:DIRP]::[DIRA:]DIRA"
     2250#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     2251#       "DIRA[ DIRA]" will be appended to VARIABLE
     2252# "DIR[:DIR]"
     2253#       VARIABLE will be replaced by "DIR[ DIR]"
     2254func_munge_path_list ()
     2255{
     2256    case x@S|@2 in
     2257    x)
     2258        ;;
     2259    *:)
     2260        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
     2261        ;;
     2262    x:*)
     2263        eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
     2264        ;;
     2265    *::*)
     2266        eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     2267        eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
     2268        ;;
     2269    *)
     2270        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
     2271        ;;
     2272    esac
     2273}
     2274]])# _LT_PREPARE_PATH_LIST
     2275
     2276
    21572277# _LT_SYS_DYNAMIC_LINKER([TAG])
    21582278# -----------------------------
     
    21652285m4_require([_LT_DECL_SED])dnl
    21662286m4_require([_LT_CHECK_SHELL_FEATURES])dnl
     2287m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl
    21672288AC_MSG_CHECKING([dynamic linker characteristics])
    21682289m4_if([$1],
    21692290        [], [
    2170 if test "$GCC" = yes; then
     2291if test yes = "$GCC"; then
    21712292  case $host_os in
    2172     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
    2173     *) lt_awk_arg="/^libraries:/" ;;
     2293    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
     2294    *) lt_awk_arg='/^libraries:/' ;;
    21742295  esac
    21752296  case $host_os in
    2176     mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
    2177     *) lt_sed_strip_eq="s,=/,/,g" ;;
     2297    mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
     2298    *) lt_sed_strip_eq='s|=/|/|g' ;;
    21782299  esac
    21792300  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
     
    21912312  esac
    21922313  # Ok, now we have the path, separated by spaces, we can step through it
    2193   # and add multilib dir if necessary.
     2314  # and add multilib dir if necessary...
    21942315  lt_tmp_lt_search_path_spec=
    2195   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     2316  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     2317  # ...but if some path component already ends with the multilib dir we assume
     2318  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
     2319  case "$lt_multi_os_dir; $lt_search_path_spec " in
     2320  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
     2321    lt_multi_os_dir=
     2322    ;;
     2323  esac
    21962324  for lt_sys_path in $lt_search_path_spec; do
    2197     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
    2198       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
    2199     else
     2325    if test -d "$lt_sys_path$lt_multi_os_dir"; then
     2326      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
     2327    elif test -n "$lt_multi_os_dir"; then
    22002328      test -d "$lt_sys_path" && \
    22012329        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     
    22032331  done
    22042332  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
    2205 BEGIN {RS=" "; FS="/|\n";} {
    2206   lt_foo="";
    2207   lt_count=0;
     2333BEGIN {RS = " "; FS = "/|\n";} {
     2334  lt_foo = "";
     2335  lt_count = 0;
    22082336  for (lt_i = NF; lt_i > 0; lt_i--) {
    22092337    if ($lt_i != "" && $lt_i != ".") {
     
    22122340      } else {
    22132341        if (lt_count == 0) {
    2214           lt_foo="/" $lt_i lt_foo;
     2342          lt_foo = "/" $lt_i lt_foo;
    22152343        } else {
    22162344          lt_count--;
     
    22262354  case $host_os in
    22272355    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
    2228       $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
     2356      $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
    22292357  esac
    22302358  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
     
    22352363libname_spec='lib$name'
    22362364soname_spec=
    2237 shrext_cmds=".so"
     2365shrext_cmds=.so
    22382366postinstall_cmds=
    22392367postuninstall_cmds=
     
    22522380need_version=unknown
    22532381
     2382AC_ARG_VAR([LT_SYS_LIBRARY_PATH],
     2383[User-defined run-time library search path.])
     2384
    22542385case $host_os in
    22552386aix3*)
    22562387  version_type=linux # correct to gnu/linux during the next big refactor
    2257   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
     2388  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
    22582389  shlibpath_var=LIBPATH
    22592390
    22602391  # AIX 3 has no versioning support, so we append a major version to the name.
    2261   soname_spec='${libname}${release}${shared_ext}$major'
     2392  soname_spec='$libname$release$shared_ext$major'
    22622393  ;;
    22632394
     
    22672398  need_version=no
    22682399  hardcode_into_libs=yes
    2269   if test "$host_cpu" = ia64; then
     2400  if test ia64 = "$host_cpu"; then
    22702401    # AIX 5 supports IA64
    2271     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
     2402    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
    22722403    shlibpath_var=LD_LIBRARY_PATH
    22732404  else
    22742405    # With GCC up to 2.95.x, collect2 would create an import file
    22752406    # for dependence libraries.  The import file would start with
    2276     # the line `#! .'.  This would cause the generated library to
    2277     # depend on `.', always an invalid library.  This was fixed in
     2407    # the line '#! .'.  This would cause the generated library to
     2408    # depend on '.', always an invalid library.  This was fixed in
    22782409    # development snapshots of GCC prior to 3.0.
    22792410    case $host_os in
     
    22812412      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    22822413           echo ' yes '
    2283            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
     2414           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
    22842415        :
    22852416      else
     
    22882419      ;;
    22892420    esac
    2290     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
     2421    # Using Import Files as archive members, it is possible to support
     2422    # filename-based versioning of shared library archives on AIX. While
     2423    # this would work for both with and without runtime linking, it will
     2424    # prevent static linking of such archives. So we do filename-based
     2425    # shared library versioning with .so extension only, which is used
     2426    # when both runtime linking and shared linking is enabled.
     2427    # Unfortunately, runtime linking may impact performance, so we do
     2428    # not want this to be the default eventually. Also, we use the
     2429    # versioned .so libs for executables only if there is the -brtl
     2430    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
     2431    # To allow for filename-based versioning support, we need to create
     2432    # libNAME.so.V as an archive file, containing:
     2433    # *) an Import File, referring to the versioned filename of the
     2434    #    archive as well as the shared archive member, telling the
     2435    #    bitwidth (32 or 64) of that shared object, and providing the
     2436    #    list of exported symbols of that shared object, eventually
     2437    #    decorated with the 'weak' keyword
     2438    # *) the shared object with the F_LOADONLY flag set, to really avoid
     2439    #    it being seen by the linker.
     2440    # At run time we better use the real file rather than another symlink,
     2441    # but for link time we create the symlink libNAME.so -> libNAME.so.V
     2442
     2443    case $with_aix_soname,$aix_use_runtimelinking in
     2444    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
    22912445    # soname into executable. Probably we can add versioning support to
    22922446    # collect2, so additional links can be useful in future.
    2293     if test "$aix_use_runtimelinking" = yes; then
     2447    aix,yes) # traditional libtool
     2448      dynamic_linker='AIX unversionable lib.so'
    22942449      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    22952450      # instead of lib<name>.a to let people know that these are not
    22962451      # typical AIX shared libraries.
    2297       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2298     else
     2452      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2453      ;;
     2454    aix,no) # traditional AIX only
     2455      dynamic_linker='AIX lib.a[(]lib.so.V[)]'
    22992456      # We preserve .a as extension for shared libraries through AIX4.2
    23002457      # and later when we are not doing run time linking.
    2301       library_names_spec='${libname}${release}.a $libname.a'
    2302       soname_spec='${libname}${release}${shared_ext}$major'
    2303     fi
     2458      library_names_spec='$libname$release.a $libname.a'
     2459      soname_spec='$libname$release$shared_ext$major'
     2460      ;;
     2461    svr4,*) # full svr4 only
     2462      dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
     2463      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     2464      # We do not specify a path in Import Files, so LIBPATH fires.
     2465      shlibpath_overrides_runpath=yes
     2466      ;;
     2467    *,yes) # both, prefer svr4
     2468      dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
     2469      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     2470      # unpreferred sharedlib libNAME.a needs extra handling
     2471      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
     2472      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
     2473      # We do not specify a path in Import Files, so LIBPATH fires.
     2474      shlibpath_overrides_runpath=yes
     2475      ;;
     2476    *,no) # both, prefer aix
     2477      dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
     2478      library_names_spec='$libname$release.a $libname.a'
     2479      soname_spec='$libname$release$shared_ext$major'
     2480      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
     2481      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
     2482      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
     2483      ;;
     2484    esac
    23042485    shlibpath_var=LIBPATH
    23052486  fi
     
    23112492    # Since July 2007 AmigaOS4 officially supports .so libraries.
    23122493    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    2313     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2494    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    23142495    ;;
    23152496  m68k)
    23162497    library_names_spec='$libname.ixlibrary $libname.a'
    23172498    # Create ${libname}_ixlibrary.a entries in /sys/libs.
    2318     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
     2499    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
    23192500    ;;
    23202501  esac
     
    23222503
    23232504beos*)
    2324   library_names_spec='${libname}${shared_ext}'
     2505  library_names_spec='$libname$shared_ext'
    23252506  dynamic_linker="$host_os ld.so"
    23262507  shlibpath_var=LIBRARY_PATH
     
    23302511  version_type=linux # correct to gnu/linux during the next big refactor
    23312512  need_version=no
    2332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2333   soname_spec='${libname}${release}${shared_ext}$major'
     2513  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2514  soname_spec='$libname$release$shared_ext$major'
    23342515  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    23352516  shlibpath_var=LD_LIBRARY_PATH
     
    23432524cygwin* | mingw* | pw32* | cegcc*)
    23442525  version_type=windows
    2345   shrext_cmds=".dll"
     2526  shrext_cmds=.dll
    23462527  need_version=no
    23472528  need_lib_prefix=no
     
    23522533    library_names_spec='$libname.dll.a'
    23532534    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    2354     postinstall_cmds='base_file=`basename \${file}`~
    2355       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     2535    postinstall_cmds='base_file=`basename \$file`~
     2536      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    23562537      dldir=$destdir/`dirname \$dlpath`~
    23572538      test -d \$dldir || mkdir -p \$dldir~
     
    23692550    cygwin*)
    23702551      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    2371       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
     2552      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
    23722553m4_if([$1], [],[
    23732554      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
     
    23752556    mingw* | cegcc*)
    23762557      # MinGW DLLs use traditional 'lib' prefix
    2377       soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
     2558      soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
    23782559      ;;
    23792560    pw32*)
    23802561      # pw32 DLLs use 'pw' prefix rather than 'lib'
    2381       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
     2562      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
    23822563      ;;
    23832564    esac
     
    23882569    # Native MSVC
    23892570    libname_spec='$name'
    2390     soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
    2391     library_names_spec='${libname}.dll.lib'
     2571    soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
     2572    library_names_spec='$libname.dll.lib'
    23922573
    23932574    case $build_os in
     
    24162597      ;;
    24172598    *)
    2418       sys_lib_search_path_spec="$LIB"
     2599      sys_lib_search_path_spec=$LIB
    24192600      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
    24202601        # It is most probably a Windows format PATH.
     
    24292610
    24302611    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    2431     postinstall_cmds='base_file=`basename \${file}`~
    2432       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     2612    postinstall_cmds='base_file=`basename \$file`~
     2613      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    24332614      dldir=$destdir/`dirname \$dlpath`~
    24342615      test -d \$dldir || mkdir -p \$dldir~
     
    24432624  *)
    24442625    # Assume MSVC wrapper
    2445     library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
     2626    library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
    24462627    dynamic_linker='Win32 ld.exe'
    24472628    ;;
     
    24562637  need_lib_prefix=no
    24572638  need_version=no
    2458   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    2459   soname_spec='${libname}${release}${major}$shared_ext'
     2639  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
     2640  soname_spec='$libname$release$major$shared_ext'
    24602641  shlibpath_overrides_runpath=yes
    24612642  shlibpath_var=DYLD_LIBRARY_PATH
     
    24702651  need_lib_prefix=no
    24712652  need_version=no
    2472   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
    2473   soname_spec='${libname}${release}${shared_ext}$major'
     2653  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2654  soname_spec='$libname$release$shared_ext$major'
    24742655  shlibpath_var=LD_LIBRARY_PATH
    24752656  ;;
     
    24892670  case $version_type in
    24902671    freebsd-elf*)
    2491       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
     2672      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2673      soname_spec='$libname$release$shared_ext$major'
    24922674      need_version=no
    24932675      need_lib_prefix=no
    24942676      ;;
    24952677    freebsd-*)
    2496       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
     2678      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    24972679      need_version=yes
    24982680      ;;
     
    25192701  ;;
    25202702
    2521 gnu*)
    2522   version_type=linux # correct to gnu/linux during the next big refactor
    2523   need_lib_prefix=no
    2524   need_version=no
    2525   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    2526   soname_spec='${libname}${release}${shared_ext}$major'
    2527   shlibpath_var=LD_LIBRARY_PATH
    2528   shlibpath_overrides_runpath=no
    2529   hardcode_into_libs=yes
    2530   ;;
    2531 
    25322703haiku*)
    25332704  version_type=linux # correct to gnu/linux during the next big refactor
     
    25352706  need_version=no
    25362707  dynamic_linker="$host_os runtime_loader"
    2537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    2538   soname_spec='${libname}${release}${shared_ext}$major'
     2708  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2709  soname_spec='$libname$release$shared_ext$major'
    25392710  shlibpath_var=LIBRARY_PATH
    2540   shlibpath_overrides_runpath=yes
     2711  shlibpath_overrides_runpath=no
    25412712  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    25422713  hardcode_into_libs=yes
     
    25562727    shlibpath_var=LD_LIBRARY_PATH
    25572728    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    2558     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2559     soname_spec='${libname}${release}${shared_ext}$major'
    2560     if test "X$HPUX_IA64_MODE" = X32; then
     2729    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2730    soname_spec='$libname$release$shared_ext$major'
     2731    if test 32 = "$HPUX_IA64_MODE"; then
    25612732      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
     2733      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    25622734    else
    25632735      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
     2736      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    25642737    fi
    2565     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    25662738    ;;
    25672739  hppa*64*)
     
    25712743    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    25722744    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    2573     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2574     soname_spec='${libname}${release}${shared_ext}$major'
     2745    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2746    soname_spec='$libname$release$shared_ext$major'
    25752747    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    25762748    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     
    25812753    shlibpath_var=SHLIB_PATH
    25822754    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    2583     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2584     soname_spec='${libname}${release}${shared_ext}$major'
     2755    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2756    soname_spec='$libname$release$shared_ext$major'
    25852757    ;;
    25862758  esac
     
    25952767  need_lib_prefix=no
    25962768  need_version=no
    2597   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    2598   soname_spec='${libname}${release}${shared_ext}$major'
     2769  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2770  soname_spec='$libname$release$shared_ext$major'
    25992771  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    26002772  shlibpath_var=LD_LIBRARY_PATH
     
    26072779    nonstopux*) version_type=nonstopux ;;
    26082780    *)
    2609         if test "$lt_cv_prog_gnu_ld" = yes; then
     2781        if test yes = "$lt_cv_prog_gnu_ld"; then
    26102782                version_type=linux # correct to gnu/linux during the next big refactor
    26112783        else
     
    26152787  need_lib_prefix=no
    26162788  need_version=no
    2617   soname_spec='${libname}${release}${shared_ext}$major'
    2618   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
     2789  soname_spec='$libname$release$shared_ext$major'
     2790  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
    26192791  case $host_os in
    26202792  irix5* | nonstopux*)
     
    26352807  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    26362808  shlibpath_overrides_runpath=no
    2637   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
    2638   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
     2809  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
     2810  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
    26392811  hardcode_into_libs=yes
    26402812  ;;
     
    26452817  ;;
    26462818
     2819linux*android*)
     2820  version_type=none # Android doesn't support versioned libraries.
     2821  need_lib_prefix=no
     2822  need_version=no
     2823  library_names_spec='$libname$release$shared_ext'
     2824  soname_spec='$libname$release$shared_ext'
     2825  finish_cmds=
     2826  shlibpath_var=LD_LIBRARY_PATH
     2827  shlibpath_overrides_runpath=yes
     2828
     2829  # This implies no fast_install, which is unacceptable.
     2830  # Some rework will be needed to allow for fast_install
     2831  # before this can be enabled.
     2832  hardcode_into_libs=yes
     2833
     2834  dynamic_linker='Android linker'
     2835  # Don't embed -rpath directories since the linker doesn't support them.
     2836  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
     2837  ;;
     2838
    26472839# This must be glibc/ELF.
    2648 linux* | k*bsd*-gnu | kopensolaris*-gnu)
     2840linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    26492841  version_type=linux # correct to gnu/linux during the next big refactor
    26502842  need_lib_prefix=no
    26512843  need_version=no
    2652   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2653   soname_spec='${libname}${release}${shared_ext}$major'
     2844  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2845  soname_spec='$libname$release$shared_ext$major'
    26542846  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    26552847  shlibpath_var=LD_LIBRARY_PATH
     
    26762868  hardcode_into_libs=yes
    26772869
    2678   # Append ld.so.conf contents to the search path
     2870  # Ideally, we could use ldconfig to report *all* directores which are
     2871  # searched for libraries, however this is still not possible.  Aside from not
     2872  # being certain /sbin/ldconfig is available, command
     2873  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
     2874  # even though it is searched at run-time.  Try to do the best guess by
     2875  # appending ld.so.conf contents (and includes) to the search path.
    26792876  if test -f /etc/ld.so.conf; then
    26802877    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[   ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
     
    26912888  ;;
    26922889
     2890netbsdelf*-gnu)
     2891  version_type=linux
     2892  need_lib_prefix=no
     2893  need_version=no
     2894  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     2895  soname_spec='${libname}${release}${shared_ext}$major'
     2896  shlibpath_var=LD_LIBRARY_PATH
     2897  shlibpath_overrides_runpath=no
     2898  hardcode_into_libs=yes
     2899  dynamic_linker='NetBSD ld.elf_so'
     2900  ;;
     2901
    26932902netbsd*)
    26942903  version_type=sunos
     
    26962905  need_version=no
    26972906  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    2698     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     2907    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    26992908    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    27002909    dynamic_linker='NetBSD (a.out) ld.so'
    27012910  else
    2702     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    2703     soname_spec='${libname}${release}${shared_ext}$major'
     2911    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2912    soname_spec='$libname$release$shared_ext$major'
    27042913    dynamic_linker='NetBSD ld.elf_so'
    27052914  fi
     
    27112920newsos6)
    27122921  version_type=linux # correct to gnu/linux during the next big refactor
    2713   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2922  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    27142923  shlibpath_var=LD_LIBRARY_PATH
    27152924  shlibpath_overrides_runpath=yes
     
    27202929  need_lib_prefix=no
    27212930  need_version=no
    2722   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2723   soname_spec='${libname}${release}${shared_ext}$major'
     2931  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2932  soname_spec='$libname$release$shared_ext$major'
    27242933  shlibpath_var=LD_LIBRARY_PATH
    27252934  shlibpath_overrides_runpath=no
     
    27282937  ;;
    27292938
    2730 openbsd*)
     2939openbsd* | bitrig*)
    27312940  version_type=sunos
    2732   sys_lib_dlsearch_path_spec="/usr/lib"
     2941  sys_lib_dlsearch_path_spec=/usr/lib
    27332942  need_lib_prefix=no
    2734   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
    2735   case $host_os in
    2736     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
    2737     *)                          need_version=no  ;;
    2738   esac
    2739   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     2943  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     2944    need_version=no
     2945  else
     2946    need_version=yes
     2947  fi
     2948  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    27402949  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    27412950  shlibpath_var=LD_LIBRARY_PATH
    2742   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    2743     case $host_os in
    2744       openbsd2.[[89]] | openbsd2.[[89]].*)
    2745         shlibpath_overrides_runpath=no
    2746         ;;
    2747       *)
    2748         shlibpath_overrides_runpath=yes
    2749         ;;
    2750       esac
    2751   else
    2752     shlibpath_overrides_runpath=yes
    2753   fi
     2951  shlibpath_overrides_runpath=yes
    27542952  ;;
    27552953
    27562954os2*)
    27572955  libname_spec='$name'
    2758   shrext_cmds=".dll"
     2956  version_type=windows
     2957  shrext_cmds=.dll
     2958  need_version=no
    27592959  need_lib_prefix=no
    2760   library_names_spec='$libname${shared_ext} $libname.a'
     2960  # OS/2 can only load a DLL with a base name of 8 characters or less.
     2961  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
     2962    v=$($ECHO $release$versuffix | tr -d .-);
     2963    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
     2964    $ECHO $n$v`$shared_ext'
     2965  library_names_spec='${libname}_dll.$libext'
    27612966  dynamic_linker='OS/2 ld.exe'
    2762   shlibpath_var=LIBPATH
     2967  shlibpath_var=BEGINLIBPATH
     2968  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     2969  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     2970  postinstall_cmds='base_file=`basename \$file`~
     2971    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
     2972    dldir=$destdir/`dirname \$dlpath`~
     2973    test -d \$dldir || mkdir -p \$dldir~
     2974    $install_prog $dir/$dlname \$dldir/$dlname~
     2975    chmod a+x \$dldir/$dlname~
     2976    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     2977      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     2978    fi'
     2979  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
     2980    dlpath=$dir/\$dldll~
     2981    $RM \$dlpath'
    27632982  ;;
    27642983
     
    27672986  need_lib_prefix=no
    27682987  need_version=no
    2769   soname_spec='${libname}${release}${shared_ext}$major'
    2770   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2988  soname_spec='$libname$release$shared_ext$major'
     2989  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    27712990  shlibpath_var=LD_LIBRARY_PATH
    27722991  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    2773   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
     2992  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    27742993  ;;
    27752994
     
    27823001  need_lib_prefix=no
    27833002  need_version=no
    2784   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2785   soname_spec='${libname}${release}${shared_ext}$major'
     3003  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     3004  soname_spec='$libname$release$shared_ext$major'
    27863005  shlibpath_var=LD_LIBRARY_PATH
    27873006  shlibpath_overrides_runpath=yes
     
    27933012sunos4*)
    27943013  version_type=sunos
    2795   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     3014  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    27963015  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    27973016  shlibpath_var=LD_LIBRARY_PATH
    27983017  shlibpath_overrides_runpath=yes
    2799   if test "$with_gnu_ld" = yes; then
     3018  if test yes = "$with_gnu_ld"; then
    28003019    need_lib_prefix=no
    28013020  fi
     
    28053024sysv4 | sysv4.3*)
    28063025  version_type=linux # correct to gnu/linux during the next big refactor
    2807   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2808   soname_spec='${libname}${release}${shared_ext}$major'
     3026  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     3027  soname_spec='$libname$release$shared_ext$major'
    28093028  shlibpath_var=LD_LIBRARY_PATH
    28103029  case $host_vendor in
     
    28273046
    28283047sysv4*MP*)
    2829   if test -d /usr/nec ;then
     3048  if test -d /usr/nec; then
    28303049    version_type=linux # correct to gnu/linux during the next big refactor
    2831     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    2832     soname_spec='$libname${shared_ext}.$major'
     3050    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
     3051    soname_spec='$libname$shared_ext.$major'
    28333052    shlibpath_var=LD_LIBRARY_PATH
    28343053  fi
     
    28363055
    28373056sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    2838   version_type=freebsd-elf
     3057  version_type=sco
    28393058  need_lib_prefix=no
    28403059  need_version=no
    2841   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
    2842   soname_spec='${libname}${release}${shared_ext}$major'
     3060  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
     3061  soname_spec='$libname$release$shared_ext$major'
    28433062  shlibpath_var=LD_LIBRARY_PATH
    28443063  shlibpath_overrides_runpath=yes
    28453064  hardcode_into_libs=yes
    2846   if test "$with_gnu_ld" = yes; then
     3065  if test yes = "$with_gnu_ld"; then
    28473066    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    28483067  else
     
    28623081  need_lib_prefix=no
    28633082  need_version=no
    2864   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     3083  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    28653084  shlibpath_var=LD_LIBRARY_PATH
    28663085  shlibpath_overrides_runpath=no
     
    28703089uts4*)
    28713090  version_type=linux # correct to gnu/linux during the next big refactor
    2872   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2873   soname_spec='${libname}${release}${shared_ext}$major'
     3091  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     3092  soname_spec='$libname$release$shared_ext$major'
    28743093  shlibpath_var=LD_LIBRARY_PATH
    28753094  ;;
     
    28803099esac
    28813100AC_MSG_RESULT([$dynamic_linker])
    2882 test "$dynamic_linker" = no && can_build_shared=no
     3101test no = "$dynamic_linker" && can_build_shared=no
    28833102
    28843103variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    2885 if test "$GCC" = yes; then
     3104if test yes = "$GCC"; then
    28863105  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    28873106fi
    28883107
    2889 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
    2890   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
     3108if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
     3109  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
    28913110fi
    2892 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
    2893   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
     3111
     3112if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
     3113  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
    28943114fi
     3115
     3116# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
     3117configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
     3118
     3119# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
     3120func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
     3121
     3122# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
     3123configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
    28953124
    28963125_LT_DECL([], [variables_saved_for_relink], [1],
     
    29263155_LT_DECL([], [sys_lib_search_path_spec], [2],
    29273156    [Compile-time system search path for libraries])
    2928 _LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
    2929     [Run-time system search path for libraries])
     3157_LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
     3158    [Detected run-time system search path for libraries])
     3159_LT_DECL([], [configure_time_lt_sys_library_path], [2],
     3160    [Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
    29303161])# _LT_SYS_DYNAMIC_LINKER
    29313162
     
    29333164# _LT_PATH_TOOL_PREFIX(TOOL)
    29343165# --------------------------
    2935 # find a file program which can recognize shared library
     3166# find a file program that can recognize shared library
    29363167AC_DEFUN([_LT_PATH_TOOL_PREFIX],
    29373168[m4_require([_LT_DECL_EGREP])dnl
     
    29403171[case $MAGIC_CMD in
    29413172[[\\/*] |  ?:[\\/]*])
    2942   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     3173  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
    29433174  ;;
    29443175*)
    2945   lt_save_MAGIC_CMD="$MAGIC_CMD"
    2946   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3176  lt_save_MAGIC_CMD=$MAGIC_CMD
     3177  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    29473178dnl $ac_dummy forces splitting on constant user-supplied paths.
    29483179dnl POSIX.2 word splitting is done only on the output of word expansions,
     
    29503181  ac_dummy="m4_if([$2], , $PATH, [$2])"
    29513182  for ac_dir in $ac_dummy; do
    2952     IFS="$lt_save_ifs"
     3183    IFS=$lt_save_ifs
    29533184    test -z "$ac_dir" && ac_dir=.
    2954     if test -f $ac_dir/$1; then
    2955       lt_cv_path_MAGIC_CMD="$ac_dir/$1"
     3185    if test -f "$ac_dir/$1"; then
     3186      lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
    29563187      if test -n "$file_magic_test_file"; then
    29573188        case $deplibs_check_method in
    29583189        "file_magic "*)
    29593190          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    2960           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     3191          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    29613192          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    29623193            $EGREP "$file_magic_regex" > /dev/null; then
     
    29813212    fi
    29823213  done
    2983   IFS="$lt_save_ifs"
    2984   MAGIC_CMD="$lt_save_MAGIC_CMD"
     3214  IFS=$lt_save_ifs
     3215  MAGIC_CMD=$lt_save_MAGIC_CMD
    29853216  ;;
    29863217esac])
    2987 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     3218MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    29883219if test -n "$MAGIC_CMD"; then
    29893220  AC_MSG_RESULT($MAGIC_CMD)
     
    30033234# _LT_PATH_MAGIC
    30043235# --------------
    3005 # find a file program which can recognize a shared library
     3236# find a file program that can recognize a shared library
    30063237m4_defun([_LT_PATH_MAGIC],
    30073238[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
     
    30303261    [AS_HELP_STRING([--with-gnu-ld],
    30313262        [assume the C compiler uses GNU ld @<:@default=no@:>@])],
    3032     [test "$withval" = no || with_gnu_ld=yes],
     3263    [test no = "$withval" || with_gnu_ld=yes],
    30333264    [with_gnu_ld=no])dnl
    30343265
    30353266ac_prog=ld
    3036 if test "$GCC" = yes; then
     3267if test yes = "$GCC"; then
    30373268  # Check if gcc -print-prog-name=ld gives a path.
    30383269  AC_MSG_CHECKING([for ld used by $CC])
    30393270  case $host in
    30403271  *-*-mingw*)
    3041     # gcc leaves a trailing carriage return which upsets mingw
     3272    # gcc leaves a trailing carriage return, which upsets mingw
    30423273    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    30433274  *)
     
    30533284        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    30543285      done
    3055       test -z "$LD" && LD="$ac_prog"
     3286      test -z "$LD" && LD=$ac_prog
    30563287      ;;
    30573288  "")
     
    30643295    ;;
    30653296  esac
    3066 elif test "$with_gnu_ld" = yes; then
     3297elif test yes = "$with_gnu_ld"; then
    30673298  AC_MSG_CHECKING([for GNU ld])
    30683299else
     
    30713302AC_CACHE_VAL(lt_cv_path_LD,
    30723303[if test -z "$LD"; then
    3073   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3304  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    30743305  for ac_dir in $PATH; do
    3075     IFS="$lt_save_ifs"
     3306    IFS=$lt_save_ifs
    30763307    test -z "$ac_dir" && ac_dir=.
    30773308    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    3078       lt_cv_path_LD="$ac_dir/$ac_prog"
     3309      lt_cv_path_LD=$ac_dir/$ac_prog
    30793310      # Check to see if the program is GNU ld.  I'd rather use --version,
    30803311      # but apparently some variants of GNU ld only accept -v.
     
    30823313      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    30833314      *GNU* | *'with BFD'*)
    3084         test "$with_gnu_ld" != no && break
     3315        test no != "$with_gnu_ld" && break
    30853316        ;;
    30863317      *)
    3087         test "$with_gnu_ld" != yes && break
     3318        test yes != "$with_gnu_ld" && break
    30883319        ;;
    30893320      esac
    30903321    fi
    30913322  done
    3092   IFS="$lt_save_ifs"
     3323  IFS=$lt_save_ifs
    30933324else
    3094   lt_cv_path_LD="$LD" # Let the user override the test with a path.
     3325  lt_cv_path_LD=$LD # Let the user override the test with a path.
    30953326fi])
    3096 LD="$lt_cv_path_LD"
     3327LD=$lt_cv_path_LD
    30973328if test -n "$LD"; then
    30983329  AC_MSG_RESULT($LD)
     
    31483379case $host_os in
    31493380  cygwin* | mingw* | pw32* | cegcc*)
    3150     if test "$GCC" != yes; then
     3381    if test yes != "$GCC"; then
    31513382      reload_cmds=false
    31523383    fi
    31533384    ;;
    31543385  darwin*)
    3155     if test "$GCC" = yes; then
    3156       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
     3386    if test yes = "$GCC"; then
     3387      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
    31573388    else
    31583389      reload_cmds='$LD$reload_flag -o $output$reload_objs'
     
    31633394_LT_TAGDECL([], [reload_cmds], [2])dnl
    31643395])# _LT_CMD_RELOAD
     3396
     3397
     3398# _LT_PATH_DD
     3399# -----------
     3400# find a working dd
     3401m4_defun([_LT_PATH_DD],
     3402[AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD],
     3403[printf 0123456789abcdef0123456789abcdef >conftest.i
     3404cat conftest.i conftest.i >conftest2.i
     3405: ${lt_DD:=$DD}
     3406AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd],
     3407[if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     3408  cmp -s conftest.i conftest.out \
     3409  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
     3410fi])
     3411rm -f conftest.i conftest2.i conftest.out])
     3412])# _LT_PATH_DD
     3413
     3414
     3415# _LT_CMD_TRUNCATE
     3416# ----------------
     3417# find command to truncate a binary pipe
     3418m4_defun([_LT_CMD_TRUNCATE],
     3419[m4_require([_LT_PATH_DD])
     3420AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin],
     3421[printf 0123456789abcdef0123456789abcdef >conftest.i
     3422cat conftest.i conftest.i >conftest2.i
     3423lt_cv_truncate_bin=
     3424if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     3425  cmp -s conftest.i conftest.out \
     3426  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
     3427fi
     3428rm -f conftest.i conftest2.i conftest.out
     3429test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
     3430_LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
     3431  [Command to truncate a binary pipe])
     3432])# _LT_CMD_TRUNCATE
    31653433
    31663434
     
    31803448# interlibrary dependencies.
    31813449# 'none' -- dependencies not supported.
    3182 # `unknown' -- same as none, but documents that we really don't know.
     3450# 'unknown' -- same as none, but documents that we really don't know.
    31833451# 'pass_all' -- all dependencies passed with no checks.
    31843452# 'test_compile' -- check by making test program.
    31853453# 'file_magic [[regex]]' -- check by looking for files in library path
    3186 # which responds to the $file_magic_cmd with a given extended regex.
    3187 # If you have `file' or equivalent on your system and you're not sure
    3188 # whether `pass_all' will *always* work, you probably want this one.
     3454# that responds to the $file_magic_cmd with a given extended regex.
     3455# If you have 'file' or equivalent on your system and you're not sure
     3456# whether 'pass_all' will *always* work, you probably want this one.
    31893457
    31903458case $host_os in
     
    32133481  # func_win32_libid shell function, so use a weaker test based on 'objdump',
    32143482  # unless we find 'file', for example because we are cross-compiling.
    3215   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
    3216   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
     3483  if ( file / ) >/dev/null 2>&1; then
    32173484    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    32183485    lt_cv_file_magic_cmd='func_win32_libid'
     
    32483515    lt_cv_deplibs_check_method=pass_all
    32493516  fi
    3250   ;;
    3251 
    3252 gnu*)
    3253   lt_cv_deplibs_check_method=pass_all
    32543517  ;;
    32553518
     
    32923555
    32933556# This must be glibc/ELF.
    3294 linux* | k*bsd*-gnu | kopensolaris*-gnu)
     3557linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    32953558  lt_cv_deplibs_check_method=pass_all
    32963559  ;;
    32973560
    3298 netbsd*)
     3561netbsd* | netbsdelf*-gnu)
    32993562  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
    33003563    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
     
    33143577  ;;
    33153578
    3316 openbsd*)
    3317   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     3579openbsd* | bitrig*)
     3580  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    33183581    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
    33193582  else
     
    33683631  lt_cv_deplibs_check_method=pass_all
    33693632  ;;
     3633os2*)
     3634  lt_cv_deplibs_check_method=pass_all
     3635  ;;
    33703636esac
    33713637])
     
    34083674[if test -n "$NM"; then
    34093675  # Let the user override the test.
    3410   lt_cv_path_NM="$NM"
     3676  lt_cv_path_NM=$NM
    34113677else
    3412   lt_nm_to_check="${ac_tool_prefix}nm"
     3678  lt_nm_to_check=${ac_tool_prefix}nm
    34133679  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
    34143680    lt_nm_to_check="$lt_nm_to_check nm"
    34153681  fi
    34163682  for lt_tmp_nm in $lt_nm_to_check; do
    3417     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3683    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    34183684    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
    3419       IFS="$lt_save_ifs"
     3685      IFS=$lt_save_ifs
    34203686      test -z "$ac_dir" && ac_dir=.
    3421       tmp_nm="$ac_dir/$lt_tmp_nm"
    3422       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
     3687      tmp_nm=$ac_dir/$lt_tmp_nm
     3688      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
    34233689        # Check to see if the nm accepts a BSD-compat flag.
    3424         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
     3690        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
    34253691        #   nm: unknown option "B" ignored
    34263692        # Tru64's nm complains that /dev/null is an invalid object file
    3427         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
    3428         */dev/null* | *'Invalid file or object type'*)
     3693        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
     3694        case $build_os in
     3695        mingw*) lt_bad_file=conftest.nm/nofile ;;
     3696        *) lt_bad_file=/dev/null ;;
     3697        esac
     3698        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
     3699        *$lt_bad_file* | *'Invalid file or object type'*)
    34293700          lt_cv_path_NM="$tmp_nm -B"
    3430           break
     3701          break 2
    34313702          ;;
    34323703        *)
     
    34343705          */dev/null*)
    34353706            lt_cv_path_NM="$tmp_nm -p"
    3436             break
     3707            break 2
    34373708            ;;
    34383709          *)
     
    34453716      fi
    34463717    done
    3447     IFS="$lt_save_ifs"
     3718    IFS=$lt_save_ifs
    34483719  done
    34493720  : ${lt_cv_path_NM=no}
    34503721fi])
    3451 if test "$lt_cv_path_NM" != "no"; then
    3452   NM="$lt_cv_path_NM"
     3722if test no != "$lt_cv_path_NM"; then
     3723  NM=$lt_cv_path_NM
    34533724else
    34543725  # Didn't find any BSD compatible name lister, look for dumpbin.
     
    34573728  else
    34583729    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
    3459     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
     3730    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
    34603731    *COFF*)
    3461       DUMPBIN="$DUMPBIN -symbols"
     3732      DUMPBIN="$DUMPBIN -symbols -headers"
    34623733      ;;
    34633734    *)
     
    34673738  fi
    34683739  AC_SUBST([DUMPBIN])
    3469   if test "$DUMPBIN" != ":"; then
    3470     NM="$DUMPBIN"
     3740  if test : != "$DUMPBIN"; then
     3741    NM=$DUMPBIN
    34713742  fi
    34723743fi
     
    35143785case $host_os in
    35153786cygwin* | mingw* | pw32* | cegcc*)
    3516   # two different shell functions defined in ltmain.sh
    3517   # decide which to use based on capabilities of $DLLTOOL
     3787  # two different shell functions defined in ltmain.sh;
     3788  # decide which one to use based on capabilities of $DLLTOOL
    35183789  case `$DLLTOOL --help 2>&1` in
    35193790  *--identify-strict*)
     
    35273798*)
    35283799  # fallback: assume linklib IS sharedlib
    3529   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
     3800  lt_cv_sharedlib_from_linklib_cmd=$ECHO
    35303801  ;;
    35313802esac
     
    35543825  fi
    35553826  rm -f conftest*])
    3556 if test "x$lt_cv_path_mainfest_tool" != xyes; then
     3827if test yes != "$lt_cv_path_mainfest_tool"; then
    35573828  MANIFEST_TOOL=:
    35583829fi
    35593830_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
    35603831])# _LT_PATH_MANIFEST_TOOL
     3832
     3833
     3834# _LT_DLL_DEF_P([FILE])
     3835# ---------------------
     3836# True iff FILE is a Windows DLL '.def' file.
     3837# Keep in sync with func_dll_def_p in the libtool script
     3838AC_DEFUN([_LT_DLL_DEF_P],
     3839[dnl
     3840  test DEF = "`$SED -n dnl
     3841    -e '\''s/^[[         ]]*//'\'' dnl Strip leading whitespace
     3842    -e '\''/^\(;.*\)*$/d'\'' dnl      Delete empty lines and comments
     3843    -e '\''s/^\(EXPORTS\|LIBRARY\)\([[   ]].*\)*$/DEF/p'\'' dnl
     3844    -e q dnl                          Only consider the first "real" line
     3845    $1`" dnl
     3846])# _LT_DLL_DEF_P
    35613847
    35623848
     
    35723858  ;;
    35733859*-ncr-sysv4.3*)
    3574   AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
     3860  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
    35753861  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
    35763862  ;;
    35773863*)
    3578   AC_CHECK_LIB(m, cos, LIBM="-lm")
     3864  AC_CHECK_LIB(m, cos, LIBM=-lm)
    35793865  ;;
    35803866esac
     
    35953881_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
    35963882
    3597 if test "$GCC" = yes; then
     3883if test yes = "$GCC"; then
    35983884  case $cc_basename in
    35993885  nvcc*)
     
    36473933  ;;
    36483934hpux*)
    3649   if test "$host_cpu" = ia64; then
     3935  if test ia64 = "$host_cpu"; then
    36503936    symcode='[[ABCDEGRST]]'
    36513937  fi
     
    36803966esac
    36813967
     3968if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     3969  # Gets list of data symbols to import.
     3970  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
     3971  # Adjust the below global symbol transforms to fixup imported variables.
     3972  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
     3973  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
     3974  lt_c_name_lib_hook="\
     3975  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
     3976  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
     3977else
     3978  # Disable hooks by default.
     3979  lt_cv_sys_global_symbol_to_import=
     3980  lt_cdecl_hook=
     3981  lt_c_name_hook=
     3982  lt_c_name_lib_hook=
     3983fi
     3984
    36823985# Transform an extracted symbol line into a proper C declaration.
    36833986# Some systems (esp. on ia64) link data and code symbols differently,
    36843987# so use this general approach.
    3685 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
     3988lt_cv_sys_global_symbol_to_cdecl="sed -n"\
     3989$lt_cdecl_hook\
     3990" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
     3991" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
    36863992
    36873993# Transform an extracted symbol line into symbol name and symbol address
    3688 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
    3689 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
     3994lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
     3995$lt_c_name_hook\
     3996" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     3997" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
     3998
     3999# Transform an extracted symbol line into symbol name with lib prefix and
     4000# symbol address.
     4001lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
     4002$lt_c_name_lib_hook\
     4003" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     4004" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
     4005" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
    36904006
    36914007# Handle CRLF in mingw tool chain
     
    37054021  # Write the raw and C identifiers.
    37064022  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    3707     # Fake it for dumpbin and say T for any non-static function
    3708     # and D for any global variable.
     4023    # Fake it for dumpbin and say T for any non-static function,
     4024    # D for any global variable and I for any imported variable.
    37094025    # Also find C++ and __fastcall symbols from MSVC++,
    37104026    # which start with @ or ?.
     
    37134029"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
    37144030"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
     4031"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
     4032"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
     4033"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
    37154034"     \$ 0!~/External *\|/{next};"\
    37164035"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
    37174036"     {if(hide[section]) next};"\
    3718 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
    3719 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
    3720 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
    3721 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
     4037"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
     4038"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
     4039"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
     4040"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
    37224041"     ' prfx=^$ac_symprfx]"
    37234042  else
     
    37594078          cat <<_LT_EOF > conftest.$ac_ext
    37604079/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
    3761 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
    3762 /* DATA imports from DLLs on WIN32 con't be const, because runtime
     4080#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
     4081/* DATA imports from DLLs on WIN32 can't be const, because runtime
    37634082   relocations are performed -- see ld's documentation on pseudo-relocs.  */
    37644083# define LT@&t@_DLSYM_CONST
    3765 #elif defined(__osf__)
     4084#elif defined __osf__
    37664085/* This system does not cope well with relocations in const data.  */
    37674086# define LT@&t@_DLSYM_CONST
     
    37894108  { "@PROGRAM@", (void *) 0 },
    37904109_LT_EOF
    3791           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
     4110          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
    37924111          cat <<\_LT_EOF >> conftest.$ac_ext
    37934112  {0, (void *) 0}
     
    38094128          lt_globsym_save_LIBS=$LIBS
    38104129          lt_globsym_save_CFLAGS=$CFLAGS
    3811           LIBS="conftstm.$ac_objext"
     4130          LIBS=conftstm.$ac_objext
    38124131          CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
    3813           if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
     4132          if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
    38144133            pipe_works=yes
    38154134          fi
     
    38324151
    38334152  # Do not use the global_symbol_pipe unless it works.
    3834   if test "$pipe_works" = yes; then
     4153  if test yes = "$pipe_works"; then
    38354154    break
    38364155  else
     
    38594178_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
    38604179    [Transform the output of nm in a proper C declaration])
     4180_LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1],
     4181    [Transform the output of nm into a list of symbols to manually relocate])
    38614182_LT_DECL([global_symbol_to_c_name_address],
    38624183    [lt_cv_sys_global_symbol_to_c_name_address], [1],
     
    38654186    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
    38664187    [Transform the output of nm in a C name address pair when lib prefix is needed])
     4188_LT_DECL([nm_interface], [lt_cv_nm_interface], [1],
     4189    [The name lister interface])
    38674190_LT_DECL([], [nm_file_list_spec], [1],
    38684191    [Specify filename containing input files for $NM])
     
    38804203m4_if([$1], [CXX], [
    38814204  # C++ specific cases for pic, static, wl, etc.
    3882   if test "$GXX" = yes; then
     4205  if test yes = "$GXX"; then
    38834206    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    38844207    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
     
    38874210    aix*)
    38884211      # All AIX code is PIC.
    3889       if test "$host_cpu" = ia64; then
     4212      if test ia64 = "$host_cpu"; then
    38904213        # AIX 5 now supports IA64 processor
    38914214        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    38924215      fi
     4216      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
    38934217      ;;
    38944218
     
    39014225      m68k)
    39024226            # FIXME: we need at least 68020 code to build shared libraries, but
    3903             # adding the `-m68020' flag to GCC prevents building anything better,
    3904             # like `-m68040'.
     4227            # adding the '-m68020' flag to GCC prevents building anything better,
     4228            # like '-m68040'.
    39054229            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
    39064230        ;;
     
    39184242      m4_if([$1], [GCJ], [],
    39194243        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
     4244      case $host_os in
     4245      os2*)
     4246        _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
     4247        ;;
     4248      esac
    39204249      ;;
    39214250    darwin* | rhapsody*)
     
    39674296      aix[[4-9]]*)
    39684297        # All AIX code is PIC.
    3969         if test "$host_cpu" = ia64; then
     4298        if test ia64 = "$host_cpu"; then
    39704299          # AIX 5 now supports IA64 processor
    39714300          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     
    40084337          CC*)
    40094338            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    4010             _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
    4011             if test "$host_cpu" != ia64; then
     4339            _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
     4340            if test ia64 != "$host_cpu"; then
    40124341              _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
    40134342            fi
     
    40154344          aCC*)
    40164345            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    4017             _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
     4346            _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
    40184347            case $host_cpu in
    40194348            hppa*64*|ia64*)
     
    40444373        esac
    40454374        ;;
    4046       linux* | k*bsd*-gnu | kopensolaris*-gnu)
     4375      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    40474376        case $cc_basename in
    40484377          KCC*)
     
    40524381            ;;
    40534382          ecpc* )
    4054             # old Intel C++ for x86_64 which still supported -KPIC.
     4383            # old Intel C++ for x86_64, which still supported -KPIC.
    40554384            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    40564385            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
     
    41084437        esac
    41094438        ;;
    4110       netbsd*)
     4439      netbsd* | netbsdelf*-gnu)
    41114440        ;;
    41124441      *qnx* | *nto*)
     
    41974526],
    41984527[
    4199   if test "$GCC" = yes; then
     4528  if test yes = "$GCC"; then
    42004529    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    42014530    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
     
    42044533      aix*)
    42054534      # All AIX code is PIC.
    4206       if test "$host_cpu" = ia64; then
     4535      if test ia64 = "$host_cpu"; then
    42074536        # AIX 5 now supports IA64 processor
    42084537        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    42094538      fi
     4539      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
    42104540      ;;
    42114541
     
    42184548      m68k)
    42194549            # FIXME: we need at least 68020 code to build shared libraries, but
    4220             # adding the `-m68020' flag to GCC prevents building anything better,
    4221             # like `-m68040'.
     4550            # adding the '-m68020' flag to GCC prevents building anything better,
     4551            # like '-m68040'.
    42224552            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
    42234553        ;;
     
    42364566      m4_if([$1], [GCJ], [],
    42374567        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
     4568      case $host_os in
     4569      os2*)
     4570        _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
     4571        ;;
     4572      esac
    42384573      ;;
    42394574
     
    43064641    aix*)
    43074642      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    4308       if test "$host_cpu" = ia64; then
     4643      if test ia64 = "$host_cpu"; then
    43094644        # AIX 5 now supports IA64 processor
    43104645        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     
    43144649      ;;
    43154650
     4651    darwin* | rhapsody*)
     4652      # PIC is the default on this platform
     4653      # Common symbols not allowed in MH_DYLIB files
     4654      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
     4655      case $cc_basename in
     4656      nagfor*)
     4657        # NAG Fortran compiler
     4658        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
     4659        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
     4660        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     4661        ;;
     4662      esac
     4663      ;;
     4664
    43164665    mingw* | cygwin* | pw32* | os2* | cegcc*)
    43174666      # This hack is so that the source file can tell whether it is being
     
    43194668      m4_if([$1], [GCJ], [],
    43204669        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
     4670      case $host_os in
     4671      os2*)
     4672        _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
     4673        ;;
     4674      esac
    43214675      ;;
    43224676
     
    43344688      esac
    43354689      # Is there a better lt_prog_compiler_static that works with the bundled CC?
    4336       _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
     4690      _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
    43374691      ;;
    43384692
     
    43434697      ;;
    43444698
    4345     linux* | k*bsd*-gnu | kopensolaris*-gnu)
     4699    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    43464700      case $cc_basename in
    4347       # old Intel for x86_64 which still supported -KPIC.
     4701      # old Intel for x86_64, which still supported -KPIC.
    43484702      ecc*)
    43494703        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     
    43694723        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
    43704724        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     4725        ;;
     4726      tcc*)
     4727        # Fabrice Bellard et al's Tiny C Compiler
     4728        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     4729        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
     4730        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
    43714731        ;;
    43724732      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
     
    44674827
    44684828    sysv4*MP*)
    4469       if test -d /usr/nec ;then
     4829      if test -d /usr/nec; then
    44704830        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
    44714831        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     
    44964856])
    44974857case $host_os in
    4498   # For platforms which do not support PIC, -DPIC is meaningless:
     4858  # For platforms that do not support PIC, -DPIC is meaningless:
    44994859  *djgpp*)
    45004860    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
     
    45624922  aix[[4-9]]*)
    45634923    # If we're using GNU nm, then we don't want the "-C" option.
    4564     # -C means demangle to AIX nm, but means don't demangle with GNU nm
    4565     # Also, AIX nm treats weak defined symbols like other global defined
    4566     # symbols, whereas GNU nm marks them as "W".
     4924    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     4925    # Without the "-l" option, or with the "-B" option, AIX nm treats
     4926    # weak defined symbols like other global defined symbols, whereas
     4927    # GNU nm marks them as "W".
     4928    # While the 'weak' keyword is ignored in the Export File, we need
     4929    # it in the Import File for the 'aix-soname' feature, so we have
     4930    # to replace the "-B" option with "-P" for AIX nm.
    45674931    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    4568       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     4932      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
    45694933    else
    4570       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     4934      _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
    45714935    fi
    45724936    ;;
    45734937  pw32*)
    4574     _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
     4938    _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
    45754939    ;;
    45764940  cygwin* | mingw* | cegcc*)
     
    45844948      ;;
    45854949    esac
     4950    ;;
     4951  linux* | k*bsd*-gnu | gnu*)
     4952    _LT_TAGVAR(link_all_deplibs, $1)=no
    45864953    ;;
    45874954  *)
     
    46184985  _LT_TAGVAR(include_expsyms, $1)=
    46194986  # exclude_expsyms can be an extended regexp of symbols to exclude
    4620   # it will be wrapped by ` (' and `)$', so one must not match beginning or
    4621   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    4622   # as well as any symbol that contains `d'.
     4987  # it will be wrapped by ' (' and ')$', so one must not match beginning or
     4988  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
     4989  # as well as any symbol that contains 'd'.
    46234990  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
    46244991  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     
    46365003    # When not using gcc, we currently assume that we are using
    46375004    # Microsoft Visual C++.
    4638     if test "$GCC" != yes; then
     5005    if test yes != "$GCC"; then
    46395006      with_gnu_ld=no
    46405007    fi
     
    46445011    with_gnu_ld=yes
    46455012    ;;
    4646   openbsd*)
     5013  openbsd* | bitrig*)
    46475014    with_gnu_ld=no
     5015    ;;
     5016  linux* | k*bsd*-gnu | gnu*)
     5017    _LT_TAGVAR(link_all_deplibs, $1)=no
    46485018    ;;
    46495019  esac
     
    46545024  # that we're better off using the native interface for both.
    46555025  lt_use_gnu_ld_interface=no
    4656   if test "$with_gnu_ld" = yes; then
     5026  if test yes = "$with_gnu_ld"; then
    46575027    case $host_os in
    46585028      aix*)
     
    46765046  fi
    46775047
    4678   if test "$lt_use_gnu_ld_interface" = yes; then
     5048  if test yes = "$lt_use_gnu_ld_interface"; then
    46795049    # If archive_cmds runs LD, not CC, wlarc should be empty
    4680     wlarc='${wl}'
     5050    wlarc='$wl'
    46815051
    46825052    # Set some defaults for GNU ld with shared library support. These
     
    46845054    # here allows them to be overridden if necessary.
    46855055    runpath_var=LD_RUN_PATH
    4686     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    4687     _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
     5056    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     5057    _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
    46885058    # ancient GNU ld didn't support --whole-archive et. al.
    46895059    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
    4690       _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     5060      _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    46915061    else
    46925062      _LT_TAGVAR(whole_archive_flag_spec, $1)=
    46935063    fi
    46945064    supports_anon_versioning=no
    4695     case `$LD -v 2>&1` in
     5065    case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
    46965066      *GNU\ gold*) supports_anon_versioning=yes ;;
    46975067      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
     
    47065076    aix[[3-9]]*)
    47075077      # On AIX/PPC, the GNU linker is very broken
    4708       if test "$host_cpu" != ia64; then
     5078      if test ia64 != "$host_cpu"; then
    47095079        _LT_TAGVAR(ld_shlibs, $1)=no
    47105080        cat <<_LT_EOF 1>&2
     
    47255095      powerpc)
    47265096            # see comment about AmigaOS4 .so support
    4727             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5097            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    47285098            _LT_TAGVAR(archive_expsym_cmds, $1)=''
    47295099        ;;
     
    47415111        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    47425112        # support --undefined.  This deserves some investigation.  FIXME
    4743         _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5113        _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    47445114      else
    47455115        _LT_TAGVAR(ld_shlibs, $1)=no
     
    47515121      # as there is no search path for DLLs.
    47525122      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
    4753       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
     5123      _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
    47545124      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    47555125      _LT_TAGVAR(always_export_symbols, $1)=no
     
    47595129
    47605130      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    4761         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    4762         # If the export-symbols file already is a .def file (1st line
    4763         # is EXPORTS), use it as is; otherwise, prepend...
    4764         _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    4765           cp $export_symbols $output_objdir/$soname.def;
    4766         else
    4767           echo EXPORTS > $output_objdir/$soname.def;
    4768           cat $export_symbols >> $output_objdir/$soname.def;
    4769         fi~
    4770         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     5131        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     5132        # If the export-symbols file already is a .def file, use it as
     5133        # is; otherwise, prepend EXPORTS...
     5134        _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
     5135          cp $export_symbols $output_objdir/$soname.def;
     5136        else
     5137          echo EXPORTS > $output_objdir/$soname.def;
     5138          cat $export_symbols >> $output_objdir/$soname.def;
     5139        fi~
     5140        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    47715141      else
    47725142        _LT_TAGVAR(ld_shlibs, $1)=no
     
    47755145
    47765146    haiku*)
    4777       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5147      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    47785148      _LT_TAGVAR(link_all_deplibs, $1)=yes
     5149      ;;
     5150
     5151    os2*)
     5152      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
     5153      _LT_TAGVAR(hardcode_minus_L, $1)=yes
     5154      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
     5155      shrext_cmds=.dll
     5156      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     5157        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     5158        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     5159        $ECHO EXPORTS >> $output_objdir/$libname.def~
     5160        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     5161        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     5162        emximp -o $lib $output_objdir/$libname.def'
     5163      _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     5164        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     5165        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     5166        $ECHO EXPORTS >> $output_objdir/$libname.def~
     5167        prefix_cmds="$SED"~
     5168        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     5169          prefix_cmds="$prefix_cmds -e 1d";
     5170        fi~
     5171        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     5172        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     5173        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     5174        emximp -o $lib $output_objdir/$libname.def'
     5175      _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     5176      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
    47795177      ;;
    47805178
     
    47825180      _LT_TAGVAR(hardcode_direct, $1)=no
    47835181      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    4784       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    4785       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     5182      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     5183      _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    47865184      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    47875185      # Instead, shared libraries are loaded at an image base (0x10000000 by
     
    47905188      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    47915189      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    4792       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    4793       _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     5190      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     5191      _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    47945192      ;;
    47955193
    47965194    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
    47975195      tmp_diet=no
    4798       if test "$host_os" = linux-dietlibc; then
     5196      if test linux-dietlibc = "$host_os"; then
    47995197        case $cc_basename in
    48005198          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
     
    48025200      fi
    48035201      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
    4804          && test "$tmp_diet" = no
     5202         && test no = "$tmp_diet"
    48055203      then
    48065204        tmp_addflag=' $pic_flag'
     
    48085206        case $cc_basename,$host_cpu in
    48095207        pgcc*)                          # Portland Group C compiler
    4810           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     5208          _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    48115209          tmp_addflag=' $pic_flag'
    48125210          ;;
    48135211        pgf77* | pgf90* | pgf95* | pgfortran*)
    48145212                                        # Portland Group f77 and f90 compilers
    4815           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     5213          _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    48165214          tmp_addflag=' $pic_flag -Mnomain' ;;
    48175215        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
     
    48245222          _LT_TAGVAR(whole_archive_flag_spec, $1)=
    48255223          tmp_sharedflag='--shared' ;;
     5224        nagfor*)                        # NAGFOR 5.3
     5225          tmp_sharedflag='-Wl,-shared' ;;
    48265226        xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
    48275227          tmp_sharedflag='-qmkshrobj'
    48285228          tmp_addflag= ;;
    48295229        nvcc*)  # Cuda Compiler Driver 2.2
    4830           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     5230          _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    48315231          _LT_TAGVAR(compiler_needs_object, $1)=yes
    48325232          ;;
     
    48345234        case `$CC -V 2>&1 | sed 5q` in
    48355235        *Sun\ C*)                       # Sun C 5.9
    4836           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     5236          _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    48375237          _LT_TAGVAR(compiler_needs_object, $1)=yes
    48385238          tmp_sharedflag='-G' ;;
     
    48405240          tmp_sharedflag='-G' ;;
    48415241        esac
    4842         _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4843 
    4844         if test "x$supports_anon_versioning" = xyes; then
     5242        _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5243
     5244        if test yes = "$supports_anon_versioning"; then
    48455245          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
    4846             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    4847             echo "local: *; };" >> $output_objdir/$libname.ver~
    4848             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     5246            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     5247            echo "local: *; };" >> $output_objdir/$libname.ver~
     5248            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    48495249        fi
    48505250
    48515251        case $cc_basename in
     5252        tcc*)
     5253          _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
     5254          ;;
    48525255        xlf* | bgf* | bgxlf* | mpixlf*)
    48535256          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
    48545257          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
    4855           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     5258          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    48565259          _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
    4857           if test "x$supports_anon_versioning" = xyes; then
     5260          if test yes = "$supports_anon_versioning"; then
    48585261            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
    4859               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    4860               echo "local: *; };" >> $output_objdir/$libname.ver~
    4861               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
     5262              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     5263              echo "local: *; };" >> $output_objdir/$libname.ver~
     5264              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
    48625265          fi
    48635266          ;;
     
    48685271      ;;
    48695272
    4870     netbsd*)
     5273    netbsd* | netbsdelf*-gnu)
    48715274      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    48725275        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    48735276        wlarc=
    48745277      else
    4875         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4876         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     5278        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5279        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    48775280      fi
    48785281      ;;
     
    48925295_LT_EOF
    48935296      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    4894         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4895         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     5297        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5298        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    48965299      else
    48975300        _LT_TAGVAR(ld_shlibs, $1)=no
     
    49055308        cat <<_LT_EOF 1>&2
    49065309
    4907 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
     5310*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
    49085311*** reliably create shared libraries on SCO systems.  Therefore, libtool
    49095312*** is disabling shared libraries support.  We urge you to upgrade GNU
     
    49205323          # requires that you compile everything twice, which is a pain.
    49215324          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    4922             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    4923             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4924             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     5325            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     5326            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5327            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    49255328          else
    49265329            _LT_TAGVAR(ld_shlibs, $1)=no
     
    49395342    *)
    49405343      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    4941         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4942         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     5344        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5345        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    49435346      else
    49445347        _LT_TAGVAR(ld_shlibs, $1)=no
     
    49475350    esac
    49485351
    4949     if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
     5352    if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
    49505353      runpath_var=
    49515354      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
     
    49635366      # are no directories specified by -L.
    49645367      _LT_TAGVAR(hardcode_minus_L, $1)=yes
    4965       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
     5368      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
    49665369        # Neither direct hardcoding nor static linking is supported with a
    49675370        # broken collect2.
     
    49715374
    49725375    aix[[4-9]]*)
    4973       if test "$host_cpu" = ia64; then
     5376      if test ia64 = "$host_cpu"; then
    49745377        # On IA64, the linker does run time linking by default, so we don't
    49755378        # have to do anything special.
    49765379        aix_use_runtimelinking=no
    49775380        exp_sym_flag='-Bexport'
    4978         no_entry_flag=""
     5381        no_entry_flag=
    49795382      else
    49805383        # If we're using GNU nm, then we don't want the "-C" option.
    4981         # -C means demangle to AIX nm, but means don't demangle with GNU nm
    4982         # Also, AIX nm treats weak defined symbols like other global
    4983         # defined symbols, whereas GNU nm marks them as "W".
     5384        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     5385        # Without the "-l" option, or with the "-B" option, AIX nm treats
     5386        # weak defined symbols like other global defined symbols, whereas
     5387        # GNU nm marks them as "W".
     5388        # While the 'weak' keyword is ignored in the Export File, we need
     5389        # it in the Import File for the 'aix-soname' feature, so we have
     5390        # to replace the "-B" option with "-P" for AIX nm.
    49845391        if $