Changeset 3620 for ThirdParty/Glpk


Ignore:
Timestamp:
Aug 4, 2016 10:12:29 AM (3 years ago)
Author:
stefan
Message:

rerun autotools

Location:
ThirdParty/Glpk/branches/autotools-update
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Glpk/branches/autotools-update/Makefile.in

    r3250 r3620  
    1 # Makefile.in generated by automake 1.14 from Makefile.am.
     1# Makefile.in generated by automake 1.15 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright (C) 1994-2013 Free Software Foundation, Inc.
     4# Copyright (C) 1994-2014 Free Software Foundation, Inc.
    55
    66# This Makefile.in is free software; the Free Software Foundation
     
    3232
    3333VPATH = @srcdir@
    34 am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
     34am__is_gnu_make = { \
     35  if test -z '$(MAKELEVEL)'; then \
     36    false; \
     37  elif test -n '$(MAKE_HOST)'; then \
     38    true; \
     39  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
     40    true; \
     41  else \
     42    false; \
     43  fi; \
     44}
    3545am__make_running_with_option = \
    3646  case $${target_option-} in \
     
    95105build_triplet = @build@
    96106host_triplet = @host@
    97 DIST_COMMON = $(srcdir)/BuildTools/Makemain.inc $(srcdir)/Makefile.in \
    98         $(srcdir)/Makefile.am $(top_srcdir)/configure \
    99         $(am__configure_deps) $(srcdir)/config_glpk.h.in \
    100         $(srcdir)/coinglpk.pc.in depcomp $(thirdpartyinclude_HEADERS) \
    101         compile config.guess config.sub install-sh missing ltmain.sh
    102107subdir = .
    103108ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
     
    106111am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    107112        $(ACLOCAL_M4)
     113DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
     114        $(am__configure_deps) $(thirdpartyinclude_HEADERS) \
     115        $(am__DIST_COMMON)
    108116am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
    109117 configure.lineno config.status.lineno
     
    286294CSCOPE = cscope
    287295AM_RECURSIVE_TARGETS = cscope
     296am__DIST_COMMON = $(srcdir)/BuildTools/Makemain.inc \
     297        $(srcdir)/Makefile.in $(srcdir)/coinglpk.pc.in \
     298        $(srcdir)/config_glpk.h.in compile config.guess config.sub \
     299        depcomp install-sh ltmain.sh missing
    288300DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    289301distdir = $(PACKAGE)-$(VERSION)
     
    346358LN_S = @LN_S@
    347359LTLIBOBJS = @LTLIBOBJS@
     360LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    348361MAINT = @MAINT@
    349362MAKEINFO = @MAKEINFO@
     
    620633        $(am__cd) $(top_srcdir) && \
    621634          $(AUTOMAKE) --foreign Makefile
    622 .PRECIOUS: Makefile
    623635Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    624636        @case '$?' in \
     
    630642            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
    631643        esac;
    632 $(srcdir)/BuildTools/Makemain.inc:
     644$(srcdir)/BuildTools/Makemain.inc $(am__empty):
    633645
    634646$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     
    13241336
    13251337dist-tarZ: distdir
    1326         @echo WARNING: "Support for shar distribution archives is" \
    1327                        "deprecated." >&2
     1338        @echo WARNING: "Support for distribution archives compressed with" \
     1339                       "legacy program 'compress' is deprecated." >&2
    13281340        @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
    13291341        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
     
    13311343
    13321344dist-shar: distdir
    1333         @echo WARNING: "Support for distribution archives compressed with" \
    1334                        "legacy program 'compress' is deprecated." >&2
     1345        @echo WARNING: "Support for shar distribution archives is" \
     1346                       "deprecated." >&2
    13351347        @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
    13361348        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
     
    13681380        chmod -R a-w $(distdir)
    13691381        chmod u+w $(distdir)
    1370         mkdir $(distdir)/_build $(distdir)/_inst
     1382        mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
    13711383        chmod a-w $(distdir)
    13721384        test -d $(distdir)/_build || exit 0; \
     
    13741386          && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
    13751387          && am__cwd=`pwd` \
    1376           && $(am__cd) $(distdir)/_build \
    1377           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
     1388          && $(am__cd) $(distdir)/_build/sub \
     1389          && ../../configure \
    13781390            $(AM_DISTCHECK_CONFIGURE_FLAGS) \
    13791391            $(DISTCHECK_CONFIGURE_FLAGS) \
     1392            --srcdir=../.. --prefix="$$dc_install_base" \
    13801393          && $(MAKE) $(AM_MAKEFLAGS) \
    13811394          && $(MAKE) $(AM_MAKEFLAGS) dvi \
     
    15761589        uninstall-pkgconfiglibDATA uninstall-thirdpartyincludeHEADERS
    15771590
     1591.PRECIOUS: Makefile
     1592
    15781593
    15791594test:
  • ThirdParty/Glpk/branches/autotools-update/config_glpk.h.in

    r3252 r3620  
    5858#undef HAVE_UNISTD_H
    5959
    60 /* Define to the sub-directory in which libtool stores uninstalled libraries.
    61    */
     60/* Define to the sub-directory where libtool stores uninstalled libraries. */
    6261#undef LT_OBJDIR
    6362
  • ThirdParty/Glpk/branches/autotools-update/configure

    r3252 r3620  
    650650COIN_DESTDIR
    651651CPP
     652LT_SYS_LIBRARY_PATH
    652653OTOOL64
    653654OTOOL
     
    777778with_pic
    778779enable_fast_install
     780with_aix_soname
    779781enable_dependency_tracking
    780782with_gnu_ld
     
    793795LIBS
    794796CPPFLAGS
     797LT_SYS_LIBRARY_PATH
    795798CPP'
    796799
     
    14351438  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
    14361439                          both]
     1440  --with-aix-soname=aix|svr4|both
     1441                          shared library versioning (aka "SONAME") variant to
     1442                          provide on AIX, [default=aix].
    14371443  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    1438   --with-sysroot=DIR Search for dependent libraries within DIR
    1439                         (or the compiler's sysroot if not specified).
     1444  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
     1445                          compiler's sysroot if not specified).
    14401446
    14411447Some influential environment variables:
     
    14471453  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14481454              you have headers in a nonstandard directory <include dir>
     1455  LT_SYS_LIBRARY_PATH
     1456              User-defined run-time library search path.
    14491457  CPP         C preprocessor
    14501458
     
    23132321
    23142322
    2315 am__api_version='1.14'
     2323am__api_version='1.15'
    23162324
    23172325# Find a good install program.  We prefer a C program (faster),
     
    24852493program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
    24862494
    2487 # expand $ac_aux_dir to an absolute path
    2488 am_aux_dir=`cd $ac_aux_dir && pwd`
     2495# Expand $ac_aux_dir to an absolute path.
     2496am_aux_dir=`cd "$ac_aux_dir" && pwd`
    24892497
    24902498if test x"${MISSING+set}" != xset; then
     
    25052513fi
    25062514
    2507 if test x"${install_sh}" != xset; then
     2515if test x"${install_sh+set}" != xset; then
    25082516  case $am_aux_dir in
    25092517  *\ * | *\     *)
     
    27852793
    27862794
    2787 macro_version='2.4.2'
    2788 macro_revision='1.3337'
    2789 
    2790 
    2791 
    2792 
    2793 
    2794 
    2795 
    2796 
    2797 
    2798 
    2799 
    2800 
    2801 
    2802 ltmain="$ac_aux_dir/ltmain.sh"
     2795macro_version='2.4.6'
     2796macro_revision='2.4.6'
     2797
     2798
     2799
     2800
     2801
     2802
     2803
     2804
     2805
     2806
     2807
     2808
     2809
     2810ltmain=$ac_aux_dir/ltmain.sh
    28032811
    28042812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     
    28822890}
    28832891
    2884 case "$ECHO" in
     2892case $ECHO in
    28852893  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
    28862894$as_echo "printf" >&6; } ;;
     
    42444252# Check whether --with-gnu-ld was given.
    42454253if test "${with_gnu_ld+set}" = set; then :
    4246   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
     4254  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
    42474255else
    42484256  with_gnu_ld=no
     
    42504258
    42514259ac_prog=ld
    4252 if test "$GCC" = yes; then
     4260if test yes = "$GCC"; then
    42534261  # Check if gcc -print-prog-name=ld gives a path.
    42544262  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     
    42564264  case $host in
    42574265  *-*-mingw*)
    4258     # gcc leaves a trailing carriage return which upsets mingw
     4266    # gcc leaves a trailing carriage return, which upsets mingw
    42594267    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    42604268  *)
     
    42704278        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    42714279      done
    4272       test -z "$LD" && LD="$ac_prog"
     4280      test -z "$LD" && LD=$ac_prog
    42734281      ;;
    42744282  "")
     
    42814289    ;;
    42824290  esac
    4283 elif test "$with_gnu_ld" = yes; then
     4291elif test yes = "$with_gnu_ld"; then
    42844292  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
    42854293$as_echo_n "checking for GNU ld... " >&6; }
     
    42924300else
    42934301  if test -z "$LD"; then
    4294   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     4302  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    42954303  for ac_dir in $PATH; do
    4296     IFS="$lt_save_ifs"
     4304    IFS=$lt_save_ifs
    42974305    test -z "$ac_dir" && ac_dir=.
    42984306    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    4299       lt_cv_path_LD="$ac_dir/$ac_prog"
     4307      lt_cv_path_LD=$ac_dir/$ac_prog
    43004308      # Check to see if the program is GNU ld.  I'd rather use --version,
    43014309      # but apparently some variants of GNU ld only accept -v.
     
    43034311      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    43044312      *GNU* | *'with BFD'*)
    4305         test "$with_gnu_ld" != no && break
     4313        test no != "$with_gnu_ld" && break
    43064314        ;;
    43074315      *)
    4308         test "$with_gnu_ld" != yes && break
     4316        test yes != "$with_gnu_ld" && break
    43094317        ;;
    43104318      esac
    43114319    fi
    43124320  done
    4313   IFS="$lt_save_ifs"
    4314 else
    4315   lt_cv_path_LD="$LD" # Let the user override the test with a path.
    4316 fi
    4317 fi
    4318 
    4319 LD="$lt_cv_path_LD"
     4321  IFS=$lt_save_ifs
     4322else
     4323  lt_cv_path_LD=$LD # Let the user override the test with a path.
     4324fi
     4325fi
     4326
     4327LD=$lt_cv_path_LD
    43204328if test -n "$LD"; then
    43214329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     
    43604368  if test -n "$NM"; then
    43614369  # Let the user override the test.
    4362   lt_cv_path_NM="$NM"
    4363 else
    4364   lt_nm_to_check="${ac_tool_prefix}nm"
     4370  lt_cv_path_NM=$NM
     4371else
     4372  lt_nm_to_check=${ac_tool_prefix}nm
    43654373  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
    43664374    lt_nm_to_check="$lt_nm_to_check nm"
    43674375  fi
    43684376  for lt_tmp_nm in $lt_nm_to_check; do
    4369     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     4377    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    43704378    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
    4371       IFS="$lt_save_ifs"
     4379      IFS=$lt_save_ifs
    43724380      test -z "$ac_dir" && ac_dir=.
    4373       tmp_nm="$ac_dir/$lt_tmp_nm"
    4374       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
     4381      tmp_nm=$ac_dir/$lt_tmp_nm
     4382      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
    43754383        # Check to see if the nm accepts a BSD-compat flag.
    4376         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
     4384        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
    43774385        #   nm: unknown option "B" ignored
    43784386        # Tru64's nm complains that /dev/null is an invalid object file
    4379         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
    4380         */dev/null* | *'Invalid file or object type'*)
     4387        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
     4388        case $build_os in
     4389        mingw*) lt_bad_file=conftest.nm/nofile ;;
     4390        *) lt_bad_file=/dev/null ;;
     4391        esac
     4392        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
     4393        *$lt_bad_file* | *'Invalid file or object type'*)
    43814394          lt_cv_path_NM="$tmp_nm -B"
    4382           break
     4395          break 2
    43834396          ;;
    43844397        *)
     
    43864399          */dev/null*)
    43874400            lt_cv_path_NM="$tmp_nm -p"
    4388             break
     4401            break 2
    43894402            ;;
    43904403          *)
     
    43974410      fi
    43984411    done
    4399     IFS="$lt_save_ifs"
     4412    IFS=$lt_save_ifs
    44004413  done
    44014414  : ${lt_cv_path_NM=no}
     
    44044417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
    44054418$as_echo "$lt_cv_path_NM" >&6; }
    4406 if test "$lt_cv_path_NM" != "no"; then
    4407   NM="$lt_cv_path_NM"
     4419if test no != "$lt_cv_path_NM"; then
     4420  NM=$lt_cv_path_NM
    44084421else
    44094422  # Didn't find any BSD compatible name lister, look for dumpbin.
     
    45114524fi
    45124525
    4513     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
     4526    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
    45144527    *COFF*)
    4515       DUMPBIN="$DUMPBIN -symbols"
     4528      DUMPBIN="$DUMPBIN -symbols -headers"
    45164529      ;;
    45174530    *)
     
    45214534  fi
    45224535
    4523   if test "$DUMPBIN" != ":"; then
    4524     NM="$DUMPBIN"
     4536  if test : != "$DUMPBIN"; then
     4537    NM=$DUMPBIN
    45254538  fi
    45264539fi
     
    45734586else
    45744587    i=0
    4575   teststring="ABCD"
     4588  teststring=ABCD
    45764589
    45774590  case $build_os in
     
    46134626    ;;
    46144627
    4615   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
     4628  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
    46164629    # This has been around since 386BSD, at least.  Likely further.
    46174630    if test -x /sbin/sysctl; then
     
    46634676  *)
    46644677    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
    4665     if test -n "$lt_cv_sys_max_cmd_len"; then
     4678    if test -n "$lt_cv_sys_max_cmd_len" && \
     4679       test undefined != "$lt_cv_sys_max_cmd_len"; then
    46664680      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    46674681      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     
    46694683      # Make teststring a little bigger before we do anything with it.
    46704684      # a 1K string should be a reasonable start.
    4671       for i in 1 2 3 4 5 6 7 8 ; do
     4685      for i in 1 2 3 4 5 6 7 8; do
    46724686        teststring=$teststring$teststring
    46734687      done
     
    46764690      # maximum length that is only half of the actual maximum length, but
    46774691      # we can't tell.
    4678       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
     4692      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
    46794693                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
    4680               test $i != 17 # 1/2 MB should be enough
     4694              test 17 != "$i" # 1/2 MB should be enough
    46814695      do
    46824696        i=`expr $i + 1`
     
    46964710fi
    46974711
    4698 if test -n $lt_cv_sys_max_cmd_len ; then
     4712if test -n "$lt_cv_sys_max_cmd_len"; then
    46994713  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
    47004714$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
     
    47134727: ${MV="mv -f"}
    47144728: ${RM="rm -f"}
    4715 
    4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
    4717 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
    4718 # Try some XSI features
    4719 xsi_shell=no
    4720 ( _lt_dummy="a/b/c"
    4721   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
    4722       = c,a/b,b/c, \
    4723     && eval 'test $(( 1 + 1 )) -eq 2 \
    4724     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    4725   && xsi_shell=yes
    4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
    4727 $as_echo "$xsi_shell" >&6; }
    4728 
    4729 
    4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
    4731 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
    4732 lt_shell_append=no
    4733 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
    4734     >/dev/null 2>&1 \
    4735   && lt_shell_append=yes
    4736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
    4737 $as_echo "$lt_shell_append" >&6; }
    4738 
    47394729
    47404730if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     
    48604850case $host_os in
    48614851  cygwin* | mingw* | pw32* | cegcc*)
    4862     if test "$GCC" != yes; then
     4852    if test yes != "$GCC"; then
    48634853      reload_cmds=false
    48644854    fi
    48654855    ;;
    48664856  darwin*)
    4867     if test "$GCC" = yes; then
    4868       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
     4857    if test yes = "$GCC"; then
     4858      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
    48694859    else
    48704860      reload_cmds='$LD$reload_flag -o $output$reload_objs'
     
    49944984# interlibrary dependencies.
    49954985# 'none' -- dependencies not supported.
    4996 # `unknown' -- same as none, but documents that we really don't know.
     4986# 'unknown' -- same as none, but documents that we really don't know.
    49974987# 'pass_all' -- all dependencies passed with no checks.
    49984988# 'test_compile' -- check by making test program.
    49994989# 'file_magic [[regex]]' -- check by looking for files in library path
    5000 # which responds to the $file_magic_cmd with a given extended regex.
    5001 # If you have `file' or equivalent on your system and you're not sure
    5002 # whether `pass_all' will *always* work, you probably want this one.
     4990# that responds to the $file_magic_cmd with a given extended regex.
     4991# If you have 'file' or equivalent on your system and you're not sure
     4992# whether 'pass_all' will *always* work, you probably want this one.
    50034993
    50044994case $host_os in
     
    50275017  # func_win32_libid shell function, so use a weaker test based on 'objdump',
    50285018  # unless we find 'file', for example because we are cross-compiling.
    5029   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
    5030   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
     5019  if ( file / ) >/dev/null 2>&1; then
    50315020    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    50325021    lt_cv_file_magic_cmd='func_win32_libid'
     
    50625051    lt_cv_deplibs_check_method=pass_all
    50635052  fi
    5064   ;;
    5065 
    5066 gnu*)
    5067   lt_cv_deplibs_check_method=pass_all
    50685053  ;;
    50695054
     
    51065091
    51075092# This must be glibc/ELF.
    5108 linux* | k*bsd*-gnu | kopensolaris*-gnu)
     5093linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    51095094  lt_cv_deplibs_check_method=pass_all
    51105095  ;;
     
    51285113  ;;
    51295114
    5130 openbsd*)
    5131   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     5115openbsd* | bitrig*)
     5116  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    51325117    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
    51335118  else
     
    51825167  lt_cv_deplibs_check_method=pass_all
    51835168  ;;
     5169os2*)
     5170  lt_cv_deplibs_check_method=pass_all
     5171  ;;
    51845172esac
    51855173
     
    53395327case $host_os in
    53405328cygwin* | mingw* | pw32* | cegcc*)
    5341   # two different shell functions defined in ltmain.sh
    5342   # decide which to use based on capabilities of $DLLTOOL
     5329  # two different shell functions defined in ltmain.sh;
     5330  # decide which one to use based on capabilities of $DLLTOOL
    53435331  case `$DLLTOOL --help 2>&1` in
    53445332  *--identify-strict*)
     
    53525340*)
    53535341  # fallback: assume linklib IS sharedlib
    5354   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
     5342  lt_cv_sharedlib_from_linklib_cmd=$ECHO
    53555343  ;;
    53565344esac
     
    55075495  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    55085496  test $ac_status = 0; }
    5509       if test "$ac_status" -eq 0; then
     5497      if test 0 -eq "$ac_status"; then
    55105498        # Ensure the archiver fails upon bogus file names.
    55115499        rm -f conftest.$ac_objext libconftest.a
     
    55155503  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    55165504  test $ac_status = 0; }
    5517         if test "$ac_status" -ne 0; then
     5505        if test 0 -ne "$ac_status"; then
    55185506          lt_cv_ar_at_file=@
    55195507        fi
     
    55285516$as_echo "$lt_cv_ar_at_file" >&6; }
    55295517
    5530 if test "x$lt_cv_ar_at_file" = xno; then
     5518if test no = "$lt_cv_ar_at_file"; then
    55315519  archiver_list_spec=
    55325520else
     
    57455733if test -n "$RANLIB"; then
    57465734  case $host_os in
    5747   openbsd*)
     5735  bitrig* | openbsd*)
    57485736    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
    57495737    ;;
     
    58355823  ;;
    58365824hpux*)
    5837   if test "$host_cpu" = ia64; then
     5825  if test ia64 = "$host_cpu"; then
    58385826    symcode='[ABCDEGRST]'
    58395827  fi
     
    58685856esac
    58695857
     5858if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     5859  # Gets list of data symbols to import.
     5860  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
     5861  # Adjust the below global symbol transforms to fixup imported variables.
     5862  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
     5863  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
     5864  lt_c_name_lib_hook="\
     5865  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
     5866  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
     5867else
     5868  # Disable hooks by default.
     5869  lt_cv_sys_global_symbol_to_import=
     5870  lt_cdecl_hook=
     5871  lt_c_name_hook=
     5872  lt_c_name_lib_hook=
     5873fi
     5874
    58705875# Transform an extracted symbol line into a proper C declaration.
    58715876# Some systems (esp. on ia64) link data and code symbols differently,
    58725877# so use this general approach.
    5873 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
     5878lt_cv_sys_global_symbol_to_cdecl="sed -n"\
     5879$lt_cdecl_hook\
     5880" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
     5881" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
    58745882
    58755883# Transform an extracted symbol line into symbol name and symbol address
    5876 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
    5877 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'"
     5884lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
     5885$lt_c_name_hook\
     5886" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     5887" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
     5888
     5889# Transform an extracted symbol line into symbol name with lib prefix and
     5890# symbol address.
     5891lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
     5892$lt_c_name_lib_hook\
     5893" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     5894" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
     5895" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
    58785896
    58795897# Handle CRLF in mingw tool chain
     
    58935911  # Write the raw and C identifiers.
    58945912  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    5895     # Fake it for dumpbin and say T for any non-static function
    5896     # and D for any global variable.
     5913    # Fake it for dumpbin and say T for any non-static function,
     5914    # D for any global variable and I for any imported variable.
    58975915    # Also find C++ and __fastcall symbols from MSVC++,
    58985916    # which start with @ or ?.
     
    59015919"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
    59025920"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
     5921"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
     5922"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
     5923"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
    59035924"     \$ 0!~/External *\|/{next};"\
    59045925"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
    59055926"     {if(hide[section]) next};"\
    5906 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
    5907 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
    5908 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
    5909 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
     5927"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
     5928"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
     5929"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
     5930"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
    59105931"     ' prfx=^$ac_symprfx"
    59115932  else
     
    59555976          cat <<_LT_EOF > conftest.$ac_ext
    59565977/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
    5957 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
    5958 /* DATA imports from DLLs on WIN32 con't be const, because runtime
     5978#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
     5979/* DATA imports from DLLs on WIN32 can't be const, because runtime
    59595980   relocations are performed -- see ld's documentation on pseudo-relocs.  */
    59605981# define LT_DLSYM_CONST
    5961 #elif defined(__osf__)
     5982#elif defined __osf__
    59625983/* This system does not cope well with relocations in const data.  */
    59635984# define LT_DLSYM_CONST
     
    59856006  { "@PROGRAM@", (void *) 0 },
    59866007_LT_EOF
    5987           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
     6008          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
    59886009          cat <<\_LT_EOF >> conftest.$ac_ext
    59896010  {0, (void *) 0}
     
    60056026          lt_globsym_save_LIBS=$LIBS
    60066027          lt_globsym_save_CFLAGS=$CFLAGS
    6007           LIBS="conftstm.$ac_objext"
     6028          LIBS=conftstm.$ac_objext
    60086029          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
    60096030          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
     
    60116032  ac_status=$?
    60126033  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6013   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
     6034  test $ac_status = 0; } && test -s conftest$ac_exeext; then
    60146035            pipe_works=yes
    60156036          fi
     
    60326053
    60336054  # Do not use the global_symbol_pipe unless it works.
    6034   if test "$pipe_works" = yes; then
     6055  if test yes = "$pipe_works"; then
    60356056    break
    60366057  else
     
    60856106
    60866107
     6108
     6109
     6110
     6111
     6112
     6113
     6114
     6115
     6116
     6117
    60876118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
    60886119$as_echo_n "checking for sysroot... " >&6; }
     
    60976128
    60986129lt_sysroot=
    6099 case ${with_sysroot} in #(
     6130case $with_sysroot in #(
    61006131 yes)
    6101    if test "$GCC" = yes; then
     6132   if test yes = "$GCC"; then
    61026133     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
    61036134   fi
     
    61096140   ;; #(
    61106141 *)
    6111    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
    6112 $as_echo "${with_sysroot}" >&6; }
     6142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
     6143$as_echo "$with_sysroot" >&6; }
    61136144   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
    61146145   ;;
     
    61226153
    61236154
     6155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
     6156$as_echo_n "checking for a working dd... " >&6; }
     6157if ${ac_cv_path_lt_DD+:} false; then :
     6158  $as_echo_n "(cached) " >&6
     6159else
     6160  printf 0123456789abcdef0123456789abcdef >conftest.i
     6161cat conftest.i conftest.i >conftest2.i
     6162: ${lt_DD:=$DD}
     6163if test -z "$lt_DD"; then
     6164  ac_path_lt_DD_found=false
     6165  # Loop through the user's path and test for each of PROGNAME-LIST
     6166  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6167for as_dir in $PATH
     6168do
     6169  IFS=$as_save_IFS
     6170  test -z "$as_dir" && as_dir=.
     6171    for ac_prog in dd; do
     6172    for ac_exec_ext in '' $ac_executable_extensions; do
     6173      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
     6174      as_fn_executable_p "$ac_path_lt_DD" || continue
     6175if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     6176  cmp -s conftest.i conftest.out \
     6177  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
     6178fi
     6179      $ac_path_lt_DD_found && break 3
     6180    done
     6181  done
     6182  done
     6183IFS=$as_save_IFS
     6184  if test -z "$ac_cv_path_lt_DD"; then
     6185    :
     6186  fi
     6187else
     6188  ac_cv_path_lt_DD=$lt_DD
     6189fi
     6190
     6191rm -f conftest.i conftest2.i conftest.out
     6192fi
     6193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
     6194$as_echo "$ac_cv_path_lt_DD" >&6; }
     6195
     6196
     6197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
     6198$as_echo_n "checking how to truncate binary pipes... " >&6; }
     6199if ${lt_cv_truncate_bin+:} false; then :
     6200  $as_echo_n "(cached) " >&6
     6201else
     6202  printf 0123456789abcdef0123456789abcdef >conftest.i
     6203cat conftest.i conftest.i >conftest2.i
     6204lt_cv_truncate_bin=
     6205if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     6206  cmp -s conftest.i conftest.out \
     6207  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
     6208fi
     6209rm -f conftest.i conftest2.i conftest.out
     6210test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
     6211fi
     6212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
     6213$as_echo "$lt_cv_truncate_bin" >&6; }
     6214
     6215
     6216
     6217
     6218
     6219
     6220
     6221# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     6222func_cc_basename ()
     6223{
     6224    for cc_temp in $*""; do
     6225      case $cc_temp in
     6226        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     6227        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     6228        \-*) ;;
     6229        *) break;;
     6230      esac
     6231    done
     6232    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     6233}
     6234
    61246235# Check whether --enable-libtool-lock was given.
    61256236if test "${enable_libtool_lock+set}" = set; then :
     
    61276238fi
    61286239
    6129 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
     6240test no = "$enable_libtool_lock" || enable_libtool_lock=yes
    61306241
    61316242# Some flags need to be propagated to the compiler or linker for good
     
    61336244case $host in
    61346245ia64-*-hpux*)
    6135   # Find out which ABI we are using.
     6246  # Find out what ABI is being produced by ac_compile, and set mode
     6247  # options accordingly.
    61366248  echo 'int i;' > conftest.$ac_ext
    61376249  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    61426254    case `/usr/bin/file conftest.$ac_objext` in
    61436255      *ELF-32*)
    6144         HPUX_IA64_MODE="32"
     6256        HPUX_IA64_MODE=32
    61456257        ;;
    61466258      *ELF-64*)
    6147         HPUX_IA64_MODE="64"
     6259        HPUX_IA64_MODE=64
    61486260        ;;
    61496261    esac
     
    61526264  ;;
    61536265*-*-irix6*)
    6154   # Find out which ABI we are using.
     6266  # Find out what ABI is being produced by ac_compile, and set linker
     6267  # options accordingly.
    61556268  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
    61566269  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    61596272  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    61606273  test $ac_status = 0; }; then
    6161     if test "$lt_cv_prog_gnu_ld" = yes; then
     6274    if test yes = "$lt_cv_prog_gnu_ld"; then
    61626275      case `/usr/bin/file conftest.$ac_objext` in
    61636276        *32-bit*)
     
    61886301  ;;
    61896302
    6190 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
     6303mips64*-*linux*)
     6304  # Find out what ABI is being produced by ac_compile, and set linker
     6305  # options accordingly.
     6306  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
     6307  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     6308  (eval $ac_compile) 2>&5
     6309  ac_status=$?
     6310  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6311  test $ac_status = 0; }; then
     6312    emul=elf
     6313    case `/usr/bin/file conftest.$ac_objext` in
     6314      *32-bit*)
     6315        emul="${emul}32"
     6316        ;;
     6317      *64-bit*)
     6318        emul="${emul}64"
     6319        ;;
     6320    esac
     6321    case `/usr/bin/file conftest.$ac_objext` in
     6322      *MSB*)
     6323        emul="${emul}btsmip"
     6324        ;;
     6325      *LSB*)
     6326        emul="${emul}ltsmip"
     6327        ;;
     6328    esac
     6329    case `/usr/bin/file conftest.$ac_objext` in
     6330      *N32*)
     6331        emul="${emul}n32"
     6332        ;;
     6333    esac
     6334    LD="${LD-ld} -m $emul"
     6335  fi
     6336  rm -rf conftest*
     6337  ;;
     6338
     6339x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
    61916340s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
    6192   # Find out which ABI we are using.
     6341  # Find out what ABI is being produced by ac_compile, and set linker
     6342  # options accordingly.  Note that the listed cases only cover the
     6343  # situations where additional linker options are needed (such as when
     6344  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
     6345  # vice versa); the common cases where no linker options are needed do
     6346  # not appear in the list.
    61936347  echo 'int i;' > conftest.$ac_ext
    61946348  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    62046358            ;;
    62056359          x86_64-*linux*)
    6206             LD="${LD-ld} -m elf_i386"
     6360            case `/usr/bin/file conftest.o` in
     6361              *x86-64*)
     6362                LD="${LD-ld} -m elf32_x86_64"
     6363                ;;
     6364              *)
     6365                LD="${LD-ld} -m elf_i386"
     6366                ;;
     6367            esac
    62076368            ;;
    6208           ppc64-*linux*|powerpc64-*linux*)
     6369          powerpc64le-*linux*)
     6370            LD="${LD-ld} -m elf32lppclinux"
     6371            ;;
     6372          powerpc64-*linux*)
    62096373            LD="${LD-ld} -m elf32ppclinux"
    62106374            ;;
     
    62256389            LD="${LD-ld} -m elf_x86_64"
    62266390            ;;
    6227           ppc*-*linux*|powerpc*-*linux*)
     6391          powerpcle-*linux*)
     6392            LD="${LD-ld} -m elf64lppc"
     6393            ;;
     6394          powerpc-*linux*)
    62286395            LD="${LD-ld} -m elf64ppc"
    62296396            ;;
     
    62436410*-*-sco3.2v5*)
    62446411  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    6245   SAVE_CFLAGS="$CFLAGS"
     6412  SAVE_CFLAGS=$CFLAGS
    62466413  CFLAGS="$CFLAGS -belf"
    62476414  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
     
    62836450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
    62846451$as_echo "$lt_cv_cc_needs_belf" >&6; }
    6285   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
     6452  if test yes != "$lt_cv_cc_needs_belf"; then
    62866453    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    6287     CFLAGS="$SAVE_CFLAGS"
     6454    CFLAGS=$SAVE_CFLAGS
    62886455  fi
    62896456  ;;
    62906457*-*solaris*)
    6291   # Find out which ABI we are using.
     6458  # Find out what ABI is being produced by ac_compile, and set linker
     6459  # options accordingly.
    62926460  echo 'int i;' > conftest.$ac_ext
    62936461  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    63016469      yes*)
    63026470        case $host in
    6303         i?86-*-solaris*)
     6471        i?86-*-solaris*|x86_64-*-solaris*)
    63046472          LD="${LD-ld} -m elf_x86_64"
    63056473          ;;
     
    63106478        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
    63116479        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
    6312           LD="${LD-ld}_sol2"
     6480          LD=${LD-ld}_sol2
    63136481        fi
    63146482        ;;
     
    63266494esac
    63276495
    6328 need_locks="$enable_libtool_lock"
     6496need_locks=$enable_libtool_lock
    63296497
    63306498if test -n "$ac_tool_prefix"; then
     
    64376605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
    64386606$as_echo "$lt_cv_path_mainfest_tool" >&6; }
    6439 if test "x$lt_cv_path_mainfest_tool" != xyes; then
     6607if test yes != "$lt_cv_path_mainfest_tool"; then
    64406608  MANIFEST_TOOL=:
    64416609fi
     
    69407108else
    69417109  lt_cv_apple_cc_single_mod=no
    6942       if test -z "${LT_MULTI_MODULE}"; then
     7110      if test -z "$LT_MULTI_MODULE"; then
    69437111        # By default we will add the -single_module flag. You can override
    69447112        # by either setting the environment variable LT_MULTI_MODULE
     
    69587126        # Otherwise, if the output was created with a 0 exit code from
    69597127        # the compiler, it worked.
    6960         elif test -f libconftest.dylib && test $_lt_result -eq 0; then
     7128        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
    69617129          lt_cv_apple_cc_single_mod=yes
    69627130        else
     
    69977165rm -f core conftest.err conftest.$ac_objext \
    69987166    conftest$ac_exeext conftest.$ac_ext
    6999         LDFLAGS="$save_LDFLAGS"
     7167        LDFLAGS=$save_LDFLAGS
    70007168
    70017169fi
     
    70267194      if test -s conftest.err && $GREP force_load conftest.err; then
    70277195        cat conftest.err >&5
    7028       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
     7196      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
    70297197        lt_cv_ld_force_load=yes
    70307198      else
     
    70397207    case $host_os in
    70407208    rhapsody* | darwin1.[012])
    7041       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
     7209      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
    70427210    darwin1.*)
    7043       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     7211      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    70447212    darwin*) # darwin 5.x on
    70457213      # if running on 10.5 or later, the deployment target defaults
     
    70487216      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
    70497217        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
    7050           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
    7051         10.[012]*)
    7052           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     7218          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     7219        10.[012][,.]*)
     7220          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    70537221        10.*)
    7054           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     7222          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
    70557223      esac
    70567224    ;;
    70577225  esac
    7058     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
     7226    if test yes = "$lt_cv_apple_cc_single_mod"; then
    70597227      _lt_dar_single_mod='$single_module'
    70607228    fi
    7061     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
    7062       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
     7229    if test yes = "$lt_cv_ld_exported_symbols_list"; then
     7230      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
    70637231    else
    7064       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
     7232      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
    70657233    fi
    7066     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
     7234    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
    70677235      _lt_dsymutil='~$DSYMUTIL $lib || :'
    70687236    else
     
    70717239    ;;
    70727240  esac
     7241
     7242# func_munge_path_list VARIABLE PATH
     7243# -----------------------------------
     7244# VARIABLE is name of variable containing _space_ separated list of
     7245# directories to be munged by the contents of PATH, which is string
     7246# having a format:
     7247# "DIR[:DIR]:"
     7248#       string "DIR[ DIR]" will be prepended to VARIABLE
     7249# ":DIR[:DIR]"
     7250#       string "DIR[ DIR]" will be appended to VARIABLE
     7251# "DIRP[:DIRP]::[DIRA:]DIRA"
     7252#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     7253#       "DIRA[ DIRA]" will be appended to VARIABLE
     7254# "DIR[:DIR]"
     7255#       VARIABLE will be replaced by "DIR[ DIR]"
     7256func_munge_path_list ()
     7257{
     7258    case x$2 in
     7259    x)
     7260        ;;
     7261    *:)
     7262        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
     7263        ;;
     7264    x:*)
     7265        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
     7266        ;;
     7267    *::*)
     7268        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     7269        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
     7270        ;;
     7271    *)
     7272        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
     7273        ;;
     7274    esac
     7275}
    70737276
    70747277ac_ext=c
     
    75187721mkdir_p='$(MKDIR_P)'
    75197722
    7520 # We need awk for the "check" target.  The system "awk" is bad on
    7521 # some platforms.
     7723# We need awk for the "check" target (and possibly the TAP driver).  The
     7724# system "awk" is bad on some platforms.
    75227725# Always define AMTAR for backward compatibility.  Yes, it's still used
    75237726# in the wild :-(  We should find a proper way to deprecate it ...
     
    75777780fi
    75787781
     7782
    75797783# disable automatic rebuild of configure/Makefile
    75807784
     
    76267830      enable_shared=no
    76277831      # Look at the argument we got.  We use all the common list separators.
    7628       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     7832      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    76297833      for pkg in $enableval; do
    7630         IFS="$lt_save_ifs"
     7834        IFS=$lt_save_ifs
    76317835        if test "X$pkg" = "X$p"; then
    76327836          enable_shared=yes
    76337837        fi
    76347838      done
    7635       IFS="$lt_save_ifs"
     7839      IFS=$lt_save_ifs
    76367840      ;;
    76377841    esac
     
    76577861     enable_static=no
    76587862      # Look at the argument we got.  We use all the common list separators.
    7659       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     7863      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    76607864      for pkg in $enableval; do
    7661         IFS="$lt_save_ifs"
     7865        IFS=$lt_save_ifs
    76627866        if test "X$pkg" = "X$p"; then
    76637867          enable_static=yes
    76647868        fi
    76657869      done
    7666       IFS="$lt_save_ifs"
     7870      IFS=$lt_save_ifs
    76677871      ;;
    76687872    esac
     
    76887892      pic_mode=default
    76897893      # Look at the argument we got.  We use all the common list separators.
    7690       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     7894      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    76917895      for lt_pkg in $withval; do
    7692         IFS="$lt_save_ifs"
     7896        IFS=$lt_save_ifs
    76937897        if test "X$lt_pkg" = "X$lt_p"; then
    76947898          pic_mode=yes
    76957899        fi
    76967900      done
    7697       IFS="$lt_save_ifs"
     7901      IFS=$lt_save_ifs
    76987902      ;;
    76997903    esac
     
    77027906fi
    77037907
    7704 
    7705 test -z "$pic_mode" && pic_mode=default
    77067908
    77077909
     
    77207922      enable_fast_install=no
    77217923      # Look at the argument we got.  We use all the common list separators.
    7722       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     7924      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    77237925      for pkg in $enableval; do
    7724         IFS="$lt_save_ifs"
     7926        IFS=$lt_save_ifs
    77257927        if test "X$pkg" = "X$p"; then
    77267928          enable_fast_install=yes
    77277929        fi
    77287930      done
    7729       IFS="$lt_save_ifs"
     7931      IFS=$lt_save_ifs
    77307932      ;;
    77317933    esac
     
    77417943
    77427944
     7945  shared_archive_member_spec=
     7946case $host,$enable_shared in
     7947power*-*-aix[5-9]*,yes)
     7948  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
     7949$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
     7950
     7951# Check whether --with-aix-soname was given.
     7952if test "${with_aix_soname+set}" = set; then :
     7953  withval=$with_aix_soname; case $withval in
     7954    aix|svr4|both)
     7955      ;;
     7956    *)
     7957      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
     7958      ;;
     7959    esac
     7960    lt_cv_with_aix_soname=$with_aix_soname
     7961else
     7962  if ${lt_cv_with_aix_soname+:} false; then :
     7963  $as_echo_n "(cached) " >&6
     7964else
     7965  lt_cv_with_aix_soname=aix
     7966fi
     7967
     7968    with_aix_soname=$lt_cv_with_aix_soname
     7969fi
     7970
     7971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
     7972$as_echo "$with_aix_soname" >&6; }
     7973  if test aix != "$with_aix_soname"; then
     7974    # For the AIX way of multilib, we name the shared archive member
     7975    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
     7976    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
     7977    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
     7978    # the AIX toolchain works better with OBJECT_MODE set (default 32).
     7979    if test 64 = "${OBJECT_MODE-32}"; then
     7980      shared_archive_member_spec=shr_64
     7981    else
     7982      shared_archive_member_spec=shr
     7983    fi
     7984  fi
     7985  ;;
     7986*)
     7987  with_aix_soname=aix
     7988  ;;
     7989esac
     7990
     7991
     7992
     7993
     7994
     7995
     7996
    77437997
    77447998
    77457999
    77468000# This can be used to rebuild libtool when needed
    7747 LIBTOOL_DEPS="$ltmain"
     8001LIBTOOL_DEPS=$ltmain
    77488002
    77498003# Always use our own libtool.
     
    77948048
    77958049
    7796 if test -n "${ZSH_VERSION+set}" ; then
     8050if test -n "${ZSH_VERSION+set}"; then
    77978051   setopt NO_GLOB_SUBST
    77988052fi
     
    78338087  # reason, if we set the COLLECT_NAMES environment variable, the problems
    78348088  # vanish in a puff of smoke.
    7835   if test "X${COLLECT_NAMES+set}" != Xset; then
     8089  if test set != "${COLLECT_NAMES+set}"; then
    78368090    COLLECT_NAMES=
    78378091    export COLLECT_NAMES
     
    78448098can_build_shared=yes
    78458099
    7846 # All known linkers require a `.a' archive for static linking (except MSVC,
     8100# All known linkers require a '.a' archive for static linking (except MSVC,
    78478101# which needs '.lib').
    78488102libext=a
    78498103
    7850 with_gnu_ld="$lt_cv_prog_gnu_ld"
    7851 
    7852 old_CC="$CC"
    7853 old_CFLAGS="$CFLAGS"
     8104with_gnu_ld=$lt_cv_prog_gnu_ld
     8105
     8106old_CC=$CC
     8107old_CFLAGS=$CFLAGS
    78548108
    78558109# Set sane defaults for various variables
     
    78608114test -z "$ac_objext" && ac_objext=o
    78618115
    7862 for cc_temp in $compiler""; do
    7863   case $cc_temp in
    7864     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    7865     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    7866     \-*) ;;
    7867     *) break;;
    7868   esac
    7869 done
    7870 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     8116func_cc_basename $compiler
     8117cc_basename=$func_cc_basename_result
    78718118
    78728119
     
    78838130  case $MAGIC_CMD in
    78848131[\\/*] |  ?:[\\/]*)
    7885   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     8132  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
    78868133  ;;
    78878134*)
    7888   lt_save_MAGIC_CMD="$MAGIC_CMD"
    7889   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     8135  lt_save_MAGIC_CMD=$MAGIC_CMD
     8136  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    78908137  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    78918138  for ac_dir in $ac_dummy; do
    7892     IFS="$lt_save_ifs"
     8139    IFS=$lt_save_ifs
    78938140    test -z "$ac_dir" && ac_dir=.
    7894     if test -f $ac_dir/${ac_tool_prefix}file; then
    7895       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
     8141    if test -f "$ac_dir/${ac_tool_prefix}file"; then
     8142      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
    78968143      if test -n "$file_magic_test_file"; then
    78978144        case $deplibs_check_method in
    78988145        "file_magic "*)
    78998146          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    7900           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     8147          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    79018148          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    79028149            $EGREP "$file_magic_regex" > /dev/null; then
     
    79218168    fi
    79228169  done
    7923   IFS="$lt_save_ifs"
    7924   MAGIC_CMD="$lt_save_MAGIC_CMD"
     8170  IFS=$lt_save_ifs
     8171  MAGIC_CMD=$lt_save_MAGIC_CMD
    79258172  ;;
    79268173esac
    79278174fi
    79288175
    7929 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     8176MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    79308177if test -n "$MAGIC_CMD"; then
    79318178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     
    79498196  case $MAGIC_CMD in
    79508197[\\/*] |  ?:[\\/]*)
    7951   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     8198  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
    79528199  ;;
    79538200*)
    7954   lt_save_MAGIC_CMD="$MAGIC_CMD"
    7955   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     8201  lt_save_MAGIC_CMD=$MAGIC_CMD
     8202  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    79568203  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    79578204  for ac_dir in $ac_dummy; do
    7958     IFS="$lt_save_ifs"
     8205    IFS=$lt_save_ifs
    79598206    test -z "$ac_dir" && ac_dir=.
    7960     if test -f $ac_dir/file; then
    7961       lt_cv_path_MAGIC_CMD="$ac_dir/file"
     8207    if test -f "$ac_dir/file"; then
     8208      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
    79628209      if test -n "$file_magic_test_file"; then
    79638210        case $deplibs_check_method in
    79648211        "file_magic "*)
    79658212          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    7966           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     8213          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    79678214          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    79688215            $EGREP "$file_magic_regex" > /dev/null; then
     
    79878234    fi
    79888235  done
    7989   IFS="$lt_save_ifs"
    7990   MAGIC_CMD="$lt_save_MAGIC_CMD"
     8236  IFS=$lt_save_ifs
     8237  MAGIC_CMD=$lt_save_MAGIC_CMD
    79918238  ;;
    79928239esac
    79938240fi
    79948241
    7995 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     8242MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    79968243if test -n "$MAGIC_CMD"; then
    79978244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     
    80148261# Use C for the default configuration in the libtool script
    80158262
    8016 lt_save_CC="$CC"
     8263lt_save_CC=$CC
    80178264ac_ext=c
    80188265ac_cpp='$CPP $CPPFLAGS'
     
    80768323lt_prog_compiler_no_builtin_flag=
    80778324
    8078 if test "$GCC" = yes; then
     8325if test yes = "$GCC"; then
    80798326  case $cc_basename in
    80808327  nvcc*)
     
    80928339   ac_outfile=conftest.$ac_objext
    80938340   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    8094    lt_compiler_flag="-fno-rtti -fno-exceptions"
     8341   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
    80958342   # Insert the option either (1) after the last *FLAGS variable, or
    80968343   # (2) before a word containing "conftest.", or (3) at the end.
     
    81228369$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
    81238370
    8124 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
     8371if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
    81258372    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
    81268373else
     
    81408387
    81418388
    8142   if test "$GCC" = yes; then
     8389  if test yes = "$GCC"; then
    81438390    lt_prog_compiler_wl='-Wl,'
    81448391    lt_prog_compiler_static='-static'
     
    81478394      aix*)
    81488395      # All AIX code is PIC.
    8149       if test "$host_cpu" = ia64; then
     8396      if test ia64 = "$host_cpu"; then
    81508397        # AIX 5 now supports IA64 processor
    81518398        lt_prog_compiler_static='-Bstatic'
    81528399      fi
     8400      lt_prog_compiler_pic='-fPIC'
    81538401      ;;
    81548402
     
    81618409      m68k)
    81628410            # FIXME: we need at least 68020 code to build shared libraries, but
    8163             # adding the `-m68020' flag to GCC prevents building anything better,
    8164             # like `-m68040'.
     8411            # adding the '-m68020' flag to GCC prevents building anything better,
     8412            # like '-m68040'.
    81658413            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
    81668414        ;;
     
    81788426      # (--disable-auto-import) libraries
    81798427      lt_prog_compiler_pic='-DDLL_EXPORT'
     8428      case $host_os in
     8429      os2*)
     8430        lt_prog_compiler_static='$wl-static'
     8431        ;;
     8432      esac
    81808433      ;;
    81818434
     
    82488501    aix*)
    82498502      lt_prog_compiler_wl='-Wl,'
    8250       if test "$host_cpu" = ia64; then
     8503      if test ia64 = "$host_cpu"; then
    82518504        # AIX 5 now supports IA64 processor
    82528505        lt_prog_compiler_static='-Bstatic'
     
    82568509      ;;
    82578510
     8511    darwin* | rhapsody*)
     8512      # PIC is the default on this platform
     8513      # Common symbols not allowed in MH_DYLIB files
     8514      lt_prog_compiler_pic='-fno-common'
     8515      case $cc_basename in
     8516      nagfor*)
     8517        # NAG Fortran compiler
     8518        lt_prog_compiler_wl='-Wl,-Wl,,'
     8519        lt_prog_compiler_pic='-PIC'
     8520        lt_prog_compiler_static='-Bstatic'
     8521        ;;
     8522      esac
     8523      ;;
     8524
    82588525    mingw* | cygwin* | pw32* | os2* | cegcc*)
    82598526      # This hack is so that the source file can tell whether it is being
    82608527      # built for inclusion in a dll (and should export symbols for example).
    82618528      lt_prog_compiler_pic='-DDLL_EXPORT'
     8529      case $host_os in
     8530      os2*)
     8531        lt_prog_compiler_static='$wl-static'
     8532        ;;
     8533      esac
    82628534      ;;
    82638535
     
    82758547      esac
    82768548      # Is there a better lt_prog_compiler_static that works with the bundled CC?
    8277       lt_prog_compiler_static='${wl}-a ${wl}archive'
     8549      lt_prog_compiler_static='$wl-a ${wl}archive'
    82788550      ;;
    82798551
     
    82848556      ;;
    82858557
    8286     linux* | k*bsd*-gnu | kopensolaris*-gnu)
     8558    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    82878559      case $cc_basename in
    8288       # old Intel for x86_64 which still supported -KPIC.
     8560      # old Intel for x86_64, which still supported -KPIC.
    82898561      ecc*)
    82908562        lt_prog_compiler_wl='-Wl,'
     
    83108582        lt_prog_compiler_pic='-PIC'
    83118583        lt_prog_compiler_static='-Bstatic'
     8584        ;;
     8585      tcc*)
     8586        # Fabrice Bellard et al's Tiny C Compiler
     8587        lt_prog_compiler_wl='-Wl,'
     8588        lt_prog_compiler_pic='-fPIC'
     8589        lt_prog_compiler_static='-static'
    83128590        ;;
    83138591      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
     
    84088686
    84098687    sysv4*MP*)
    8410       if test -d /usr/nec ;then
     8688      if test -d /usr/nec; then
    84118689        lt_prog_compiler_pic='-Kconform_pic'
    84128690        lt_prog_compiler_static='-Bstatic'
     
    84378715
    84388716case $host_os in
    8439   # For platforms which do not support PIC, -DPIC is meaningless:
     8717  # For platforms that do not support PIC, -DPIC is meaningless:
    84408718  *djgpp*)
    84418719    lt_prog_compiler_pic=
     
    84698747   ac_outfile=conftest.$ac_objext
    84708748   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    8471    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
     8749   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
    84728750   # Insert the option either (1) after the last *FLAGS variable, or
    84738751   # (2) before a word containing "conftest.", or (3) at the end.
     
    84998777$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
    85008778
    8501 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
     8779if test yes = "$lt_cv_prog_compiler_pic_works"; then
    85028780    case $lt_prog_compiler_pic in
    85038781     "" | " "*) ;;
     
    85318809else
    85328810  lt_cv_prog_compiler_static_works=no
    8533    save_LDFLAGS="$LDFLAGS"
     8811   save_LDFLAGS=$LDFLAGS
    85348812   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    85358813   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     
    85508828   fi
    85518829   $RM -r conftest*
    8552    LDFLAGS="$save_LDFLAGS"
     8830   LDFLAGS=$save_LDFLAGS
    85538831
    85548832fi
     
    85568834$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
    85578835
    8558 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
     8836if test yes = "$lt_cv_prog_compiler_static_works"; then
    85598837    :
    85608838else
     
    86768954
    86778955
    8678 hard_links="nottested"
    8679 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
     8956hard_links=nottested
     8957if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
    86808958  # do not overwrite the value of need_locks provided by the user
    86818959  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     
    86898967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
    86908968$as_echo "$hard_links" >&6; }
    8691   if test "$hard_links" = no; then
    8692     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
    8693 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
     8969  if test no = "$hard_links"; then
     8970    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
     8971$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
    86948972    need_locks=warn
    86958973  fi
     
    87349012  include_expsyms=
    87359013  # exclude_expsyms can be an extended regexp of symbols to exclude
    8736   # it will be wrapped by ` (' and `)$', so one must not match beginning or
    8737   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    8738   # as well as any symbol that contains `d'.
     9014  # it will be wrapped by ' (' and ')$', so one must not match beginning or
     9015  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
     9016  # as well as any symbol that contains 'd'.
    87399017  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    87409018  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     
    87519029    # When not using gcc, we currently assume that we are using
    87529030    # Microsoft Visual C++.
    8753     if test "$GCC" != yes; then
     9031    if test yes != "$GCC"; then
    87549032      with_gnu_ld=no
    87559033    fi
     
    87599037    with_gnu_ld=yes
    87609038    ;;
    8761   openbsd*)
     9039  openbsd* | bitrig*)
    87629040    with_gnu_ld=no
    87639041    ;;
     
    87699047  # that we're better off using the native interface for both.
    87709048  lt_use_gnu_ld_interface=no
    8771   if test "$with_gnu_ld" = yes; then
     9049  if test yes = "$with_gnu_ld"; then
    87729050    case $host_os in
    87739051      aix*)
     
    87919069  fi
    87929070
    8793   if test "$lt_use_gnu_ld_interface" = yes; then
     9071  if test yes = "$lt_use_gnu_ld_interface"; then
    87949072    # If archive_cmds runs LD, not CC, wlarc should be empty
    8795     wlarc='${wl}'
     9073    wlarc='$wl'
    87969074
    87979075    # Set some defaults for GNU ld with shared library support. These
     
    87999077    # here allows them to be overridden if necessary.
    88009078    runpath_var=LD_RUN_PATH
    8801     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    8802     export_dynamic_flag_spec='${wl}--export-dynamic'
     9079    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     9080    export_dynamic_flag_spec='$wl--export-dynamic'
    88039081    # ancient GNU ld didn't support --whole-archive et. al.
    88049082    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
    8805       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     9083      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    88069084    else
    88079085      whole_archive_flag_spec=
    88089086    fi
    88099087    supports_anon_versioning=no
    8810     case `$LD -v 2>&1` in
     9088    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
    88119089      *GNU\ gold*) supports_anon_versioning=yes ;;
    88129090      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
     
    88219099    aix[3-9]*)
    88229100      # On AIX/PPC, the GNU linker is very broken
    8823       if test "$host_cpu" != ia64; then
     9101      if test ia64 != "$host_cpu"; then
    88249102        ld_shlibs=no
    88259103        cat <<_LT_EOF 1>&2
     
    88409118      powerpc)
    88419119            # see comment about AmigaOS4 .so support
    8842             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     9120            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    88439121            archive_expsym_cmds=''
    88449122        ;;
     
    88569134        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    88579135        # support --undefined.  This deserves some investigation.  FIXME
    8858         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     9136        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    88599137      else
    88609138        ld_shlibs=no
     
    88669144      # as there is no search path for DLLs.
    88679145      hardcode_libdir_flag_spec='-L$libdir'
    8868       export_dynamic_flag_spec='${wl}--export-all-symbols'
     9146      export_dynamic_flag_spec='$wl--export-all-symbols'
    88699147      allow_undefined_flag=unsupported
    88709148      always_export_symbols=no
     
    88749152
    88759153      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    8876         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    8877         # If the export-symbols file already is a .def file (1st line
    8878         # is EXPORTS), use it as is; otherwise, prepend...
    8879         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    8880           cp $export_symbols $output_objdir/$soname.def;
    8881         else
    8882           echo EXPORTS > $output_objdir/$soname.def;
    8883           cat $export_symbols >> $output_objdir/$soname.def;
    8884         fi~
    8885         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     9154        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     9155        # If the export-symbols file already is a .def file, use it as
     9156        # is; otherwise, prepend EXPORTS...
     9157        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     9158          cp $export_symbols $output_objdir/$soname.def;
     9159        else
     9160          echo EXPORTS > $output_objdir/$soname.def;
     9161          cat $export_symbols >> $output_objdir/$soname.def;
     9162        fi~
     9163        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    88869164      else
    88879165        ld_shlibs=no
     
    88909168
    88919169    haiku*)
    8892       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     9170      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    88939171      link_all_deplibs=yes
     9172      ;;
     9173
     9174    os2*)
     9175      hardcode_libdir_flag_spec='-L$libdir'
     9176      hardcode_minus_L=yes
     9177      allow_undefined_flag=unsupported
     9178      shrext_cmds=.dll
     9179      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     9180        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     9181        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     9182        $ECHO EXPORTS >> $output_objdir/$libname.def~
     9183        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     9184        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     9185        emximp -o $lib $output_objdir/$libname.def'
     9186      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     9187        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     9188        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     9189        $ECHO EXPORTS >> $output_objdir/$libname.def~
     9190        prefix_cmds="$SED"~
     9191        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     9192          prefix_cmds="$prefix_cmds -e 1d";
     9193        fi~
     9194        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     9195        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     9196        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     9197        emximp -o $lib $output_objdir/$libname.def'
     9198      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     9199      enable_shared_with_static_runtimes=yes
    88949200      ;;
    88959201
     
    88979203      hardcode_direct=no
    88989204      hardcode_shlibpath_var=no
    8899       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
    8900       export_dynamic_flag_spec='${wl}-E'
     9205      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
     9206      export_dynamic_flag_spec='$wl-E'
    89019207      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    89029208      # Instead, shared libraries are loaded at an image base (0x10000000 by
     
    89059211      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    89069212      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    8907       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    8908       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     9213      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     9214      archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    89099215      ;;
    89109216
    89119217    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
    89129218      tmp_diet=no
    8913       if test "$host_os" = linux-dietlibc; then
     9219      if test linux-dietlibc = "$host_os"; then
    89149220        case $cc_basename in
    89159221          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
     
    89179223      fi
    89189224      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
    8919          && test "$tmp_diet" = no
     9225         && test no = "$tmp_diet"
    89209226      then
    89219227        tmp_addflag=' $pic_flag'
     
    89239229        case $cc_basename,$host_cpu in
    89249230        pgcc*)                          # Portland Group C compiler
    8925           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     9231          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    89269232          tmp_addflag=' $pic_flag'
    89279233          ;;
    89289234        pgf77* | pgf90* | pgf95* | pgfortran*)
    89299235                                        # Portland Group f77 and f90 compilers
    8930           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     9236          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    89319237          tmp_addflag=' $pic_flag -Mnomain' ;;
    89329238        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
     
    89399245          whole_archive_flag_spec=
    89409246          tmp_sharedflag='--shared' ;;
     9247        nagfor*)                        # NAGFOR 5.3
     9248          tmp_sharedflag='-Wl,-shared' ;;
    89419249        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
    89429250          tmp_sharedflag='-qmkshrobj'
    89439251          tmp_addflag= ;;
    89449252        nvcc*)  # Cuda Compiler Driver 2.2
    8945           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     9253          whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    89469254          compiler_needs_object=yes
    89479255          ;;
     
    89499257        case `$CC -V 2>&1 | sed 5q` in
    89509258        *Sun\ C*)                       # Sun C 5.9
    8951           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     9259          whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    89529260          compiler_needs_object=yes
    89539261          tmp_sharedflag='-G' ;;
     
    89559263          tmp_sharedflag='-G' ;;
    89569264        esac
    8957         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    8958 
    8959         if test "x$supports_anon_versioning" = xyes; then
     9265        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9266
     9267        if test yes = "$supports_anon_versioning"; then
    89609268          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
    8961             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    8962             echo "local: *; };" >> $output_objdir/$libname.ver~
    8963             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     9269            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     9270            echo "local: *; };" >> $output_objdir/$libname.ver~
     9271            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    89649272        fi
    89659273
    89669274        case $cc_basename in
     9275        tcc*)
     9276          export_dynamic_flag_spec='-rdynamic'
     9277          ;;
    89679278        xlf* | bgf* | bgxlf* | mpixlf*)
    89689279          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
    89699280          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
    8970           hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     9281          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    89719282          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
    8972           if test "x$supports_anon_versioning" = xyes; then
     9283          if test yes = "$supports_anon_versioning"; then
    89739284            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
    8974               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    8975               echo "local: *; };" >> $output_objdir/$libname.ver~
    8976               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
     9285              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     9286              echo "local: *; };" >> $output_objdir/$libname.ver~
     9287              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
    89779288          fi
    89789289          ;;
     
    89889299        wlarc=
    89899300      else
    8990         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    8991         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     9301        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9302        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    89929303      fi
    89939304      ;;
     
    90079318_LT_EOF
    90089319      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9009         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    9010         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     9320        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9321        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    90119322      else
    90129323        ld_shlibs=no
     
    90209331        cat <<_LT_EOF 1>&2
    90219332
    9022 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
     9333*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
    90239334*** reliably create shared libraries on SCO systems.  Therefore, libtool
    90249335*** is disabling shared libraries support.  We urge you to upgrade GNU
     
    90359346          # requires that you compile everything twice, which is a pain.
    90369347          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9037             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    9038             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    9039             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     9348            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     9349            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9350            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    90409351          else
    90419352            ld_shlibs=no
     
    90549365    *)
    90559366      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9056         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    9057         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     9367        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9368        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    90589369      else
    90599370        ld_shlibs=no
     
    90629373    esac
    90639374
    9064     if test "$ld_shlibs" = no; then
     9375    if test no = "$ld_shlibs"; then
    90659376      runpath_var=
    90669377      hardcode_libdir_flag_spec=
     
    90789389      # are no directories specified by -L.
    90799390      hardcode_minus_L=yes
    9080       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
     9391      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
    90819392        # Neither direct hardcoding nor static linking is supported with a
    90829393        # broken collect2.
     
    90869397
    90879398    aix[4-9]*)
    9088       if test "$host_cpu" = ia64; then
     9399      if test ia64 = "$host_cpu"; then
    90899400        # On IA64, the linker does run time linking by default, so we don't
    90909401        # have to do anything special.
    90919402        aix_use_runtimelinking=no
    90929403        exp_sym_flag='-Bexport'
    9093         no_entry_flag=""
     9404        no_entry_flag=
    90949405      else
    90959406        # If we're using GNU nm, then we don't want the "-C" option.
    9096         # -C means demangle to AIX nm, but means don't demangle with GNU nm
    9097         # Also, AIX nm treats weak defined symbols like other global
    9098         # defined symbols, whereas GNU nm marks them as "W".
     9407        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     9408        # Without the "-l" option, or with the "-B" option, AIX nm treats
     9409        # weak defined symbols like other global defined symbols, whereas
     9410        # GNU nm marks them as "W".
     9411        # While the 'weak' keyword is ignored in the Export File, we need
     9412        # it in the Import File for the 'aix-soname' feature, so we have
     9413        # to replace the "-B" option with "-P" for AIX nm.
    90999414        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    9100           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     9415          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
    91019416        else
    9102           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     9417          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
    91039418        fi
    91049419        aix_use_runtimelinking=no
     
    91069421        # Test if we are trying to use run time linking or normal
    91079422        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    9108         # need to do runtime linking.
     9423        # have runtime linking enabled, and use it for executables.
     9424        # For shared libraries, we enable/disable runtime linking
     9425        # depending on the kind of the shared library created -
     9426        # when "with_aix_soname,aix_use_runtimelinking" is:
     9427        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
     9428        # "aix,yes"  lib.so          shared, rtl:yes, for executables
     9429        #            lib.a           static archive
     9430        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
     9431        #            lib.a(lib.so.V) shared, rtl:no,  for executables
     9432        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
     9433        #            lib.a(lib.so.V) shared, rtl:no
     9434        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
     9435        #            lib.a           static archive
    91099436        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    91109437          for ld_flag in $LDFLAGS; do
    9111           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
     9438          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
    91129439            aix_use_runtimelinking=yes
    91139440            break
    91149441          fi
    91159442          done
     9443          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
     9444            # With aix-soname=svr4, we create the lib.so.V shared archives only,
     9445            # so we don't have lib.a shared libs to link our executables.
     9446            # We have to force runtime linking in this case.
     9447            aix_use_runtimelinking=yes
     9448            LDFLAGS="$LDFLAGS -Wl,-brtl"
     9449          fi
    91169450          ;;
    91179451        esac
     
    91329466      hardcode_libdir_separator=':'
    91339467      link_all_deplibs=yes
    9134       file_list_spec='${wl}-f,'
    9135 
    9136       if test "$GCC" = yes; then
     9468      file_list_spec='$wl-f,'
     9469      case $with_aix_soname,$aix_use_runtimelinking in
     9470      aix,*) ;; # traditional, no import file
     9471      svr4,* | *,yes) # use import file
     9472        # The Import File defines what to hardcode.
     9473        hardcode_direct=no
     9474        hardcode_direct_absolute=no
     9475        ;;
     9476      esac
     9477
     9478      if test yes = "$GCC"; then
    91379479        case $host_os in aix4.[012]|aix4.[012].*)
    91389480        # We only want to do this on AIX 4.2 and lower, the check
    91399481        # below for broken collect2 doesn't work under 4.3+
    9140           collect2name=`${CC} -print-prog-name=collect2`
     9482          collect2name=`$CC -print-prog-name=collect2`
    91419483          if test -f "$collect2name" &&
    91429484           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     
    91579499        esac
    91589500        shared_flag='-shared'
    9159         if test "$aix_use_runtimelinking" = yes; then
    9160           shared_flag="$shared_flag "'${wl}-G'
     9501        if test yes = "$aix_use_runtimelinking"; then
     9502          shared_flag="$shared_flag "'$wl-G'
    91619503        fi
     9504        # Need to ensure runtime linking is disabled for the traditional
     9505        # shared library, or the linker may eventually find shared libraries
     9506        # /with/ Import File - we do not want to mix them.
     9507        shared_flag_aix='-shared'
     9508        shared_flag_svr4='-shared $wl-G'
    91629509      else
    91639510        # not using gcc
    9164         if test "$host_cpu" = ia64; then
     9511        if test ia64 = "$host_cpu"; then
    91659512        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    91669513        # chokes on -Wl,-G. The following line is correct:
    91679514          shared_flag='-G'
    91689515        else
    9169           if test "$aix_use_runtimelinking" = yes; then
    9170             shared_flag='${wl}-G'
     9516          if test yes = "$aix_use_runtimelinking"; then
     9517            shared_flag='$wl-G'
    91719518          else
    9172             shared_flag='${wl}-bM:SRE'
     9519            shared_flag='$wl-bM:SRE'
    91739520          fi
     9521          shared_flag_aix='$wl-bM:SRE'
     9522          shared_flag_svr4='$wl-G'
    91749523        fi
    91759524      fi
    91769525
    9177       export_dynamic_flag_spec='${wl}-bexpall'
     9526      export_dynamic_flag_spec='$wl-bexpall'
    91789527      # It seems that -bexpall does not export symbols beginning with
    91799528      # underscore (_), so it is better to generate a list of symbols to export.
    91809529      always_export_symbols=yes
    9181       if test "$aix_use_runtimelinking" = yes; then
     9530      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
    91829531        # Warning - without using the other runtime loading flags (-brtl),
    91839532        # -berok will link without error, but may produce a broken library.
     
    91859534        # Determine the default libpath from the value encoded in an
    91869535        # empty executable.
    9187         if test "${lt_cv_aix_libpath+set}" = set; then
     9536        if test set = "${lt_cv_aix_libpath+set}"; then
    91889537  aix_libpath=$lt_cv_aix_libpath
    91899538else
     
    92209569    conftest$ac_exeext conftest.$ac_ext
    92219570  if test -z "$lt_cv_aix_libpath_"; then
    9222     lt_cv_aix_libpath_="/usr/lib:/lib"
     9571    lt_cv_aix_libpath_=/usr/lib:/lib
    92239572  fi
    92249573
     
    92289577fi
    92299578
    9230         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
    9231         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
     9579        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
     9580        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
    92329581      else
    9233         if test "$host_cpu" = ia64; then
    9234           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
     9582        if test ia64 = "$host_cpu"; then
     9583          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
    92359584          allow_undefined_flag="-z nodefs"
    9236           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
     9585          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols"
    92379586        else
    92389587         # Determine the default libpath from the value encoded in an
    92399588         # empty executable.
    9240          if test "${lt_cv_aix_libpath+set}" = set; then
     9589         if test set = "${lt_cv_aix_libpath+set}"; then
    92419590  aix_libpath=$lt_cv_aix_libpath
    92429591else
     
    92739622    conftest$ac_exeext conftest.$ac_ext
    92749623  if test -z "$lt_cv_aix_libpath_"; then
    9275     lt_cv_aix_libpath_="/usr/lib:/lib"
     9624    lt_cv_aix_libpath_=/usr/lib:/lib
    92769625  fi
    92779626
     
    92819630fi
    92829631
    9283          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
     9632         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
    92849633          # Warning - without using the other run time loading flags,
    92859634          # -berok will link without error, but may produce a broken library.
    9286           no_undefined_flag=' ${wl}-bernotok'
    9287           allow_undefined_flag=' ${wl}-berok'
    9288           if test "$with_gnu_ld" = yes; then
     9635          no_undefined_flag=' $wl-bernotok'
     9636          allow_undefined_flag=' $wl-berok'
     9637          if test yes = "$with_gnu_ld"; then
    92899638            # We only use this code for GNU lds that support --whole-archive.
    9290             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     9639            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
    92919640          else
    92929641            # Exported symbols can be pulled into shared objects from archives
     
    92949643          fi
    92959644          archive_cmds_need_lc=yes
    9296           # This is similar to how AIX traditionally builds its shared libraries.
    9297           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
     9645          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
     9646          # -brtl affects multiple linker settings, -berok does not and is overridden later
     9647          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
     9648          if test svr4 != "$with_aix_soname"; then
     9649            # This is similar to how AIX traditionally builds its shared libraries.
     9650            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
     9651          fi
     9652          if test aix != "$with_aix_soname"; then
     9653            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
     9654          else
     9655            # used by -dlpreopen to get the symbols
     9656            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
     9657          fi
     9658          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
    92989659        fi
    92999660      fi
     
    93049665      powerpc)
    93059666            # see comment about AmigaOS4 .so support
    9306             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     9667            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    93079668            archive_expsym_cmds=''
    93089669        ;;
     
    93349695        libext=lib
    93359696        # Tell ltmain to make .dll files, not .so files.
    9336         shrext_cmds=".dll"
     9697        shrext_cmds=.dll
    93379698        # FIXME: Setting linknames here is a bad hack.
    9338         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
    9339         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    9340             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
    9341           else
    9342             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
    9343           fi~
    9344           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    9345           linknames='
     9699        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
     9700        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     9701            cp "$export_symbols" "$output_objdir/$soname.def";
     9702            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
     9703          else
     9704            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
     9705          fi~
     9706          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     9707          linknames='
    93469708        # The linker will not automatically build a static lib if we build a DLL.
    93479709        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
     
    93529714        old_postinstall_cmds='chmod 644 $oldlib'
    93539715        postlink_cmds='lt_outputfile="@OUTPUT@"~
    9354           lt_tool_outputfile="@TOOL_OUTPUT@"~
    9355           case $lt_outputfile in
    9356             *.exe|*.EXE) ;;
    9357             *)
    9358               lt_outputfile="$lt_outputfile.exe"
    9359               lt_tool_outputfile="$lt_tool_outputfile.exe"
    9360               ;;
    9361           esac~
    9362           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
    9363             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    9364             $RM "$lt_outputfile.manifest";
    9365           fi'
     9716          lt_tool_outputfile="@TOOL_OUTPUT@"~
     9717          case $lt_outputfile in
     9718            *.exe|*.EXE) ;;
     9719            *)
     9720              lt_outputfile=$lt_outputfile.exe
     9721              lt_tool_outputfile=$lt_tool_outputfile.exe
     9722              ;;
     9723          esac~
     9724          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
     9725            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     9726            $RM "$lt_outputfile.manifest";
     9727          fi'
    93669728        ;;
    93679729      *)
     
    93729734        libext=lib
    93739735        # Tell ltmain to make .dll files, not .so files.
    9374         shrext_cmds=".dll"
     9736        shrext_cmds=.dll
    93759737        # FIXME: Setting linknames here is a bad hack.
    93769738        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
     
    93919753  hardcode_automatic=yes
    93929754  hardcode_shlibpath_var=unsupported
    9393   if test "$lt_cv_ld_force_load" = "yes"; then
    9394     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
     9755  if test yes = "$lt_cv_ld_force_load"; then
     9756    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
    93959757
    93969758  else
     
    93989760  fi
    93999761  link_all_deplibs=yes
    9400   allow_undefined_flag="$_lt_dar_allow_undefined"
     9762  allow_undefined_flag=$_lt_dar_allow_undefined
    94019763  case $cc_basename in
    9402      ifort*) _lt_dar_can_shared=yes ;;
     9764     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
    94039765     *) _lt_dar_can_shared=$GCC ;;
    94049766  esac
    9405   if test "$_lt_dar_can_shared" = "yes"; then
     9767  if test yes = "$_lt_dar_can_shared"; then
    94069768    output_verbose_link_cmd=func_echo_all
    9407     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
    9408     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
    9409     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
    9410     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
     9769    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
     9770    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
     9771    archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
     9772    module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
    94119773
    94129774  else
     
    94509812
    94519813    hpux9*)
    9452       if test "$GCC" = yes; then
    9453         archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
     9814      if test yes = "$GCC"; then
     9815        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
    94549816      else
    9455         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
     9817        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
    94569818      fi
    9457       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
     9819      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    94589820      hardcode_libdir_separator=:
    94599821      hardcode_direct=yes
     
    94629824      # but as the default location of the library.
    94639825      hardcode_minus_L=yes
    9464       export_dynamic_flag_spec='${wl}-E'
     9826      export_dynamic_flag_spec='$wl-E'
    94659827      ;;
    94669828
    94679829    hpux10*)
    9468       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
    9469         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     9830      if test yes,no = "$GCC,$with_gnu_ld"; then
     9831        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    94709832      else
    94719833        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    94729834      fi
    9473       if test "$with_gnu_ld" = no; then
    9474         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
     9835      if test no = "$with_gnu_ld"; then
     9836        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    94759837        hardcode_libdir_separator=:
    94769838        hardcode_direct=yes
    94779839        hardcode_direct_absolute=yes
    9478         export_dynamic_flag_spec='${wl}-E'
     9840        export_dynamic_flag_spec='$wl-E'
    94799841        # hardcode_minus_L: Not really in the search PATH,
    94809842        # but as the default location of the library.
     
    94849846
    94859847    hpux11*)
    9486       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
     9848      if test yes,no = "$GCC,$with_gnu_ld"; then
    94879849        case $host_cpu in
    94889850        hppa*64*)
    9489           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     9851          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    94909852          ;;
    94919853        ia64*)
    9492           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     9854          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    94939855          ;;
    94949856        *)
    9495           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     9857          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    94969858          ;;
    94979859        esac
     
    94999861        case $host_cpu in
    95009862        hppa*64*)
    9501           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     9863          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    95029864          ;;
    95039865        ia64*)
    9504           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     9866          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    95059867          ;;
    95069868        *)
     
    95149876else
    95159877  lt_cv_prog_compiler__b=no
    9516    save_LDFLAGS="$LDFLAGS"
     9878   save_LDFLAGS=$LDFLAGS
    95179879   LDFLAGS="$LDFLAGS -b"
    95189880   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     
    95339895   fi
    95349896   $RM -r conftest*
    9535    LDFLAGS="$save_LDFLAGS"
     9897   LDFLAGS=$save_LDFLAGS
    95369898
    95379899fi
     
    95399901$as_echo "$lt_cv_prog_compiler__b" >&6; }
    95409902
    9541 if test x"$lt_cv_prog_compiler__b" = xyes; then
    9542     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     9903if test yes = "$lt_cv_prog_compiler__b"; then
     9904    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    95439905else
    95449906    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
     
    95489910        esac
    95499911      fi
    9550       if test "$with_gnu_ld" = no; then
    9551         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
     9912      if test no = "$with_gnu_ld"; then
     9913        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    95529914        hardcode_libdir_separator=:
    95539915
     
    95609922          hardcode_direct=yes
    95619923          hardcode_direct_absolute=yes
    9562           export_dynamic_flag_spec='${wl}-E'
     9924          export_dynamic_flag_spec='$wl-E'
    95639925
    95649926          # hardcode_minus_L: Not really in the search PATH,
     
    95719933
    95729934    irix5* | irix6* | nonstopux*)
    9573       if test "$GCC" = yes; then
    9574         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     9935      if test yes = "$GCC"; then
     9936        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
    95759937        # Try to use the -exported_symbol ld option, if it does not
    95769938        # work, assume that -exports_file does not work either and
     
    95829944  $as_echo_n "(cached) " >&6
    95839945else
    9584   save_LDFLAGS="$LDFLAGS"
    9585            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
     9946  save_LDFLAGS=$LDFLAGS
     9947           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
    95869948           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    95879949/* end confdefs.h.  */
     
    95959957rm -f core conftest.err conftest.$ac_objext \
    95969958    conftest$ac_exeext conftest.$ac_ext
    9597            LDFLAGS="$save_LDFLAGS"
     9959           LDFLAGS=$save_LDFLAGS
    95989960fi
    95999961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
    96009962$as_echo "$lt_cv_irix_exported_symbol" >&6; }
    9601         if test "$lt_cv_irix_exported_symbol" = yes; then
    9602           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
     9963        if test yes = "$lt_cv_irix_exported_symbol"; then
     9964          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib'
    96039965        fi
    96049966      else
    9605         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
    9606         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
     9967        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
     9968        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib'
    96079969      fi
    96089970      archive_cmds_need_lc='no'
    9609       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     9971      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    96109972      hardcode_libdir_separator=:
    96119973      inherit_rpath=yes
    96129974      link_all_deplibs=yes
     9975      ;;
     9976
     9977    linux*)
     9978      case $cc_basename in
     9979      tcc*)
     9980        # Fabrice Bellard et al's Tiny C Compiler
     9981        ld_shlibs=yes
     9982        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     9983        ;;
     9984      esac
    96139985      ;;
    96149986
     
    96279999      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    962810000      hardcode_direct=yes
    9629       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     10001      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    963010002      hardcode_libdir_separator=:
    963110003      hardcode_shlibpath_var=no
     
    963510007      ;;
    963610008
    9637     openbsd*)
     10009    openbsd* | bitrig*)
    963810010      if test -f /usr/libexec/ld.so; then
    963910011        hardcode_direct=yes
    964010012        hardcode_shlibpath_var=no
    964110013        hardcode_direct_absolute=yes
    9642         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     10014        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    964310015          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    9644           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
    9645           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
    9646           export_dynamic_flag_spec='${wl}-E'
     10016          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
     10017          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
     10018          export_dynamic_flag_spec='$wl-E'
    964710019        else
    9648           case $host_os in
    9649            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
    9650              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    9651              hardcode_libdir_flag_spec='-R$libdir'
    9652              ;;
    9653            *)
    9654              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    9655              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
    9656              ;;
    9657           esac
     10020          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     10021          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
    965810022        fi
    965910023      else
     
    966610030      hardcode_minus_L=yes
    966710031      allow_undefined_flag=unsupported
    9668       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
    9669       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
     10032      shrext_cmds=.dll
     10033      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     10034        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     10035        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     10036        $ECHO EXPORTS >> $output_objdir/$libname.def~
     10037        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     10038        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     10039        emximp -o $lib $output_objdir/$libname.def'
     10040      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     10041        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     10042        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     10043        $ECHO EXPORTS >> $output_objdir/$libname.def~
     10044        prefix_cmds="$SED"~
     10045        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     10046          prefix_cmds="$prefix_cmds -e 1d";
     10047        fi~
     10048        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     10049        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     10050        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     10051        emximp -o $lib $output_objdir/$libname.def'
     10052      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     10053      enable_shared_with_static_runtimes=yes
    967010054      ;;
    967110055
    967210056    osf3*)
    9673       if test "$GCC" = yes; then
    9674         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
    9675         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
     10057      if test yes = "$GCC"; then
     10058        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
     10059        archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
    967610060      else
    967710061        allow_undefined_flag=' -expect_unresolved \*'
    9678         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
     10062        archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
    967910063      fi
    968010064      archive_cmds_need_lc='no'
    9681       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     10065      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    968210066      hardcode_libdir_separator=:
    968310067      ;;
    968410068
    968510069    osf4* | osf5*)      # as osf3* with the addition of -msym flag
    9686       if test "$GCC" = yes; then
    9687         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
    9688         archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
    9689         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     10070      if test yes = "$GCC"; then
     10071        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
     10072        archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib'
     10073        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    969010074      else
    969110075        allow_undefined_flag=' -expect_unresolved \*'
    9692         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
     10076        archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
    969310077        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
    9694         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
     10078          $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp'
    969510079
    969610080        # Both c and cxx compiler support -rpath directly
     
    970310087    solaris*)
    970410088      no_undefined_flag=' -z defs'
    9705       if test "$GCC" = yes; then
    9706         wlarc='${wl}'
    9707         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     10089      if test yes = "$GCC"; then
     10090        wlarc='$wl'
     10091        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    970810092        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    9709           $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
     10093          $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
    971010094      else
    971110095        case `$CC -V 2>&1` in
    971210096        *"Compilers 5.0"*)
    971310097          wlarc=''
    9714           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
     10098          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
    971510099          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    9716           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
     10100            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
    971710101          ;;
    971810102        *)
    9719           wlarc='${wl}'
    9720           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
     10103          wlarc='$wl'
     10104          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
    972110105          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    9722           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
     10106            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
    972310107          ;;
    972410108        esac
     
    973010114      *)
    973110115        # The compiler driver will combine and reorder linker options,
    9732         # but understands `-z linker_flag'.  GCC discards it without `$wl',
     10116        # but understands '-z linker_flag'.  GCC discards it without '$wl',
    973310117        # but is careful enough not to reorder.
    973410118        # Supported since Solaris 2.6 (maybe 2.5.1?)
    9735         if test "$GCC" = yes; then
    9736           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     10119        if test yes = "$GCC"; then
     10120          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
    973710121        else
    973810122          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
     
    974410128
    974510129    sunos4*)
    9746       if test "x$host_vendor" = xsequent; then
     10130      if test sequent = "$host_vendor"; then
    974710131        # Use $CC to link under sequent, because it throws in some extra .o
    974810132        # files that make .init and .fini sections work.
    9749         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
     10133        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    975010134      else
    975110135        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
     
    979610180
    979710181    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    9798       no_undefined_flag='${wl}-z,text'
     10182      no_undefined_flag='$wl-z,text'
    979910183      archive_cmds_need_lc=no
    980010184      hardcode_shlibpath_var=no
    980110185      runpath_var='LD_RUN_PATH'
    980210186
    9803       if test "$GCC" = yes; then
    9804         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    9805         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10187      if test yes = "$GCC"; then
     10188        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10189        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    980610190      else
    9807         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    9808         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10191        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10192        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    980910193      fi
    981010194      ;;
    981110195
    981210196    sysv5* | sco3.2v5* | sco5v6*)
    9813       # Note: We can NOT use -z defs as we might desire, because we do not
     10197      # Note: We CANNOT use -z defs as we might desire, because we do not
    981410198      # link with -lc, and that would cause any symbols used from libc to
    981510199      # always be unresolved, which means just about no library would
     
    981710201      # though, which does catch some bad symbols but isn't as heavy-handed
    981810202      # as -z defs.
    9819       no_undefined_flag='${wl}-z,text'
    9820       allow_undefined_flag='${wl}-z,nodefs'
     10203      no_undefined_flag='$wl-z,text'
     10204      allow_undefined_flag='$wl-z,nodefs'
    982110205      archive_cmds_need_lc=no
    982210206      hardcode_shlibpath_var=no
    9823       hardcode_libdir_flag_spec='${wl}-R,$libdir'
     10207      hardcode_libdir_flag_spec='$wl-R,$libdir'
    982410208      hardcode_libdir_separator=':'
    982510209      link_all_deplibs=yes
    9826       export_dynamic_flag_spec='${wl}-Bexport'
     10210      export_dynamic_flag_spec='$wl-Bexport'
    982710211      runpath_var='LD_RUN_PATH'
    982810212
    9829       if test "$GCC" = yes; then
    9830         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    9831         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10213      if test yes = "$GCC"; then
     10214        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10215        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    983210216      else
    9833         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    9834         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10217        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10218        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    983510219      fi
    983610220      ;;
     
    984710231    esac
    984810232
    9849     if test x$host_vendor = xsni; then
     10233    if test sni = "$host_vendor"; then
    985010234      case $host in
    985110235      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    9852         export_dynamic_flag_spec='${wl}-Blargedynsym'
     10236        export_dynamic_flag_spec='$wl-Blargedynsym'
    985310237        ;;
    985410238      esac
     
    985810242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
    985910243$as_echo "$ld_shlibs" >&6; }
    9860 test "$ld_shlibs" = no && can_build_shared=no
     10244test no = "$ld_shlibs" && can_build_shared=no
    986110245
    986210246with_gnu_ld=$with_gnu_ld
     
    988410268  archive_cmds_need_lc=yes
    988510269
    9886   if test "$enable_shared" = yes && test "$GCC" = yes; then
     10270  if test yes,yes = "$GCC,$enable_shared"; then
    988710271    case $archive_cmds in
    988810272    *'~'*)
     
    1009910483$as_echo_n "checking dynamic linker characteristics... " >&6; }
    1010010484
    10101 if test "$GCC" = yes; then
     10485if test yes = "$GCC"; then
    1010210486  case $host_os in
    10103     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
    10104     *) lt_awk_arg="/^libraries:/" ;;
     10487    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
     10488    *) lt_awk_arg='/^libraries:/' ;;
    1010510489  esac
    1010610490  case $host_os in
    10107     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
    10108     *) lt_sed_strip_eq="s,=/,/,g" ;;
     10491    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
     10492    *) lt_sed_strip_eq='s|=/|/|g' ;;
    1010910493  esac
    1011010494  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
     
    1012210506  esac
    1012310507  # Ok, now we have the path, separated by spaces, we can step through it
    10124   # and add multilib dir if necessary.
     10508  # and add multilib dir if necessary...
    1012510509  lt_tmp_lt_search_path_spec=
    10126   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     10510  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     10511  # ...but if some path component already ends with the multilib dir we assume
     10512  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
     10513  case "$lt_multi_os_dir; $lt_search_path_spec " in
     10514  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
     10515    lt_multi_os_dir=
     10516    ;;
     10517  esac
    1012710518  for lt_sys_path in $lt_search_path_spec; do
    10128     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
    10129       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
    10130     else
     10519    if test -d "$lt_sys_path$lt_multi_os_dir"; then
     10520      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
     10521    elif test -n "$lt_multi_os_dir"; then
    1013110522      test -d "$lt_sys_path" && \
    1013210523        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     
    1013410525  done
    1013510526  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
    10136 BEGIN {RS=" "; FS="/|\n";} {
    10137   lt_foo="";
    10138   lt_count=0;
     10527BEGIN {RS = " "; FS = "/|\n";} {
     10528  lt_foo = "";
     10529  lt_count = 0;
    1013910530  for (lt_i = NF; lt_i > 0; lt_i--) {
    1014010531    if ($lt_i != "" && $lt_i != ".") {
     
    1014310534      } else {
    1014410535        if (lt_count == 0) {
    10145           lt_foo="/" $lt_i lt_foo;
     10536          lt_foo = "/" $lt_i lt_foo;
    1014610537        } else {
    1014710538          lt_count--;
     
    1015710548  case $host_os in
    1015810549    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
    10159       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
     10550      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
    1016010551  esac
    1016110552  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
     
    1016610557libname_spec='lib$name'
    1016710558soname_spec=
    10168 shrext_cmds=".so"
     10559shrext_cmds=.so
    1016910560postinstall_cmds=
    1017010561postuninstall_cmds=
     
    1018310574need_version=unknown
    1018410575
     10576
     10577
    1018510578case $host_os in
    1018610579aix3*)
    1018710580  version_type=linux # correct to gnu/linux during the next big refactor
    10188   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
     10581  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
    1018910582  shlibpath_var=LIBPATH
    1019010583
    1019110584  # AIX 3 has no versioning support, so we append a major version to the name.
    10192   soname_spec='${libname}${release}${shared_ext}$major'
     10585  soname_spec='$libname$release$shared_ext$major'
    1019310586  ;;
    1019410587
     
    1019810591  need_version=no
    1019910592  hardcode_into_libs=yes
    10200   if test "$host_cpu" = ia64; then
     10593  if test ia64 = "$host_cpu"; then
    1020110594    # AIX 5 supports IA64
    10202     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
     10595    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
    1020310596    shlibpath_var=LD_LIBRARY_PATH
    1020410597  else
    1020510598    # With GCC up to 2.95.x, collect2 would create an import file
    1020610599    # for dependence libraries.  The import file would start with
    10207     # the line `#! .'.  This would cause the generated library to
    10208     # depend on `.', always an invalid library.  This was fixed in
     10600    # the line '#! .'.  This would cause the generated library to
     10601    # depend on '.', always an invalid library.  This was fixed in
    1020910602    # development snapshots of GCC prior to 3.0.
    1021010603    case $host_os in
     
    1021210605      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    1021310606           echo ' yes '
    10214            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
     10607           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
    1021510608        :
    1021610609      else
     
    1021910612      ;;
    1022010613    esac
    10221     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
     10614    # Using Import Files as archive members, it is possible to support
     10615    # filename-based versioning of shared library archives on AIX. While
     10616    # this would work for both with and without runtime linking, it will
     10617    # prevent static linking of such archives. So we do filename-based
     10618    # shared library versioning with .so extension only, which is used
     10619    # when both runtime linking and shared linking is enabled.
     10620    # Unfortunately, runtime linking may impact performance, so we do
     10621    # not want this to be the default eventually. Also, we use the
     10622    # versioned .so libs for executables only if there is the -brtl
     10623    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
     10624    # To allow for filename-based versioning support, we need to create
     10625    # libNAME.so.V as an archive file, containing:
     10626    # *) an Import File, referring to the versioned filename of the
     10627    #    archive as well as the shared archive member, telling the
     10628    #    bitwidth (32 or 64) of that shared object, and providing the
     10629    #    list of exported symbols of that shared object, eventually
     10630    #    decorated with the 'weak' keyword
     10631    # *) the shared object with the F_LOADONLY flag set, to really avoid
     10632    #    it being seen by the linker.
     10633    # At run time we better use the real file rather than another symlink,
     10634    # but for link time we create the symlink libNAME.so -> libNAME.so.V
     10635
     10636    case $with_aix_soname,$aix_use_runtimelinking in
     10637    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
    1022210638    # soname into executable. Probably we can add versioning support to
    1022310639    # collect2, so additional links can be useful in future.
    10224     if test "$aix_use_runtimelinking" = yes; then
     10640    aix,yes) # traditional libtool
     10641      dynamic_linker='AIX unversionable lib.so'
    1022510642      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    1022610643      # instead of lib<name>.a to let people know that these are not
    1022710644      # typical AIX shared libraries.
    10228       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    10229     else
     10645      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10646      ;;
     10647    aix,no) # traditional AIX only
     10648      dynamic_linker='AIX lib.a(lib.so.V)'
    1023010649      # We preserve .a as extension for shared libraries through AIX4.2
    1023110650      # and later when we are not doing run time linking.
    10232       library_names_spec='${libname}${release}.a $libname.a'
    10233       soname_spec='${libname}${release}${shared_ext}$major'
    10234     fi
     10651      library_names_spec='$libname$release.a $libname.a'
     10652      soname_spec='$libname$release$shared_ext$major'
     10653      ;;
     10654    svr4,*) # full svr4 only
     10655      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
     10656      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     10657      # We do not specify a path in Import Files, so LIBPATH fires.
     10658      shlibpath_overrides_runpath=yes
     10659      ;;
     10660    *,yes) # both, prefer svr4
     10661      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
     10662      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     10663      # unpreferred sharedlib libNAME.a needs extra handling
     10664      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"'
     10665      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"'
     10666      # We do not specify a path in Import Files, so LIBPATH fires.
     10667      shlibpath_overrides_runpath=yes
     10668      ;;
     10669    *,no) # both, prefer aix
     10670      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
     10671      library_names_spec='$libname$release.a $libname.a'
     10672      soname_spec='$libname$release$shared_ext$major'
     10673      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
     10674      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)'
     10675      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"'
     10676      ;;
     10677    esac
    1023510678    shlibpath_var=LIBPATH
    1023610679  fi
     
    1024210685    # Since July 2007 AmigaOS4 officially supports .so libraries.
    1024310686    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    10244     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     10687    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    1024510688    ;;
    1024610689  m68k)
    1024710690    library_names_spec='$libname.ixlibrary $libname.a'
    1024810691    # Create ${libname}_ixlibrary.a entries in /sys/libs.
    10249     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'
     10692    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'
    1025010693    ;;
    1025110694  esac
     
    1025310696
    1025410697beos*)
    10255   library_names_spec='${libname}${shared_ext}'
     10698  library_names_spec='$libname$shared_ext'
    1025610699  dynamic_linker="$host_os ld.so"
    1025710700  shlibpath_var=LIBRARY_PATH
     
    1026110704  version_type=linux # correct to gnu/linux during the next big refactor
    1026210705  need_version=no
    10263   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    10264   soname_spec='${libname}${release}${shared_ext}$major'
     10706  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10707  soname_spec='$libname$release$shared_ext$major'
    1026510708  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    1026610709  shlibpath_var=LD_LIBRARY_PATH
     
    1027410717cygwin* | mingw* | pw32* | cegcc*)
    1027510718  version_type=windows
    10276   shrext_cmds=".dll"
     10719  shrext_cmds=.dll
    1027710720  need_version=no
    1027810721  need_lib_prefix=no
     
    1028310726    library_names_spec='$libname.dll.a'
    1028410727    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    10285     postinstall_cmds='base_file=`basename \${file}`~
    10286       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     10728    postinstall_cmds='base_file=`basename \$file`~
     10729      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    1028710730      dldir=$destdir/`dirname \$dlpath`~
    1028810731      test -d \$dldir || mkdir -p \$dldir~
     
    1030010743    cygwin*)
    1030110744      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    10302       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
     10745      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    1030310746
    1030410747      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
     
    1030610749    mingw* | cegcc*)
    1030710750      # MinGW DLLs use traditional 'lib' prefix
    10308       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
     10751      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    1030910752      ;;
    1031010753    pw32*)
    1031110754      # pw32 DLLs use 'pw' prefix rather than 'lib'
    10312       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
     10755      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    1031310756      ;;
    1031410757    esac
     
    1031910762    # Native MSVC
    1032010763    libname_spec='$name'
    10321     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    10322     library_names_spec='${libname}.dll.lib'
     10764    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     10765    library_names_spec='$libname.dll.lib'
    1032310766
    1032410767    case $build_os in
     
    1034710790      ;;
    1034810791    *)
    10349       sys_lib_search_path_spec="$LIB"
     10792      sys_lib_search_path_spec=$LIB
    1035010793      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
    1035110794        # It is most probably a Windows format PATH.
     
    1036010803
    1036110804    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    10362     postinstall_cmds='base_file=`basename \${file}`~
    10363       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     10805    postinstall_cmds='base_file=`basename \$file`~
     10806      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    1036410807      dldir=$destdir/`dirname \$dlpath`~
    1036510808      test -d \$dldir || mkdir -p \$dldir~
     
    1037410817  *)
    1037510818    # Assume MSVC wrapper
    10376     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
     10819    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
    1037710820    dynamic_linker='Win32 ld.exe'
    1037810821    ;;
     
    1038710830  need_lib_prefix=no
    1038810831  need_version=no
    10389   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    10390   soname_spec='${libname}${release}${major}$shared_ext'
     10832  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
     10833  soname_spec='$libname$release$major$shared_ext'
    1039110834  shlibpath_overrides_runpath=yes
    1039210835  shlibpath_var=DYLD_LIBRARY_PATH
     
    1040110844  need_lib_prefix=no
    1040210845  need_version=no
    10403   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
    10404   soname_spec='${libname}${release}${shared_ext}$major'
     10846  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10847  soname_spec='$libname$release$shared_ext$major'
    1040510848  shlibpath_var=LD_LIBRARY_PATH
    1040610849  ;;
     
    1042010863  case $version_type in
    1042110864    freebsd-elf*)
    10422       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
     10865      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10866      soname_spec='$libname$release$shared_ext$major'
    1042310867      need_version=no
    1042410868      need_lib_prefix=no
    1042510869      ;;
    1042610870    freebsd-*)
    10427       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
     10871      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    1042810872      need_version=yes
    1042910873      ;;
     
    1045010894  ;;
    1045110895
    10452 gnu*)
    10453   version_type=linux # correct to gnu/linux during the next big refactor
    10454   need_lib_prefix=no
    10455   need_version=no
    10456   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    10457   soname_spec='${libname}${release}${shared_ext}$major'
    10458   shlibpath_var=LD_LIBRARY_PATH
    10459   shlibpath_overrides_runpath=no
    10460   hardcode_into_libs=yes
    10461   ;;
    10462 
    1046310896haiku*)
    1046410897  version_type=linux # correct to gnu/linux during the next big refactor
     
    1046610899  need_version=no
    1046710900  dynamic_linker="$host_os runtime_loader"
    10468   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    10469   soname_spec='${libname}${release}${shared_ext}$major'
     10901  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10902  soname_spec='$libname$release$shared_ext$major'
    1047010903  shlibpath_var=LIBRARY_PATH
    10471   shlibpath_overrides_runpath=yes
     10904  shlibpath_overrides_runpath=no
    1047210905  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    1047310906  hardcode_into_libs=yes
     
    1048710920    shlibpath_var=LD_LIBRARY_PATH
    1048810921    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    10489     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    10490     soname_spec='${libname}${release}${shared_ext}$major'
    10491     if test "X$HPUX_IA64_MODE" = X32; then
     10922    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10923    soname_spec='$libname$release$shared_ext$major'
     10924    if test 32 = "$HPUX_IA64_MODE"; then
    1049210925      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
     10926      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    1049310927    else
    1049410928      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
     10929      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    1049510930    fi
    10496     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    1049710931    ;;
    1049810932  hppa*64*)
     
    1050210936    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    1050310937    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    10504     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    10505     soname_spec='${libname}${release}${shared_ext}$major'
     10938    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10939    soname_spec='$libname$release$shared_ext$major'
    1050610940    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    1050710941    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     
    1051210946    shlibpath_var=SHLIB_PATH
    1051310947    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    10514     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    10515     soname_spec='${libname}${release}${shared_ext}$major'
     10948    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10949    soname_spec='$libname$release$shared_ext$major'
    1051610950    ;;
    1051710951  esac
     
    1052610960  need_lib_prefix=no
    1052710961  need_version=no
    10528   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    10529   soname_spec='${libname}${release}${shared_ext}$major'
     10962  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10963  soname_spec='$libname$release$shared_ext$major'
    1053010964  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    1053110965  shlibpath_var=LD_LIBRARY_PATH
     
    1053810972    nonstopux*) version_type=nonstopux ;;
    1053910973    *)
    10540         if test "$lt_cv_prog_gnu_ld" = yes; then
     10974        if test yes = "$lt_cv_prog_gnu_ld"; then
    1054110975                version_type=linux # correct to gnu/linux during the next big refactor
    1054210976        else
     
    1054610980  need_lib_prefix=no
    1054710981  need_version=no
    10548   soname_spec='${libname}${release}${shared_ext}$major'
    10549   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
     10982  soname_spec='$libname$release$shared_ext$major'
     10983  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
    1055010984  case $host_os in
    1055110985  irix5* | nonstopux*)
     
    1056611000  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    1056711001  shlibpath_overrides_runpath=no
    10568   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
    10569   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
     11002  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
     11003  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
    1057011004  hardcode_into_libs=yes
    1057111005  ;;
     
    1057611010  ;;
    1057711011
     11012linux*android*)
     11013  version_type=none # Android doesn't support versioned libraries.
     11014  need_lib_prefix=no
     11015  need_version=no
     11016  library_names_spec='$libname$release$shared_ext'
     11017  soname_spec='$libname$release$shared_ext'
     11018  finish_cmds=
     11019  shlibpath_var=LD_LIBRARY_PATH
     11020  shlibpath_overrides_runpath=yes
     11021
     11022  # This implies no fast_install, which is unacceptable.
     11023  # Some rework will be needed to allow for fast_install
     11024  # before this can be enabled.
     11025  hardcode_into_libs=yes
     11026
     11027  dynamic_linker='Android linker'
     11028  # Don't embed -rpath directories since the linker doesn't support them.
     11029  hardcode_libdir_flag_spec='-L$libdir'
     11030  ;;
     11031
    1057811032# This must be glibc/ELF.
    10579 linux* | k*bsd*-gnu | kopensolaris*-gnu)
     11033linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    1058011034  version_type=linux # correct to gnu/linux during the next big refactor
    1058111035  need_lib_prefix=no
    1058211036  need_version=no
    10583   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    10584   soname_spec='${libname}${release}${shared_ext}$major'
     11037  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11038  soname_spec='$libname$release$shared_ext$major'
    1058511039  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    1058611040  shlibpath_var=LD_LIBRARY_PATH
     
    1062611080  hardcode_into_libs=yes
    1062711081
    10628   # Append ld.so.conf contents to the search path
     11082  # Ideally, we could use ldconfig to report *all* directores which are
     11083  # searched for libraries, however this is still not possible.  Aside from not
     11084  # being certain /sbin/ldconfig is available, command
     11085  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
     11086  # even though it is searched at run-time.  Try to do the best guess by
     11087  # appending ld.so.conf contents (and includes) to the search path.
    1062911088  if test -f /etc/ld.so.conf; then
    1063011089    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' ' '`
     
    1064611105  need_version=no
    1064711106  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    10648     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     11107    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    1064911108    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    1065011109    dynamic_linker='NetBSD (a.out) ld.so'
    1065111110  else
    10652     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    10653     soname_spec='${libname}${release}${shared_ext}$major'
     11111    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11112    soname_spec='$libname$release$shared_ext$major'
    1065411113    dynamic_linker='NetBSD ld.elf_so'
    1065511114  fi
     
    1066111120newsos6)
    1066211121  version_type=linux # correct to gnu/linux during the next big refactor
    10663   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     11122  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    1066411123  shlibpath_var=LD_LIBRARY_PATH
    1066511124  shlibpath_overrides_runpath=yes
     
    1067011129  need_lib_prefix=no
    1067111130  need_version=no
    10672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    10673   soname_spec='${libname}${release}${shared_ext}$major'
     11131  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11132  soname_spec='$libname$release$shared_ext$major'
    1067411133  shlibpath_var=LD_LIBRARY_PATH
    1067511134  shlibpath_overrides_runpath=no
     
    1067811137  ;;
    1067911138
    10680 openbsd*)
     11139openbsd* | bitrig*)
    1068111140  version_type=sunos
    10682   sys_lib_dlsearch_path_spec="/usr/lib"
     11141  sys_lib_dlsearch_path_spec=/usr/lib
    1068311142  need_lib_prefix=no
    10684   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
    10685   case $host_os in
    10686     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
    10687     *)                          need_version=no  ;;
    10688   esac
    10689   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     11143  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     11144    need_version=no
     11145  else
     11146    need_version=yes
     11147  fi
     11148  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    1069011149  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    1069111150  shlibpath_var=LD_LIBRARY_PATH
    10692   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    10693     case $host_os in
    10694       openbsd2.[89] | openbsd2.[89].*)
    10695         shlibpath_overrides_runpath=no
    10696         ;;
    10697       *)
    10698         shlibpath_overrides_runpath=yes
    10699         ;;
    10700       esac
    10701   else
    10702     shlibpath_overrides_runpath=yes
    10703   fi
     11151  shlibpath_overrides_runpath=yes
    1070411152  ;;
    1070511153
    1070611154os2*)
    1070711155  libname_spec='$name'
    10708   shrext_cmds=".dll"
     11156  version_type=windows
     11157  shrext_cmds=.dll
     11158  need_version=no
    1070911159  need_lib_prefix=no
    10710   library_names_spec='$libname${shared_ext} $libname.a'
     11160  # OS/2 can only load a DLL with a base name of 8 characters or less.
     11161  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
     11162    v=$($ECHO $release$versuffix | tr -d .-);
     11163    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
     11164    $ECHO $n$v`$shared_ext'
     11165  library_names_spec='${libname}_dll.$libext'
    1071111166  dynamic_linker='OS/2 ld.exe'
    10712   shlibpath_var=LIBPATH
     11167  shlibpath_var=BEGINLIBPATH
     11168  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     11169  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     11170  postinstall_cmds='base_file=`basename \$file`~
     11171    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
     11172    dldir=$destdir/`dirname \$dlpath`~
     11173    test -d \$dldir || mkdir -p \$dldir~
     11174    $install_prog $dir/$dlname \$dldir/$dlname~
     11175    chmod a+x \$dldir/$dlname~
     11176    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     11177      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     11178    fi'
     11179  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
     11180    dlpath=$dir/\$dldll~
     11181    $RM \$dlpath'
    1071311182  ;;
    1071411183
     
    1071711186  need_lib_prefix=no
    1071811187  need_version=no
    10719   soname_spec='${libname}${release}${shared_ext}$major'
    10720   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     11188  soname_spec='$libname$release$shared_ext$major'
     11189  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    1072111190  shlibpath_var=LD_LIBRARY_PATH
    1072211191  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    10723   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
     11192  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    1072411193  ;;
    1072511194
     
    1073211201  need_lib_prefix=no
    1073311202  need_version=no
    10734   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    10735   soname_spec='${libname}${release}${shared_ext}$major'
     11203  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11204  soname_spec='$libname$release$shared_ext$major'
    1073611205  shlibpath_var=LD_LIBRARY_PATH
    1073711206  shlibpath_overrides_runpath=yes
     
    1074311212sunos4*)
    1074411213  version_type=sunos
    10745   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     11214  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    1074611215  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    1074711216  shlibpath_var=LD_LIBRARY_PATH
    1074811217  shlibpath_overrides_runpath=yes
    10749   if test "$with_gnu_ld" = yes; then
     11218  if test yes = "$with_gnu_ld"; then
    1075011219    need_lib_prefix=no
    1075111220  fi
     
    1075511224sysv4 | sysv4.3*)
    1075611225  version_type=linux # correct to gnu/linux during the next big refactor
    10757   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    10758   soname_spec='${libname}${release}${shared_ext}$major'
     11226  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11227  soname_spec='$libname$release$shared_ext$major'
    1075911228  shlibpath_var=LD_LIBRARY_PATH
    1076011229  case $host_vendor in
     
    1077711246
    1077811247sysv4*MP*)
    10779   if test -d /usr/nec ;then
     11248  if test -d /usr/nec; then
    1078011249    version_type=linux # correct to gnu/linux during the next big refactor
    10781     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    10782     soname_spec='$libname${shared_ext}.$major'
     11250    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
     11251    soname_spec='$libname$shared_ext.$major'
    1078311252    shlibpath_var=LD_LIBRARY_PATH
    1078411253  fi
     
    1078611255
    1078711256sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    10788   version_type=freebsd-elf
     11257  version_type=sco
    1078911258  need_lib_prefix=no
    1079011259  need_version=no
    10791   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
    10792   soname_spec='${libname}${release}${shared_ext}$major'
     11260  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
     11261  soname_spec='$libname$release$shared_ext$major'
    1079311262  shlibpath_var=LD_LIBRARY_PATH
    1079411263  shlibpath_overrides_runpath=yes
    1079511264  hardcode_into_libs=yes
    10796   if test "$with_gnu_ld" = yes; then
     11265  if test yes = "$with_gnu_ld"; then
    1079711266    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    1079811267  else
     
    1081211281  need_lib_prefix=no
    1081311282  need_version=no
    10814   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     11283  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    1081511284  shlibpath_var=LD_LIBRARY_PATH
    1081611285  shlibpath_overrides_runpath=no
     
    1082011289uts4*)
    1082111290  version_type=linux # correct to gnu/linux during the next big refactor
    10822   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    10823   soname_spec='${libname}${release}${shared_ext}$major'
     11291  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11292  soname_spec='$libname$release$shared_ext$major'
    1082411293  shlibpath_var=LD_LIBRARY_PATH
    1082511294  ;;
     
    1083111300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
    1083211301$as_echo "$dynamic_linker" >&6; }
    10833 test "$dynamic_linker" = no && can_build_shared=no
     11302test no = "$dynamic_linker" && can_build_shared=no
    1083411303
    1083511304variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    10836 if test "$GCC" = yes; then
     11305if test yes = "$GCC"; then
    1083711306  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    1083811307fi
    1083911308
    10840 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
    10841   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
    10842 fi
    10843 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
    10844   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
    10845 fi
     11309if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
     11310  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
     11311fi
     11312
     11313if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
     11314  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
     11315fi
     11316
     11317# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
     11318configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
     11319
     11320# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
     11321func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
     11322
     11323# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
     11324configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
     11325
     11326
     11327
     11328
     11329
    1084611330
    1084711331
     
    1094111425if test -n "$hardcode_libdir_flag_spec" ||
    1094211426   test -n "$runpath_var" ||
    10943    test "X$hardcode_automatic" = "Xyes" ; then
     11427   test yes = "$hardcode_automatic"; then
    1094411428
    1094511429  # We can hardcode non-existent directories.
    10946   if test "$hardcode_direct" != no &&
     11430  if test no != "$hardcode_direct" &&
    1094711431     # If the only mechanism to avoid hardcoding is shlibpath_var, we
    1094811432     # have to relink, otherwise we might link with an installed library
    1094911433     # when we should be linking with a yet-to-be-installed one
    10950      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
    10951      test "$hardcode_minus_L" != no; then
     11434     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
     11435     test no != "$hardcode_minus_L"; then
    1095211436    # Linking always hardcodes the temporary library directory.
    1095311437    hardcode_action=relink
     
    1096411448$as_echo "$hardcode_action" >&6; }
    1096511449
    10966 if test "$hardcode_action" = relink ||
    10967    test "$inherit_rpath" = yes; then
     11450if test relink = "$hardcode_action" ||
     11451   test yes = "$inherit_rpath"; then
    1096811452  # Fast installation is not supported
    1096911453  enable_fast_install=no
    10970 elif test "$shlibpath_overrides_runpath" = yes ||
    10971      test "$enable_shared" = no; then
     11454elif test yes = "$shlibpath_overrides_runpath" ||
     11455     test no = "$enable_shared"; then
    1097211456  # Fast installation is not necessary
    1097311457  enable_fast_install=needless
     
    1097911463
    1098011464
    10981   if test "x$enable_dlopen" != xyes; then
     11465  if test yes != "$enable_dlopen"; then
    1098211466  enable_dlopen=unknown
    1098311467  enable_dlopen_self=unknown
     
    1098911473  case $host_os in
    1099011474  beos*)
    10991     lt_cv_dlopen="load_add_on"
     11475    lt_cv_dlopen=load_add_on
    1099211476    lt_cv_dlopen_libs=
    1099311477    lt_cv_dlopen_self=yes
     
    1099511479
    1099611480  mingw* | pw32* | cegcc*)
    10997     lt_cv_dlopen="LoadLibrary"
     11481    lt_cv_dlopen=LoadLibrary
    1099811482    lt_cv_dlopen_libs=
    1099911483    ;;
    1100011484
    1100111485  cygwin*)
    11002     lt_cv_dlopen="dlopen"
     11486    lt_cv_dlopen=dlopen
    1100311487    lt_cv_dlopen_libs=
    1100411488    ;;
    1100511489
    1100611490  darwin*)
    11007   # if libdl is installed we need to link against it
     11491    # if libdl is installed we need to link against it
    1100811492    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    1100911493$as_echo_n "checking for dlopen in -ldl... " >&6; }
     
    1104311527$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    1104411528if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    11045   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
    11046 else
    11047 
    11048     lt_cv_dlopen="dyld"
     11529  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
     11530else
     11531
     11532    lt_cv_dlopen=dyld
    1104911533    lt_cv_dlopen_libs=
    1105011534    lt_cv_dlopen_self=yes
     
    1105211536fi
    1105311537
     11538    ;;
     11539
     11540  tpf*)
     11541    # Don't try to run any link tests for TPF.  We know it's impossible
     11542    # because TPF is a cross-compiler, and we know how we open DSOs.
     11543    lt_cv_dlopen=dlopen
     11544    lt_cv_dlopen_libs=
     11545    lt_cv_dlopen_self=no
    1105411546    ;;
    1105511547
     
    1105711549    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
    1105811550if test "x$ac_cv_func_shl_load" = xyes; then :
    11059   lt_cv_dlopen="shl_load"
     11551  lt_cv_dlopen=shl_load
    1106011552else
    1106111553  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     
    1109611588$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    1109711589if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    11098   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
     11590  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
    1109911591else
    1110011592  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
    1110111593if test "x$ac_cv_func_dlopen" = xyes; then :
    11102   lt_cv_dlopen="dlopen"
     11594  lt_cv_dlopen=dlopen
    1110311595else
    1110411596  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     
    1113911631$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    1114011632if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    11141   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
     11633  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
    1114211634else
    1114311635  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
     
    1117811670$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
    1117911671if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
    11180   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
     11672  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
    1118111673else
    1118211674  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
     
    1121711709$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
    1121811710if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
    11219   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
     11711  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
    1122011712fi
    1122111713
     
    1123811730  esac
    1123911731
    11240   if test "x$lt_cv_dlopen" != xno; then
     11732  if test no = "$lt_cv_dlopen"; then
     11733    enable_dlopen=no
     11734  else
    1124111735    enable_dlopen=yes
    11242   else
    11243     enable_dlopen=no
    1124411736  fi
    1124511737
    1124611738  case $lt_cv_dlopen in
    1124711739  dlopen)
    11248     save_CPPFLAGS="$CPPFLAGS"
    11249     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    11250 
    11251     save_LDFLAGS="$LDFLAGS"
     11740    save_CPPFLAGS=$CPPFLAGS
     11741    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
     11742
     11743    save_LDFLAGS=$LDFLAGS
    1125211744    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
    1125311745
    11254     save_LIBS="$LIBS"
     11746    save_LIBS=$LIBS
    1125511747    LIBS="$lt_cv_dlopen_libs $LIBS"
    1125611748
     
    1126011752  $as_echo_n "(cached) " >&6
    1126111753else
    11262           if test "$cross_compiling" = yes; then :
     11754          if test yes = "$cross_compiling"; then :
    1126311755  lt_cv_dlopen_self=cross
    1126411756else
     
    1130711799#endif
    1130811800
    11309 /* When -fvisbility=hidden is used, assume the code has been annotated
     11801/* When -fvisibility=hidden is used, assume the code has been annotated
    1131011802   correspondingly for the symbols needed.  */
    11311 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     11803#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    1131211804int fnord () __attribute__((visibility("default")));
    1131311805#endif
     
    1133911831  ac_status=$?
    1134011832  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    11341   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
     11833  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
    1134211834    (./conftest; exit; ) >&5 2>/dev/null
    1134311835    lt_status=$?
     
    1135911851$as_echo "$lt_cv_dlopen_self" >&6; }
    1136011852
    11361     if test "x$lt_cv_dlopen_self" = xyes; then
     11853    if test yes = "$lt_cv_dlopen_self"; then
    1136211854      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
    1136311855      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
     
    1136611858  $as_echo_n "(cached) " >&6
    1136711859else
    11368           if test "$cross_compiling" = yes; then :
     11860          if test yes = "$cross_compiling"; then :
    1136911861  lt_cv_dlopen_self_static=cross
    1137011862else
     
    1141311905#endif
    1141411906
    11415 /* When -fvisbility=hidden is used, assume the code has been annotated
     11907/* When -fvisibility=hidden is used, assume the code has been annotated
    1141611908   correspondingly for the symbols needed.  */
    11417 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     11909#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    1141811910int fnord () __attribute__((visibility("default")));
    1141911911#endif
     
    1144511937  ac_status=$?
    1144611938  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    11447   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
     11939  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
    1144811940    (./conftest; exit; ) >&5 2>/dev/null
    1144911941    lt_status=$?
     
    1146611958    fi
    1146711959
    11468     CPPFLAGS="$save_CPPFLAGS"
    11469     LDFLAGS="$save_LDFLAGS"
    11470     LIBS="$save_LIBS"
     11960    CPPFLAGS=$save_CPPFLAGS
     11961    LDFLAGS=$save_LDFLAGS
     11962    LIBS=$save_LIBS
    1147111963    ;;
    1147211964  esac
     
    1151212004  case $host_os in
    1151312005  darwin*)
    11514     if test -n "$STRIP" ; then
     12006    if test -n "$STRIP"; then
    1151512007      striplib="$STRIP -x"
    1151612008      old_striplib="$STRIP -S"
     
    1154012032
    1154112033
    11542   # Report which library types will actually be built
     12034  # Report what library types will actually be built
    1154312035  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
    1154412036$as_echo_n "checking if libtool supports shared libraries... " >&6; }
     
    1154812040  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
    1154912041$as_echo_n "checking whether to build shared libraries... " >&6; }
    11550   test "$can_build_shared" = "no" && enable_shared=no
     12042  test no = "$can_build_shared" && enable_shared=no
    1155112043
    1155212044  # On AIX, shared libraries and static libraries use the same namespace, and
     
    1155412046  case $host_os in
    1155512047  aix3*)
    11556     test "$enable_shared" = yes && enable_static=no
     12048    test yes = "$enable_shared" && enable_static=no
    1155712049    if test -n "$RANLIB"; then
    1155812050      archive_cmds="$archive_cmds~\$RANLIB \$lib"
     
    1156212054
    1156312055  aix[4-9]*)
    11564     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    11565       test "$enable_shared" = yes && enable_static=no
     12056    if test ia64 != "$host_cpu"; then
     12057      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
     12058      yes,aix,yes) ;;                   # shared object as lib.so file only
     12059      yes,svr4,*) ;;                    # shared object as lib.so archive member only
     12060      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
     12061      esac
    1156612062    fi
    1156712063    ;;
     
    1157312069$as_echo_n "checking whether to build static libraries... " >&6; }
    1157412070  # Make sure either enable_shared or enable_static is yes.
    11575   test "$enable_shared" = yes || enable_static=yes
     12071  test yes = "$enable_shared" || enable_static=yes
    1157612072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
    1157712073$as_echo "$enable_static" >&6; }
     
    1158712083ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1158812084
    11589 CC="$lt_save_CC"
     12085CC=$lt_save_CC
    1159012086
    1159112087
     
    1356014056pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
    1356114057enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
     14058shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
    1356214059SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
    1356314060ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
     
    1360914106lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
    1361014107lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
     14108lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
    1361114109lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
    1361214110lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
     14111lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
    1361314112nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
    1361414113lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
     14114lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
    1361514115objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
    1361614116MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
     
    1367714177hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
    1367814178sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
    13679 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
     14179configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
     14180configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
    1368014181hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
    1368114182enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
     
    1372814229lt_cv_sys_global_symbol_pipe \
    1372914230lt_cv_sys_global_symbol_to_cdecl \
     14231lt_cv_sys_global_symbol_to_import \
    1373014232lt_cv_sys_global_symbol_to_c_name_address \
    1373114233lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
     14234lt_cv_nm_interface \
    1373214235nm_file_list_spec \
     14236lt_cv_truncate_bin \
    1373314237lt_prog_compiler_no_builtin_flag \
    1373414238lt_prog_compiler_pic \
     
    1376514269    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    1376614270    *[\\\\\\\`\\"\\\$]*)
    13767       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
     14271      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    1376814272      ;;
    1376914273    *)
     
    1379214296finish_cmds \
    1379314297sys_lib_search_path_spec \
    13794 sys_lib_dlsearch_path_spec; do
     14298configure_time_dlsearch_path \
     14299configure_time_lt_sys_library_path; do
    1379514300    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    1379614301    *[\\\\\\\`\\"\\\$]*)
    13797       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
     14302      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    1379814303      ;;
    1379914304    *)
     
    1380414309
    1380514310ac_aux_dir='$ac_aux_dir'
    13806 xsi_shell='$xsi_shell'
    13807 lt_shell_append='$lt_shell_append'
    13808 
    13809 # See if we are running on zsh, and set the options which allow our
     14311
     14312# See if we are running on zsh, and set the options that allow our
    1381014313# commands through without removal of \ escapes INIT.
    13811 if test -n "\${ZSH_VERSION+set}" ; then
     14314if test -n "\${ZSH_VERSION+set}"; then
    1381214315   setopt NO_GLOB_SUBST
    1381314316fi
     
    1381614319    PACKAGE='$PACKAGE'
    1381714320    VERSION='$VERSION'
    13818     TIMESTAMP='$TIMESTAMP'
    1381914321    RM='$RM'
    1382014322    ofile='$ofile'
     
    1452615028    "libtool":C)
    1452715029
    14528     # See if we are running on zsh, and set the options which allow our
     15030    # See if we are running on zsh, and set the options that allow our
    1452915031    # commands through without removal of \ escapes.
    14530     if test -n "${ZSH_VERSION+set}" ; then
     15032    if test -n "${ZSH_VERSION+set}"; then
    1453115033      setopt NO_GLOB_SUBST
    1453215034    fi
    1453315035
    14534     cfgfile="${ofile}T"
     15036    cfgfile=${ofile}T
    1453515037    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
    1453615038    $RM "$cfgfile"
     
    1453815040    cat <<_LT_EOF >> "$cfgfile"
    1453915041#! $SHELL
    14540 
    14541 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
    14542 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
     15042# Generated automatically by $as_me ($PACKAGE) $VERSION
    1454315043# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    1454415044# NOTE: Changes made to this file will be lost: look at ltmain.sh.
     15045
     15046# Provide generalized library-building support services.
     15047# Written by Gordon Matzigkeit, 1996
     15048
     15049# Copyright (C) 2014 Free Software Foundation, Inc.
     15050# This is free software; see the source for copying conditions.  There is NO
     15051# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     15052
     15053# GNU Libtool is free software; you can redistribute it and/or modify
     15054# it under the terms of the GNU General Public License as published by
     15055# the Free Software Foundation; either version 2 of of the License, or
     15056# (at your option) any later version.
    1454515057#
    14546 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
    14547 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
    14548 #                 Foundation, Inc.
    14549 #   Written by Gordon Matzigkeit, 1996
     15058# As a special exception to the GNU General Public License, if you
     15059# distribute this file as part of a program or library that is built
     15060# using GNU Libtool, you may include this file under the  same
     15061# distribution terms that you use for the rest of that program.
    1455015062#
    14551 #   This file is part of GNU Libtool.
    14552 #
    14553 # GNU Libtool is free software; you can redistribute it and/or
    14554 # modify it under the terms of the GNU General Public License as
    14555 # published by the Free Software Foundation; either version 2 of
    14556 # the License, or (at your option) any later version.
    14557 #
    14558 # As a special exception to the GNU General Public License,
    14559 # if you distribute this file as part of a program or library that
    14560 # is built using GNU Libtool, you may include this file under the
    14561 # same distribution terms that you use for the rest of that program.
    14562 #
    14563 # GNU Libtool is distributed in the hope that it will be useful,
    14564 # but WITHOUT ANY WARRANTY; without even the implied warranty of
     15063# GNU Libtool is distributed in the hope that it will be useful, but
     15064# WITHOUT ANY WARRANTY; without even the implied warranty of
    1456515065# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1456615066# GNU General Public License for more details.
    1456715067#
    1456815068# You should have received a copy of the GNU General Public License
    14569 # along with GNU Libtool; see the file COPYING.  If not, a copy
    14570 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
    14571 # obtained by writing to the Free Software Foundation, Inc.,
    14572 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
     15069# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    1457315070
    1457415071
    1457515072# The names of the tagged configurations supported by this script.
    14576 available_tags=""
     15073available_tags=''
     15074
     15075# Configured defaults for sys_lib_dlsearch_path munging.
     15076: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
    1457715077
    1457815078# ### BEGIN LIBTOOL CONFIG
     
    1459315093# Whether or not to optimize for fast installation.
    1459415094fast_install=$enable_fast_install
     15095
     15096# Shared archive member basename,for filename based shared library versioning on AIX.
     15097shared_archive_member_spec=$shared_archive_member_spec
    1459515098
    1459615099# Shell to use when invoking shell scripts.
     
    1471115214global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    1471215215
     15216# Transform the output of nm into a list of symbols to manually relocate.
     15217global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
     15218
    1471315219# Transform the output of nm in a C name address pair.
    1471415220global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
     
    1471715223global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
    1471815224
     15225# The name lister interface.
     15226nm_interface=$lt_lt_cv_nm_interface
     15227
    1471915228# Specify filename containing input files for \$NM.
    1472015229nm_file_list_spec=$lt_nm_file_list_spec
    1472115230
    14722 # The root where to search for dependent libraries,and in which our libraries should be installed.
     15231# The root where to search for dependent libraries,and where our libraries should be installed.
    1472315232lt_sysroot=$lt_sysroot
     15233
     15234# Command to truncate a binary pipe.
     15235lt_truncate_bin=$lt_lt_cv_truncate_bin
    1472415236
    1472515237# The name of the directory that contains temporary libtool files.
     
    1481315325sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    1481415326
    14815 # Run-time system search path for libraries.
    14816 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
     15327# Detected run-time system search path for libraries.
     15328sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
     15329
     15330# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
     15331configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
    1481715332
    1481815333# Whether dlopen is supported.
     
    1490715422hardcode_libdir_separator=$lt_hardcode_libdir_separator
    1490815423
    14909 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
     15424# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    1491015425# DIR into the resulting binary.
    1491115426hardcode_direct=$hardcode_direct
    1491215427
    14913 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
     15428# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    1491415429# DIR into the resulting binary and the resulting library dependency is
    14915 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
     15430# "absolute",i.e impossible to change by setting \$shlibpath_var if the
    1491615431# library is relocated.
    1491715432hardcode_direct_absolute=$hardcode_direct_absolute
     
    1496215477
    1496315478# ### END LIBTOOL CONFIG
     15479
     15480_LT_EOF
     15481
     15482    cat <<'_LT_EOF' >> "$cfgfile"
     15483
     15484# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
     15485
     15486# func_munge_path_list VARIABLE PATH
     15487# -----------------------------------
     15488# VARIABLE is name of variable containing _space_ separated list of
     15489# directories to be munged by the contents of PATH, which is string
     15490# having a format:
     15491# "DIR[:DIR]:"
     15492#       string "DIR[ DIR]" will be prepended to VARIABLE
     15493# ":DIR[:DIR]"
     15494#       string "DIR[ DIR]" will be appended to VARIABLE
     15495# "DIRP[:DIRP]::[DIRA:]DIRA"
     15496#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     15497#       "DIRA[ DIRA]" will be appended to VARIABLE
     15498# "DIR[:DIR]"
     15499#       VARIABLE will be replaced by "DIR[ DIR]"
     15500func_munge_path_list ()
     15501{
     15502    case x$2 in
     15503    x)
     15504        ;;
     15505    *:)
     15506        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
     15507        ;;
     15508    x:*)
     15509        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
     15510        ;;
     15511    *::*)
     15512        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     15513        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
     15514        ;;
     15515    *)
     15516        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
     15517        ;;
     15518    esac
     15519}
     15520
     15521
     15522# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     15523func_cc_basename ()
     15524{
     15525    for cc_temp in $*""; do
     15526      case $cc_temp in
     15527        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     15528        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     15529        \-*) ;;
     15530        *) break;;
     15531      esac
     15532    done
     15533    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     15534}
     15535
     15536
     15537# ### END FUNCTIONS SHARED WITH CONFIGURE
    1496415538
    1496515539_LT_EOF
     
    1497115545# reason, if we set the COLLECT_NAMES environment variable, the problems
    1497215546# vanish in a puff of smoke.
    14973 if test "X${COLLECT_NAMES+set}" != Xset; then
     15547if test set != "${COLLECT_NAMES+set}"; then
    1497415548  COLLECT_NAMES=
    1497515549  export COLLECT_NAMES
     
    1498015554
    1498115555
    14982 ltmain="$ac_aux_dir/ltmain.sh"
     15556ltmain=$ac_aux_dir/ltmain.sh
    1498315557
    1498415558
     
    1498915563  sed '$q' "$ltmain" >> "$cfgfile" \
    1499015564     || (rm -f "$cfgfile"; exit 1)
    14991 
    14992   if test x"$xsi_shell" = xyes; then
    14993   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
    14994 func_dirname ()\
    14995 {\
    14996 \    case ${1} in\
    14997 \      */*) func_dirname_result="${1%/*}${2}" ;;\
    14998 \      *  ) func_dirname_result="${3}" ;;\
    14999 \    esac\
    15000 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
    15001   && mv -f "$cfgfile.tmp" "$cfgfile" \
    15002     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15003 test 0 -eq $? || _lt_function_replace_fail=:
    15004 
    15005 
    15006   sed -e '/^func_basename ()$/,/^} # func_basename /c\
    15007 func_basename ()\
    15008 {\
    15009 \    func_basename_result="${1##*/}"\
    15010 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
    15011   && mv -f "$cfgfile.tmp" "$cfgfile" \
    15012     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15013 test 0 -eq $? || _lt_function_replace_fail=:
    15014 
    15015 
    15016   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
    15017 func_dirname_and_basename ()\
    15018 {\
    15019 \    case ${1} in\
    15020 \      */*) func_dirname_result="${1%/*}${2}" ;;\
    15021 \      *  ) func_dirname_result="${3}" ;;\
    15022 \    esac\
    15023 \    func_basename_result="${1##*/}"\
    15024 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
    15025   && mv -f "$cfgfile.tmp" "$cfgfile" \
    15026     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15027 test 0 -eq $? || _lt_function_replace_fail=:
    15028 
    15029 
    15030   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
    15031 func_stripname ()\
    15032 {\
    15033 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
    15034 \    # positional parameters, so assign one to ordinary parameter first.\
    15035 \    func_stripname_result=${3}\
    15036 \    func_stripname_result=${func_stripname_result#"${1}"}\
    15037 \    func_stripname_result=${func_stripname_result%"${2}"}\
    15038 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
    15039   && mv -f "$cfgfile.tmp" "$cfgfile" \
    15040     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15041 test 0 -eq $? || _lt_function_replace_fail=:
    15042 
    15043 
    15044   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
    15045 func_split_long_opt ()\
    15046 {\
    15047 \    func_split_long_opt_name=${1%%=*}\
    15048 \    func_split_long_opt_arg=${1#*=}\
    15049 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
    15050   && mv -f "$cfgfile.tmp" "$cfgfile" \
    15051     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15052 test 0 -eq $? || _lt_function_replace_fail=:
    15053 
    15054 
    15055   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
    15056 func_split_short_opt ()\
    15057 {\
    15058 \    func_split_short_opt_arg=${1#??}\
    15059 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
    15060 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
    15061   && mv -f "$cfgfile.tmp" "$cfgfile" \
    15062     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15063 test 0 -eq $? || _lt_function_replace_fail=:
    15064 
    15065 
    15066   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
    15067 func_lo2o ()\
    15068 {\
    15069 \    case ${1} in\
    15070 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
    15071 \      *)    func_lo2o_result=${1} ;;\
    15072 \    esac\
    15073 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
    15074   && mv -f "$cfgfile.tmp" "$cfgfile" \
    15075     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15076 test 0 -eq $? || _lt_function_replace_fail=:
    15077 
    15078 
    15079   sed -e '/^func_xform ()$/,/^} # func_xform /c\
    15080 func_xform ()\
    15081 {\
    15082     func_xform_result=${1%.*}.lo\
    15083 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
    15084   && mv -f "$cfgfile.tmp" "$cfgfile" \
    15085     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15086 test 0 -eq $? || _lt_function_replace_fail=:
    15087 
    15088 
    15089   sed -e '/^func_arith ()$/,/^} # func_arith /c\
    15090 func_arith ()\
    15091 {\
    15092     func_arith_result=$(( $* ))\
    15093 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
    15094   && mv -f "$cfgfile.tmp" "$cfgfile" \
    15095     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15096 test 0 -eq $? || _lt_function_replace_fail=:
    15097 
    15098 
    15099   sed -e '/^func_len ()$/,/^} # func_len /c\
    15100 func_len ()\
    15101 {\
    15102     func_len_result=${#1}\
    15103 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
    15104   && mv -f "$cfgfile.tmp" "$cfgfile" \
    15105     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15106 test 0 -eq $? || _lt_function_replace_fail=:
    15107 
    15108 fi
    15109 
    15110 if test x"$lt_shell_append" = xyes; then
    15111   sed -e '/^func_append ()$/,/^} # func_append /c\
    15112 func_append ()\
    15113 {\
    15114     eval "${1}+=\\${2}"\
    15115 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
    15116   && mv -f "$cfgfile.tmp" "$cfgfile" \
    15117     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15118 test 0 -eq $? || _lt_function_replace_fail=:
    15119 
    15120 
    15121   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
    15122 func_append_quoted ()\
    15123 {\
    15124 \    func_quote_for_eval "${2}"\
    15125 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
    15126 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
    15127   && mv -f "$cfgfile.tmp" "$cfgfile" \
    15128     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15129 test 0 -eq $? || _lt_function_replace_fail=:
    15130 
    15131 
    15132   # Save a `func_append' function call where possible by direct use of '+='
    15133   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
    15134     && mv -f "$cfgfile.tmp" "$cfgfile" \
    15135       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15136   test 0 -eq $? || _lt_function_replace_fail=:
    15137 else
    15138   # Save a `func_append' function call even when '+=' is not available
    15139   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
    15140     && mv -f "$cfgfile.tmp" "$cfgfile" \
    15141       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    15142   test 0 -eq $? || _lt_function_replace_fail=:
    15143 fi
    15144 
    15145 if test x"$_lt_function_replace_fail" = x":"; then
    15146   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
    15147 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
    15148 fi
    15149 
    1515015565
    1515115566   mv -f "$cfgfile" "$ofile" ||
Note: See TracChangeset for help on using the changeset viewer.