Ignore:
Timestamp:
09/17/16 18:59:54 (8 years ago)
Author:
tbretz
Message:
Upadted the build system from a current Ubuntu 16.04 -- let's see if it works on older systems as well.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/configure

    r18507 r18603  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.68 for FACT++ 1.0.
     3# Generated by GNU Autoconf 2.69 for FACT++ 1.0.
    44#
    55# Report bugs to <thomas.bretz@phys.ethz.ch>.
    66#
    77#
    8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    10 # Foundation, Inc.
     8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
    119#
    1210#
     
    137135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138136
     137# Use a proper internal environment variable to ensure we don't fall
     138  # into an infinite loop, continuously re-executing ourselves.
     139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     140    _as_can_reexec=no; export _as_can_reexec;
     141    # We cannot yet assume a decent shell, so we have to provide a
     142# neutralization value for shells without unset; and this also
     143# works around shells that cannot unset nonexistent variables.
     144# Preserve -v and -x to the replacement shell.
     145BASH_ENV=/dev/null
     146ENV=/dev/null
     147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     148case $- in # ((((
     149  *v*x* | *x*v* ) as_opts=-vx ;;
     150  *v* ) as_opts=-v ;;
     151  *x* ) as_opts=-x ;;
     152  * ) as_opts= ;;
     153esac
     154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     155# Admittedly, this is quite paranoid, since all the known shells bail
     156# out after a failed `exec'.
     157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     158as_fn_exit 255
     159  fi
     160  # We don't want this to propagate to other subprocesses.
     161          { _as_can_reexec=; unset _as_can_reexec;}
    139162if test "x$CONFIG_SHELL" = x; then
    140163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     
    170193  exitcode=1; echo positional parameters were not saved.
    171194fi
    172 test x\$exitcode = x0 || exit 1"
     195test x\$exitcode = x0 || exit 1
     196test -x / || exit 1"
    173197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     
    223247
    224248      if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226         # neutralization value for shells without unset; and this also
    227         # works around shells that cannot unset nonexistent variables.
    228         # Preserve -v and -x to the replacement shell.
    229         BASH_ENV=/dev/null
    230         ENV=/dev/null
    231         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232         export CONFIG_SHELL
    233         case $- in # ((((
    234           *v*x* | *x*v* ) as_opts=-vx ;;
    235           *v* ) as_opts=-v ;;
    236           *x* ) as_opts=-x ;;
    237           * ) as_opts= ;;
    238         esac
    239         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
     249  export CONFIG_SHELL
     250             # We cannot yet assume a decent shell, so we have to provide a
     251# neutralization value for shells without unset; and this also
     252# works around shells that cannot unset nonexistent variables.
     253# Preserve -v and -x to the replacement shell.
     254BASH_ENV=/dev/null
     255ENV=/dev/null
     256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     257case $- in # ((((
     258  *v*x* | *x*v* ) as_opts=-vx ;;
     259  *v* ) as_opts=-v ;;
     260  *x* ) as_opts=-x ;;
     261  * ) as_opts= ;;
     262esac
     263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     264# Admittedly, this is quite paranoid, since all the known shells bail
     265# out after a failed `exec'.
     266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     267exit 255
    240268fi
    241269
     
    340368
    341369} # as_fn_mkdir_p
     370
     371# as_fn_executable_p FILE
     372# -----------------------
     373# Test if FILE is an executable regular file.
     374as_fn_executable_p ()
     375{
     376  test -f "$1" && test -x "$1"
     377} # as_fn_executable_p
    342378# as_fn_append VAR VALUE
    343379# ----------------------
     
    461497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    462498
     499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     500  # already done that, so ensure we don't try to do so again and fall
     501  # in an infinite loop.  This has already happened in practice.
     502  _as_can_reexec=no; export _as_can_reexec
    463503  # Don't try to exec as it changes $[0], causing all sort of problems
    464504  # (the dirname of $[0] is not the place where we might find the
     
    495535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    496536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    497     # In both cases, we have to default to `cp -p'.
     537    # In both cases, we have to default to `cp -pR'.
    498538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    499       as_ln_s='cp -p'
     539      as_ln_s='cp -pR'
    500540  elif ln conf$$.file conf$$ 2>/dev/null; then
    501541    as_ln_s=ln
    502542  else
    503     as_ln_s='cp -p'
     543    as_ln_s='cp -pR'
    504544  fi
    505545else
    506   as_ln_s='cp -p'
     546  as_ln_s='cp -pR'
    507547fi
    508548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    516556fi
    517557
    518 if test -x / >/dev/null 2>&1; then
    519   as_test_x='test -x'
    520 else
    521   if ls -dL / >/dev/null 2>&1; then
    522     as_ls_L_option=L
    523   else
    524     as_ls_L_option=
    525   fi
    526   as_test_x='
    527     eval sh -c '\''
    528       if test -d "$1"; then
    529         test -d "$1/.";
    530       else
    531         case $1 in #(
    532         -*)set "./$1";;
    533         esac;
    534         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    535         ???[sx]*):;;*)false;;esac;fi
    536     '\'' sh
    537   '
    538 fi
    539 as_executable_p=$as_test_x
     558as_test_x='test -x'
     559as_executable_p=as_fn_executable_p
    540560
    541561# Sed expression to map a string onto a valid CPP name.
     
    682702COLORDIFF
    683703ROOTLDFLAGS
     704ROOTCXXFLAGS
    684705ROOTCPPFLAGS
    685706ROOTSOVERSION
     
    826847INSTALL_PROGRAM
    827848CXXCPP
     849LT_SYS_LIBRARY_PATH
    828850OTOOL64
    829851OTOOL
     
    892914oldincludedir
    893915includedir
     916runstatedir
    894917localstatedir
    895918sharedstatedir
     
    920943with_pic
    921944enable_fast_install
     945with_aix_soname
    922946with_gnu_ld
    923947with_sysroot
     
    10031027DBUS_CFLAGS
    10041028DBUS_LIBS
     1029LT_SYS_LIBRARY_PATH
    10051030CXXCPP
    10061031DOXYGEN_PAPER_SIZE
     
    10491074sharedstatedir='${prefix}/com'
    10501075localstatedir='${prefix}/var'
     1076runstatedir='${localstatedir}/run'
    10511077includedir='${prefix}/include'
    10521078oldincludedir='/usr/include'
     
    13011327    silent=yes ;;
    13021328
     1329  -runstatedir | --runstatedir | --runstatedi | --runstated \
     1330  | --runstate | --runstat | --runsta | --runst | --runs \
     1331  | --run | --ru | --r)
     1332    ac_prev=runstatedir ;;
     1333  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
     1334  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
     1335  | --run=* | --ru=* | --r=*)
     1336    runstatedir=$ac_optarg ;;
     1337
    13031338  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    13041339    ac_prev=sbindir ;;
     
    14381473                datadir sysconfdir sharedstatedir localstatedir includedir \
    14391474                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
    1440                 libdir localedir mandir
     1475                libdir localedir mandir runstatedir
    14411476do
    14421477  eval ac_val=\$$ac_var
     
    14661501  if test "x$build_alias" = x; then
    14671502    cross_compiling=maybe
    1468     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    1469     If a cross compiler is detected then cross compile mode will be used" >&2
    14701503  elif test "x$build_alias" != "x$host_alias"; then
    14711504    cross_compiling=yes
     
    15931626  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
    15941627  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
     1628  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
    15951629  --libdir=DIR            object code libraries [EPREFIX/lib]
    15961630  --includedir=DIR        C header files [PREFIX/include]
     
    16441678                          optimize for fast installation [default=yes]
    16451679  --disable-libtool-lock  avoid locking (might break parallel builds)
    1646   --disable-dependency-tracking  speeds up one-time build
    1647   --enable-dependency-tracking   do not reject slow dependency extractors
    1648   --enable-silent-rules          less verbose build output (undo: `make V=1')
    1649   --disable-silent-rules         verbose build output (undo: `make V=0')
     1680  --enable-dependency-tracking
     1681                          do not reject slow dependency extractors
     1682  --disable-dependency-tracking
     1683                          speeds up one-time build
     1684  --enable-silent-rules   less verbose build output (undo: "make V=1")
     1685  --disable-silent-rules  verbose build output (undo: "make V=0")
    16501686  --disable-doxygen-doc   don't generate any doxygen documentation
    16511687  --disable-doxygen-dot   don't generate graphics for doxygen documentation
     
    16631699  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    16641700  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    1665   --with-pic              try to use only PIC/non-PIC objects [default=use
     1701  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
    16661702                          both]
     1703  --with-aix-soname=aix|svr4|both
     1704                          shared library versioning (aka "SONAME") variant to
     1705                          provide on AIX, [default=aix].
    16671706  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    1668   --with-sysroot=DIR Search for dependent libraries within DIR
    1669                         (or the compiler's sysroot if not specified).
     1707  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
     1708                          compiler's sysroot if not specified).
    16701709  --with-readline[=dir]   Compile with readline/locate base dir
    16711710  --with-x                use the X Window System
     
    17771816  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
    17781817  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
     1818  LT_SYS_LIBRARY_PATH
     1819              User-defined run-time library search path.
    17791820  CXXCPP      C++ preprocessor
    17801821  DOXYGEN_PAPER_SIZE
     
    18591900  cat <<\_ACEOF
    18601901FACT++ configure 1.0
    1861 generated by GNU Autoconf 2.68
    1862 
    1863 Copyright (C) 2010 Free Software Foundation, Inc.
     1902generated by GNU Autoconf 2.69
     1903
     1904Copyright (C) 2012 Free Software Foundation, Inc.
    18641905This configure script is free software; the Free Software Foundation
    18651906gives unlimited permission to copy, distribute and modify it.
     
    21762217       } && test -s conftest$ac_exeext && {
    21772218         test "$cross_compiling" = yes ||
    2178          $as_test_x conftest$ac_exeext
     2219         test -x conftest$ac_exeext
    21792220       }; then :
    21802221  ac_retval=0
     
    23262367       } && test -s conftest$ac_exeext && {
    23272368         test "$cross_compiling" = yes ||
    2328          $as_test_x conftest$ac_exeext
     2369         test -x conftest$ac_exeext
    23292370       }; then :
    23302371  ac_retval=0
     
    25072548
    25082549It was created by FACT++ $as_me 1.0, which was
    2509 generated by GNU Autoconf 2.68.  Invocation command line was
     2550generated by GNU Autoconf 2.69.  Invocation command line was
    25102551
    25112552  $ $0 $@
     
    29372978  test -z "$as_dir" && as_dir=.
    29382979    for ac_exec_ext in '' $ac_executable_extensions; do
    2939   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2980  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    29402981    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    29412982    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    29813022  test -z "$as_dir" && as_dir=.
    29823023    for ac_exec_ext in '' $ac_executable_extensions; do
    2983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3024  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    29843025    ac_cv_prog_ac_ct_CC="$ac_prog"
    29853026    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    34253466#include <stdarg.h>
    34263467#include <stdio.h>
    3427 #include <sys/types.h>
    3428 #include <sys/stat.h>
     3468struct stat;
    34293469/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    34303470struct buf { int x; };
     
    35113551ac_compiler_gnu=$ac_cv_c_compiler_gnu
    35123552
     3553# Expand $ac_aux_dir to an absolute path.
     3554am_aux_dir=`cd "$ac_aux_dir" && pwd`
     3555
     3556ac_ext=c
     3557ac_cpp='$CPP $CPPFLAGS'
     3558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3559ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3560ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
     3562$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
     3563if ${am_cv_prog_cc_c_o+:} false; then :
     3564  $as_echo_n "(cached) " >&6
     3565else
     3566  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3567/* end confdefs.h.  */
     3568
     3569int
     3570main ()
     3571{
     3572
     3573  ;
     3574  return 0;
     3575}
     3576_ACEOF
     3577  # Make sure it works both with $CC and with simple cc.
     3578  # Following AC_PROG_CC_C_O, we do the test twice because some
     3579  # compilers refuse to overwrite an existing .o file with -o,
     3580  # though they will create one.
     3581  am_cv_prog_cc_c_o=yes
     3582  for am_i in 1 2; do
     3583    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
     3584   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
     3585   ac_status=$?
     3586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3587   (exit $ac_status); } \
     3588         && test -f conftest2.$ac_objext; then
     3589      : OK
     3590    else
     3591      am_cv_prog_cc_c_o=no
     3592      break
     3593    fi
     3594  done
     3595  rm -f core conftest*
     3596  unset am_i
     3597fi
     3598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
     3599$as_echo "$am_cv_prog_cc_c_o" >&6; }
     3600if test "$am_cv_prog_cc_c_o" != yes; then
     3601   # Losing compiler, so override with the script.
     3602   # FIXME: It is wrong to rewrite CC.
     3603   # But if we don't then we get into trouble of one sort or another.
     3604   # A longer-term fix would be to have automake use am__CC in this case,
     3605   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     3606   CC="$am_aux_dir/compile $CC"
     3607fi
     3608ac_ext=c
     3609ac_cpp='$CPP $CPPFLAGS'
     3610ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3611ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3612ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3613
     3614
    35133615ac_ext=cpp
    35143616ac_cpp='$CXXCPP $CPPFLAGS'
     
    35393641  test -z "$as_dir" && as_dir=.
    35403642    for ac_exec_ext in '' $ac_executable_extensions; do
    3541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3643  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35423644    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    35433645    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    35833685  test -z "$as_dir" && as_dir=.
    35843686    for ac_exec_ext in '' $ac_executable_extensions; do
    3585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3687  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35863688    ac_cv_prog_ac_ct_CXX="$ac_prog"
    35873689    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    39294031}
    39304032_ACEOF
    3931 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
     4033for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
    39324034do
    39334035  CC="$ac_save_CC $ac_arg"
     
    39694071#include <stdarg.h>
    39704072#include <stdio.h>
    3971 #include <sys/types.h>
    3972 #include <sys/stat.h>
     4073struct stat;
    39734074/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    39744075struct buf { int x; };
     
    42324333    for ac_exec_ext in '' $ac_executable_extensions; do
    42334334      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4234       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     4335      as_fn_executable_p "$ac_path_GREP" || continue
    42354336# Check for GNU ac_path_GREP and select it if it is found.
    42364337  # Check for GNU $ac_path_GREP
     
    42984399    for ac_exec_ext in '' $ac_executable_extensions; do
    42994400      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4300       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     4401      as_fn_executable_p "$ac_path_EGREP" || continue
    43014402# Check for GNU ac_path_EGREP and select it if it is found.
    43024403  # Check for GNU $ac_path_EGREP
     
    45054606/* end confdefs.h.  */
    45064607
    4507 #         define __EXTENSIONS__ 1
    4508           $ac_includes_default
     4608#         define __EXTENSIONS__ 1
     4609          $ac_includes_default
    45094610int
    45104611main ()
     
    47544855  test -z "$as_dir" && as_dir=.
    47554856    for ac_exec_ext in '' $ac_executable_extensions; do
    4756   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4857  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    47574858    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    47584859    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    47974898  test -z "$as_dir" && as_dir=.
    47984899    for ac_exec_ext in '' $ac_executable_extensions; do
    4799   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4900  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    48004901    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    48014902    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    49335034######################################################################
    49345035
    4935 # expand $ac_aux_dir to an absolute path
    4936 am_aux_dir=`cd $ac_aux_dir && pwd`
    4937 
    49385036if test -n "$ac_tool_prefix"; then
    49395037  for ac_prog in ar lib "link -lib"
     
    49555053  test -z "$as_dir" && as_dir=.
    49565054    for ac_exec_ext in '' $ac_executable_extensions; do
    4957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     5055  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    49585056    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
    49595057    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    49995097  test -z "$as_dir" && as_dir=.
    50005098    for ac_exec_ext in '' $ac_executable_extensions; do
    5001   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     5099  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    50025100    ac_cv_prog_ac_ct_AR="$ac_prog"
    50035101    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    50435141  $as_echo_n "(cached) " >&6
    50445142else
    5045   am_cv_ar_interface=ar
     5143  ac_ext=c
     5144ac_cpp='$CPP $CPPFLAGS'
     5145ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5146ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5147ac_compiler_gnu=$ac_cv_c_compiler_gnu
     5148
     5149   am_cv_ar_interface=ar
    50465150   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    50475151/* end confdefs.h.  */
     
    50745178fi
    50755179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5180   ac_ext=c
     5181ac_cpp='$CPP $CPPFLAGS'
     5182ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     5183ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     5184ac_compiler_gnu=$ac_cv_c_compiler_gnu
    50765185
    50775186fi
     
    51045213
    51055214
    5106 macro_version='2.4.2'
    5107 macro_revision='1.3337'
    5108 
    5109 
    5110 
    5111 
    5112 
    5113 
    5114 
    5115 
    5116 
    5117 
    5118 
    5119 
    5120 
    5121 ltmain="$ac_aux_dir/ltmain.sh"
     5215macro_version='2.4.6'
     5216macro_revision='2.4.6'
     5217
     5218
     5219
     5220
     5221
     5222
     5223
     5224
     5225
     5226
     5227
     5228
     5229
     5230ltmain=$ac_aux_dir/ltmain.sh
    51225231
    51235232# Make sure we can run config.sub.
     
    52395348}
    52405349
    5241 case "$ECHO" in
     5350case $ECHO in
    52425351  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
    52435352$as_echo "printf" >&6; } ;;
     
    52835392    for ac_exec_ext in '' $ac_executable_extensions; do
    52845393      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
    5285       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
     5394      as_fn_executable_p "$ac_path_SED" || continue
    52865395# Check for GNU ac_path_SED and select it if it is found.
    52875396  # Check for GNU $ac_path_SED
     
    53625471    for ac_exec_ext in '' $ac_executable_extensions; do
    53635472      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
    5364       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
     5473      as_fn_executable_p "$ac_path_FGREP" || continue
    53655474# Check for GNU ac_path_FGREP and select it if it is found.
    53665475  # Check for GNU $ac_path_FGREP
     
    54325541# Check whether --with-gnu-ld was given.
    54335542if test "${with_gnu_ld+set}" = set; then :
    5434   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
     5543  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
    54355544else
    54365545  with_gnu_ld=no
     
    54385547
    54395548ac_prog=ld
    5440 if test "$GCC" = yes; then
     5549if test yes = "$GCC"; then
    54415550  # Check if gcc -print-prog-name=ld gives a path.
    54425551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     
    54445553  case $host in
    54455554  *-*-mingw*)
    5446     # gcc leaves a trailing carriage return which upsets mingw
     5555    # gcc leaves a trailing carriage return, which upsets mingw
    54475556    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    54485557  *)
     
    54585567        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    54595568      done
    5460       test -z "$LD" && LD="$ac_prog"
     5569      test -z "$LD" && LD=$ac_prog
    54615570      ;;
    54625571  "")
     
    54695578    ;;
    54705579  esac
    5471 elif test "$with_gnu_ld" = yes; then
     5580elif test yes = "$with_gnu_ld"; then
    54725581  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
    54735582$as_echo_n "checking for GNU ld... " >&6; }
     
    54805589else
    54815590  if test -z "$LD"; then
    5482   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     5591  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    54835592  for ac_dir in $PATH; do
    5484     IFS="$lt_save_ifs"
     5593    IFS=$lt_save_ifs
    54855594    test -z "$ac_dir" && ac_dir=.
    54865595    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    5487       lt_cv_path_LD="$ac_dir/$ac_prog"
     5596      lt_cv_path_LD=$ac_dir/$ac_prog
    54885597      # Check to see if the program is GNU ld.  I'd rather use --version,
    54895598      # but apparently some variants of GNU ld only accept -v.
     
    54915600      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    54925601      *GNU* | *'with BFD'*)
    5493         test "$with_gnu_ld" != no && break
     5602        test no != "$with_gnu_ld" && break
    54945603        ;;
    54955604      *)
    5496         test "$with_gnu_ld" != yes && break
     5605        test yes != "$with_gnu_ld" && break
    54975606        ;;
    54985607      esac
    54995608    fi
    55005609  done
    5501   IFS="$lt_save_ifs"
    5502 else
    5503   lt_cv_path_LD="$LD" # Let the user override the test with a path.
    5504 fi
    5505 fi
    5506 
    5507 LD="$lt_cv_path_LD"
     5610  IFS=$lt_save_ifs
     5611else
     5612  lt_cv_path_LD=$LD # Let the user override the test with a path.
     5613fi
     5614fi
     5615
     5616LD=$lt_cv_path_LD
    55085617if test -n "$LD"; then
    55095618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     
    55485657  if test -n "$NM"; then
    55495658  # Let the user override the test.
    5550   lt_cv_path_NM="$NM"
    5551 else
    5552   lt_nm_to_check="${ac_tool_prefix}nm"
     5659  lt_cv_path_NM=$NM
     5660else
     5661  lt_nm_to_check=${ac_tool_prefix}nm
    55535662  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
    55545663    lt_nm_to_check="$lt_nm_to_check nm"
    55555664  fi
    55565665  for lt_tmp_nm in $lt_nm_to_check; do
    5557     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     5666    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    55585667    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
    5559       IFS="$lt_save_ifs"
     5668      IFS=$lt_save_ifs
    55605669      test -z "$ac_dir" && ac_dir=.
    5561       tmp_nm="$ac_dir/$lt_tmp_nm"
    5562       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
     5670      tmp_nm=$ac_dir/$lt_tmp_nm
     5671      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
    55635672        # Check to see if the nm accepts a BSD-compat flag.
    5564         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
     5673        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
    55655674        #   nm: unknown option "B" ignored
    55665675        # Tru64's nm complains that /dev/null is an invalid object file
    5567         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
    5568         */dev/null* | *'Invalid file or object type'*)
     5676        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
     5677        case $build_os in
     5678        mingw*) lt_bad_file=conftest.nm/nofile ;;
     5679        *) lt_bad_file=/dev/null ;;
     5680        esac
     5681        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
     5682        *$lt_bad_file* | *'Invalid file or object type'*)
    55695683          lt_cv_path_NM="$tmp_nm -B"
    5570           break
     5684          break 2
    55715685          ;;
    55725686        *)
     
    55745688          */dev/null*)
    55755689            lt_cv_path_NM="$tmp_nm -p"
    5576             break
     5690            break 2
    55775691            ;;
    55785692          *)
     
    55855699      fi
    55865700    done
    5587     IFS="$lt_save_ifs"
     5701    IFS=$lt_save_ifs
    55885702  done
    55895703  : ${lt_cv_path_NM=no}
     
    55925706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
    55935707$as_echo "$lt_cv_path_NM" >&6; }
    5594 if test "$lt_cv_path_NM" != "no"; then
    5595   NM="$lt_cv_path_NM"
     5708if test no != "$lt_cv_path_NM"; then
     5709  NM=$lt_cv_path_NM
    55965710else
    55975711  # Didn't find any BSD compatible name lister, look for dumpbin.
     
    56185732  test -z "$as_dir" && as_dir=.
    56195733    for ac_exec_ext in '' $ac_executable_extensions; do
    5620   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     5734  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    56215735    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
    56225736    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    56625776  test -z "$as_dir" && as_dir=.
    56635777    for ac_exec_ext in '' $ac_executable_extensions; do
    5664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     5778  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    56655779    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
    56665780    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    56995813fi
    57005814
    5701     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
     5815    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
    57025816    *COFF*)
    5703       DUMPBIN="$DUMPBIN -symbols"
     5817      DUMPBIN="$DUMPBIN -symbols -headers"
    57045818      ;;
    57055819    *)
     
    57095823  fi
    57105824
    5711   if test "$DUMPBIN" != ":"; then
    5712     NM="$DUMPBIN"
     5825  if test : != "$DUMPBIN"; then
     5826    NM=$DUMPBIN
    57135827  fi
    57145828fi
     
    57615875else
    57625876    i=0
    5763   teststring="ABCD"
     5877  teststring=ABCD
    57645878
    57655879  case $build_os in
     
    58015915    ;;
    58025916
    5803   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
     5917  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
    58045918    # This has been around since 386BSD, at least.  Likely further.
    58055919    if test -x /sbin/sysctl; then
     
    58185932    # We know the value 262144 and hardcode it with a safety zone (like BSD)
    58195933    lt_cv_sys_max_cmd_len=196608
     5934    ;;
     5935
     5936  os2*)
     5937    # The test takes a long time on OS/2.
     5938    lt_cv_sys_max_cmd_len=8192
    58205939    ;;
    58215940
     
    58465965  *)
    58475966    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
    5848     if test -n "$lt_cv_sys_max_cmd_len"; then
     5967    if test -n "$lt_cv_sys_max_cmd_len" && \
     5968       test undefined != "$lt_cv_sys_max_cmd_len"; then
    58495969      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    58505970      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     
    58525972      # Make teststring a little bigger before we do anything with it.
    58535973      # a 1K string should be a reasonable start.
    5854       for i in 1 2 3 4 5 6 7 8 ; do
     5974      for i in 1 2 3 4 5 6 7 8; do
    58555975        teststring=$teststring$teststring
    58565976      done
     
    58595979      # maximum length that is only half of the actual maximum length, but
    58605980      # we can't tell.
    5861       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
     5981      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
    58625982                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
    5863               test $i != 17 # 1/2 MB should be enough
     5983              test 17 != "$i" # 1/2 MB should be enough
    58645984      do
    58655985        i=`expr $i + 1`
     
    58795999fi
    58806000
    5881 if test -n $lt_cv_sys_max_cmd_len ; then
     6001if test -n "$lt_cv_sys_max_cmd_len"; then
    58826002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
    58836003$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
     
    58966016: ${MV="mv -f"}
    58976017: ${RM="rm -f"}
    5898 
    5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
    5900 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
    5901 # Try some XSI features
    5902 xsi_shell=no
    5903 ( _lt_dummy="a/b/c"
    5904   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
    5905       = c,a/b,b/c, \
    5906     && eval 'test $(( 1 + 1 )) -eq 2 \
    5907     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    5908   && xsi_shell=yes
    5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
    5910 $as_echo "$xsi_shell" >&6; }
    5911 
    5912 
    5913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
    5914 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
    5915 lt_shell_append=no
    5916 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
    5917     >/dev/null 2>&1 \
    5918   && lt_shell_append=yes
    5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
    5920 $as_echo "$lt_shell_append" >&6; }
    5921 
    59226018
    59236019if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     
    60436139case $host_os in
    60446140  cygwin* | mingw* | pw32* | cegcc*)
    6045     if test "$GCC" != yes; then
     6141    if test yes != "$GCC"; then
    60466142      reload_cmds=false
    60476143    fi
    60486144    ;;
    60496145  darwin*)
    6050     if test "$GCC" = yes; then
    6051       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
     6146    if test yes = "$GCC"; then
     6147      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
    60526148    else
    60536149      reload_cmds='$LD$reload_flag -o $output$reload_objs'
     
    60816177  test -z "$as_dir" && as_dir=.
    60826178    for ac_exec_ext in '' $ac_executable_extensions; do
    6083   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6179  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    60846180    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
    60856181    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    61216217  test -z "$as_dir" && as_dir=.
    61226218    for ac_exec_ext in '' $ac_executable_extensions; do
    6123   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6219  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    61246220    ac_cv_prog_ac_ct_OBJDUMP="objdump"
    61256221    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    61776273# interlibrary dependencies.
    61786274# 'none' -- dependencies not supported.
    6179 # `unknown' -- same as none, but documents that we really don't know.
     6275# 'unknown' -- same as none, but documents that we really don't know.
    61806276# 'pass_all' -- all dependencies passed with no checks.
    61816277# 'test_compile' -- check by making test program.
    61826278# 'file_magic [[regex]]' -- check by looking for files in library path
    6183 # which responds to the $file_magic_cmd with a given extended regex.
    6184 # If you have `file' or equivalent on your system and you're not sure
    6185 # whether `pass_all' will *always* work, you probably want this one.
     6279# that responds to the $file_magic_cmd with a given extended regex.
     6280# If you have 'file' or equivalent on your system and you're not sure
     6281# whether 'pass_all' will *always* work, you probably want this one.
    61866282
    61876283case $host_os in
     
    62106306  # func_win32_libid shell function, so use a weaker test based on 'objdump',
    62116307  # unless we find 'file', for example because we are cross-compiling.
    6212   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
    6213   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
     6308  if ( file / ) >/dev/null 2>&1; then
    62146309    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    62156310    lt_cv_file_magic_cmd='func_win32_libid'
     
    62456340    lt_cv_deplibs_check_method=pass_all
    62466341  fi
    6247   ;;
    6248 
    6249 gnu*)
    6250   lt_cv_deplibs_check_method=pass_all
    62516342  ;;
    62526343
     
    62886379  ;;
    62896380
    6290 # This must be Linux ELF.
    6291 linux* | k*bsd*-gnu | kopensolaris*-gnu)
     6381# This must be glibc/ELF.
     6382linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    62926383  lt_cv_deplibs_check_method=pass_all
    62936384  ;;
     
    63116402  ;;
    63126403
    6313 openbsd*)
    6314   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     6404openbsd* | bitrig*)
     6405  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    63156406    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
    63166407  else
     
    63656456  lt_cv_deplibs_check_method=pass_all
    63666457  ;;
     6458os2*)
     6459  lt_cv_deplibs_check_method=pass_all
     6460  ;;
    63676461esac
    63686462
     
    64276521  test -z "$as_dir" && as_dir=.
    64286522    for ac_exec_ext in '' $ac_executable_extensions; do
    6429   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6523  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    64306524    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
    64316525    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    64676561  test -z "$as_dir" && as_dir=.
    64686562    for ac_exec_ext in '' $ac_executable_extensions; do
    6469   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6563  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    64706564    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
    64716565    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    65226616case $host_os in
    65236617cygwin* | mingw* | pw32* | cegcc*)
    6524   # two different shell functions defined in ltmain.sh
    6525   # decide which to use based on capabilities of $DLLTOOL
     6618  # two different shell functions defined in ltmain.sh;
     6619  # decide which one to use based on capabilities of $DLLTOOL
    65266620  case `$DLLTOOL --help 2>&1` in
    65276621  *--identify-strict*)
     
    65356629*)
    65366630  # fallback: assume linklib IS sharedlib
    6537   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
     6631  lt_cv_sharedlib_from_linklib_cmd=$ECHO
    65386632  ;;
    65396633esac
     
    65706664  test -z "$as_dir" && as_dir=.
    65716665    for ac_exec_ext in '' $ac_executable_extensions; do
    6572   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6666  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    65736667    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
    65746668    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    66146708  test -z "$as_dir" && as_dir=.
    66156709    for ac_exec_ext in '' $ac_executable_extensions; do
    6616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6710  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    66176711    ac_cv_prog_ac_ct_AR="$ac_prog"
    66186712    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    66896783  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    66906784  test $ac_status = 0; }
    6691       if test "$ac_status" -eq 0; then
     6785      if test 0 -eq "$ac_status"; then
    66926786        # Ensure the archiver fails upon bogus file names.
    66936787        rm -f conftest.$ac_objext libconftest.a
     
    66976791  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    66986792  test $ac_status = 0; }
    6699         if test "$ac_status" -ne 0; then
     6793        if test 0 -ne "$ac_status"; then
    67006794          lt_cv_ar_at_file=@
    67016795        fi
     
    67106804$as_echo "$lt_cv_ar_at_file" >&6; }
    67116805
    6712 if test "x$lt_cv_ar_at_file" = xno; then
     6806if test no = "$lt_cv_ar_at_file"; then
    67136807  archiver_list_spec=
    67146808else
     
    67396833  test -z "$as_dir" && as_dir=.
    67406834    for ac_exec_ext in '' $ac_executable_extensions; do
    6741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6835  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    67426836    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    67436837    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    67796873  test -z "$as_dir" && as_dir=.
    67806874    for ac_exec_ext in '' $ac_executable_extensions; do
    6781   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6875  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    67826876    ac_cv_prog_ac_ct_STRIP="strip"
    67836877    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    68386932  test -z "$as_dir" && as_dir=.
    68396933    for ac_exec_ext in '' $ac_executable_extensions; do
    6840   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6934  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    68416935    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    68426936    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    68786972  test -z "$as_dir" && as_dir=.
    68796973    for ac_exec_ext in '' $ac_executable_extensions; do
    6880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6974  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    68816975    ac_cv_prog_ac_ct_RANLIB="ranlib"
    68826976    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    69277021if test -n "$RANLIB"; then
    69287022  case $host_os in
    6929   openbsd*)
    6930     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
     7023  bitrig* | openbsd*)
     7024    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
    69317025    ;;
    69327026  *)
    6933     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
     7027    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
    69347028    ;;
    69357029  esac
    6936   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
     7030  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
    69377031fi
    69387032
     
    69827076  test -z "$as_dir" && as_dir=.
    69837077    for ac_exec_ext in '' $ac_executable_extensions; do
    6984   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7078  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    69857079    ac_cv_prog_AWK="$ac_prog"
    69867080    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    70597153  ;;
    70607154hpux*)
    7061   if test "$host_cpu" = ia64; then
     7155  if test ia64 = "$host_cpu"; then
    70627156    symcode='[ABCDEGRST]'
    70637157  fi
     
    70927186esac
    70937187
     7188if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     7189  # Gets list of data symbols to import.
     7190  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
     7191  # Adjust the below global symbol transforms to fixup imported variables.
     7192  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
     7193  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
     7194  lt_c_name_lib_hook="\
     7195  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
     7196  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
     7197else
     7198  # Disable hooks by default.
     7199  lt_cv_sys_global_symbol_to_import=
     7200  lt_cdecl_hook=
     7201  lt_c_name_hook=
     7202  lt_c_name_lib_hook=
     7203fi
     7204
    70947205# Transform an extracted symbol line into a proper C declaration.
    70957206# Some systems (esp. on ia64) link data and code symbols differently,
    70967207# so use this general approach.
    7097 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
     7208lt_cv_sys_global_symbol_to_cdecl="sed -n"\
     7209$lt_cdecl_hook\
     7210" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
     7211" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
    70987212
    70997213# Transform an extracted symbol line into symbol name and symbol address
    7100 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
    7101 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'"
     7214lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
     7215$lt_c_name_hook\
     7216" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     7217" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
     7218
     7219# Transform an extracted symbol line into symbol name with lib prefix and
     7220# symbol address.
     7221lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
     7222$lt_c_name_lib_hook\
     7223" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     7224" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
     7225" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
    71027226
    71037227# Handle CRLF in mingw tool chain
     
    71177241  # Write the raw and C identifiers.
    71187242  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    7119     # Fake it for dumpbin and say T for any non-static function
    7120     # and D for any global variable.
     7243    # Fake it for dumpbin and say T for any non-static function,
     7244    # D for any global variable and I for any imported variable.
    71217245    # Also find C++ and __fastcall symbols from MSVC++,
    71227246    # which start with @ or ?.
    71237247    lt_cv_sys_global_symbol_pipe="$AWK '"\
    71247248"     {last_section=section; section=\$ 3};"\
     7249"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
    71257250"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
     7251"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
     7252"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
     7253"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
    71267254"     \$ 0!~/External *\|/{next};"\
    71277255"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
    71287256"     {if(hide[section]) next};"\
    7129 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
    7130 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
    7131 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
    7132 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
     7257"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
     7258"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
     7259"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
     7260"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
    71337261"     ' prfx=^$ac_symprfx"
    71347262  else
     
    71787306          cat <<_LT_EOF > conftest.$ac_ext
    71797307/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
    7180 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
    7181 /* DATA imports from DLLs on WIN32 con't be const, because runtime
     7308#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
     7309/* DATA imports from DLLs on WIN32 can't be const, because runtime
    71827310   relocations are performed -- see ld's documentation on pseudo-relocs.  */
    71837311# define LT_DLSYM_CONST
    7184 #elif defined(__osf__)
     7312#elif defined __osf__
    71857313/* This system does not cope well with relocations in const data.  */
    71867314# define LT_DLSYM_CONST
     
    72087336  { "@PROGRAM@", (void *) 0 },
    72097337_LT_EOF
    7210           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
     7338          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
    72117339          cat <<\_LT_EOF >> conftest.$ac_ext
    72127340  {0, (void *) 0}
     
    72287356          lt_globsym_save_LIBS=$LIBS
    72297357          lt_globsym_save_CFLAGS=$CFLAGS
    7230           LIBS="conftstm.$ac_objext"
     7358          LIBS=conftstm.$ac_objext
    72317359          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
    72327360          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
     
    72347362  ac_status=$?
    72357363  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7236   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
     7364  test $ac_status = 0; } && test -s conftest$ac_exeext; then
    72377365            pipe_works=yes
    72387366          fi
     
    72557383
    72567384  # Do not use the global_symbol_pipe unless it works.
    7257   if test "$pipe_works" = yes; then
     7385  if test yes = "$pipe_works"; then
    72587386    break
    72597387  else
     
    73087436
    73097437
     7438
     7439
     7440
     7441
     7442
     7443
     7444
     7445
     7446
     7447
    73107448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
    73117449$as_echo_n "checking for sysroot... " >&6; }
     
    73207458
    73217459lt_sysroot=
    7322 case ${with_sysroot} in #(
     7460case $with_sysroot in #(
    73237461 yes)
    7324    if test "$GCC" = yes; then
     7462   if test yes = "$GCC"; then
    73257463     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
    73267464   fi
     
    73327470   ;; #(
    73337471 *)
    7334    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
    7335 $as_echo "${with_sysroot}" >&6; }
     7472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
     7473$as_echo "$with_sysroot" >&6; }
    73367474   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
    73377475   ;;
     
    73457483
    73467484
     7485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
     7486$as_echo_n "checking for a working dd... " >&6; }
     7487if ${ac_cv_path_lt_DD+:} false; then :
     7488  $as_echo_n "(cached) " >&6
     7489else
     7490  printf 0123456789abcdef0123456789abcdef >conftest.i
     7491cat conftest.i conftest.i >conftest2.i
     7492: ${lt_DD:=$DD}
     7493if test -z "$lt_DD"; then
     7494  ac_path_lt_DD_found=false
     7495  # Loop through the user's path and test for each of PROGNAME-LIST
     7496  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7497for as_dir in $PATH
     7498do
     7499  IFS=$as_save_IFS
     7500  test -z "$as_dir" && as_dir=.
     7501    for ac_prog in dd; do
     7502    for ac_exec_ext in '' $ac_executable_extensions; do
     7503      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
     7504      as_fn_executable_p "$ac_path_lt_DD" || continue
     7505if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     7506  cmp -s conftest.i conftest.out \
     7507  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
     7508fi
     7509      $ac_path_lt_DD_found && break 3
     7510    done
     7511  done
     7512  done
     7513IFS=$as_save_IFS
     7514  if test -z "$ac_cv_path_lt_DD"; then
     7515    :
     7516  fi
     7517else
     7518  ac_cv_path_lt_DD=$lt_DD
     7519fi
     7520
     7521rm -f conftest.i conftest2.i conftest.out
     7522fi
     7523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
     7524$as_echo "$ac_cv_path_lt_DD" >&6; }
     7525
     7526
     7527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
     7528$as_echo_n "checking how to truncate binary pipes... " >&6; }
     7529if ${lt_cv_truncate_bin+:} false; then :
     7530  $as_echo_n "(cached) " >&6
     7531else
     7532  printf 0123456789abcdef0123456789abcdef >conftest.i
     7533cat conftest.i conftest.i >conftest2.i
     7534lt_cv_truncate_bin=
     7535if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     7536  cmp -s conftest.i conftest.out \
     7537  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
     7538fi
     7539rm -f conftest.i conftest2.i conftest.out
     7540test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
     7541fi
     7542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
     7543$as_echo "$lt_cv_truncate_bin" >&6; }
     7544
     7545
     7546
     7547
     7548
     7549
     7550
     7551# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     7552func_cc_basename ()
     7553{
     7554    for cc_temp in $*""; do
     7555      case $cc_temp in
     7556        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     7557        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     7558        \-*) ;;
     7559        *) break;;
     7560      esac
     7561    done
     7562    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     7563}
     7564
    73477565# Check whether --enable-libtool-lock was given.
    73487566if test "${enable_libtool_lock+set}" = set; then :
     
    73507568fi
    73517569
    7352 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
     7570test no = "$enable_libtool_lock" || enable_libtool_lock=yes
    73537571
    73547572# Some flags need to be propagated to the compiler or linker for good
     
    73567574case $host in
    73577575ia64-*-hpux*)
    7358   # Find out which ABI we are using.
     7576  # Find out what ABI is being produced by ac_compile, and set mode
     7577  # options accordingly.
    73597578  echo 'int i;' > conftest.$ac_ext
    73607579  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    73657584    case `/usr/bin/file conftest.$ac_objext` in
    73667585      *ELF-32*)
    7367         HPUX_IA64_MODE="32"
     7586        HPUX_IA64_MODE=32
    73687587        ;;
    73697588      *ELF-64*)
    7370         HPUX_IA64_MODE="64"
     7589        HPUX_IA64_MODE=64
    73717590        ;;
    73727591    esac
     
    73757594  ;;
    73767595*-*-irix6*)
    7377   # Find out which ABI we are using.
     7596  # Find out what ABI is being produced by ac_compile, and set linker
     7597  # options accordingly.
    73787598  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
    73797599  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    73827602  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    73837603  test $ac_status = 0; }; then
    7384     if test "$lt_cv_prog_gnu_ld" = yes; then
     7604    if test yes = "$lt_cv_prog_gnu_ld"; then
    73857605      case `/usr/bin/file conftest.$ac_objext` in
    73867606        *32-bit*)
     
    74117631  ;;
    74127632
    7413 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
     7633mips64*-*linux*)
     7634  # Find out what ABI is being produced by ac_compile, and set linker
     7635  # options accordingly.
     7636  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
     7637  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     7638  (eval $ac_compile) 2>&5
     7639  ac_status=$?
     7640  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7641  test $ac_status = 0; }; then
     7642    emul=elf
     7643    case `/usr/bin/file conftest.$ac_objext` in
     7644      *32-bit*)
     7645        emul="${emul}32"
     7646        ;;
     7647      *64-bit*)
     7648        emul="${emul}64"
     7649        ;;
     7650    esac
     7651    case `/usr/bin/file conftest.$ac_objext` in
     7652      *MSB*)
     7653        emul="${emul}btsmip"
     7654        ;;
     7655      *LSB*)
     7656        emul="${emul}ltsmip"
     7657        ;;
     7658    esac
     7659    case `/usr/bin/file conftest.$ac_objext` in
     7660      *N32*)
     7661        emul="${emul}n32"
     7662        ;;
     7663    esac
     7664    LD="${LD-ld} -m $emul"
     7665  fi
     7666  rm -rf conftest*
     7667  ;;
     7668
     7669x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
    74147670s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
    7415   # Find out which ABI we are using.
     7671  # Find out what ABI is being produced by ac_compile, and set linker
     7672  # options accordingly.  Note that the listed cases only cover the
     7673  # situations where additional linker options are needed (such as when
     7674  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
     7675  # vice versa); the common cases where no linker options are needed do
     7676  # not appear in the list.
    74167677  echo 'int i;' > conftest.$ac_ext
    74177678  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    74277688            ;;
    74287689          x86_64-*linux*)
    7429             LD="${LD-ld} -m elf_i386"
     7690            case `/usr/bin/file conftest.o` in
     7691              *x86-64*)
     7692                LD="${LD-ld} -m elf32_x86_64"
     7693                ;;
     7694              *)
     7695                LD="${LD-ld} -m elf_i386"
     7696                ;;
     7697            esac
    74307698            ;;
    7431           ppc64-*linux*|powerpc64-*linux*)
     7699          powerpc64le-*linux*)
     7700            LD="${LD-ld} -m elf32lppclinux"
     7701            ;;
     7702          powerpc64-*linux*)
    74327703            LD="${LD-ld} -m elf32ppclinux"
    74337704            ;;
     
    74487719            LD="${LD-ld} -m elf_x86_64"
    74497720            ;;
    7450           ppc*-*linux*|powerpc*-*linux*)
     7721          powerpcle-*linux*)
     7722            LD="${LD-ld} -m elf64lppc"
     7723            ;;
     7724          powerpc-*linux*)
    74517725            LD="${LD-ld} -m elf64ppc"
    74527726            ;;
     
    74667740*-*-sco3.2v5*)
    74677741  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    7468   SAVE_CFLAGS="$CFLAGS"
     7742  SAVE_CFLAGS=$CFLAGS
    74697743  CFLAGS="$CFLAGS -belf"
    74707744  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
     
    75067780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
    75077781$as_echo "$lt_cv_cc_needs_belf" >&6; }
    7508   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
     7782  if test yes != "$lt_cv_cc_needs_belf"; then
    75097783    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    7510     CFLAGS="$SAVE_CFLAGS"
     7784    CFLAGS=$SAVE_CFLAGS
    75117785  fi
    75127786  ;;
    7513 sparc*-*solaris*)
    7514   # Find out which ABI we are using.
     7787*-*solaris*)
     7788  # Find out what ABI is being produced by ac_compile, and set linker
     7789  # options accordingly.
    75157790  echo 'int i;' > conftest.$ac_ext
    75167791  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     
    75227797    *64-bit*)
    75237798      case $lt_cv_prog_gnu_ld in
    7524       yes*) LD="${LD-ld} -m elf64_sparc" ;;
     7799      yes*)
     7800        case $host in
     7801        i?86-*-solaris*|x86_64-*-solaris*)
     7802          LD="${LD-ld} -m elf_x86_64"
     7803          ;;
     7804        sparc*-*-solaris*)
     7805          LD="${LD-ld} -m elf64_sparc"
     7806          ;;
     7807        esac
     7808        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
     7809        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
     7810          LD=${LD-ld}_sol2
     7811        fi
     7812        ;;
    75257813      *)
    75267814        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
     
    75367824esac
    75377825
    7538 need_locks="$enable_libtool_lock"
     7826need_locks=$enable_libtool_lock
    75397827
    75407828if test -n "$ac_tool_prefix"; then
     
    75557843  test -z "$as_dir" && as_dir=.
    75567844    for ac_exec_ext in '' $ac_executable_extensions; do
    7557   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7845  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    75587846    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
    75597847    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    75957883  test -z "$as_dir" && as_dir=.
    75967884    for ac_exec_ext in '' $ac_executable_extensions; do
    7597   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7885  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    75987886    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
    75997887    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    76477935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
    76487936$as_echo "$lt_cv_path_mainfest_tool" >&6; }
    7649 if test "x$lt_cv_path_mainfest_tool" != xyes; then
     7937if test yes != "$lt_cv_path_mainfest_tool"; then
    76507938  MANIFEST_TOOL=:
    76517939fi
     
    76757963  test -z "$as_dir" && as_dir=.
    76767964    for ac_exec_ext in '' $ac_executable_extensions; do
    7677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7965  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    76787966    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
    76797967    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    77158003  test -z "$as_dir" && as_dir=.
    77168004    for ac_exec_ext in '' $ac_executable_extensions; do
    7717   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8005  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    77188006    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
    77198007    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    77678055  test -z "$as_dir" && as_dir=.
    77688056    for ac_exec_ext in '' $ac_executable_extensions; do
    7769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8057  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    77708058    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
    77718059    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    78078095  test -z "$as_dir" && as_dir=.
    78088096    for ac_exec_ext in '' $ac_executable_extensions; do
    7809   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8097  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    78108098    ac_cv_prog_ac_ct_NMEDIT="nmedit"
    78118099    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    78598147  test -z "$as_dir" && as_dir=.
    78608148    for ac_exec_ext in '' $ac_executable_extensions; do
    7861   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8149  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    78628150    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
    78638151    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    78998187  test -z "$as_dir" && as_dir=.
    79008188    for ac_exec_ext in '' $ac_executable_extensions; do
    7901   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8189  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    79028190    ac_cv_prog_ac_ct_LIPO="lipo"
    79038191    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    79518239  test -z "$as_dir" && as_dir=.
    79528240    for ac_exec_ext in '' $ac_executable_extensions; do
    7953   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8241  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    79548242    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
    79558243    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    79918279  test -z "$as_dir" && as_dir=.
    79928280    for ac_exec_ext in '' $ac_executable_extensions; do
    7993   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8281  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    79948282    ac_cv_prog_ac_ct_OTOOL="otool"
    79958283    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    80438331  test -z "$as_dir" && as_dir=.
    80448332    for ac_exec_ext in '' $ac_executable_extensions; do
    8045   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8333  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    80468334    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
    80478335    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    80838371  test -z "$as_dir" && as_dir=.
    80848372    for ac_exec_ext in '' $ac_executable_extensions; do
    8085   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     8373  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    80868374    ac_cv_prog_ac_ct_OTOOL64="otool64"
    80878375    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    81508438else
    81518439  lt_cv_apple_cc_single_mod=no
    8152       if test -z "${LT_MULTI_MODULE}"; then
     8440      if test -z "$LT_MULTI_MODULE"; then
    81538441        # By default we will add the -single_module flag. You can override
    81548442        # by either setting the environment variable LT_MULTI_MODULE
     
    81628450          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
    81638451        _lt_result=$?
    8164         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
     8452        # If there is a non-empty error log, and "single_module"
     8453        # appears in it, assume the flag caused a linker warning
     8454        if test -s conftest.err && $GREP single_module conftest.err; then
     8455          cat conftest.err >&5
     8456        # Otherwise, if the output was created with a 0 exit code from
     8457        # the compiler, it worked.
     8458        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
    81658459          lt_cv_apple_cc_single_mod=yes
    81668460        else
     
    81738467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
    81748468$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
     8469
    81758470    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
    81768471$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
     
    82008495rm -f core conftest.err conftest.$ac_objext \
    82018496    conftest$ac_exeext conftest.$ac_ext
    8202         LDFLAGS="$save_LDFLAGS"
     8497        LDFLAGS=$save_LDFLAGS
    82038498
    82048499fi
    82058500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
    82068501$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
     8502
    82078503    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
    82088504$as_echo_n "checking for -force_load linker flag... " >&6; }
     
    82268522      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
    82278523      _lt_result=$?
    8228       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
     8524      if test -s conftest.err && $GREP force_load conftest.err; then
     8525        cat conftest.err >&5
     8526      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
    82298527        lt_cv_ld_force_load=yes
    82308528      else
     
    82398537    case $host_os in
    82408538    rhapsody* | darwin1.[012])
    8241       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
     8539      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
    82428540    darwin1.*)
    8243       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     8541      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    82448542    darwin*) # darwin 5.x on
    82458543      # if running on 10.5 or later, the deployment target defaults
     
    82488546      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
    82498547        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
    8250           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
    8251         10.[012]*)
    8252           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     8548          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     8549        10.[012][,.]*)
     8550          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    82538551        10.*)
    8254           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     8552          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
    82558553      esac
    82568554    ;;
    82578555  esac
    8258     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
     8556    if test yes = "$lt_cv_apple_cc_single_mod"; then
    82598557      _lt_dar_single_mod='$single_module'
    82608558    fi
    8261     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
    8262       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
     8559    if test yes = "$lt_cv_ld_exported_symbols_list"; then
     8560      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
    82638561    else
    8264       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
     8562      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
    82658563    fi
    8266     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
     8564    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
    82678565      _lt_dsymutil='~$DSYMUTIL $lib || :'
    82688566    else
     
    82718569    ;;
    82728570  esac
     8571
     8572# func_munge_path_list VARIABLE PATH
     8573# -----------------------------------
     8574# VARIABLE is name of variable containing _space_ separated list of
     8575# directories to be munged by the contents of PATH, which is string
     8576# having a format:
     8577# "DIR[:DIR]:"
     8578#       string "DIR[ DIR]" will be prepended to VARIABLE
     8579# ":DIR[:DIR]"
     8580#       string "DIR[ DIR]" will be appended to VARIABLE
     8581# "DIRP[:DIRP]::[DIRA:]DIRA"
     8582#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     8583#       "DIRA[ DIRA]" will be appended to VARIABLE
     8584# "DIR[:DIR]"
     8585#       VARIABLE will be replaced by "DIR[ DIR]"
     8586func_munge_path_list ()
     8587{
     8588    case x$2 in
     8589    x)
     8590        ;;
     8591    *:)
     8592        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
     8593        ;;
     8594    x:*)
     8595        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
     8596        ;;
     8597    *::*)
     8598        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     8599        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
     8600        ;;
     8601    *)
     8602        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
     8603        ;;
     8604    esac
     8605}
    82738606
    82748607for ac_header in dlfcn.h
     
    82898622func_stripname_cnf ()
    82908623{
    8291   case ${2} in
    8292   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
    8293   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
     8624  case $2 in
     8625  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
     8626  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
    82948627  esac
    82958628} # func_stripname_cnf
     
    83098642     enable_static=no
    83108643      # Look at the argument we got.  We use all the common list separators.
    8311       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     8644      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    83128645      for pkg in $enableval; do
    8313         IFS="$lt_save_ifs"
     8646        IFS=$lt_save_ifs
    83148647        if test "X$pkg" = "X$p"; then
    83158648          enable_static=yes
    83168649        fi
    83178650      done
    8318       IFS="$lt_save_ifs"
     8651      IFS=$lt_save_ifs
    83198652      ;;
    83208653    esac
     
    83478680      enable_shared=no
    83488681      # Look at the argument we got.  We use all the common list separators.
    8349       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     8682      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    83508683      for pkg in $enableval; do
    8351         IFS="$lt_save_ifs"
     8684        IFS=$lt_save_ifs
    83528685        if test "X$pkg" = "X$p"; then
    83538686          enable_shared=yes
    83548687        fi
    83558688      done
    8356       IFS="$lt_save_ifs"
     8689      IFS=$lt_save_ifs
    83578690      ;;
    83588691    esac
     
    83738706# Check whether --with-pic was given.
    83748707if test "${with_pic+set}" = set; then :
    8375   withval=$with_pic; pic_mode="$withval"
     8708  withval=$with_pic; lt_p=${PACKAGE-default}
     8709    case $withval in
     8710    yes|no) pic_mode=$withval ;;
     8711    *)
     8712      pic_mode=default
     8713      # Look at the argument we got.  We use all the common list separators.
     8714      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     8715      for lt_pkg in $withval; do
     8716        IFS=$lt_save_ifs
     8717        if test "X$lt_pkg" = "X$lt_p"; then
     8718          pic_mode=yes
     8719        fi
     8720      done
     8721      IFS=$lt_save_ifs
     8722      ;;
     8723    esac
    83768724else
    83778725  pic_mode=default
    83788726fi
    83798727
    8380 
    8381 test -z "$pic_mode" && pic_mode=default
    83828728
    83838729
     
    83968742      enable_fast_install=no
    83978743      # Look at the argument we got.  We use all the common list separators.
    8398       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     8744      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    83998745      for pkg in $enableval; do
    8400         IFS="$lt_save_ifs"
     8746        IFS=$lt_save_ifs
    84018747        if test "X$pkg" = "X$p"; then
    84028748          enable_fast_install=yes
    84038749        fi
    84048750      done
    8405       IFS="$lt_save_ifs"
     8751      IFS=$lt_save_ifs
    84068752      ;;
    84078753    esac
     
    84178763
    84188764
     8765  shared_archive_member_spec=
     8766case $host,$enable_shared in
     8767power*-*-aix[5-9]*,yes)
     8768  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
     8769$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
     8770
     8771# Check whether --with-aix-soname was given.
     8772if test "${with_aix_soname+set}" = set; then :
     8773  withval=$with_aix_soname; case $withval in
     8774    aix|svr4|both)
     8775      ;;
     8776    *)
     8777      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
     8778      ;;
     8779    esac
     8780    lt_cv_with_aix_soname=$with_aix_soname
     8781else
     8782  if ${lt_cv_with_aix_soname+:} false; then :
     8783  $as_echo_n "(cached) " >&6
     8784else
     8785  lt_cv_with_aix_soname=aix
     8786fi
     8787
     8788    with_aix_soname=$lt_cv_with_aix_soname
     8789fi
     8790
     8791  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
     8792$as_echo "$with_aix_soname" >&6; }
     8793  if test aix != "$with_aix_soname"; then
     8794    # For the AIX way of multilib, we name the shared archive member
     8795    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
     8796    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
     8797    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
     8798    # the AIX toolchain works better with OBJECT_MODE set (default 32).
     8799    if test 64 = "${OBJECT_MODE-32}"; then
     8800      shared_archive_member_spec=shr_64
     8801    else
     8802      shared_archive_member_spec=shr
     8803    fi
     8804  fi
     8805  ;;
     8806*)
     8807  with_aix_soname=aix
     8808  ;;
     8809esac
     8810
     8811
     8812
     8813
     8814
     8815
     8816
    84198817
    84208818
    84218819
    84228820# This can be used to rebuild libtool when needed
    8423 LIBTOOL_DEPS="$ltmain"
     8821LIBTOOL_DEPS=$ltmain
    84248822
    84258823# Always use our own libtool.
     
    84518849
    84528850
     8851
     8852
     8853
     8854
    84538855test -z "$LN_S" && LN_S="ln -s"
    84548856
     
    84668868
    84678869
    8468 if test -n "${ZSH_VERSION+set}" ; then
     8870if test -n "${ZSH_VERSION+set}"; then
    84698871   setopt NO_GLOB_SUBST
    84708872fi
     
    85058907  # reason, if we set the COLLECT_NAMES environment variable, the problems
    85068908  # vanish in a puff of smoke.
    8507   if test "X${COLLECT_NAMES+set}" != Xset; then
     8909  if test set != "${COLLECT_NAMES+set}"; then
    85088910    COLLECT_NAMES=
    85098911    export COLLECT_NAMES
     
    85168918can_build_shared=yes
    85178919
    8518 # All known linkers require a `.a' archive for static linking (except MSVC,
     8920# All known linkers require a '.a' archive for static linking (except MSVC,
    85198921# which needs '.lib').
    85208922libext=a
    85218923
    8522 with_gnu_ld="$lt_cv_prog_gnu_ld"
    8523 
    8524 old_CC="$CC"
    8525 old_CFLAGS="$CFLAGS"
     8924with_gnu_ld=$lt_cv_prog_gnu_ld
     8925
     8926old_CC=$CC
     8927old_CFLAGS=$CFLAGS
    85268928
    85278929# Set sane defaults for various variables
     
    85328934test -z "$ac_objext" && ac_objext=o
    85338935
    8534 for cc_temp in $compiler""; do
    8535   case $cc_temp in
    8536     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    8537     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    8538     \-*) ;;
    8539     *) break;;
    8540   esac
    8541 done
    8542 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     8936func_cc_basename $compiler
     8937cc_basename=$func_cc_basename_result
    85438938
    85448939
     
    85558950  case $MAGIC_CMD in
    85568951[\\/*] |  ?:[\\/]*)
    8557   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     8952  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
    85588953  ;;
    85598954*)
    8560   lt_save_MAGIC_CMD="$MAGIC_CMD"
    8561   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     8955  lt_save_MAGIC_CMD=$MAGIC_CMD
     8956  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    85628957  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    85638958  for ac_dir in $ac_dummy; do
    8564     IFS="$lt_save_ifs"
     8959    IFS=$lt_save_ifs
    85658960    test -z "$ac_dir" && ac_dir=.
    8566     if test -f $ac_dir/${ac_tool_prefix}file; then
    8567       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
     8961    if test -f "$ac_dir/${ac_tool_prefix}file"; then
     8962      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
    85688963      if test -n "$file_magic_test_file"; then
    85698964        case $deplibs_check_method in
    85708965        "file_magic "*)
    85718966          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    8572           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     8967          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    85738968          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    85748969            $EGREP "$file_magic_regex" > /dev/null; then
     
    85938988    fi
    85948989  done
    8595   IFS="$lt_save_ifs"
    8596   MAGIC_CMD="$lt_save_MAGIC_CMD"
     8990  IFS=$lt_save_ifs
     8991  MAGIC_CMD=$lt_save_MAGIC_CMD
    85978992  ;;
    85988993esac
    85998994fi
    86008995
    8601 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     8996MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    86028997if test -n "$MAGIC_CMD"; then
    86038998  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     
    86219016  case $MAGIC_CMD in
    86229017[\\/*] |  ?:[\\/]*)
    8623   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     9018  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
    86249019  ;;
    86259020*)
    8626   lt_save_MAGIC_CMD="$MAGIC_CMD"
    8627   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     9021  lt_save_MAGIC_CMD=$MAGIC_CMD
     9022  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    86289023  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    86299024  for ac_dir in $ac_dummy; do
    8630     IFS="$lt_save_ifs"
     9025    IFS=$lt_save_ifs
    86319026    test -z "$ac_dir" && ac_dir=.
    8632     if test -f $ac_dir/file; then
    8633       lt_cv_path_MAGIC_CMD="$ac_dir/file"
     9027    if test -f "$ac_dir/file"; then
     9028      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
    86349029      if test -n "$file_magic_test_file"; then
    86359030        case $deplibs_check_method in
    86369031        "file_magic "*)
    86379032          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    8638           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     9033          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    86399034          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    86409035            $EGREP "$file_magic_regex" > /dev/null; then
     
    86599054    fi
    86609055  done
    8661   IFS="$lt_save_ifs"
    8662   MAGIC_CMD="$lt_save_MAGIC_CMD"
     9056  IFS=$lt_save_ifs
     9057  MAGIC_CMD=$lt_save_MAGIC_CMD
    86639058  ;;
    86649059esac
    86659060fi
    86669061
    8667 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     9062MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    86689063if test -n "$MAGIC_CMD"; then
    86699064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     
    86869081# Use C for the default configuration in the libtool script
    86879082
    8688 lt_save_CC="$CC"
     9083lt_save_CC=$CC
    86899084ac_ext=c
    86909085ac_cpp='$CPP $CPPFLAGS'
     
    87489143lt_prog_compiler_no_builtin_flag=
    87499144
    8750 if test "$GCC" = yes; then
     9145if test yes = "$GCC"; then
    87519146  case $cc_basename in
    87529147  nvcc*)
     
    87649159   ac_outfile=conftest.$ac_objext
    87659160   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    8766    lt_compiler_flag="-fno-rtti -fno-exceptions"
     9161   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
    87679162   # Insert the option either (1) after the last *FLAGS variable, or
    87689163   # (2) before a word containing "conftest.", or (3) at the end.
     
    87949189$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
    87959190
    8796 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
     9191if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
    87979192    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
    87989193else
     
    88129207
    88139208
    8814   if test "$GCC" = yes; then
     9209  if test yes = "$GCC"; then
    88159210    lt_prog_compiler_wl='-Wl,'
    88169211    lt_prog_compiler_static='-static'
     
    88199214      aix*)
    88209215      # All AIX code is PIC.
    8821       if test "$host_cpu" = ia64; then
     9216      if test ia64 = "$host_cpu"; then
    88229217        # AIX 5 now supports IA64 processor
    88239218        lt_prog_compiler_static='-Bstatic'
    88249219      fi
     9220      lt_prog_compiler_pic='-fPIC'
    88259221      ;;
    88269222
     
    88339229      m68k)
    88349230            # FIXME: we need at least 68020 code to build shared libraries, but
    8835             # adding the `-m68020' flag to GCC prevents building anything better,
    8836             # like `-m68040'.
     9231            # adding the '-m68020' flag to GCC prevents building anything better,
     9232            # like '-m68040'.
    88379233            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
    88389234        ;;
     
    88509246      # (--disable-auto-import) libraries
    88519247      lt_prog_compiler_pic='-DDLL_EXPORT'
     9248      case $host_os in
     9249      os2*)
     9250        lt_prog_compiler_static='$wl-static'
     9251        ;;
     9252      esac
    88529253      ;;
    88539254
     
    89109311    nvcc*) # Cuda Compiler Driver 2.2
    89119312      lt_prog_compiler_wl='-Xlinker '
    8912       lt_prog_compiler_pic='-Xcompiler -fPIC'
     9313      if test -n "$lt_prog_compiler_pic"; then
     9314        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
     9315      fi
    89139316      ;;
    89149317    esac
     
    89189321    aix*)
    89199322      lt_prog_compiler_wl='-Wl,'
    8920       if test "$host_cpu" = ia64; then
     9323      if test ia64 = "$host_cpu"; then
    89219324        # AIX 5 now supports IA64 processor
    89229325        lt_prog_compiler_static='-Bstatic'
     
    89269329      ;;
    89279330
     9331    darwin* | rhapsody*)
     9332      # PIC is the default on this platform
     9333      # Common symbols not allowed in MH_DYLIB files
     9334      lt_prog_compiler_pic='-fno-common'
     9335      case $cc_basename in
     9336      nagfor*)
     9337        # NAG Fortran compiler
     9338        lt_prog_compiler_wl='-Wl,-Wl,,'
     9339        lt_prog_compiler_pic='-PIC'
     9340        lt_prog_compiler_static='-Bstatic'
     9341        ;;
     9342      esac
     9343      ;;
     9344
    89289345    mingw* | cygwin* | pw32* | os2* | cegcc*)
    89299346      # This hack is so that the source file can tell whether it is being
    89309347      # built for inclusion in a dll (and should export symbols for example).
    89319348      lt_prog_compiler_pic='-DDLL_EXPORT'
     9349      case $host_os in
     9350      os2*)
     9351        lt_prog_compiler_static='$wl-static'
     9352        ;;
     9353      esac
    89329354      ;;
    89339355
     
    89459367      esac
    89469368      # Is there a better lt_prog_compiler_static that works with the bundled CC?
    8947       lt_prog_compiler_static='${wl}-a ${wl}archive'
     9369      lt_prog_compiler_static='$wl-a ${wl}archive'
    89489370      ;;
    89499371
     
    89549376      ;;
    89559377
    8956     linux* | k*bsd*-gnu | kopensolaris*-gnu)
     9378    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    89579379      case $cc_basename in
    8958       # old Intel for x86_64 which still supported -KPIC.
     9380      # old Intel for x86_64, which still supported -KPIC.
    89599381      ecc*)
    89609382        lt_prog_compiler_wl='-Wl,'
     
    89819403        lt_prog_compiler_static='-Bstatic'
    89829404        ;;
     9405      tcc*)
     9406        # Fabrice Bellard et al's Tiny C Compiler
     9407        lt_prog_compiler_wl='-Wl,'
     9408        lt_prog_compiler_pic='-fPIC'
     9409        lt_prog_compiler_static='-static'
     9410        ;;
    89839411      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
    89849412        # Portland Group compilers (*not* the Pentium gcc compiler,
     
    90019429      *)
    90029430        case `$CC -V 2>&1 | sed 5q` in
    9003         *Sun\ F* | *Sun*Fortran*)
     9431        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
    90049432          # Sun Fortran 8.3 passes all unrecognized flags to the linker
    90059433          lt_prog_compiler_pic='-KPIC'
    90069434          lt_prog_compiler_static='-Bstatic'
    90079435          lt_prog_compiler_wl=''
     9436          ;;
     9437        *Sun\ F* | *Sun*Fortran*)
     9438          lt_prog_compiler_pic='-KPIC'
     9439          lt_prog_compiler_static='-Bstatic'
     9440          lt_prog_compiler_wl='-Qoption ld '
    90089441          ;;
    90099442        *Sun\ C*)
     
    90129445          lt_prog_compiler_static='-Bstatic'
    90139446          lt_prog_compiler_wl='-Wl,'
     9447          ;;
     9448        *Intel*\ [CF]*Compiler*)
     9449          lt_prog_compiler_wl='-Wl,'
     9450          lt_prog_compiler_pic='-fPIC'
     9451          lt_prog_compiler_static='-static'
     9452          ;;
     9453        *Portland\ Group*)
     9454          lt_prog_compiler_wl='-Wl,'
     9455          lt_prog_compiler_pic='-fpic'
     9456          lt_prog_compiler_static='-Bstatic'
    90149457          ;;
    90159458        esac
     
    90639506
    90649507    sysv4*MP*)
    9065       if test -d /usr/nec ;then
     9508      if test -d /usr/nec; then
    90669509        lt_prog_compiler_pic='-Kconform_pic'
    90679510        lt_prog_compiler_static='-Bstatic'
     
    90929535
    90939536case $host_os in
    9094   # For platforms which do not support PIC, -DPIC is meaningless:
     9537  # For platforms that do not support PIC, -DPIC is meaningless:
    90959538  *djgpp*)
    90969539    lt_prog_compiler_pic=
     
    91249567   ac_outfile=conftest.$ac_objext
    91259568   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    9126    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
     9569   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
    91279570   # Insert the option either (1) after the last *FLAGS variable, or
    91289571   # (2) before a word containing "conftest.", or (3) at the end.
     
    91549597$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
    91559598
    9156 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
     9599if test yes = "$lt_cv_prog_compiler_pic_works"; then
    91579600    case $lt_prog_compiler_pic in
    91589601     "" | " "*) ;;
     
    91869629else
    91879630  lt_cv_prog_compiler_static_works=no
    9188    save_LDFLAGS="$LDFLAGS"
     9631   save_LDFLAGS=$LDFLAGS
    91899632   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    91909633   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     
    92059648   fi
    92069649   $RM -r conftest*
    9207    LDFLAGS="$save_LDFLAGS"
     9650   LDFLAGS=$save_LDFLAGS
    92089651
    92099652fi
     
    92119654$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
    92129655
    9213 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
     9656if test yes = "$lt_cv_prog_compiler_static_works"; then
    92149657    :
    92159658else
     
    93319774
    93329775
    9333 hard_links="nottested"
    9334 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
     9776hard_links=nottested
     9777if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
    93359778  # do not overwrite the value of need_locks provided by the user
    93369779  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     
    93449787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
    93459788$as_echo "$hard_links" >&6; }
    9346   if test "$hard_links" = no; then
    9347     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
    9348 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
     9789  if test no = "$hard_links"; then
     9790    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
     9791$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
    93499792    need_locks=warn
    93509793  fi
     
    93749817  hardcode_direct_absolute=no
    93759818  hardcode_libdir_flag_spec=
    9376   hardcode_libdir_flag_spec_ld=
    93779819  hardcode_libdir_separator=
    93789820  hardcode_minus_L=no
     
    93909832  include_expsyms=
    93919833  # exclude_expsyms can be an extended regexp of symbols to exclude
    9392   # it will be wrapped by ` (' and `)$', so one must not match beginning or
    9393   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    9394   # as well as any symbol that contains `d'.
     9834  # it will be wrapped by ' (' and ')$', so one must not match beginning or
     9835  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
     9836  # as well as any symbol that contains 'd'.
    93959837  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    93969838  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     
    94079849    # When not using gcc, we currently assume that we are using
    94089850    # Microsoft Visual C++.
    9409     if test "$GCC" != yes; then
     9851    if test yes != "$GCC"; then
    94109852      with_gnu_ld=no
    94119853    fi
     
    94159857    with_gnu_ld=yes
    94169858    ;;
    9417   openbsd*)
     9859  openbsd* | bitrig*)
    94189860    with_gnu_ld=no
    94199861    ;;
     
    94289870  # that we're better off using the native interface for both.
    94299871  lt_use_gnu_ld_interface=no
    9430   if test "$with_gnu_ld" = yes; then
     9872  if test yes = "$with_gnu_ld"; then
    94319873    case $host_os in
    94329874      aix*)
     
    94509892  fi
    94519893
    9452   if test "$lt_use_gnu_ld_interface" = yes; then
     9894  if test yes = "$lt_use_gnu_ld_interface"; then
    94539895    # If archive_cmds runs LD, not CC, wlarc should be empty
    9454     wlarc='${wl}'
     9896    wlarc='$wl'
    94559897
    94569898    # Set some defaults for GNU ld with shared library support. These
     
    94589900    # here allows them to be overridden if necessary.
    94599901    runpath_var=LD_RUN_PATH
    9460     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    9461     export_dynamic_flag_spec='${wl}--export-dynamic'
     9902    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     9903    export_dynamic_flag_spec='$wl--export-dynamic'
    94629904    # ancient GNU ld didn't support --whole-archive et. al.
    94639905    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
    9464       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     9906      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    94659907    else
    94669908      whole_archive_flag_spec=
    94679909    fi
    94689910    supports_anon_versioning=no
    9469     case `$LD -v 2>&1` in
     9911    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
    94709912      *GNU\ gold*) supports_anon_versioning=yes ;;
    94719913      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
     
    94809922    aix[3-9]*)
    94819923      # On AIX/PPC, the GNU linker is very broken
    9482       if test "$host_cpu" != ia64; then
     9924      if test ia64 != "$host_cpu"; then
    94839925        ld_shlibs=no
    94849926        cat <<_LT_EOF 1>&2
     
    94999941      powerpc)
    95009942            # see comment about AmigaOS4 .so support
    9501             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     9943            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    95029944            archive_expsym_cmds=''
    95039945        ;;
     
    95159957        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    95169958        # support --undefined.  This deserves some investigation.  FIXME
    9517         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     9959        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    95189960      else
    95199961        ld_shlibs=no
     
    95259967      # as there is no search path for DLLs.
    95269968      hardcode_libdir_flag_spec='-L$libdir'
    9527       export_dynamic_flag_spec='${wl}--export-all-symbols'
     9969      export_dynamic_flag_spec='$wl--export-all-symbols'
    95289970      allow_undefined_flag=unsupported
    95299971      always_export_symbols=no
     
    95339975
    95349976      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    9535         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    9536         # If the export-symbols file already is a .def file (1st line
    9537         # is EXPORTS), use it as is; otherwise, prepend...
    9538         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    9539           cp $export_symbols $output_objdir/$soname.def;
    9540         else
    9541           echo EXPORTS > $output_objdir/$soname.def;
    9542           cat $export_symbols >> $output_objdir/$soname.def;
    9543         fi~
    9544         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     9977        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     9978        # If the export-symbols file already is a .def file, use it as
     9979        # is; otherwise, prepend EXPORTS...
     9980        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     9981          cp $export_symbols $output_objdir/$soname.def;
     9982        else
     9983          echo EXPORTS > $output_objdir/$soname.def;
     9984          cat $export_symbols >> $output_objdir/$soname.def;
     9985        fi~
     9986        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    95459987      else
    95469988        ld_shlibs=no
     
    95499991
    95509992    haiku*)
    9551       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     9993      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    95529994      link_all_deplibs=yes
     9995      ;;
     9996
     9997    os2*)
     9998      hardcode_libdir_flag_spec='-L$libdir'
     9999      hardcode_minus_L=yes
     10000      allow_undefined_flag=unsupported
     10001      shrext_cmds=.dll
     10002      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     10003        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     10004        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     10005        $ECHO EXPORTS >> $output_objdir/$libname.def~
     10006        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     10007        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     10008        emximp -o $lib $output_objdir/$libname.def'
     10009      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     10010        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     10011        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     10012        $ECHO EXPORTS >> $output_objdir/$libname.def~
     10013        prefix_cmds="$SED"~
     10014        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     10015          prefix_cmds="$prefix_cmds -e 1d";
     10016        fi~
     10017        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     10018        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     10019        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     10020        emximp -o $lib $output_objdir/$libname.def'
     10021      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     10022      enable_shared_with_static_runtimes=yes
    955310023      ;;
    955410024
     
    955610026      hardcode_direct=no
    955710027      hardcode_shlibpath_var=no
    9558       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
    9559       export_dynamic_flag_spec='${wl}-E'
     10028      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
     10029      export_dynamic_flag_spec='$wl-E'
    956010030      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    956110031      # Instead, shared libraries are loaded at an image base (0x10000000 by
     
    956410034      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    956510035      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    9566       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    9567       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'
     10036      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     10037      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'
    956810038      ;;
    956910039
    957010040    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
    957110041      tmp_diet=no
    9572       if test "$host_os" = linux-dietlibc; then
     10042      if test linux-dietlibc = "$host_os"; then
    957310043        case $cc_basename in
    957410044          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
     
    957610046      fi
    957710047      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
    9578          && test "$tmp_diet" = no
     10048         && test no = "$tmp_diet"
    957910049      then
    958010050        tmp_addflag=' $pic_flag'
     
    958210052        case $cc_basename,$host_cpu in
    958310053        pgcc*)                          # Portland Group C compiler
    9584           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'
     10054          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'
    958510055          tmp_addflag=' $pic_flag'
    958610056          ;;
    958710057        pgf77* | pgf90* | pgf95* | pgfortran*)
    958810058                                        # Portland Group f77 and f90 compilers
    9589           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'
     10059          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'
    959010060          tmp_addflag=' $pic_flag -Mnomain' ;;
    959110061        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
     
    959810068          whole_archive_flag_spec=
    959910069          tmp_sharedflag='--shared' ;;
     10070        nagfor*)                        # NAGFOR 5.3
     10071          tmp_sharedflag='-Wl,-shared' ;;
    960010072        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
    960110073          tmp_sharedflag='-qmkshrobj'
    960210074          tmp_addflag= ;;
    960310075        nvcc*)  # Cuda Compiler Driver 2.2
    9604           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'
     10076          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'
    960510077          compiler_needs_object=yes
    960610078          ;;
     
    960810080        case `$CC -V 2>&1 | sed 5q` in
    960910081        *Sun\ C*)                       # Sun C 5.9
    9610           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'
     10082          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'
    961110083          compiler_needs_object=yes
    961210084          tmp_sharedflag='-G' ;;
     
    961410086          tmp_sharedflag='-G' ;;
    961510087        esac
    9616         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    9617 
    9618         if test "x$supports_anon_versioning" = xyes; then
     10088        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10089
     10090        if test yes = "$supports_anon_versioning"; then
    961910091          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
    9620             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    9621             echo "local: *; };" >> $output_objdir/$libname.ver~
    9622             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     10092            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     10093            echo "local: *; };" >> $output_objdir/$libname.ver~
     10094            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    962310095        fi
    962410096
    962510097        case $cc_basename in
     10098        tcc*)
     10099          export_dynamic_flag_spec='-rdynamic'
     10100          ;;
    962610101        xlf* | bgf* | bgxlf* | mpixlf*)
    962710102          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
    962810103          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
    9629           hardcode_libdir_flag_spec=
    9630           hardcode_libdir_flag_spec_ld='-rpath $libdir'
     10104          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    963110105          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
    9632           if test "x$supports_anon_versioning" = xyes; then
     10106          if test yes = "$supports_anon_versioning"; then
    963310107            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
    9634               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    9635               echo "local: *; };" >> $output_objdir/$libname.ver~
    9636               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
     10108              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     10109              echo "local: *; };" >> $output_objdir/$libname.ver~
     10110              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
    963710111          fi
    963810112          ;;
     
    964810122        wlarc=
    964910123      else
    9650         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    9651         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     10124        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10125        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    965210126      fi
    965310127      ;;
     
    966710141_LT_EOF
    966810142      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9669         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    9670         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     10143        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10144        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    967110145      else
    967210146        ld_shlibs=no
     
    968010154        cat <<_LT_EOF 1>&2
    968110155
    9682 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
     10156*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
    968310157*** reliably create shared libraries on SCO systems.  Therefore, libtool
    968410158*** is disabling shared libraries support.  We urge you to upgrade GNU
     
    969510169          # requires that you compile everything twice, which is a pain.
    969610170          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9697             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
    9698             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    9699             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     10171            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     10172            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10173            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    970010174          else
    970110175            ld_shlibs=no
     
    971410188    *)
    971510189      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9716         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    9717         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     10190        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     10191        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    971810192      else
    971910193        ld_shlibs=no
     
    972210196    esac
    972310197
    9724     if test "$ld_shlibs" = no; then
     10198    if test no = "$ld_shlibs"; then
    972510199      runpath_var=
    972610200      hardcode_libdir_flag_spec=
     
    973810212      # are no directories specified by -L.
    973910213      hardcode_minus_L=yes
    9740       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
     10214      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
    974110215        # Neither direct hardcoding nor static linking is supported with a
    974210216        # broken collect2.
     
    974610220
    974710221    aix[4-9]*)
    9748       if test "$host_cpu" = ia64; then
     10222      if test ia64 = "$host_cpu"; then
    974910223        # On IA64, the linker does run time linking by default, so we don't
    975010224        # have to do anything special.
    975110225        aix_use_runtimelinking=no
    975210226        exp_sym_flag='-Bexport'
    9753         no_entry_flag=""
     10227        no_entry_flag=
    975410228      else
    975510229        # If we're using GNU nm, then we don't want the "-C" option.
    9756         # -C means demangle to AIX nm, but means don't demangle with GNU nm
    9757         # Also, AIX nm treats weak defined symbols like other global
    9758         # defined symbols, whereas GNU nm marks them as "W".
     10230        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     10231        # Without the "-l" option, or with the "-B" option, AIX nm treats
     10232        # weak defined symbols like other global defined symbols, whereas
     10233        # GNU nm marks them as "W".
     10234        # While the 'weak' keyword is ignored in the Export File, we need
     10235        # it in the Import File for the 'aix-soname' feature, so we have
     10236        # to replace the "-B" option with "-P" for AIX nm.
    975910237        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    9760           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'
     10238          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'
    976110239        else
    9762           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'
     10240          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'
    976310241        fi
    976410242        aix_use_runtimelinking=no
     
    976610244        # Test if we are trying to use run time linking or normal
    976710245        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    9768         # need to do runtime linking.
     10246        # have runtime linking enabled, and use it for executables.
     10247        # For shared libraries, we enable/disable runtime linking
     10248        # depending on the kind of the shared library created -
     10249        # when "with_aix_soname,aix_use_runtimelinking" is:
     10250        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
     10251        # "aix,yes"  lib.so          shared, rtl:yes, for executables
     10252        #            lib.a           static archive
     10253        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
     10254        #            lib.a(lib.so.V) shared, rtl:no,  for executables
     10255        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
     10256        #            lib.a(lib.so.V) shared, rtl:no
     10257        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
     10258        #            lib.a           static archive
    976910259        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    977010260          for ld_flag in $LDFLAGS; do
    9771           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
     10261          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
    977210262            aix_use_runtimelinking=yes
    977310263            break
    977410264          fi
    977510265          done
     10266          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
     10267            # With aix-soname=svr4, we create the lib.so.V shared archives only,
     10268            # so we don't have lib.a shared libs to link our executables.
     10269            # We have to force runtime linking in this case.
     10270            aix_use_runtimelinking=yes
     10271            LDFLAGS="$LDFLAGS -Wl,-brtl"
     10272          fi
    977610273          ;;
    977710274        esac
     
    979210289      hardcode_libdir_separator=':'
    979310290      link_all_deplibs=yes
    9794       file_list_spec='${wl}-f,'
    9795 
    9796       if test "$GCC" = yes; then
     10291      file_list_spec='$wl-f,'
     10292      case $with_aix_soname,$aix_use_runtimelinking in
     10293      aix,*) ;; # traditional, no import file
     10294      svr4,* | *,yes) # use import file
     10295        # The Import File defines what to hardcode.
     10296        hardcode_direct=no
     10297        hardcode_direct_absolute=no
     10298        ;;
     10299      esac
     10300
     10301      if test yes = "$GCC"; then
    979710302        case $host_os in aix4.[012]|aix4.[012].*)
    979810303        # We only want to do this on AIX 4.2 and lower, the check
    979910304        # below for broken collect2 doesn't work under 4.3+
    9800           collect2name=`${CC} -print-prog-name=collect2`
     10305          collect2name=`$CC -print-prog-name=collect2`
    980110306          if test -f "$collect2name" &&
    980210307           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     
    981710322        esac
    981810323        shared_flag='-shared'
    9819         if test "$aix_use_runtimelinking" = yes; then
    9820           shared_flag="$shared_flag "'${wl}-G'
     10324        if test yes = "$aix_use_runtimelinking"; then
     10325          shared_flag="$shared_flag "'$wl-G'
    982110326        fi
    9822         link_all_deplibs=no
     10327        # Need to ensure runtime linking is disabled for the traditional
     10328        # shared library, or the linker may eventually find shared libraries
     10329        # /with/ Import File - we do not want to mix them.
     10330        shared_flag_aix='-shared'
     10331        shared_flag_svr4='-shared $wl-G'
    982310332      else
    982410333        # not using gcc
    9825         if test "$host_cpu" = ia64; then
     10334        if test ia64 = "$host_cpu"; then
    982610335        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    982710336        # chokes on -Wl,-G. The following line is correct:
    982810337          shared_flag='-G'
    982910338        else
    9830           if test "$aix_use_runtimelinking" = yes; then
    9831             shared_flag='${wl}-G'
     10339          if test yes = "$aix_use_runtimelinking"; then
     10340            shared_flag='$wl-G'
    983210341          else
    9833             shared_flag='${wl}-bM:SRE'
     10342            shared_flag='$wl-bM:SRE'
    983410343          fi
     10344          shared_flag_aix='$wl-bM:SRE'
     10345          shared_flag_svr4='$wl-G'
    983510346        fi
    983610347      fi
    983710348
    9838       export_dynamic_flag_spec='${wl}-bexpall'
     10349      export_dynamic_flag_spec='$wl-bexpall'
    983910350      # It seems that -bexpall does not export symbols beginning with
    984010351      # underscore (_), so it is better to generate a list of symbols to export.
    984110352      always_export_symbols=yes
    9842       if test "$aix_use_runtimelinking" = yes; then
     10353      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
    984310354        # Warning - without using the other runtime loading flags (-brtl),
    984410355        # -berok will link without error, but may produce a broken library.
     
    984610357        # Determine the default libpath from the value encoded in an
    984710358        # empty executable.
    9848         if test "${lt_cv_aix_libpath+set}" = set; then
     10359        if test set = "${lt_cv_aix_libpath+set}"; then
    984910360  aix_libpath=$lt_cv_aix_libpath
    985010361else
     
    988110392    conftest$ac_exeext conftest.$ac_ext
    988210393  if test -z "$lt_cv_aix_libpath_"; then
    9883     lt_cv_aix_libpath_="/usr/lib:/lib"
     10394    lt_cv_aix_libpath_=/usr/lib:/lib
    988410395  fi
    988510396
     
    988910400fi
    989010401
    9891         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
    9892         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"
     10402        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
     10403        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
    989310404      else
    9894         if test "$host_cpu" = ia64; then
    9895           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
     10405        if test ia64 = "$host_cpu"; then
     10406          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
    989610407          allow_undefined_flag="-z nodefs"
    9897           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"
     10408          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"
    989810409        else
    989910410         # Determine the default libpath from the value encoded in an
    990010411         # empty executable.
    9901          if test "${lt_cv_aix_libpath+set}" = set; then
     10412         if test set = "${lt_cv_aix_libpath+set}"; then
    990210413  aix_libpath=$lt_cv_aix_libpath
    990310414else
     
    993410445    conftest$ac_exeext conftest.$ac_ext
    993510446  if test -z "$lt_cv_aix_libpath_"; then
    9936     lt_cv_aix_libpath_="/usr/lib:/lib"
     10447    lt_cv_aix_libpath_=/usr/lib:/lib
    993710448  fi
    993810449
     
    994210453fi
    994310454
    9944          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
     10455         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
    994510456          # Warning - without using the other run time loading flags,
    994610457          # -berok will link without error, but may produce a broken library.
    9947           no_undefined_flag=' ${wl}-bernotok'
    9948           allow_undefined_flag=' ${wl}-berok'
    9949           if test "$with_gnu_ld" = yes; then
     10458          no_undefined_flag=' $wl-bernotok'
     10459          allow_undefined_flag=' $wl-berok'
     10460          if test yes = "$with_gnu_ld"; then
    995010461            # We only use this code for GNU lds that support --whole-archive.
    9951             whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     10462            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
    995210463          else
    995310464            # Exported symbols can be pulled into shared objects from archives
     
    995510466          fi
    995610467          archive_cmds_need_lc=yes
    9957           # This is similar to how AIX traditionally builds its shared libraries.
    9958           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'
     10468          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
     10469          # -brtl affects multiple linker settings, -berok does not and is overridden later
     10470          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
     10471          if test svr4 != "$with_aix_soname"; then
     10472            # This is similar to how AIX traditionally builds its shared libraries.
     10473            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'
     10474          fi
     10475          if test aix != "$with_aix_soname"; then
     10476            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'
     10477          else
     10478            # used by -dlpreopen to get the symbols
     10479            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
     10480          fi
     10481          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
    995910482        fi
    996010483      fi
     
    996510488      powerpc)
    996610489            # see comment about AmigaOS4 .so support
    9967             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     10490            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    996810491            archive_expsym_cmds=''
    996910492        ;;
     
    999510518        libext=lib
    999610519        # Tell ltmain to make .dll files, not .so files.
    9997         shrext_cmds=".dll"
     10520        shrext_cmds=.dll
    999810521        # FIXME: Setting linknames here is a bad hack.
    9999         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
    10000         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    10001             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
    10002           else
    10003             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
    10004           fi~
    10005           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    10006           linknames='
     10522        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
     10523        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     10524            cp "$export_symbols" "$output_objdir/$soname.def";
     10525            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
     10526          else
     10527            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
     10528          fi~
     10529          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     10530          linknames='
    1000710531        # The linker will not automatically build a static lib if we build a DLL.
    1000810532        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
    1000910533        enable_shared_with_static_runtimes=yes
     10534        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
    1001010535        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
    1001110536        # Don't use ranlib
    1001210537        old_postinstall_cmds='chmod 644 $oldlib'
    1001310538        postlink_cmds='lt_outputfile="@OUTPUT@"~
    10014           lt_tool_outputfile="@TOOL_OUTPUT@"~
    10015           case $lt_outputfile in
    10016             *.exe|*.EXE) ;;
    10017             *)
    10018               lt_outputfile="$lt_outputfile.exe"
    10019               lt_tool_outputfile="$lt_tool_outputfile.exe"
    10020               ;;
    10021           esac~
    10022           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
    10023             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    10024             $RM "$lt_outputfile.manifest";
    10025           fi'
     10539          lt_tool_outputfile="@TOOL_OUTPUT@"~
     10540          case $lt_outputfile in
     10541            *.exe|*.EXE) ;;
     10542            *)
     10543              lt_outputfile=$lt_outputfile.exe
     10544              lt_tool_outputfile=$lt_tool_outputfile.exe
     10545              ;;
     10546          esac~
     10547          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
     10548            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     10549            $RM "$lt_outputfile.manifest";
     10550          fi'
    1002610551        ;;
    1002710552      *)
     
    1003210557        libext=lib
    1003310558        # Tell ltmain to make .dll files, not .so files.
    10034         shrext_cmds=".dll"
     10559        shrext_cmds=.dll
    1003510560        # FIXME: Setting linknames here is a bad hack.
    1003610561        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
     
    1005110576  hardcode_automatic=yes
    1005210577  hardcode_shlibpath_var=unsupported
    10053   if test "$lt_cv_ld_force_load" = "yes"; then
    10054     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\"`'
     10578  if test yes = "$lt_cv_ld_force_load"; then
     10579    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\"`'
     10580
    1005510581  else
    1005610582    whole_archive_flag_spec=''
    1005710583  fi
    1005810584  link_all_deplibs=yes
    10059   allow_undefined_flag="$_lt_dar_allow_undefined"
     10585  allow_undefined_flag=$_lt_dar_allow_undefined
    1006010586  case $cc_basename in
    10061      ifort*) _lt_dar_can_shared=yes ;;
     10587     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
    1006210588     *) _lt_dar_can_shared=$GCC ;;
    1006310589  esac
    10064   if test "$_lt_dar_can_shared" = "yes"; then
     10590  if test yes = "$_lt_dar_can_shared"; then
    1006510591    output_verbose_link_cmd=func_echo_all
    10066     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
    10067     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
    10068     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}"
    10069     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}"
     10592    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
     10593    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
     10594    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"
     10595    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"
    1007010596
    1007110597  else
     
    1007910605      hardcode_libdir_flag_spec='-L$libdir'
    1008010606      hardcode_shlibpath_var=no
    10081       ;;
    10082 
    10083     freebsd1*)
    10084       ld_shlibs=no
    1008510607      ;;
    1008610608
     
    1009710619
    1009810620    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    10099     freebsd2*)
     10621    freebsd2.*)
    1010010622      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    1010110623      hardcode_direct=yes
     
    1011310635
    1011410636    hpux9*)
    10115       if test "$GCC" = yes; then
    10116         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'
     10637      if test yes = "$GCC"; then
     10638        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'
    1011710639      else
    10118         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'
     10640        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'
    1011910641      fi
    10120       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
     10642      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    1012110643      hardcode_libdir_separator=:
    1012210644      hardcode_direct=yes
     
    1012510647      # but as the default location of the library.
    1012610648      hardcode_minus_L=yes
    10127       export_dynamic_flag_spec='${wl}-E'
     10649      export_dynamic_flag_spec='$wl-E'
    1012810650      ;;
    1012910651
    1013010652    hpux10*)
    10131       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
    10132         archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     10653      if test yes,no = "$GCC,$with_gnu_ld"; then
     10654        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    1013310655      else
    1013410656        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    1013510657      fi
    10136       if test "$with_gnu_ld" = no; then
    10137         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
    10138         hardcode_libdir_flag_spec_ld='+b $libdir'
     10658      if test no = "$with_gnu_ld"; then
     10659        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    1013910660        hardcode_libdir_separator=:
    1014010661        hardcode_direct=yes
    1014110662        hardcode_direct_absolute=yes
    10142         export_dynamic_flag_spec='${wl}-E'
     10663        export_dynamic_flag_spec='$wl-E'
    1014310664        # hardcode_minus_L: Not really in the search PATH,
    1014410665        # but as the default location of the library.
     
    1014810669
    1014910670    hpux11*)
    10150       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
     10671      if test yes,no = "$GCC,$with_gnu_ld"; then
    1015110672        case $host_cpu in
    1015210673        hppa*64*)
    10153           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     10674          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    1015410675          ;;
    1015510676        ia64*)
    10156           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     10677          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    1015710678          ;;
    1015810679        *)
    10159           archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     10680          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    1016010681          ;;
    1016110682        esac
     
    1016310684        case $host_cpu in
    1016410685        hppa*64*)
    10165           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     10686          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    1016610687          ;;
    1016710688        ia64*)
    10168           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     10689          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    1016910690          ;;
    1017010691        *)
     
    1017810699else
    1017910700  lt_cv_prog_compiler__b=no
    10180    save_LDFLAGS="$LDFLAGS"
     10701   save_LDFLAGS=$LDFLAGS
    1018110702   LDFLAGS="$LDFLAGS -b"
    1018210703   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     
    1019710718   fi
    1019810719   $RM -r conftest*
    10199    LDFLAGS="$save_LDFLAGS"
     10720   LDFLAGS=$save_LDFLAGS
    1020010721
    1020110722fi
     
    1020310724$as_echo "$lt_cv_prog_compiler__b" >&6; }
    1020410725
    10205 if test x"$lt_cv_prog_compiler__b" = xyes; then
    10206     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     10726if test yes = "$lt_cv_prog_compiler__b"; then
     10727    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    1020710728else
    1020810729    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
     
    1021210733        esac
    1021310734      fi
    10214       if test "$with_gnu_ld" = no; then
    10215         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
     10735      if test no = "$with_gnu_ld"; then
     10736        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    1021610737        hardcode_libdir_separator=:
    1021710738
     
    1022410745          hardcode_direct=yes
    1022510746          hardcode_direct_absolute=yes
    10226           export_dynamic_flag_spec='${wl}-E'
     10747          export_dynamic_flag_spec='$wl-E'
    1022710748
    1022810749          # hardcode_minus_L: Not really in the search PATH,
     
    1023510756
    1023610757    irix5* | irix6* | nonstopux*)
    10237       if test "$GCC" = yes; then
    10238         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'
     10758      if test yes = "$GCC"; then
     10759        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'
    1023910760        # Try to use the -exported_symbol ld option, if it does not
    1024010761        # work, assume that -exports_file does not work either and
     
    1024610767  $as_echo_n "(cached) " >&6
    1024710768else
    10248   save_LDFLAGS="$LDFLAGS"
    10249            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
     10769  save_LDFLAGS=$LDFLAGS
     10770           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
    1025010771           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1025110772/* end confdefs.h.  */
     
    1025910780rm -f core conftest.err conftest.$ac_objext \
    1026010781    conftest$ac_exeext conftest.$ac_ext
    10261            LDFLAGS="$save_LDFLAGS"
     10782           LDFLAGS=$save_LDFLAGS
    1026210783fi
    1026310784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
    1026410785$as_echo "$lt_cv_irix_exported_symbol" >&6; }
    10265         if test "$lt_cv_irix_exported_symbol" = yes; then
    10266           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'
     10786        if test yes = "$lt_cv_irix_exported_symbol"; then
     10787          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'
    1026710788        fi
     10789        link_all_deplibs=no
    1026810790      else
    10269         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'
    10270         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'
     10791        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'
     10792        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'
    1027110793      fi
    1027210794      archive_cmds_need_lc='no'
    10273       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     10795      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    1027410796      hardcode_libdir_separator=:
    1027510797      inherit_rpath=yes
    1027610798      link_all_deplibs=yes
     10799      ;;
     10800
     10801    linux*)
     10802      case $cc_basename in
     10803      tcc*)
     10804        # Fabrice Bellard et al's Tiny C Compiler
     10805        ld_shlibs=yes
     10806        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     10807        ;;
     10808      esac
    1027710809      ;;
    1027810810
     
    1029110823      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    1029210824      hardcode_direct=yes
    10293       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     10825      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    1029410826      hardcode_libdir_separator=:
    1029510827      hardcode_shlibpath_var=no
     
    1029910831      ;;
    1030010832
    10301     openbsd*)
     10833    openbsd* | bitrig*)
    1030210834      if test -f /usr/libexec/ld.so; then
    1030310835        hardcode_direct=yes
    1030410836        hardcode_shlibpath_var=no
    1030510837        hardcode_direct_absolute=yes
    10306         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     10838        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    1030710839          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    10308           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
    10309           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
    10310           export_dynamic_flag_spec='${wl}-E'
     10840          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
     10841          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
     10842          export_dynamic_flag_spec='$wl-E'
    1031110843        else
    10312           case $host_os in
    10313            openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
    10314              archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    10315              hardcode_libdir_flag_spec='-R$libdir'
    10316              ;;
    10317            *)
    10318              archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    10319              hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
    10320              ;;
    10321           esac
     10844          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     10845          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
    1032210846        fi
    1032310847      else
     
    1033010854      hardcode_minus_L=yes
    1033110855      allow_undefined_flag=unsupported
    10332       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'
    10333       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
     10856      shrext_cmds=.dll
     10857      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     10858        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     10859        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     10860        $ECHO EXPORTS >> $output_objdir/$libname.def~
     10861        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     10862        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     10863        emximp -o $lib $output_objdir/$libname.def'
     10864      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     10865        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     10866        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     10867        $ECHO EXPORTS >> $output_objdir/$libname.def~
     10868        prefix_cmds="$SED"~
     10869        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     10870          prefix_cmds="$prefix_cmds -e 1d";
     10871        fi~
     10872        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     10873        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     10874        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     10875        emximp -o $lib $output_objdir/$libname.def'
     10876      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     10877      enable_shared_with_static_runtimes=yes
    1033410878      ;;
    1033510879
    1033610880    osf3*)
    10337       if test "$GCC" = yes; then
    10338         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
    10339         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'
     10881      if test yes = "$GCC"; then
     10882        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
     10883        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'
    1034010884      else
    1034110885        allow_undefined_flag=' -expect_unresolved \*'
    10342         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'
     10886        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'
    1034310887      fi
    1034410888      archive_cmds_need_lc='no'
    10345       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     10889      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    1034610890      hardcode_libdir_separator=:
    1034710891      ;;
    1034810892
    1034910893    osf4* | osf5*)      # as osf3* with the addition of -msym flag
    10350       if test "$GCC" = yes; then
    10351         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
    10352         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'
    10353         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
     10894      if test yes = "$GCC"; then
     10895        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
     10896        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'
     10897        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    1035410898      else
    1035510899        allow_undefined_flag=' -expect_unresolved \*'
    10356         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'
     10900        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'
    1035710901        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~
    10358         $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'
     10902          $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'
    1035910903
    1036010904        # Both c and cxx compiler support -rpath directly
     
    1036710911    solaris*)
    1036810912      no_undefined_flag=' -z defs'
    10369       if test "$GCC" = yes; then
    10370         wlarc='${wl}'
    10371         archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     10913      if test yes = "$GCC"; then
     10914        wlarc='$wl'
     10915        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    1037210916        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    10373           $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'
     10917          $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'
    1037410918      else
    1037510919        case `$CC -V 2>&1` in
    1037610920        *"Compilers 5.0"*)
    1037710921          wlarc=''
    10378           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
     10922          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
    1037910923          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    10380           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
     10924            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
    1038110925          ;;
    1038210926        *)
    10383           wlarc='${wl}'
    10384           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
     10927          wlarc='$wl'
     10928          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
    1038510929          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    10386           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
     10930            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
    1038710931          ;;
    1038810932        esac
     
    1039410938      *)
    1039510939        # The compiler driver will combine and reorder linker options,
    10396         # but understands `-z linker_flag'.  GCC discards it without `$wl',
     10940        # but understands '-z linker_flag'.  GCC discards it without '$wl',
    1039710941        # but is careful enough not to reorder.
    1039810942        # Supported since Solaris 2.6 (maybe 2.5.1?)
    10399         if test "$GCC" = yes; then
    10400           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     10943        if test yes = "$GCC"; then
     10944          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
    1040110945        else
    1040210946          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
     
    1040810952
    1040910953    sunos4*)
    10410       if test "x$host_vendor" = xsequent; then
     10954      if test sequent = "$host_vendor"; then
    1041110955        # Use $CC to link under sequent, because it throws in some extra .o
    1041210956        # files that make .init and .fini sections work.
    10413         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
     10957        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    1041410958      else
    1041510959        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
     
    1046011004
    1046111005    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    10462       no_undefined_flag='${wl}-z,text'
     11006      no_undefined_flag='$wl-z,text'
    1046311007      archive_cmds_need_lc=no
    1046411008      hardcode_shlibpath_var=no
    1046511009      runpath_var='LD_RUN_PATH'
    1046611010
    10467       if test "$GCC" = yes; then
    10468         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10469         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11011      if test yes = "$GCC"; then
     11012        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11013        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1047011014      else
    10471         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10472         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11015        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11016        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1047311017      fi
    1047411018      ;;
    1047511019
    1047611020    sysv5* | sco3.2v5* | sco5v6*)
    10477       # Note: We can NOT use -z defs as we might desire, because we do not
     11021      # Note: We CANNOT use -z defs as we might desire, because we do not
    1047811022      # link with -lc, and that would cause any symbols used from libc to
    1047911023      # always be unresolved, which means just about no library would
     
    1048111025      # though, which does catch some bad symbols but isn't as heavy-handed
    1048211026      # as -z defs.
    10483       no_undefined_flag='${wl}-z,text'
    10484       allow_undefined_flag='${wl}-z,nodefs'
     11027      no_undefined_flag='$wl-z,text'
     11028      allow_undefined_flag='$wl-z,nodefs'
    1048511029      archive_cmds_need_lc=no
    1048611030      hardcode_shlibpath_var=no
    10487       hardcode_libdir_flag_spec='${wl}-R,$libdir'
     11031      hardcode_libdir_flag_spec='$wl-R,$libdir'
    1048811032      hardcode_libdir_separator=':'
    1048911033      link_all_deplibs=yes
    10490       export_dynamic_flag_spec='${wl}-Bexport'
     11034      export_dynamic_flag_spec='$wl-Bexport'
    1049111035      runpath_var='LD_RUN_PATH'
    1049211036
    10493       if test "$GCC" = yes; then
    10494         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10495         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11037      if test yes = "$GCC"; then
     11038        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11039        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1049611040      else
    10497         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10498         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11041        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     11042        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1049911043      fi
    1050011044      ;;
     
    1051111055    esac
    1051211056
    10513     if test x$host_vendor = xsni; then
     11057    if test sni = "$host_vendor"; then
    1051411058      case $host in
    1051511059      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    10516         export_dynamic_flag_spec='${wl}-Blargedynsym'
     11060        export_dynamic_flag_spec='$wl-Blargedynsym'
    1051711061        ;;
    1051811062      esac
     
    1052211066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
    1052311067$as_echo "$ld_shlibs" >&6; }
    10524 test "$ld_shlibs" = no && can_build_shared=no
     11068test no = "$ld_shlibs" && can_build_shared=no
    1052511069
    1052611070with_gnu_ld=$with_gnu_ld
     
    1054811092  archive_cmds_need_lc=yes
    1054911093
    10550   if test "$enable_shared" = yes && test "$GCC" = yes; then
     11094  if test yes,yes = "$GCC,$enable_shared"; then
    1055111095    case $archive_cmds in
    1055211096    *'~'*)
     
    1076011304
    1076111305
    10762 
    10763 
    10764 
    10765 
    10766 
    1076711306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
    1076811307$as_echo_n "checking dynamic linker characteristics... " >&6; }
    1076911308
    10770 if test "$GCC" = yes; then
     11309if test yes = "$GCC"; then
    1077111310  case $host_os in
    10772     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
    10773     *) lt_awk_arg="/^libraries:/" ;;
     11311    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
     11312    *) lt_awk_arg='/^libraries:/' ;;
    1077411313  esac
    1077511314  case $host_os in
    10776     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
    10777     *) lt_sed_strip_eq="s,=/,/,g" ;;
     11315    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
     11316    *) lt_sed_strip_eq='s|=/|/|g' ;;
    1077811317  esac
    1077911318  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
     
    1079111330  esac
    1079211331  # Ok, now we have the path, separated by spaces, we can step through it
    10793   # and add multilib dir if necessary.
     11332  # and add multilib dir if necessary...
    1079411333  lt_tmp_lt_search_path_spec=
    10795   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     11334  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     11335  # ...but if some path component already ends with the multilib dir we assume
     11336  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
     11337  case "$lt_multi_os_dir; $lt_search_path_spec " in
     11338  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
     11339    lt_multi_os_dir=
     11340    ;;
     11341  esac
    1079611342  for lt_sys_path in $lt_search_path_spec; do
    10797     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
    10798       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
    10799     else
     11343    if test -d "$lt_sys_path$lt_multi_os_dir"; then
     11344      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
     11345    elif test -n "$lt_multi_os_dir"; then
    1080011346      test -d "$lt_sys_path" && \
    1080111347        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     
    1080311349  done
    1080411350  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
    10805 BEGIN {RS=" "; FS="/|\n";} {
    10806   lt_foo="";
    10807   lt_count=0;
     11351BEGIN {RS = " "; FS = "/|\n";} {
     11352  lt_foo = "";
     11353  lt_count = 0;
    1080811354  for (lt_i = NF; lt_i > 0; lt_i--) {
    1080911355    if ($lt_i != "" && $lt_i != ".") {
     
    1081211358      } else {
    1081311359        if (lt_count == 0) {
    10814           lt_foo="/" $lt_i lt_foo;
     11360          lt_foo = "/" $lt_i lt_foo;
    1081511361        } else {
    1081611362          lt_count--;
     
    1082611372  case $host_os in
    1082711373    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
    10828       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
     11374      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
    1082911375  esac
    1083011376  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
     
    1083511381libname_spec='lib$name'
    1083611382soname_spec=
    10837 shrext_cmds=".so"
     11383shrext_cmds=.so
    1083811384postinstall_cmds=
    1083911385postuninstall_cmds=
     
    1085211398need_version=unknown
    1085311399
     11400
     11401
    1085411402case $host_os in
    1085511403aix3*)
    10856   version_type=linux
    10857   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
     11404  version_type=linux # correct to gnu/linux during the next big refactor
     11405  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
    1085811406  shlibpath_var=LIBPATH
    1085911407
    1086011408  # AIX 3 has no versioning support, so we append a major version to the name.
    10861   soname_spec='${libname}${release}${shared_ext}$major'
     11409  soname_spec='$libname$release$shared_ext$major'
    1086211410  ;;
    1086311411
    1086411412aix[4-9]*)
    10865   version_type=linux
     11413  version_type=linux # correct to gnu/linux during the next big refactor
    1086611414  need_lib_prefix=no
    1086711415  need_version=no
    1086811416  hardcode_into_libs=yes
    10869   if test "$host_cpu" = ia64; then
     11417  if test ia64 = "$host_cpu"; then
    1087011418    # AIX 5 supports IA64
    10871     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
     11419    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
    1087211420    shlibpath_var=LD_LIBRARY_PATH
    1087311421  else
    1087411422    # With GCC up to 2.95.x, collect2 would create an import file
    1087511423    # for dependence libraries.  The import file would start with
    10876     # the line `#! .'.  This would cause the generated library to
    10877     # depend on `.', always an invalid library.  This was fixed in
     11424    # the line '#! .'.  This would cause the generated library to
     11425    # depend on '.', always an invalid library.  This was fixed in
    1087811426    # development snapshots of GCC prior to 3.0.
    1087911427    case $host_os in
     
    1088111429      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    1088211430           echo ' yes '
    10883            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
     11431           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
    1088411432        :
    1088511433      else
     
    1088811436      ;;
    1088911437    esac
    10890     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
     11438    # Using Import Files as archive members, it is possible to support
     11439    # filename-based versioning of shared library archives on AIX. While
     11440    # this would work for both with and without runtime linking, it will
     11441    # prevent static linking of such archives. So we do filename-based
     11442    # shared library versioning with .so extension only, which is used
     11443    # when both runtime linking and shared linking is enabled.
     11444    # Unfortunately, runtime linking may impact performance, so we do
     11445    # not want this to be the default eventually. Also, we use the
     11446    # versioned .so libs for executables only if there is the -brtl
     11447    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
     11448    # To allow for filename-based versioning support, we need to create
     11449    # libNAME.so.V as an archive file, containing:
     11450    # *) an Import File, referring to the versioned filename of the
     11451    #    archive as well as the shared archive member, telling the
     11452    #    bitwidth (32 or 64) of that shared object, and providing the
     11453    #    list of exported symbols of that shared object, eventually
     11454    #    decorated with the 'weak' keyword
     11455    # *) the shared object with the F_LOADONLY flag set, to really avoid
     11456    #    it being seen by the linker.
     11457    # At run time we better use the real file rather than another symlink,
     11458    # but for link time we create the symlink libNAME.so -> libNAME.so.V
     11459
     11460    case $with_aix_soname,$aix_use_runtimelinking in
     11461    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
    1089111462    # soname into executable. Probably we can add versioning support to
    1089211463    # collect2, so additional links can be useful in future.
    10893     if test "$aix_use_runtimelinking" = yes; then
     11464    aix,yes) # traditional libtool
     11465      dynamic_linker='AIX unversionable lib.so'
    1089411466      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    1089511467      # instead of lib<name>.a to let people know that these are not
    1089611468      # typical AIX shared libraries.
    10897       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    10898     else
     11469      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11470      ;;
     11471    aix,no) # traditional AIX only
     11472      dynamic_linker='AIX lib.a(lib.so.V)'
    1089911473      # We preserve .a as extension for shared libraries through AIX4.2
    1090011474      # and later when we are not doing run time linking.
    10901       library_names_spec='${libname}${release}.a $libname.a'
    10902       soname_spec='${libname}${release}${shared_ext}$major'
    10903     fi
     11475      library_names_spec='$libname$release.a $libname.a'
     11476      soname_spec='$libname$release$shared_ext$major'
     11477      ;;
     11478    svr4,*) # full svr4 only
     11479      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
     11480      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     11481      # We do not specify a path in Import Files, so LIBPATH fires.
     11482      shlibpath_overrides_runpath=yes
     11483      ;;
     11484    *,yes) # both, prefer svr4
     11485      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
     11486      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     11487      # unpreferred sharedlib libNAME.a needs extra handling
     11488      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"'
     11489      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"'
     11490      # We do not specify a path in Import Files, so LIBPATH fires.
     11491      shlibpath_overrides_runpath=yes
     11492      ;;
     11493    *,no) # both, prefer aix
     11494      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
     11495      library_names_spec='$libname$release.a $libname.a'
     11496      soname_spec='$libname$release$shared_ext$major'
     11497      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
     11498      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)'
     11499      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"'
     11500      ;;
     11501    esac
    1090411502    shlibpath_var=LIBPATH
    1090511503  fi
     
    1091111509    # Since July 2007 AmigaOS4 officially supports .so libraries.
    1091211510    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    10913     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     11511    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    1091411512    ;;
    1091511513  m68k)
    1091611514    library_names_spec='$libname.ixlibrary $libname.a'
    1091711515    # Create ${libname}_ixlibrary.a entries in /sys/libs.
    10918     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'
     11516    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'
    1091911517    ;;
    1092011518  esac
     
    1092211520
    1092311521beos*)
    10924   library_names_spec='${libname}${shared_ext}'
     11522  library_names_spec='$libname$shared_ext'
    1092511523  dynamic_linker="$host_os ld.so"
    1092611524  shlibpath_var=LIBRARY_PATH
     
    1092811526
    1092911527bsdi[45]*)
    10930   version_type=linux
     11528  version_type=linux # correct to gnu/linux during the next big refactor
    1093111529  need_version=no
    10932   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    10933   soname_spec='${libname}${release}${shared_ext}$major'
     11530  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11531  soname_spec='$libname$release$shared_ext$major'
    1093411532  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    1093511533  shlibpath_var=LD_LIBRARY_PATH
     
    1094311541cygwin* | mingw* | pw32* | cegcc*)
    1094411542  version_type=windows
    10945   shrext_cmds=".dll"
     11543  shrext_cmds=.dll
    1094611544  need_version=no
    1094711545  need_lib_prefix=no
     
    1095211550    library_names_spec='$libname.dll.a'
    1095311551    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    10954     postinstall_cmds='base_file=`basename \${file}`~
    10955       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     11552    postinstall_cmds='base_file=`basename \$file`~
     11553      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    1095611554      dldir=$destdir/`dirname \$dlpath`~
    1095711555      test -d \$dldir || mkdir -p \$dldir~
     
    1096911567    cygwin*)
    1097011568      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    10971       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
     11569      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    1097211570
    1097311571      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
     
    1097511573    mingw* | cegcc*)
    1097611574      # MinGW DLLs use traditional 'lib' prefix
    10977       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
     11575      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    1097811576      ;;
    1097911577    pw32*)
    1098011578      # pw32 DLLs use 'pw' prefix rather than 'lib'
    10981       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
     11579      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    1098211580      ;;
    1098311581    esac
     
    1098811586    # Native MSVC
    1098911587    libname_spec='$name'
    10990     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    10991     library_names_spec='${libname}.dll.lib'
     11588    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     11589    library_names_spec='$libname.dll.lib'
    1099211590
    1099311591    case $build_os in
     
    1101611614      ;;
    1101711615    *)
    11018       sys_lib_search_path_spec="$LIB"
     11616      sys_lib_search_path_spec=$LIB
    1101911617      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
    1102011618        # It is most probably a Windows format PATH.
     
    1102911627
    1103011628    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    11031     postinstall_cmds='base_file=`basename \${file}`~
    11032       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     11629    postinstall_cmds='base_file=`basename \$file`~
     11630      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    1103311631      dldir=$destdir/`dirname \$dlpath`~
    1103411632      test -d \$dldir || mkdir -p \$dldir~
     
    1104311641  *)
    1104411642    # Assume MSVC wrapper
    11045     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
     11643    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
    1104611644    dynamic_linker='Win32 ld.exe'
    1104711645    ;;
     
    1105611654  need_lib_prefix=no
    1105711655  need_version=no
    11058   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    11059   soname_spec='${libname}${release}${major}$shared_ext'
     11656  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
     11657  soname_spec='$libname$release$major$shared_ext'
    1106011658  shlibpath_overrides_runpath=yes
    1106111659  shlibpath_var=DYLD_LIBRARY_PATH
     
    1106711665
    1106811666dgux*)
    11069   version_type=linux
     11667  version_type=linux # correct to gnu/linux during the next big refactor
    1107011668  need_lib_prefix=no
    1107111669  need_version=no
    11072   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
    11073   soname_spec='${libname}${release}${shared_ext}$major'
     11670  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11671  soname_spec='$libname$release$shared_ext$major'
    1107411672  shlibpath_var=LD_LIBRARY_PATH
    11075   ;;
    11076 
    11077 freebsd1*)
    11078   dynamic_linker=no
    1107911673  ;;
    1108011674
     
    1108611680  else
    1108711681    case $host_os in
    11088     freebsd[123]*) objformat=aout ;;
     11682    freebsd[23].*) objformat=aout ;;
    1108911683    *) objformat=elf ;;
    1109011684    esac
     
    1109311687  case $version_type in
    1109411688    freebsd-elf*)
    11095       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
     11689      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11690      soname_spec='$libname$release$shared_ext$major'
    1109611691      need_version=no
    1109711692      need_lib_prefix=no
    1109811693      ;;
    1109911694    freebsd-*)
    11100       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
     11695      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    1110111696      need_version=yes
    1110211697      ;;
     
    1110411699  shlibpath_var=LD_LIBRARY_PATH
    1110511700  case $host_os in
    11106   freebsd2*)
     11701  freebsd2.*)
    1110711702    shlibpath_overrides_runpath=yes
    1110811703    ;;
     
    1112311718  ;;
    1112411719
    11125 gnu*)
    11126   version_type=linux
    11127   need_lib_prefix=no
    11128   need_version=no
    11129   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    11130   soname_spec='${libname}${release}${shared_ext}$major'
    11131   shlibpath_var=LD_LIBRARY_PATH
    11132   shlibpath_overrides_runpath=no
    11133   hardcode_into_libs=yes
    11134   ;;
    11135 
    1113611720haiku*)
    11137   version_type=linux
     11721  version_type=linux # correct to gnu/linux during the next big refactor
    1113811722  need_lib_prefix=no
    1113911723  need_version=no
    1114011724  dynamic_linker="$host_os runtime_loader"
    11141   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    11142   soname_spec='${libname}${release}${shared_ext}$major'
     11725  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11726  soname_spec='$libname$release$shared_ext$major'
    1114311727  shlibpath_var=LIBRARY_PATH
    11144   shlibpath_overrides_runpath=yes
     11728  shlibpath_overrides_runpath=no
    1114511729  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    1114611730  hardcode_into_libs=yes
     
    1116011744    shlibpath_var=LD_LIBRARY_PATH
    1116111745    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    11162     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11163     soname_spec='${libname}${release}${shared_ext}$major'
    11164     if test "X$HPUX_IA64_MODE" = X32; then
     11746    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11747    soname_spec='$libname$release$shared_ext$major'
     11748    if test 32 = "$HPUX_IA64_MODE"; then
    1116511749      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
     11750      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    1116611751    else
    1116711752      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
     11753      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    1116811754    fi
    11169     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    1117011755    ;;
    1117111756  hppa*64*)
     
    1117511760    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    1117611761    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    11177     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11178     soname_spec='${libname}${release}${shared_ext}$major'
     11762    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11763    soname_spec='$libname$release$shared_ext$major'
    1117911764    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    1118011765    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     
    1118511770    shlibpath_var=SHLIB_PATH
    1118611771    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    11187     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11188     soname_spec='${libname}${release}${shared_ext}$major'
     11772    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11773    soname_spec='$libname$release$shared_ext$major'
    1118911774    ;;
    1119011775  esac
     
    1119611781
    1119711782interix[3-9]*)
    11198   version_type=linux
     11783  version_type=linux # correct to gnu/linux during the next big refactor
    1119911784  need_lib_prefix=no
    1120011785  need_version=no
    11201   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    11202   soname_spec='${libname}${release}${shared_ext}$major'
     11786  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11787  soname_spec='$libname$release$shared_ext$major'
    1120311788  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    1120411789  shlibpath_var=LD_LIBRARY_PATH
     
    1121111796    nonstopux*) version_type=nonstopux ;;
    1121211797    *)
    11213         if test "$lt_cv_prog_gnu_ld" = yes; then
    11214                 version_type=linux
     11798        if test yes = "$lt_cv_prog_gnu_ld"; then
     11799                version_type=linux # correct to gnu/linux during the next big refactor
    1121511800        else
    1121611801                version_type=irix
     
    1121911804  need_lib_prefix=no
    1122011805  need_version=no
    11221   soname_spec='${libname}${release}${shared_ext}$major'
    11222   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
     11806  soname_spec='$libname$release$shared_ext$major'
     11807  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
    1122311808  case $host_os in
    1122411809  irix5* | nonstopux*)
     
    1123911824  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    1124011825  shlibpath_overrides_runpath=no
    11241   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
    11242   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
     11826  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
     11827  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
    1124311828  hardcode_into_libs=yes
    1124411829  ;;
     
    1124911834  ;;
    1125011835
    11251 # This must be Linux ELF.
    11252 linux* | k*bsd*-gnu | kopensolaris*-gnu)
    11253   version_type=linux
     11836linux*android*)
     11837  version_type=none # Android doesn't support versioned libraries.
    1125411838  need_lib_prefix=no
    1125511839  need_version=no
    11256   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11257   soname_spec='${libname}${release}${shared_ext}$major'
     11840  library_names_spec='$libname$release$shared_ext'
     11841  soname_spec='$libname$release$shared_ext'
     11842  finish_cmds=
     11843  shlibpath_var=LD_LIBRARY_PATH
     11844  shlibpath_overrides_runpath=yes
     11845
     11846  # This implies no fast_install, which is unacceptable.
     11847  # Some rework will be needed to allow for fast_install
     11848  # before this can be enabled.
     11849  hardcode_into_libs=yes
     11850
     11851  dynamic_linker='Android linker'
     11852  # Don't embed -rpath directories since the linker doesn't support them.
     11853  hardcode_libdir_flag_spec='-L$libdir'
     11854  ;;
     11855
     11856# This must be glibc/ELF.
     11857linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     11858  version_type=linux # correct to gnu/linux during the next big refactor
     11859  need_lib_prefix=no
     11860  need_version=no
     11861  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11862  soname_spec='$libname$release$shared_ext$major'
    1125811863  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    1125911864  shlibpath_var=LD_LIBRARY_PATH
     
    1129911904  hardcode_into_libs=yes
    1130011905
    11301   # Append ld.so.conf contents to the search path
     11906  # Ideally, we could use ldconfig to report *all* directores which are
     11907  # searched for libraries, however this is still not possible.  Aside from not
     11908  # being certain /sbin/ldconfig is available, command
     11909  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
     11910  # even though it is searched at run-time.  Try to do the best guess by
     11911  # appending ld.so.conf contents (and includes) to the search path.
    1130211912  if test -f /etc/ld.so.conf; then
    1130311913    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' ' '`
     
    1133111941  need_version=no
    1133211942  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    11333     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     11943    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    1133411944    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    1133511945    dynamic_linker='NetBSD (a.out) ld.so'
    1133611946  else
    11337     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    11338     soname_spec='${libname}${release}${shared_ext}$major'
     11947    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11948    soname_spec='$libname$release$shared_ext$major'
    1133911949    dynamic_linker='NetBSD ld.elf_so'
    1134011950  fi
     
    1134511955
    1134611956newsos6)
    11347   version_type=linux
    11348   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     11957  version_type=linux # correct to gnu/linux during the next big refactor
     11958  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    1134911959  shlibpath_var=LD_LIBRARY_PATH
    1135011960  shlibpath_overrides_runpath=yes
     
    1135511965  need_lib_prefix=no
    1135611966  need_version=no
    11357   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11358   soname_spec='${libname}${release}${shared_ext}$major'
     11967  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11968  soname_spec='$libname$release$shared_ext$major'
    1135911969  shlibpath_var=LD_LIBRARY_PATH
    1136011970  shlibpath_overrides_runpath=no
     
    1136311973  ;;
    1136411974
    11365 openbsd*)
     11975openbsd* | bitrig*)
    1136611976  version_type=sunos
    11367   sys_lib_dlsearch_path_spec="/usr/lib"
     11977  sys_lib_dlsearch_path_spec=/usr/lib
    1136811978  need_lib_prefix=no
    11369   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
    11370   case $host_os in
    11371     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
    11372     *)                          need_version=no  ;;
    11373   esac
    11374   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     11979  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     11980    need_version=no
     11981  else
     11982    need_version=yes
     11983  fi
     11984  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    1137511985  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    1137611986  shlibpath_var=LD_LIBRARY_PATH
    11377   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    11378     case $host_os in
    11379       openbsd2.[89] | openbsd2.[89].*)
    11380         shlibpath_overrides_runpath=no
    11381         ;;
    11382       *)
    11383         shlibpath_overrides_runpath=yes
    11384         ;;
    11385       esac
    11386   else
    11387     shlibpath_overrides_runpath=yes
    11388   fi
     11987  shlibpath_overrides_runpath=yes
    1138911988  ;;
    1139011989
    1139111990os2*)
    1139211991  libname_spec='$name'
    11393   shrext_cmds=".dll"
     11992  version_type=windows
     11993  shrext_cmds=.dll
     11994  need_version=no
    1139411995  need_lib_prefix=no
    11395   library_names_spec='$libname${shared_ext} $libname.a'
     11996  # OS/2 can only load a DLL with a base name of 8 characters or less.
     11997  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
     11998    v=$($ECHO $release$versuffix | tr -d .-);
     11999    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
     12000    $ECHO $n$v`$shared_ext'
     12001  library_names_spec='${libname}_dll.$libext'
    1139612002  dynamic_linker='OS/2 ld.exe'
    11397   shlibpath_var=LIBPATH
     12003  shlibpath_var=BEGINLIBPATH
     12004  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     12005  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     12006  postinstall_cmds='base_file=`basename \$file`~
     12007    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
     12008    dldir=$destdir/`dirname \$dlpath`~
     12009    test -d \$dldir || mkdir -p \$dldir~
     12010    $install_prog $dir/$dlname \$dldir/$dlname~
     12011    chmod a+x \$dldir/$dlname~
     12012    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     12013      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     12014    fi'
     12015  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
     12016    dlpath=$dir/\$dldll~
     12017    $RM \$dlpath'
    1139812018  ;;
    1139912019
     
    1140212022  need_lib_prefix=no
    1140312023  need_version=no
    11404   soname_spec='${libname}${release}${shared_ext}$major'
    11405   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     12024  soname_spec='$libname$release$shared_ext$major'
     12025  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    1140612026  shlibpath_var=LD_LIBRARY_PATH
    1140712027  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    11408   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
     12028  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    1140912029  ;;
    1141012030
     
    1141412034
    1141512035solaris*)
    11416   version_type=linux
     12036  version_type=linux # correct to gnu/linux during the next big refactor
    1141712037  need_lib_prefix=no
    1141812038  need_version=no
    11419   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11420   soname_spec='${libname}${release}${shared_ext}$major'
     12039  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12040  soname_spec='$libname$release$shared_ext$major'
    1142112041  shlibpath_var=LD_LIBRARY_PATH
    1142212042  shlibpath_overrides_runpath=yes
     
    1142812048sunos4*)
    1142912049  version_type=sunos
    11430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     12050  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    1143112051  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    1143212052  shlibpath_var=LD_LIBRARY_PATH
    1143312053  shlibpath_overrides_runpath=yes
    11434   if test "$with_gnu_ld" = yes; then
     12054  if test yes = "$with_gnu_ld"; then
    1143512055    need_lib_prefix=no
    1143612056  fi
     
    1143912059
    1144012060sysv4 | sysv4.3*)
    11441   version_type=linux
    11442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11443   soname_spec='${libname}${release}${shared_ext}$major'
     12061  version_type=linux # correct to gnu/linux during the next big refactor
     12062  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12063  soname_spec='$libname$release$shared_ext$major'
    1144412064  shlibpath_var=LD_LIBRARY_PATH
    1144512065  case $host_vendor in
     
    1146212082
    1146312083sysv4*MP*)
    11464   if test -d /usr/nec ;then
    11465     version_type=linux
    11466     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    11467     soname_spec='$libname${shared_ext}.$major'
     12084  if test -d /usr/nec; then
     12085    version_type=linux # correct to gnu/linux during the next big refactor
     12086    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
     12087    soname_spec='$libname$shared_ext.$major'
    1146812088    shlibpath_var=LD_LIBRARY_PATH
    1146912089  fi
     
    1147112091
    1147212092sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    11473   version_type=freebsd-elf
     12093  version_type=sco
    1147412094  need_lib_prefix=no
    1147512095  need_version=no
    11476   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
    11477   soname_spec='${libname}${release}${shared_ext}$major'
     12096  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
     12097  soname_spec='$libname$release$shared_ext$major'
    1147812098  shlibpath_var=LD_LIBRARY_PATH
    1147912099  shlibpath_overrides_runpath=yes
    1148012100  hardcode_into_libs=yes
    11481   if test "$with_gnu_ld" = yes; then
     12101  if test yes = "$with_gnu_ld"; then
    1148212102    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    1148312103  else
     
    1149412114tpf*)
    1149512115  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
    11496   version_type=linux
     12116  version_type=linux # correct to gnu/linux during the next big refactor
    1149712117  need_lib_prefix=no
    1149812118  need_version=no
    11499   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     12119  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    1150012120  shlibpath_var=LD_LIBRARY_PATH
    1150112121  shlibpath_overrides_runpath=no
     
    1150412124
    1150512125uts4*)
    11506   version_type=linux
    11507   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    11508   soname_spec='${libname}${release}${shared_ext}$major'
     12126  version_type=linux # correct to gnu/linux during the next big refactor
     12127  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     12128  soname_spec='$libname$release$shared_ext$major'
    1150912129  shlibpath_var=LD_LIBRARY_PATH
    1151012130  ;;
     
    1151612136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
    1151712137$as_echo "$dynamic_linker" >&6; }
    11518 test "$dynamic_linker" = no && can_build_shared=no
     12138test no = "$dynamic_linker" && can_build_shared=no
    1151912139
    1152012140variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    11521 if test "$GCC" = yes; then
     12141if test yes = "$GCC"; then
    1152212142  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    1152312143fi
    1152412144
    11525 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
    11526   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
    11527 fi
    11528 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
    11529   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
    11530 fi
     12145if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
     12146  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
     12147fi
     12148
     12149if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
     12150  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
     12151fi
     12152
     12153# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
     12154configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
     12155
     12156# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
     12157func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
     12158
     12159# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
     12160configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
     12161
     12162
     12163
     12164
     12165
    1153112166
    1153212167
     
    1162612261if test -n "$hardcode_libdir_flag_spec" ||
    1162712262   test -n "$runpath_var" ||
    11628    test "X$hardcode_automatic" = "Xyes" ; then
     12263   test yes = "$hardcode_automatic"; then
    1162912264
    1163012265  # We can hardcode non-existent directories.
    11631   if test "$hardcode_direct" != no &&
     12266  if test no != "$hardcode_direct" &&
    1163212267     # If the only mechanism to avoid hardcoding is shlibpath_var, we
    1163312268     # have to relink, otherwise we might link with an installed library
    1163412269     # when we should be linking with a yet-to-be-installed one
    11635      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
    11636      test "$hardcode_minus_L" != no; then
     12270     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
     12271     test no != "$hardcode_minus_L"; then
    1163712272    # Linking always hardcodes the temporary library directory.
    1163812273    hardcode_action=relink
     
    1164912284$as_echo "$hardcode_action" >&6; }
    1165012285
    11651 if test "$hardcode_action" = relink ||
    11652    test "$inherit_rpath" = yes; then
     12286if test relink = "$hardcode_action" ||
     12287   test yes = "$inherit_rpath"; then
    1165312288  # Fast installation is not supported
    1165412289  enable_fast_install=no
    11655 elif test "$shlibpath_overrides_runpath" = yes ||
    11656      test "$enable_shared" = no; then
     12290elif test yes = "$shlibpath_overrides_runpath" ||
     12291     test no = "$enable_shared"; then
    1165712292  # Fast installation is not necessary
    1165812293  enable_fast_install=needless
     
    1166412299
    1166512300
    11666   if test "x$enable_dlopen" != xyes; then
     12301  if test yes != "$enable_dlopen"; then
    1166712302  enable_dlopen=unknown
    1166812303  enable_dlopen_self=unknown
     
    1167412309  case $host_os in
    1167512310  beos*)
    11676     lt_cv_dlopen="load_add_on"
     12311    lt_cv_dlopen=load_add_on
    1167712312    lt_cv_dlopen_libs=
    1167812313    lt_cv_dlopen_self=yes
     
    1168012315
    1168112316  mingw* | pw32* | cegcc*)
    11682     lt_cv_dlopen="LoadLibrary"
     12317    lt_cv_dlopen=LoadLibrary
    1168312318    lt_cv_dlopen_libs=
    1168412319    ;;
    1168512320
    1168612321  cygwin*)
    11687     lt_cv_dlopen="dlopen"
     12322    lt_cv_dlopen=dlopen
    1168812323    lt_cv_dlopen_libs=
    1168912324    ;;
    1169012325
    1169112326  darwin*)
    11692   # if libdl is installed we need to link against it
     12327    # if libdl is installed we need to link against it
    1169312328    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    1169412329$as_echo_n "checking for dlopen in -ldl... " >&6; }
     
    1172812363$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    1172912364if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    11730   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
    11731 else
    11732 
    11733     lt_cv_dlopen="dyld"
     12365  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
     12366else
     12367
     12368    lt_cv_dlopen=dyld
    1173412369    lt_cv_dlopen_libs=
    1173512370    lt_cv_dlopen_self=yes
     
    1173712372fi
    1173812373
     12374    ;;
     12375
     12376  tpf*)
     12377    # Don't try to run any link tests for TPF.  We know it's impossible
     12378    # because TPF is a cross-compiler, and we know how we open DSOs.
     12379    lt_cv_dlopen=dlopen
     12380    lt_cv_dlopen_libs=
     12381    lt_cv_dlopen_self=no
    1173912382    ;;
    1174012383
     
    1174212385    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
    1174312386if test "x$ac_cv_func_shl_load" = xyes; then :
    11744   lt_cv_dlopen="shl_load"
     12387  lt_cv_dlopen=shl_load
    1174512388else
    1174612389  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     
    1178112424$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    1178212425if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    11783   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
     12426  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
    1178412427else
    1178512428  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
    1178612429if test "x$ac_cv_func_dlopen" = xyes; then :
    11787   lt_cv_dlopen="dlopen"
     12430  lt_cv_dlopen=dlopen
    1178812431else
    1178912432  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     
    1182412467$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    1182512468if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    11826   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
     12469  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
    1182712470else
    1182812471  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
     
    1186312506$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
    1186412507if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
    11865   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
     12508  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
    1186612509else
    1186712510  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
     
    1190212545$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
    1190312546if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
    11904   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
     12547  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
    1190512548fi
    1190612549
     
    1192312566  esac
    1192412567
    11925   if test "x$lt_cv_dlopen" != xno; then
     12568  if test no = "$lt_cv_dlopen"; then
     12569    enable_dlopen=no
     12570  else
    1192612571    enable_dlopen=yes
    11927   else
    11928     enable_dlopen=no
    1192912572  fi
    1193012573
    1193112574  case $lt_cv_dlopen in
    1193212575  dlopen)
    11933     save_CPPFLAGS="$CPPFLAGS"
    11934     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    11935 
    11936     save_LDFLAGS="$LDFLAGS"
     12576    save_CPPFLAGS=$CPPFLAGS
     12577    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
     12578
     12579    save_LDFLAGS=$LDFLAGS
    1193712580    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
    1193812581
    11939     save_LIBS="$LIBS"
     12582    save_LIBS=$LIBS
    1194012583    LIBS="$lt_cv_dlopen_libs $LIBS"
    1194112584
     
    1194512588  $as_echo_n "(cached) " >&6
    1194612589else
    11947           if test "$cross_compiling" = yes; then :
     12590          if test yes = "$cross_compiling"; then :
    1194812591  lt_cv_dlopen_self=cross
    1194912592else
     
    1199212635#endif
    1199312636
    11994 /* When -fvisbility=hidden is used, assume the code has been annotated
     12637/* When -fvisibility=hidden is used, assume the code has been annotated
    1199512638   correspondingly for the symbols needed.  */
    11996 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     12639#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    1199712640int fnord () __attribute__((visibility("default")));
    1199812641#endif
     
    1202412667  ac_status=$?
    1202512668  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    12026   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
     12669  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
    1202712670    (./conftest; exit; ) >&5 2>/dev/null
    1202812671    lt_status=$?
     
    1204412687$as_echo "$lt_cv_dlopen_self" >&6; }
    1204512688
    12046     if test "x$lt_cv_dlopen_self" = xyes; then
     12689    if test yes = "$lt_cv_dlopen_self"; then
    1204712690      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
    1204812691      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
     
    1205112694  $as_echo_n "(cached) " >&6
    1205212695else
    12053           if test "$cross_compiling" = yes; then :
     12696          if test yes = "$cross_compiling"; then :
    1205412697  lt_cv_dlopen_self_static=cross
    1205512698else
     
    1209812741#endif
    1209912742
    12100 /* When -fvisbility=hidden is used, assume the code has been annotated
     12743/* When -fvisibility=hidden is used, assume the code has been annotated
    1210112744   correspondingly for the symbols needed.  */
    12102 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     12745#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    1210312746int fnord () __attribute__((visibility("default")));
    1210412747#endif
     
    1213012773  ac_status=$?
    1213112774  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    12132   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
     12775  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
    1213312776    (./conftest; exit; ) >&5 2>/dev/null
    1213412777    lt_status=$?
     
    1215112794    fi
    1215212795
    12153     CPPFLAGS="$save_CPPFLAGS"
    12154     LDFLAGS="$save_LDFLAGS"
    12155     LIBS="$save_LIBS"
     12796    CPPFLAGS=$save_CPPFLAGS
     12797    LDFLAGS=$save_LDFLAGS
     12798    LIBS=$save_LIBS
    1215612799    ;;
    1215712800  esac
     
    1219712840  case $host_os in
    1219812841  darwin*)
    12199     if test -n "$STRIP" ; then
     12842    if test -n "$STRIP"; then
    1220012843      striplib="$STRIP -x"
    1220112844      old_striplib="$STRIP -S"
     
    1222512868
    1222612869
    12227   # Report which library types will actually be built
     12870  # Report what library types will actually be built
    1222812871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
    1222912872$as_echo_n "checking if libtool supports shared libraries... " >&6; }
     
    1223312876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
    1223412877$as_echo_n "checking whether to build shared libraries... " >&6; }
    12235   test "$can_build_shared" = "no" && enable_shared=no
     12878  test no = "$can_build_shared" && enable_shared=no
    1223612879
    1223712880  # On AIX, shared libraries and static libraries use the same namespace, and
     
    1223912882  case $host_os in
    1224012883  aix3*)
    12241     test "$enable_shared" = yes && enable_static=no
     12884    test yes = "$enable_shared" && enable_static=no
    1224212885    if test -n "$RANLIB"; then
    1224312886      archive_cmds="$archive_cmds~\$RANLIB \$lib"
     
    1224712890
    1224812891  aix[4-9]*)
    12249     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    12250       test "$enable_shared" = yes && enable_static=no
     12892    if test ia64 != "$host_cpu"; then
     12893      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
     12894      yes,aix,yes) ;;                   # shared object as lib.so file only
     12895      yes,svr4,*) ;;                    # shared object as lib.so archive member only
     12896      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
     12897      esac
    1225112898    fi
    1225212899    ;;
     
    1225812905$as_echo_n "checking whether to build static libraries... " >&6; }
    1225912906  # Make sure either enable_shared or enable_static is yes.
    12260   test "$enable_shared" = yes || enable_static=yes
     12907  test yes = "$enable_shared" || enable_static=yes
    1226112908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
    1226212909$as_echo "$enable_static" >&6; }
     
    1227212919ac_compiler_gnu=$ac_cv_c_compiler_gnu
    1227312920
    12274 CC="$lt_save_CC"
    12275 
    12276       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
    12277     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
    12278     (test "X$CXX" != "Xg++"))) ; then
     12921CC=$lt_save_CC
     12922
     12923      if test -n "$CXX" && ( test no != "$CXX" &&
     12924    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
     12925    (test g++ != "$CXX"))); then
    1227912926  ac_ext=cpp
    1228012927ac_cpp='$CXXCPP $CPPFLAGS'
     
    1242913076hardcode_direct_absolute_CXX=no
    1243013077hardcode_libdir_flag_spec_CXX=
    12431 hardcode_libdir_flag_spec_ld_CXX=
    1243213078hardcode_libdir_separator_CXX=
    1243313079hardcode_minus_L_CXX=no
     
    1245613102# are currently assumed to apply to all compilers on this platform,
    1245713103# and will be corrupted by setting them based on a non-working compiler.
    12458 if test "$_lt_caught_CXX_error" != yes; then
     13104if test yes != "$_lt_caught_CXX_error"; then
    1245913105  # Code to be used in simple compile tests
    1246013106  lt_simple_compile_test_code="int some_variable = 0;"
     
    1251713163  compiler=$CC
    1251813164  compiler_CXX=$CC
    12519   for cc_temp in $compiler""; do
    12520   case $cc_temp in
    12521     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    12522     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    12523     \-*) ;;
    12524     *) break;;
    12525   esac
    12526 done
    12527 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     13165  func_cc_basename $compiler
     13166cc_basename=$func_cc_basename_result
    1252813167
    1252913168
     
    1253113170    # We don't want -fno-exception when compiling C++ code, so set the
    1253213171    # no_builtin_flag separately
    12533     if test "$GXX" = yes; then
     13172    if test yes = "$GXX"; then
    1253413173      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
    1253513174    else
     
    1253713176    fi
    1253813177
    12539     if test "$GXX" = yes; then
     13178    if test yes = "$GXX"; then
    1254013179      # Set up default GNU C++ configuration
    1254113180
     
    1254413183# Check whether --with-gnu-ld was given.
    1254513184if test "${with_gnu_ld+set}" = set; then :
    12546   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
     13185  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
    1254713186else
    1254813187  with_gnu_ld=no
     
    1255013189
    1255113190ac_prog=ld
    12552 if test "$GCC" = yes; then
     13191if test yes = "$GCC"; then
    1255313192  # Check if gcc -print-prog-name=ld gives a path.
    1255413193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     
    1255613195  case $host in
    1255713196  *-*-mingw*)
    12558     # gcc leaves a trailing carriage return which upsets mingw
     13197    # gcc leaves a trailing carriage return, which upsets mingw
    1255913198    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    1256013199  *)
     
    1257013209        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    1257113210      done
    12572       test -z "$LD" && LD="$ac_prog"
     13211      test -z "$LD" && LD=$ac_prog
    1257313212      ;;
    1257413213  "")
     
    1258113220    ;;
    1258213221  esac
    12583 elif test "$with_gnu_ld" = yes; then
     13222elif test yes = "$with_gnu_ld"; then
    1258413223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
    1258513224$as_echo_n "checking for GNU ld... " >&6; }
     
    1259213231else
    1259313232  if test -z "$LD"; then
    12594   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     13233  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    1259513234  for ac_dir in $PATH; do
    12596     IFS="$lt_save_ifs"
     13235    IFS=$lt_save_ifs
    1259713236    test -z "$ac_dir" && ac_dir=.
    1259813237    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    12599       lt_cv_path_LD="$ac_dir/$ac_prog"
     13238      lt_cv_path_LD=$ac_dir/$ac_prog
    1260013239      # Check to see if the program is GNU ld.  I'd rather use --version,
    1260113240      # but apparently some variants of GNU ld only accept -v.
     
    1260313242      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    1260413243      *GNU* | *'with BFD'*)
    12605         test "$with_gnu_ld" != no && break
     13244        test no != "$with_gnu_ld" && break
    1260613245        ;;
    1260713246      *)
    12608         test "$with_gnu_ld" != yes && break
     13247        test yes != "$with_gnu_ld" && break
    1260913248        ;;
    1261013249      esac
    1261113250    fi
    1261213251  done
    12613   IFS="$lt_save_ifs"
    12614 else
    12615   lt_cv_path_LD="$LD" # Let the user override the test with a path.
    12616 fi
    12617 fi
    12618 
    12619 LD="$lt_cv_path_LD"
     13252  IFS=$lt_save_ifs
     13253else
     13254  lt_cv_path_LD=$LD # Let the user override the test with a path.
     13255fi
     13256fi
     13257
     13258LD=$lt_cv_path_LD
    1262013259if test -n "$LD"; then
    1262113260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     
    1265313292      # Check if GNU C++ uses GNU ld as the underlying linker, since the
    1265413293      # archiving commands below assume that GNU ld is being used.
    12655       if test "$with_gnu_ld" = yes; then
    12656         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    12657         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
    12658 
    12659         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    12660         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
     13294      if test yes = "$with_gnu_ld"; then
     13295        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     13296        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     13297
     13298        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     13299        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    1266113300
    1266213301        # If archive_cmds runs LD, not CC, wlarc should be empty
    1266313302        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
    1266413303        #     investigate it a little bit more. (MM)
    12665         wlarc='${wl}'
     13304        wlarc='$wl'
    1266613305
    1266713306        # ancient GNU ld didn't support --whole-archive et. al.
    1266813307        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
    1266913308          $GREP 'no-whole-archive' > /dev/null; then
    12670           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     13309          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    1267113310        else
    1267213311          whole_archive_flag_spec_CXX=
     
    1270513344        ;;
    1270613345      aix[4-9]*)
    12707         if test "$host_cpu" = ia64; then
     13346        if test ia64 = "$host_cpu"; then
    1270813347          # On IA64, the linker does run time linking by default, so we don't
    1270913348          # have to do anything special.
    1271013349          aix_use_runtimelinking=no
    1271113350          exp_sym_flag='-Bexport'
    12712           no_entry_flag=""
     13351          no_entry_flag=
    1271313352        else
    1271413353          aix_use_runtimelinking=no
     
    1271613355          # Test if we are trying to use run time linking or normal
    1271713356          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    12718           # need to do runtime linking.
     13357          # have runtime linking enabled, and use it for executables.
     13358          # For shared libraries, we enable/disable runtime linking
     13359          # depending on the kind of the shared library created -
     13360          # when "with_aix_soname,aix_use_runtimelinking" is:
     13361          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
     13362          # "aix,yes"  lib.so          shared, rtl:yes, for executables
     13363          #            lib.a           static archive
     13364          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
     13365          #            lib.a(lib.so.V) shared, rtl:no,  for executables
     13366          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
     13367          #            lib.a(lib.so.V) shared, rtl:no
     13368          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
     13369          #            lib.a           static archive
    1271913370          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    1272013371            for ld_flag in $LDFLAGS; do
     
    1272613377              esac
    1272713378            done
     13379            if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
     13380              # With aix-soname=svr4, we create the lib.so.V shared archives only,
     13381              # so we don't have lib.a shared libs to link our executables.
     13382              # We have to force runtime linking in this case.
     13383              aix_use_runtimelinking=yes
     13384              LDFLAGS="$LDFLAGS -Wl,-brtl"
     13385            fi
    1272813386            ;;
    1272913387          esac
     
    1274413402        hardcode_libdir_separator_CXX=':'
    1274513403        link_all_deplibs_CXX=yes
    12746         file_list_spec_CXX='${wl}-f,'
    12747 
    12748         if test "$GXX" = yes; then
     13404        file_list_spec_CXX='$wl-f,'
     13405        case $with_aix_soname,$aix_use_runtimelinking in
     13406        aix,*) ;;       # no import file
     13407        svr4,* | *,yes) # use import file
     13408          # The Import File defines what to hardcode.
     13409          hardcode_direct_CXX=no
     13410          hardcode_direct_absolute_CXX=no
     13411          ;;
     13412        esac
     13413
     13414        if test yes = "$GXX"; then
    1274913415          case $host_os in aix4.[012]|aix4.[012].*)
    1275013416          # We only want to do this on AIX 4.2 and lower, the check
    1275113417          # below for broken collect2 doesn't work under 4.3+
    12752           collect2name=`${CC} -print-prog-name=collect2`
     13418          collect2name=`$CC -print-prog-name=collect2`
    1275313419          if test -f "$collect2name" &&
    1275413420             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     
    1276813434          esac
    1276913435          shared_flag='-shared'
    12770           if test "$aix_use_runtimelinking" = yes; then
    12771             shared_flag="$shared_flag "'${wl}-G'
     13436          if test yes = "$aix_use_runtimelinking"; then
     13437            shared_flag=$shared_flag' $wl-G'
    1277213438          fi
     13439          # Need to ensure runtime linking is disabled for the traditional
     13440          # shared library, or the linker may eventually find shared libraries
     13441          # /with/ Import File - we do not want to mix them.
     13442          shared_flag_aix='-shared'
     13443          shared_flag_svr4='-shared $wl-G'
    1277313444        else
    1277413445          # not using gcc
    12775           if test "$host_cpu" = ia64; then
     13446          if test ia64 = "$host_cpu"; then
    1277613447          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    1277713448          # chokes on -Wl,-G. The following line is correct:
    1277813449          shared_flag='-G'
    1277913450          else
    12780             if test "$aix_use_runtimelinking" = yes; then
    12781               shared_flag='${wl}-G'
     13451            if test yes = "$aix_use_runtimelinking"; then
     13452              shared_flag='$wl-G'
    1278213453            else
    12783               shared_flag='${wl}-bM:SRE'
     13454              shared_flag='$wl-bM:SRE'
    1278413455            fi
     13456            shared_flag_aix='$wl-bM:SRE'
     13457            shared_flag_svr4='$wl-G'
    1278513458          fi
    1278613459        fi
    1278713460
    12788         export_dynamic_flag_spec_CXX='${wl}-bexpall'
     13461        export_dynamic_flag_spec_CXX='$wl-bexpall'
    1278913462        # It seems that -bexpall does not export symbols beginning with
    1279013463        # underscore (_), so it is better to generate a list of symbols to
    1279113464        # export.
    1279213465        always_export_symbols_CXX=yes
    12793         if test "$aix_use_runtimelinking" = yes; then
     13466        if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
    1279413467          # Warning - without using the other runtime loading flags (-brtl),
    1279513468          # -berok will link without error, but may produce a broken library.
    12796           allow_undefined_flag_CXX='-berok'
     13469          # The "-G" linker flag allows undefined symbols.
     13470          no_undefined_flag_CXX='-bernotok'
    1279713471          # Determine the default libpath from the value encoded in an empty
    1279813472          # executable.
    12799           if test "${lt_cv_aix_libpath+set}" = set; then
     13473          if test set = "${lt_cv_aix_libpath+set}"; then
    1280013474  aix_libpath=$lt_cv_aix_libpath
    1280113475else
     
    1283213506    conftest$ac_exeext conftest.$ac_ext
    1283313507  if test -z "$lt_cv_aix_libpath__CXX"; then
    12834     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
     13508    lt_cv_aix_libpath__CXX=/usr/lib:/lib
    1283513509  fi
    1283613510
     
    1284013514fi
    1284113515
    12842           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
    12843 
    12844           archive_expsym_cmds_CXX='$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"
     13516          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
     13517
     13518          archive_expsym_cmds_CXX='$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
    1284513519        else
    12846           if test "$host_cpu" = ia64; then
    12847             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
     13520          if test ia64 = "$host_cpu"; then
     13521            hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
    1284813522            allow_undefined_flag_CXX="-z nodefs"
    12849             archive_expsym_cmds_CXX="\$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"
     13523            archive_expsym_cmds_CXX="\$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"
    1285013524          else
    1285113525            # Determine the default libpath from the value encoded in an
    1285213526            # empty executable.
    12853             if test "${lt_cv_aix_libpath+set}" = set; then
     13527            if test set = "${lt_cv_aix_libpath+set}"; then
    1285413528  aix_libpath=$lt_cv_aix_libpath
    1285513529else
     
    1288613560    conftest$ac_exeext conftest.$ac_ext
    1288713561  if test -z "$lt_cv_aix_libpath__CXX"; then
    12888     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
     13562    lt_cv_aix_libpath__CXX=/usr/lib:/lib
    1288913563  fi
    1289013564
     
    1289413568fi
    1289513569
    12896             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
     13570            hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
    1289713571            # Warning - without using the other run time loading flags,
    1289813572            # -berok will link without error, but may produce a broken library.
    12899             no_undefined_flag_CXX=' ${wl}-bernotok'
    12900             allow_undefined_flag_CXX=' ${wl}-berok'
    12901             if test "$with_gnu_ld" = yes; then
     13573            no_undefined_flag_CXX=' $wl-bernotok'
     13574            allow_undefined_flag_CXX=' $wl-berok'
     13575            if test yes = "$with_gnu_ld"; then
    1290213576              # We only use this code for GNU lds that support --whole-archive.
    12903               whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     13577              whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
    1290413578            else
    1290513579              # Exported symbols can be pulled into shared objects from archives
     
    1290713581            fi
    1290813582            archive_cmds_need_lc_CXX=yes
    12909             # This is similar to how AIX traditionally builds its shared
    12910             # libraries.
    12911             archive_expsym_cmds_CXX="\$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'
     13583            archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
     13584            # -brtl affects multiple linker settings, -berok does not and is overridden later
     13585            compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
     13586            if test svr4 != "$with_aix_soname"; then
     13587              # This is similar to how AIX traditionally builds its shared
     13588              # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
     13589              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
     13590            fi
     13591            if test aix != "$with_aix_soname"; then
     13592              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
     13593            else
     13594              # used by -dlpreopen to get the symbols
     13595              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
     13596            fi
     13597            archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
    1291213598          fi
    1291313599        fi
     
    1291913605          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    1292013606          # support --undefined.  This deserves some investigation.  FIXME
    12921           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     13607          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    1292213608        else
    1292313609          ld_shlibs_CXX=no
     
    1294713633          libext=lib
    1294813634          # Tell ltmain to make .dll files, not .so files.
    12949           shrext_cmds=".dll"
     13635          shrext_cmds=.dll
    1295013636          # FIXME: Setting linknames here is a bad hack.
    12951           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
    12952           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    12953               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
    12954             else
    12955               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
    12956             fi~
    12957             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    12958             linknames='
     13637          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
     13638          archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     13639              cp "$export_symbols" "$output_objdir/$soname.def";
     13640              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
     13641            else
     13642              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
     13643            fi~
     13644            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     13645            linknames='
    1295913646          # The linker will not automatically build a static lib if we build a DLL.
    1296013647          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
     
    1296313650          old_postinstall_cmds_CXX='chmod 644 $oldlib'
    1296413651          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
    12965             lt_tool_outputfile="@TOOL_OUTPUT@"~
    12966             case $lt_outputfile in
    12967               *.exe|*.EXE) ;;
    12968               *)
    12969                 lt_outputfile="$lt_outputfile.exe"
    12970                 lt_tool_outputfile="$lt_tool_outputfile.exe"
    12971                 ;;
    12972             esac~
    12973             func_to_tool_file "$lt_outputfile"~
    12974             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
    12975               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    12976               $RM "$lt_outputfile.manifest";
    12977             fi'
     13652            lt_tool_outputfile="@TOOL_OUTPUT@"~
     13653            case $lt_outputfile in
     13654              *.exe|*.EXE) ;;
     13655              *)
     13656                lt_outputfile=$lt_outputfile.exe
     13657                lt_tool_outputfile=$lt_tool_outputfile.exe
     13658                ;;
     13659            esac~
     13660            func_to_tool_file "$lt_outputfile"~
     13661            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
     13662              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     13663              $RM "$lt_outputfile.manifest";
     13664            fi'
    1297813665          ;;
    1297913666        *)
     
    1298213669          # as there is no search path for DLLs.
    1298313670          hardcode_libdir_flag_spec_CXX='-L$libdir'
    12984           export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
     13671          export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
    1298513672          allow_undefined_flag_CXX=unsupported
    1298613673          always_export_symbols_CXX=no
     
    1298813675
    1298913676          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    12990             archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    12991             # If the export-symbols file already is a .def file (1st line
    12992             # is EXPORTS), use it as is; otherwise, prepend...
    12993             archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    12994               cp $export_symbols $output_objdir/$soname.def;
    12995             else
    12996               echo EXPORTS > $output_objdir/$soname.def;
    12997               cat $export_symbols >> $output_objdir/$soname.def;
    12998             fi~
    12999             $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     13677            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     13678            # If the export-symbols file already is a .def file, use it as
     13679            # is; otherwise, prepend EXPORTS...
     13680            archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     13681              cp $export_symbols $output_objdir/$soname.def;
     13682            else
     13683              echo EXPORTS > $output_objdir/$soname.def;
     13684              cat $export_symbols >> $output_objdir/$soname.def;
     13685            fi~
     13686            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    1300013687          else
    1300113688            ld_shlibs_CXX=no
     
    1301113698  hardcode_automatic_CXX=yes
    1301213699  hardcode_shlibpath_var_CXX=unsupported
    13013   if test "$lt_cv_ld_force_load" = "yes"; then
    13014     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
     13700  if test yes = "$lt_cv_ld_force_load"; then
     13701    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
     13702
    1301513703  else
    1301613704    whole_archive_flag_spec_CXX=''
    1301713705  fi
    1301813706  link_all_deplibs_CXX=yes
    13019   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
     13707  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
    1302013708  case $cc_basename in
    13021      ifort*) _lt_dar_can_shared=yes ;;
     13709     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
    1302213710     *) _lt_dar_can_shared=$GCC ;;
    1302313711  esac
    13024   if test "$_lt_dar_can_shared" = "yes"; then
     13712  if test yes = "$_lt_dar_can_shared"; then
    1302513713    output_verbose_link_cmd=func_echo_all
    13026     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
    13027     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
    13028     archive_expsym_cmds_CXX="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}"
    13029     module_expsym_cmds_CXX="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}"
    13030        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
    13031       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
    13032       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
     13714    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
     13715    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
     13716    archive_expsym_cmds_CXX="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"
     13717    module_expsym_cmds_CXX="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"
     13718       if test yes != "$lt_cv_apple_cc_single_mod"; then
     13719      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
     13720      archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
    1303313721    fi
    1303413722
     
    1303713725  fi
    1303813726
     13727        ;;
     13728
     13729      os2*)
     13730        hardcode_libdir_flag_spec_CXX='-L$libdir'
     13731        hardcode_minus_L_CXX=yes
     13732        allow_undefined_flag_CXX=unsupported
     13733        shrext_cmds=.dll
     13734        archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     13735          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     13736          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     13737          $ECHO EXPORTS >> $output_objdir/$libname.def~
     13738          emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     13739          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     13740          emximp -o $lib $output_objdir/$libname.def'
     13741        archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     13742          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     13743          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     13744          $ECHO EXPORTS >> $output_objdir/$libname.def~
     13745          prefix_cmds="$SED"~
     13746          if test EXPORTS = "`$SED 1q $export_symbols`"; then
     13747            prefix_cmds="$prefix_cmds -e 1d";
     13748          fi~
     13749          prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     13750          cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     13751          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     13752          emximp -o $lib $output_objdir/$libname.def'
     13753        old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     13754        enable_shared_with_static_runtimes_CXX=yes
    1303913755        ;;
    1304013756
     
    1305713773        ;;
    1305813774
    13059       freebsd[12]*)
     13775      freebsd2.*)
    1306013776        # C++ shared libraries reported to be fairly broken before
    1306113777        # switch to ELF
     
    1307313789        ;;
    1307413790
    13075       gnu*)
    13076         ;;
    13077 
    1307813791      haiku*)
    13079         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     13792        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    1308013793        link_all_deplibs_CXX=yes
    1308113794        ;;
    1308213795
    1308313796      hpux9*)
    13084         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
     13797        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
    1308513798        hardcode_libdir_separator_CXX=:
    13086         export_dynamic_flag_spec_CXX='${wl}-E'
     13799        export_dynamic_flag_spec_CXX='$wl-E'
    1308713800        hardcode_direct_CXX=yes
    1308813801        hardcode_minus_L_CXX=yes # Not in the search PATH,
     
    1309613809            ;;
    1309713810          aCC*)
    13098             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
     13811            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
    1309913812            # Commands to make compiler produce verbose output that lists
    1310013813            # what "hidden" libraries, object files and flags are used when
     
    1310513818            # from the output so that they don't get included in the library
    1310613819            # dependencies.
    13107             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
     13820            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
    1310813821            ;;
    1310913822          *)
    13110             if test "$GXX" = yes; then
    13111               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
     13823            if test yes = "$GXX"; then
     13824              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
    1311213825            else
    1311313826              # FIXME: insert proper C++ library support
     
    1311913832
    1312013833      hpux10*|hpux11*)
    13121         if test $with_gnu_ld = no; then
    13122           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
     13834        if test no = "$with_gnu_ld"; then
     13835          hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
    1312313836          hardcode_libdir_separator_CXX=:
    1312413837
     
    1312713840              ;;
    1312813841            *)
    13129               export_dynamic_flag_spec_CXX='${wl}-E'
     13842              export_dynamic_flag_spec_CXX='$wl-E'
    1313013843              ;;
    1313113844          esac
     
    1315313866            case $host_cpu in
    1315413867              hppa*64*)
    13155                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     13868                archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1315613869                ;;
    1315713870              ia64*)
    13158                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     13871                archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1315913872                ;;
    1316013873              *)
    13161                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     13874                archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1316213875                ;;
    1316313876            esac
     
    1317013883            # from the output so that they don't get included in the library
    1317113884            # dependencies.
    13172             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
     13885            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
    1317313886            ;;
    1317413887          *)
    13175             if test "$GXX" = yes; then
    13176               if test $with_gnu_ld = no; then
     13888            if test yes = "$GXX"; then
     13889              if test no = "$with_gnu_ld"; then
    1317713890                case $host_cpu in
    1317813891                  hppa*64*)
    13179                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     13892                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1318013893                    ;;
    1318113894                  ia64*)
    13182                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     13895                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1318313896                    ;;
    1318413897                  *)
    13185                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     13898                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1318613899                    ;;
    1318713900                esac
     
    1319813911        hardcode_direct_CXX=no
    1319913912        hardcode_shlibpath_var_CXX=no
    13200         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    13201         export_dynamic_flag_spec_CXX='${wl}-E'
     13913        hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     13914        export_dynamic_flag_spec_CXX='$wl-E'
    1320213915        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    1320313916        # Instead, shared libraries are loaded at an image base (0x10000000 by
     
    1320613919        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    1320713920        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    13208         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    13209         archive_expsym_cmds_CXX='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'
     13921        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     13922        archive_expsym_cmds_CXX='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'
    1321013923        ;;
    1321113924      irix5* | irix6*)
     
    1321313926          CC*)
    1321413927            # SGI C++
    13215             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
     13928            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
    1321613929
    1321713930            # Archives containing C++ object files must be created using
     
    1322213935            ;;
    1322313936          *)
    13224             if test "$GXX" = yes; then
    13225               if test "$with_gnu_ld" = no; then
    13226                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
     13937            if test yes = "$GXX"; then
     13938              if test no = "$with_gnu_ld"; then
     13939                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
    1322713940              else
    13228                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
     13941                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
    1322913942              fi
    1323013943            fi
     
    1323213945            ;;
    1323313946        esac
    13234         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
     13947        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    1323513948        hardcode_libdir_separator_CXX=:
    1323613949        inherit_rpath_CXX=yes
    1323713950        ;;
    1323813951
    13239       linux* | k*bsd*-gnu | kopensolaris*-gnu)
     13952      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    1324013953        case $cc_basename in
    1324113954          KCC*)
     
    1324513958            # ends with ".so" (or ".sl" for HP-UX), so rename the library
    1324613959            # to its proper name (with version) after linking.
    13247             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
    13248             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
     13960            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
     13961            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
    1324913962            # Commands to make compiler produce verbose output that lists
    1325013963            # what "hidden" libraries, object files and flags are used when
     
    1325513968            # from the output so that they don't get included in the library
    1325613969            # dependencies.
    13257             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
    13258 
    13259             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    13260             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
     13970            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
     13971
     13972            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     13973            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    1326113974
    1326213975            # Archives containing C++ object files must be created using
     
    1327213985            case `$CC -V 2>&1` in
    1327313986              *"Version 7."*)
    13274                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    13275                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     13987                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     13988                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    1327613989                ;;
    1327713990              *)  # Version 8.0 or newer
     
    1328013993                  ia64*) tmp_idyn=' -i_dynamic';;
    1328113994                esac
    13282                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    13283                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     13995                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     13996                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    1328413997                ;;
    1328513998            esac
    1328613999            archive_cmds_need_lc_CXX=no
    13287             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    13288             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
    13289             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     14000            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     14001            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     14002            whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
    1329014003            ;;
    1329114004          pgCC* | pgcpp*)
     
    1329414007            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
    1329514008              prelink_cmds_CXX='tpldir=Template.dir~
    13296                 rm -rf $tpldir~
    13297                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
    13298                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
     14009               rm -rf $tpldir~
     14010               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
     14011               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
    1329914012              old_archive_cmds_CXX='tpldir=Template.dir~
    13300                 rm -rf $tpldir~
    13301                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
    13302                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
    13303                 $RANLIB $oldlib'
     14013                rm -rf $tpldir~
     14014                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
     14015                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
     14016                $RANLIB $oldlib'
    1330414017              archive_cmds_CXX='tpldir=Template.dir~
    13305                 rm -rf $tpldir~
    13306                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    13307                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
     14018                rm -rf $tpldir~
     14019                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     14020                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    1330814021              archive_expsym_cmds_CXX='tpldir=Template.dir~
    13309                 rm -rf $tpldir~
    13310                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    13311                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
     14022                rm -rf $tpldir~
     14023                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     14024                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    1331214025              ;;
    1331314026            *) # Version 6 and above use weak symbols
    13314               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
    13315               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
     14027              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     14028              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    1331614029              ;;
    1331714030            esac
    1331814031
    13319             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
    13320             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
    13321             whole_archive_flag_spec_CXX='${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'
     14032            hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
     14033            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     14034            whole_archive_flag_spec_CXX='$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'
    1332214035            ;;
    1332314036          cxx*)
    1332414037            # Compaq C++
    13325             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    13326             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
     14038            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     14039            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
    1332714040
    1332814041            runpath_var=LD_RUN_PATH
     
    1333814051            # from the output so that they don't get included in the library
    1333914052            # dependencies.
    13340             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
     14053            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
    1334114054            ;;
    1334214055          xl* | mpixl* | bgxl*)
    1334314056            # IBM XL 8.0 on PPC, with GNU ld
    13344             hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
    13345             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
    13346             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    13347             if test "x$supports_anon_versioning" = xyes; then
     14057            hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     14058            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     14059            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     14060            if test yes = "$supports_anon_versioning"; then
    1334814061              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
    13349                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    13350                 echo "local: *; };" >> $output_objdir/$libname.ver~
    13351                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     14062                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     14063                echo "local: *; };" >> $output_objdir/$libname.ver~
     14064                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    1335214065            fi
    1335314066            ;;
     
    1335714070              # Sun C++ 5.9
    1335814071              no_undefined_flag_CXX=' -zdefs'
    13359               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13360               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
     14072              archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     14073              archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
    1336114074              hardcode_libdir_flag_spec_CXX='-R$libdir'
    13362               whole_archive_flag_spec_CXX='${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'
     14075              whole_archive_flag_spec_CXX='$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'
    1336314076              compiler_needs_object_CXX=yes
    1336414077
     
    1341814131        ;;
    1341914132
    13420       openbsd2*)
    13421         # C++ shared libraries are fairly broken
    13422         ld_shlibs_CXX=no
    13423         ;;
    13424 
    13425       openbsd*)
     14133      openbsd* | bitrig*)
    1342614134        if test -f /usr/libexec/ld.so; then
    1342714135          hardcode_direct_CXX=yes
     
    1342914137          hardcode_direct_absolute_CXX=yes
    1343014138          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    13431           hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
    13432           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    13433             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
    13434             export_dynamic_flag_spec_CXX='${wl}-E'
    13435             whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     14139          hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     14140          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
     14141            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
     14142            export_dynamic_flag_spec_CXX='$wl-E'
     14143            whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    1343614144          fi
    1343714145          output_verbose_link_cmd=func_echo_all
     
    1344914157            # ends with ".so" (or ".sl" for HP-UX), so rename the library
    1345014158            # to its proper name (with version) after linking.
    13451             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
    13452 
    13453             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
     14159            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
     14160
     14161            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    1345414162            hardcode_libdir_separator_CXX=:
    1345514163
     
    1346914177            case $host in
    1347014178              osf3*)
    13471                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
    13472                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
    13473                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
     14179                allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
     14180                archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
     14181                hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    1347414182                ;;
    1347514183              *)
    1347614184                allow_undefined_flag_CXX=' -expect_unresolved \*'
    13477                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
     14185                archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
    1347814186                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
    13479                   echo "-hidden">> $lib.exp~
    13480                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
    13481                   $RM $lib.exp'
     14187                  echo "-hidden">> $lib.exp~
     14188                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
     14189                  $RM $lib.exp'
    1348214190                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
    1348314191                ;;
     
    1349414202            # from the output so that they don't get included in the library
    1349514203            # dependencies.
    13496             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
     14204            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
    1349714205            ;;
    1349814206          *)
    13499             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    13500               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
     14207            if test yes,no = "$GXX,$with_gnu_ld"; then
     14208              allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
    1350114209              case $host in
    1350214210                osf3*)
    13503                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
     14211                  archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
    1350414212                  ;;
    1350514213                *)
    13506                   archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
     14214                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
    1350714215                  ;;
    1350814216              esac
    1350914217
    13510               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
     14218              hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    1351114219              hardcode_libdir_separator_CXX=:
    1351214220
     
    1355414262            archive_cmds_need_lc_CXX=yes
    1355514263            no_undefined_flag_CXX=' -zdefs'
    13556             archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     14264            archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    1355714265            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    13558               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     14266              $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
    1355914267
    1356014268            hardcode_libdir_flag_spec_CXX='-R$libdir'
     
    1356414272              *)
    1356514273                # The compiler driver will combine and reorder linker options,
    13566                 # but understands `-z linker_flag'.
     14274                # but understands '-z linker_flag'.
    1356714275                # Supported since Solaris 2.6 (maybe 2.5.1?)
    1356814276                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
     
    1358114289          gcx*)
    1358214290            # Green Hills C++ Compiler
    13583             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
     14291            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    1358414292
    1358514293            # The C++ compiler must be used to create the archive.
     
    1358814296          *)
    1358914297            # GNU C++ compiler with Solaris linker
    13590             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    13591               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
     14298            if test yes,no = "$GXX,$with_gnu_ld"; then
     14299              no_undefined_flag_CXX=' $wl-z ${wl}defs'
    1359214300              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
    13593                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
     14301                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    1359414302                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    13595                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     14303                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
    1359614304
    1359714305                # Commands to make compiler produce verbose output that lists
     
    1360014308                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    1360114309              else
    13602                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
     14310                # g++ 2.7 appears to require '-G' NOT '-shared' on this
    1360314311                # platform.
    13604                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
     14312                archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    1360514313                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    13606                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     14314                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
    1360714315
    1360814316                # Commands to make compiler produce verbose output that lists
     
    1361214320              fi
    1361314321
    13614               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
     14322              hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
    1361514323              case $host_os in
    1361614324                solaris2.[0-5] | solaris2.[0-5].*) ;;
    1361714325                *)
    13618                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     14326                  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
    1361914327                  ;;
    1362014328              esac
     
    1362514333
    1362614334    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    13627       no_undefined_flag_CXX='${wl}-z,text'
     14335      no_undefined_flag_CXX='$wl-z,text'
    1362814336      archive_cmds_need_lc_CXX=no
    1362914337      hardcode_shlibpath_var_CXX=no
     
    1363214340      case $cc_basename in
    1363314341        CC*)
    13634           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    13635           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14342          archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14343          archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1363614344          ;;
    1363714345        *)
    13638           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    13639           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14346          archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14347          archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1364014348          ;;
    1364114349      esac
     
    1364314351
    1364414352      sysv5* | sco3.2v5* | sco5v6*)
    13645         # Note: We can NOT use -z defs as we might desire, because we do not
     14353        # Note: We CANNOT use -z defs as we might desire, because we do not
    1364614354        # link with -lc, and that would cause any symbols used from libc to
    1364714355        # always be unresolved, which means just about no library would
     
    1364914357        # though, which does catch some bad symbols but isn't as heavy-handed
    1365014358        # as -z defs.
    13651         no_undefined_flag_CXX='${wl}-z,text'
    13652         allow_undefined_flag_CXX='${wl}-z,nodefs'
     14359        no_undefined_flag_CXX='$wl-z,text'
     14360        allow_undefined_flag_CXX='$wl-z,nodefs'
    1365314361        archive_cmds_need_lc_CXX=no
    1365414362        hardcode_shlibpath_var_CXX=no
    13655         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
     14363        hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
    1365614364        hardcode_libdir_separator_CXX=':'
    1365714365        link_all_deplibs_CXX=yes
    13658         export_dynamic_flag_spec_CXX='${wl}-Bexport'
     14366        export_dynamic_flag_spec_CXX='$wl-Bexport'
    1365914367        runpath_var='LD_RUN_PATH'
    1366014368
    1366114369        case $cc_basename in
    1366214370          CC*)
    13663             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    13664             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14371            archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14372            archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1366514373            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
    13666               '"$old_archive_cmds_CXX"
     14374              '"$old_archive_cmds_CXX"
    1366714375            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
    13668               '"$reload_cmds_CXX"
     14376              '"$reload_cmds_CXX"
    1366914377            ;;
    1367014378          *)
    13671             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    13672             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14379            archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14380            archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    1367314381            ;;
    1367414382        esac
     
    1370214410    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
    1370314411$as_echo "$ld_shlibs_CXX" >&6; }
    13704     test "$ld_shlibs_CXX" = no && can_build_shared=no
    13705 
    13706     GCC_CXX="$GXX"
    13707     LD_CXX="$LD"
     14412    test no = "$ld_shlibs_CXX" && can_build_shared=no
     14413
     14414    GCC_CXX=$GXX
     14415    LD_CXX=$LD
    1370814416
    1370914417    ## CAVEAT EMPTOR:
     
    1373314441*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
    1373414442*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
     14443*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
    1373514444esac
    1373614445
     
    1374814457
    1374914458  for p in `eval "$output_verbose_link_cmd"`; do
    13750     case ${prev}${p} in
     14459    case $prev$p in
    1375114460
    1375214461    -L* | -R* | -l*)
    1375314462       # Some compilers place space between "-{L,R}" and the path.
    1375414463       # Remove the space.
    13755        if test $p = "-L" ||
    13756           test $p = "-R"; then
     14464       if test x-L = "$p" ||
     14465          test x-R = "$p"; then
    1375714466         prev=$p
    1375814467         continue
     
    1377014479       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
    1377114480       esac
    13772        if test "$pre_test_object_deps_done" = no; then
    13773          case ${prev} in
     14481       if test no = "$pre_test_object_deps_done"; then
     14482         case $prev in
    1377414483         -L | -R)
    1377514484           # Internal compiler library paths should come after those
     
    1377714486           # user supplied libs so there is no need to process them.
    1377814487           if test -z "$compiler_lib_search_path_CXX"; then
    13779              compiler_lib_search_path_CXX="${prev}${p}"
     14488             compiler_lib_search_path_CXX=$prev$p
    1378014489           else
    13781              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
     14490             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
    1378214491           fi
    1378314492           ;;
     
    1378714496       else
    1378814497         if test -z "$postdeps_CXX"; then
    13789            postdeps_CXX="${prev}${p}"
     14498           postdeps_CXX=$prev$p
    1379014499         else
    13791            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
     14500           postdeps_CXX="${postdeps_CXX} $prev$p"
    1379214501         fi
    1379314502       fi
     
    1380414513       fi
    1380514514
    13806        if test "$pre_test_object_deps_done" = no; then
     14515       if test no = "$pre_test_object_deps_done"; then
    1380714516         if test -z "$predep_objects_CXX"; then
    13808            predep_objects_CXX="$p"
     14517           predep_objects_CXX=$p
    1380914518         else
    1381014519           predep_objects_CXX="$predep_objects_CXX $p"
     
    1381214521       else
    1381314522         if test -z "$postdep_objects_CXX"; then
    13814            postdep_objects_CXX="$p"
     14523           postdep_objects_CXX=$p
    1381514524         else
    1381614525           postdep_objects_CXX="$postdep_objects_CXX $p"
     
    1384214551  postdeps_CXX=
    1384314552  ;;
    13844 
    13845 linux*)
    13846   case `$CC -V 2>&1 | sed 5q` in
    13847   *Sun\ C*)
    13848     # Sun C++ 5.9
    13849 
    13850     # The more standards-conforming stlport4 library is
    13851     # incompatible with the Cstd library. Avoid specifying
    13852     # it if it's in CXXFLAGS. Ignore libCrun as
    13853     # -library=stlport4 depends on it.
    13854     case " $CXX $CXXFLAGS " in
    13855     *" -library=stlport4 "*)
    13856       solaris_use_stlport4=yes
    13857       ;;
    13858     esac
    13859 
    13860     if test "$solaris_use_stlport4" != yes; then
    13861       postdeps_CXX='-library=Cstd -library=Crun'
    13862     fi
    13863     ;;
    13864   esac
    13865   ;;
    13866 
    13867 solaris*)
    13868   case $cc_basename in
    13869   CC* | sunCC*)
    13870     # The more standards-conforming stlport4 library is
    13871     # incompatible with the Cstd library. Avoid specifying
    13872     # it if it's in CXXFLAGS. Ignore libCrun as
    13873     # -library=stlport4 depends on it.
    13874     case " $CXX $CXXFLAGS " in
    13875     *" -library=stlport4 "*)
    13876       solaris_use_stlport4=yes
    13877       ;;
    13878     esac
    13879 
    13880     # Adding this requires a known-good setup of shared libraries for
    13881     # Sun compiler versions before 5.6, else PIC objects from an old
    13882     # archive will be linked into the output, leading to subtle bugs.
    13883     if test "$solaris_use_stlport4" != yes; then
    13884       postdeps_CXX='-library=Cstd -library=Crun'
    13885     fi
    13886     ;;
    13887   esac
    13888   ;;
    1388914553esac
    1389014554
     
    1389514559 compiler_lib_search_dirs_CXX=
    1389614560if test -n "${compiler_lib_search_path_CXX}"; then
    13897  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
     14561 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
    1389814562fi
    1389914563
     
    1393414598
    1393514599  # C++ specific cases for pic, static, wl, etc.
    13936   if test "$GXX" = yes; then
     14600  if test yes = "$GXX"; then
    1393714601    lt_prog_compiler_wl_CXX='-Wl,'
    1393814602    lt_prog_compiler_static_CXX='-static'
     
    1394114605    aix*)
    1394214606      # All AIX code is PIC.
    13943       if test "$host_cpu" = ia64; then
     14607      if test ia64 = "$host_cpu"; then
    1394414608        # AIX 5 now supports IA64 processor
    1394514609        lt_prog_compiler_static_CXX='-Bstatic'
    1394614610      fi
     14611      lt_prog_compiler_pic_CXX='-fPIC'
    1394714612      ;;
    1394814613
     
    1395514620      m68k)
    1395614621            # FIXME: we need at least 68020 code to build shared libraries, but
    13957             # adding the `-m68020' flag to GCC prevents building anything better,
    13958             # like `-m68040'.
     14622            # adding the '-m68020' flag to GCC prevents building anything better,
     14623            # like '-m68040'.
    1395914624            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
    1396014625        ;;
     
    1397114636      # (--disable-auto-import) libraries
    1397214637      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
     14638      case $host_os in
     14639      os2*)
     14640        lt_prog_compiler_static_CXX='$wl-static'
     14641        ;;
     14642      esac
    1397314643      ;;
    1397414644    darwin* | rhapsody*)
     
    1402014690      aix[4-9]*)
    1402114691        # All AIX code is PIC.
    14022         if test "$host_cpu" = ia64; then
     14692        if test ia64 = "$host_cpu"; then
    1402314693          # AIX 5 now supports IA64 processor
    1402414694          lt_prog_compiler_static_CXX='-Bstatic'
     
    1406014730          CC*)
    1406114731            lt_prog_compiler_wl_CXX='-Wl,'
    14062             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
    14063             if test "$host_cpu" != ia64; then
     14732            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
     14733            if test ia64 != "$host_cpu"; then
    1406414734              lt_prog_compiler_pic_CXX='+Z'
    1406514735            fi
     
    1406714737          aCC*)
    1406814738            lt_prog_compiler_wl_CXX='-Wl,'
    14069             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
     14739            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
    1407014740            case $host_cpu in
    1407114741            hppa*64*|ia64*)
     
    1409614766        esac
    1409714767        ;;
    14098       linux* | k*bsd*-gnu | kopensolaris*-gnu)
     14768      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    1409914769        case $cc_basename in
    1410014770          KCC*)
     
    1410414774            ;;
    1410514775          ecpc* )
    14106             # old Intel C++ for x86_64 which still supported -KPIC.
     14776            # old Intel C++ for x86_64, which still supported -KPIC.
    1410714777            lt_prog_compiler_wl_CXX='-Wl,'
    1410814778            lt_prog_compiler_pic_CXX='-KPIC'
     
    1424914919
    1425014920case $host_os in
    14251   # For platforms which do not support PIC, -DPIC is meaningless:
     14921  # For platforms that do not support PIC, -DPIC is meaningless:
    1425214922  *djgpp*)
    1425314923    lt_prog_compiler_pic_CXX=
     
    1428114951   ac_outfile=conftest.$ac_objext
    1428214952   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    14283    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
     14953   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
    1428414954   # Insert the option either (1) after the last *FLAGS variable, or
    1428514955   # (2) before a word containing "conftest.", or (3) at the end.
     
    1431114981$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
    1431214982
    14313 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
     14983if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
    1431414984    case $lt_prog_compiler_pic_CXX in
    1431514985     "" | " "*) ;;
     
    1433715007else
    1433815008  lt_cv_prog_compiler_static_works_CXX=no
    14339    save_LDFLAGS="$LDFLAGS"
     15009   save_LDFLAGS=$LDFLAGS
    1434015010   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    1434115011   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     
    1435615026   fi
    1435715027   $RM -r conftest*
    14358    LDFLAGS="$save_LDFLAGS"
     15028   LDFLAGS=$save_LDFLAGS
    1435915029
    1436015030fi
     
    1436215032$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
    1436315033
    14364 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
     15034if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
    1436515035    :
    1436615036else
     
    1447615146
    1447715147
    14478 hard_links="nottested"
    14479 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
     15148hard_links=nottested
     15149if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
    1448015150  # do not overwrite the value of need_locks provided by the user
    1448115151  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     
    1448915159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
    1449015160$as_echo "$hard_links" >&6; }
    14491   if test "$hard_links" = no; then
    14492     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
    14493 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
     15161  if test no = "$hard_links"; then
     15162    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
     15163$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
    1449415164    need_locks=warn
    1449515165  fi
     
    1450815178  aix[4-9]*)
    1450915179    # If we're using GNU nm, then we don't want the "-C" option.
    14510     # -C means demangle to AIX nm, but means don't demangle with GNU nm
    14511     # Also, AIX nm treats weak defined symbols like other global defined
    14512     # symbols, whereas GNU nm marks them as "W".
     15180    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     15181    # Without the "-l" option, or with the "-B" option, AIX nm treats
     15182    # weak defined symbols like other global defined symbols, whereas
     15183    # GNU nm marks them as "W".
     15184    # While the 'weak' keyword is ignored in the Export File, we need
     15185    # it in the Import File for the 'aix-soname' feature, so we have
     15186    # to replace the "-B" option with "-P" for AIX nm.
    1451315187    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    14514       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     15188      export_symbols_cmds_CXX='$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'
    1451515189    else
    14516       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     15190      export_symbols_cmds_CXX='`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'
    1451715191    fi
    1451815192    ;;
    1451915193  pw32*)
    14520     export_symbols_cmds_CXX="$ltdll_cmds"
     15194    export_symbols_cmds_CXX=$ltdll_cmds
    1452115195    ;;
    1452215196  cygwin* | mingw* | cegcc*)
    1452315197    case $cc_basename in
    14524     cl*) ;;
     15198    cl*)
     15199      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
     15200      ;;
    1452515201    *)
    1452615202      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
     
    1453915215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
    1454015216$as_echo "$ld_shlibs_CXX" >&6; }
    14541 test "$ld_shlibs_CXX" = no && can_build_shared=no
     15217test no = "$ld_shlibs_CXX" && can_build_shared=no
    1454215218
    1454315219with_gnu_ld_CXX=$with_gnu_ld
     
    1455615232  archive_cmds_need_lc_CXX=yes
    1455715233
    14558   if test "$enable_shared" = yes && test "$GCC" = yes; then
     15234  if test yes,yes = "$GCC,$enable_shared"; then
    1455915235    case $archive_cmds_CXX in
    1456015236    *'~'*)
     
    1467815354
    1467915355
    14680 
    14681 
    1468215356    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
    1468315357$as_echo_n "checking dynamic linker characteristics... " >&6; }
     
    1468615360libname_spec='lib$name'
    1468715361soname_spec=
    14688 shrext_cmds=".so"
     15362shrext_cmds=.so
    1468915363postinstall_cmds=
    1469015364postuninstall_cmds=
     
    1470315377need_version=unknown
    1470415378
     15379
     15380
    1470515381case $host_os in
    1470615382aix3*)
    14707   version_type=linux
    14708   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
     15383  version_type=linux # correct to gnu/linux during the next big refactor
     15384  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
    1470915385  shlibpath_var=LIBPATH
    1471015386
    1471115387  # AIX 3 has no versioning support, so we append a major version to the name.
    14712   soname_spec='${libname}${release}${shared_ext}$major'
     15388  soname_spec='$libname$release$shared_ext$major'
    1471315389  ;;
    1471415390
    1471515391aix[4-9]*)
    14716   version_type=linux
     15392  version_type=linux # correct to gnu/linux during the next big refactor
    1471715393  need_lib_prefix=no
    1471815394  need_version=no
    1471915395  hardcode_into_libs=yes
    14720   if test "$host_cpu" = ia64; then
     15396  if test ia64 = "$host_cpu"; then
    1472115397    # AIX 5 supports IA64
    14722     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
     15398    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
    1472315399    shlibpath_var=LD_LIBRARY_PATH
    1472415400  else
    1472515401    # With GCC up to 2.95.x, collect2 would create an import file
    1472615402    # for dependence libraries.  The import file would start with
    14727     # the line `#! .'.  This would cause the generated library to
    14728     # depend on `.', always an invalid library.  This was fixed in
     15403    # the line '#! .'.  This would cause the generated library to
     15404    # depend on '.', always an invalid library.  This was fixed in
    1472915405    # development snapshots of GCC prior to 3.0.
    1473015406    case $host_os in
     
    1473215408      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    1473315409           echo ' yes '
    14734            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
     15410           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
    1473515411        :
    1473615412      else
     
    1473915415      ;;
    1474015416    esac
    14741     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
     15417    # Using Import Files as archive members, it is possible to support
     15418    # filename-based versioning of shared library archives on AIX. While
     15419    # this would work for both with and without runtime linking, it will
     15420    # prevent static linking of such archives. So we do filename-based
     15421    # shared library versioning with .so extension only, which is used
     15422    # when both runtime linking and shared linking is enabled.
     15423    # Unfortunately, runtime linking may impact performance, so we do
     15424    # not want this to be the default eventually. Also, we use the
     15425    # versioned .so libs for executables only if there is the -brtl
     15426    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
     15427    # To allow for filename-based versioning support, we need to create
     15428    # libNAME.so.V as an archive file, containing:
     15429    # *) an Import File, referring to the versioned filename of the
     15430    #    archive as well as the shared archive member, telling the
     15431    #    bitwidth (32 or 64) of that shared object, and providing the
     15432    #    list of exported symbols of that shared object, eventually
     15433    #    decorated with the 'weak' keyword
     15434    # *) the shared object with the F_LOADONLY flag set, to really avoid
     15435    #    it being seen by the linker.
     15436    # At run time we better use the real file rather than another symlink,
     15437    # but for link time we create the symlink libNAME.so -> libNAME.so.V
     15438
     15439    case $with_aix_soname,$aix_use_runtimelinking in
     15440    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
    1474215441    # soname into executable. Probably we can add versioning support to
    1474315442    # collect2, so additional links can be useful in future.
    14744     if test "$aix_use_runtimelinking" = yes; then
     15443    aix,yes) # traditional libtool
     15444      dynamic_linker='AIX unversionable lib.so'
    1474515445      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    1474615446      # instead of lib<name>.a to let people know that these are not
    1474715447      # typical AIX shared libraries.
    14748       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    14749     else
     15448      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15449      ;;
     15450    aix,no) # traditional AIX only
     15451      dynamic_linker='AIX lib.a(lib.so.V)'
    1475015452      # We preserve .a as extension for shared libraries through AIX4.2
    1475115453      # and later when we are not doing run time linking.
    14752       library_names_spec='${libname}${release}.a $libname.a'
    14753       soname_spec='${libname}${release}${shared_ext}$major'
    14754     fi
     15454      library_names_spec='$libname$release.a $libname.a'
     15455      soname_spec='$libname$release$shared_ext$major'
     15456      ;;
     15457    svr4,*) # full svr4 only
     15458      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
     15459      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     15460      # We do not specify a path in Import Files, so LIBPATH fires.
     15461      shlibpath_overrides_runpath=yes
     15462      ;;
     15463    *,yes) # both, prefer svr4
     15464      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
     15465      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     15466      # unpreferred sharedlib libNAME.a needs extra handling
     15467      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"'
     15468      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"'
     15469      # We do not specify a path in Import Files, so LIBPATH fires.
     15470      shlibpath_overrides_runpath=yes
     15471      ;;
     15472    *,no) # both, prefer aix
     15473      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
     15474      library_names_spec='$libname$release.a $libname.a'
     15475      soname_spec='$libname$release$shared_ext$major'
     15476      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
     15477      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)'
     15478      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"'
     15479      ;;
     15480    esac
    1475515481    shlibpath_var=LIBPATH
    1475615482  fi
     
    1476215488    # Since July 2007 AmigaOS4 officially supports .so libraries.
    1476315489    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    14764     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     15490    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    1476515491    ;;
    1476615492  m68k)
    1476715493    library_names_spec='$libname.ixlibrary $libname.a'
    1476815494    # Create ${libname}_ixlibrary.a entries in /sys/libs.
    14769     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'
     15495    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'
    1477015496    ;;
    1477115497  esac
     
    1477315499
    1477415500beos*)
    14775   library_names_spec='${libname}${shared_ext}'
     15501  library_names_spec='$libname$shared_ext'
    1477615502  dynamic_linker="$host_os ld.so"
    1477715503  shlibpath_var=LIBRARY_PATH
     
    1477915505
    1478015506bsdi[45]*)
    14781   version_type=linux
     15507  version_type=linux # correct to gnu/linux during the next big refactor
    1478215508  need_version=no
    14783   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    14784   soname_spec='${libname}${release}${shared_ext}$major'
     15509  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15510  soname_spec='$libname$release$shared_ext$major'
    1478515511  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    1478615512  shlibpath_var=LD_LIBRARY_PATH
     
    1479415520cygwin* | mingw* | pw32* | cegcc*)
    1479515521  version_type=windows
    14796   shrext_cmds=".dll"
     15522  shrext_cmds=.dll
    1479715523  need_version=no
    1479815524  need_lib_prefix=no
     
    1480315529    library_names_spec='$libname.dll.a'
    1480415530    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    14805     postinstall_cmds='base_file=`basename \${file}`~
    14806       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     15531    postinstall_cmds='base_file=`basename \$file`~
     15532      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    1480715533      dldir=$destdir/`dirname \$dlpath`~
    1480815534      test -d \$dldir || mkdir -p \$dldir~
     
    1482015546    cygwin*)
    1482115547      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    14822       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
     15548      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    1482315549
    1482415550      ;;
    1482515551    mingw* | cegcc*)
    1482615552      # MinGW DLLs use traditional 'lib' prefix
    14827       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
     15553      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    1482815554      ;;
    1482915555    pw32*)
    1483015556      # pw32 DLLs use 'pw' prefix rather than 'lib'
    14831       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
     15557      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    1483215558      ;;
    1483315559    esac
     
    1483815564    # Native MSVC
    1483915565    libname_spec='$name'
    14840     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
    14841     library_names_spec='${libname}.dll.lib'
     15566    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     15567    library_names_spec='$libname.dll.lib'
    1484215568
    1484315569    case $build_os in
     
    1486615592      ;;
    1486715593    *)
    14868       sys_lib_search_path_spec="$LIB"
     15594      sys_lib_search_path_spec=$LIB
    1486915595      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
    1487015596        # It is most probably a Windows format PATH.
     
    1487915605
    1488015606    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    14881     postinstall_cmds='base_file=`basename \${file}`~
    14882       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     15607    postinstall_cmds='base_file=`basename \$file`~
     15608      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    1488315609      dldir=$destdir/`dirname \$dlpath`~
    1488415610      test -d \$dldir || mkdir -p \$dldir~
     
    1489315619  *)
    1489415620    # Assume MSVC wrapper
    14895     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
     15621    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
    1489615622    dynamic_linker='Win32 ld.exe'
    1489715623    ;;
     
    1490615632  need_lib_prefix=no
    1490715633  need_version=no
    14908   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    14909   soname_spec='${libname}${release}${major}$shared_ext'
     15634  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
     15635  soname_spec='$libname$release$major$shared_ext'
    1491015636  shlibpath_overrides_runpath=yes
    1491115637  shlibpath_var=DYLD_LIBRARY_PATH
     
    1491615642
    1491715643dgux*)
    14918   version_type=linux
     15644  version_type=linux # correct to gnu/linux during the next big refactor
    1491915645  need_lib_prefix=no
    1492015646  need_version=no
    14921   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
    14922   soname_spec='${libname}${release}${shared_ext}$major'
     15647  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15648  soname_spec='$libname$release$shared_ext$major'
    1492315649  shlibpath_var=LD_LIBRARY_PATH
    14924   ;;
    14925 
    14926 freebsd1*)
    14927   dynamic_linker=no
    1492815650  ;;
    1492915651
     
    1493515657  else
    1493615658    case $host_os in
    14937     freebsd[123]*) objformat=aout ;;
     15659    freebsd[23].*) objformat=aout ;;
    1493815660    *) objformat=elf ;;
    1493915661    esac
     
    1494215664  case $version_type in
    1494315665    freebsd-elf*)
    14944       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
     15666      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15667      soname_spec='$libname$release$shared_ext$major'
    1494515668      need_version=no
    1494615669      need_lib_prefix=no
    1494715670      ;;
    1494815671    freebsd-*)
    14949       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
     15672      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    1495015673      need_version=yes
    1495115674      ;;
     
    1495315676  shlibpath_var=LD_LIBRARY_PATH
    1495415677  case $host_os in
    14955   freebsd2*)
     15678  freebsd2.*)
    1495615679    shlibpath_overrides_runpath=yes
    1495715680    ;;
     
    1497215695  ;;
    1497315696
    14974 gnu*)
    14975   version_type=linux
    14976   need_lib_prefix=no
    14977   need_version=no
    14978   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    14979   soname_spec='${libname}${release}${shared_ext}$major'
    14980   shlibpath_var=LD_LIBRARY_PATH
    14981   shlibpath_overrides_runpath=no
    14982   hardcode_into_libs=yes
    14983   ;;
    14984 
    1498515697haiku*)
    14986   version_type=linux
     15698  version_type=linux # correct to gnu/linux during the next big refactor
    1498715699  need_lib_prefix=no
    1498815700  need_version=no
    1498915701  dynamic_linker="$host_os runtime_loader"
    14990   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    14991   soname_spec='${libname}${release}${shared_ext}$major'
     15702  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15703  soname_spec='$libname$release$shared_ext$major'
    1499215704  shlibpath_var=LIBRARY_PATH
    14993   shlibpath_overrides_runpath=yes
     15705  shlibpath_overrides_runpath=no
    1499415706  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    1499515707  hardcode_into_libs=yes
     
    1500915721    shlibpath_var=LD_LIBRARY_PATH
    1501015722    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    15011     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    15012     soname_spec='${libname}${release}${shared_ext}$major'
    15013     if test "X$HPUX_IA64_MODE" = X32; then
     15723    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15724    soname_spec='$libname$release$shared_ext$major'
     15725    if test 32 = "$HPUX_IA64_MODE"; then
    1501415726      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
     15727      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    1501515728    else
    1501615729      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
     15730      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    1501715731    fi
    15018     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    1501915732    ;;
    1502015733  hppa*64*)
     
    1502415737    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    1502515738    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    15026     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    15027     soname_spec='${libname}${release}${shared_ext}$major'
     15739    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15740    soname_spec='$libname$release$shared_ext$major'
    1502815741    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    1502915742    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     
    1503415747    shlibpath_var=SHLIB_PATH
    1503515748    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    15036     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    15037     soname_spec='${libname}${release}${shared_ext}$major'
     15749    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15750    soname_spec='$libname$release$shared_ext$major'
    1503815751    ;;
    1503915752  esac
     
    1504515758
    1504615759interix[3-9]*)
    15047   version_type=linux
     15760  version_type=linux # correct to gnu/linux during the next big refactor
    1504815761  need_lib_prefix=no
    1504915762  need_version=no
    15050   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    15051   soname_spec='${libname}${release}${shared_ext}$major'
     15763  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15764  soname_spec='$libname$release$shared_ext$major'
    1505215765  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    1505315766  shlibpath_var=LD_LIBRARY_PATH
     
    1506015773    nonstopux*) version_type=nonstopux ;;
    1506115774    *)
    15062         if test "$lt_cv_prog_gnu_ld" = yes; then
    15063                 version_type=linux
     15775        if test yes = "$lt_cv_prog_gnu_ld"; then
     15776                version_type=linux # correct to gnu/linux during the next big refactor
    1506415777        else
    1506515778                version_type=irix
     
    1506815781  need_lib_prefix=no
    1506915782  need_version=no
    15070   soname_spec='${libname}${release}${shared_ext}$major'
    15071   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
     15783  soname_spec='$libname$release$shared_ext$major'
     15784  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
    1507215785  case $host_os in
    1507315786  irix5* | nonstopux*)
     
    1508815801  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    1508915802  shlibpath_overrides_runpath=no
    15090   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
    15091   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
     15803  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
     15804  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
    1509215805  hardcode_into_libs=yes
    1509315806  ;;
     
    1509815811  ;;
    1509915812
    15100 # This must be Linux ELF.
    15101 linux* | k*bsd*-gnu | kopensolaris*-gnu)
    15102   version_type=linux
     15813linux*android*)
     15814  version_type=none # Android doesn't support versioned libraries.
    1510315815  need_lib_prefix=no
    1510415816  need_version=no
    15105   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    15106   soname_spec='${libname}${release}${shared_ext}$major'
     15817  library_names_spec='$libname$release$shared_ext'
     15818  soname_spec='$libname$release$shared_ext'
     15819  finish_cmds=
     15820  shlibpath_var=LD_LIBRARY_PATH
     15821  shlibpath_overrides_runpath=yes
     15822
     15823  # This implies no fast_install, which is unacceptable.
     15824  # Some rework will be needed to allow for fast_install
     15825  # before this can be enabled.
     15826  hardcode_into_libs=yes
     15827
     15828  dynamic_linker='Android linker'
     15829  # Don't embed -rpath directories since the linker doesn't support them.
     15830  hardcode_libdir_flag_spec_CXX='-L$libdir'
     15831  ;;
     15832
     15833# This must be glibc/ELF.
     15834linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     15835  version_type=linux # correct to gnu/linux during the next big refactor
     15836  need_lib_prefix=no
     15837  need_version=no
     15838  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15839  soname_spec='$libname$release$shared_ext$major'
    1510715840  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    1510815841  shlibpath_var=LD_LIBRARY_PATH
     
    1514815881  hardcode_into_libs=yes
    1514915882
    15150   # Append ld.so.conf contents to the search path
     15883  # Ideally, we could use ldconfig to report *all* directores which are
     15884  # searched for libraries, however this is still not possible.  Aside from not
     15885  # being certain /sbin/ldconfig is available, command
     15886  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
     15887  # even though it is searched at run-time.  Try to do the best guess by
     15888  # appending ld.so.conf contents (and includes) to the search path.
    1515115889  if test -f /etc/ld.so.conf; then
    1515215890    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' ' '`
     
    1518015918  need_version=no
    1518115919  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    15182     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     15920    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    1518315921    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    1518415922    dynamic_linker='NetBSD (a.out) ld.so'
    1518515923  else
    15186     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    15187     soname_spec='${libname}${release}${shared_ext}$major'
     15924    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15925    soname_spec='$libname$release$shared_ext$major'
    1518815926    dynamic_linker='NetBSD ld.elf_so'
    1518915927  fi
     
    1519415932
    1519515933newsos6)
    15196   version_type=linux
    15197   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     15934  version_type=linux # correct to gnu/linux during the next big refactor
     15935  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    1519815936  shlibpath_var=LD_LIBRARY_PATH
    1519915937  shlibpath_overrides_runpath=yes
     
    1520415942  need_lib_prefix=no
    1520515943  need_version=no
    15206   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    15207   soname_spec='${libname}${release}${shared_ext}$major'
     15944  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15945  soname_spec='$libname$release$shared_ext$major'
    1520815946  shlibpath_var=LD_LIBRARY_PATH
    1520915947  shlibpath_overrides_runpath=no
     
    1521215950  ;;
    1521315951
    15214 openbsd*)
     15952openbsd* | bitrig*)
    1521515953  version_type=sunos
    15216   sys_lib_dlsearch_path_spec="/usr/lib"
     15954  sys_lib_dlsearch_path_spec=/usr/lib
    1521715955  need_lib_prefix=no
    15218   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
    15219   case $host_os in
    15220     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
    15221     *)                          need_version=no  ;;
    15222   esac
    15223   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     15956  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     15957    need_version=no
     15958  else
     15959    need_version=yes
     15960  fi
     15961  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    1522415962  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    1522515963  shlibpath_var=LD_LIBRARY_PATH
    15226   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    15227     case $host_os in
    15228       openbsd2.[89] | openbsd2.[89].*)
    15229         shlibpath_overrides_runpath=no
    15230         ;;
    15231       *)
    15232         shlibpath_overrides_runpath=yes
    15233         ;;
    15234       esac
    15235   else
    15236     shlibpath_overrides_runpath=yes
    15237   fi
     15964  shlibpath_overrides_runpath=yes
    1523815965  ;;
    1523915966
    1524015967os2*)
    1524115968  libname_spec='$name'
    15242   shrext_cmds=".dll"
     15969  version_type=windows
     15970  shrext_cmds=.dll
     15971  need_version=no
    1524315972  need_lib_prefix=no
    15244   library_names_spec='$libname${shared_ext} $libname.a'
     15973  # OS/2 can only load a DLL with a base name of 8 characters or less.
     15974  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
     15975    v=$($ECHO $release$versuffix | tr -d .-);
     15976    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
     15977    $ECHO $n$v`$shared_ext'
     15978  library_names_spec='${libname}_dll.$libext'
    1524515979  dynamic_linker='OS/2 ld.exe'
    15246   shlibpath_var=LIBPATH
     15980  shlibpath_var=BEGINLIBPATH
     15981  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     15982  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     15983  postinstall_cmds='base_file=`basename \$file`~
     15984    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
     15985    dldir=$destdir/`dirname \$dlpath`~
     15986    test -d \$dldir || mkdir -p \$dldir~
     15987    $install_prog $dir/$dlname \$dldir/$dlname~
     15988    chmod a+x \$dldir/$dlname~
     15989    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     15990      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     15991    fi'
     15992  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
     15993    dlpath=$dir/\$dldll~
     15994    $RM \$dlpath'
    1524715995  ;;
    1524815996
     
    1525115999  need_lib_prefix=no
    1525216000  need_version=no
    15253   soname_spec='${libname}${release}${shared_ext}$major'
    15254   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     16001  soname_spec='$libname$release$shared_ext$major'
     16002  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    1525516003  shlibpath_var=LD_LIBRARY_PATH
    1525616004  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    15257   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
     16005  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    1525816006  ;;
    1525916007
     
    1526316011
    1526416012solaris*)
    15265   version_type=linux
     16013  version_type=linux # correct to gnu/linux during the next big refactor
    1526616014  need_lib_prefix=no
    1526716015  need_version=no
    15268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    15269   soname_spec='${libname}${release}${shared_ext}$major'
     16016  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16017  soname_spec='$libname$release$shared_ext$major'
    1527016018  shlibpath_var=LD_LIBRARY_PATH
    1527116019  shlibpath_overrides_runpath=yes
     
    1527716025sunos4*)
    1527816026  version_type=sunos
    15279   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     16027  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    1528016028  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    1528116029  shlibpath_var=LD_LIBRARY_PATH
    1528216030  shlibpath_overrides_runpath=yes
    15283   if test "$with_gnu_ld" = yes; then
     16031  if test yes = "$with_gnu_ld"; then
    1528416032    need_lib_prefix=no
    1528516033  fi
     
    1528816036
    1528916037sysv4 | sysv4.3*)
    15290   version_type=linux
    15291   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    15292   soname_spec='${libname}${release}${shared_ext}$major'
     16038  version_type=linux # correct to gnu/linux during the next big refactor
     16039  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16040  soname_spec='$libname$release$shared_ext$major'
    1529316041  shlibpath_var=LD_LIBRARY_PATH
    1529416042  case $host_vendor in
     
    1531116059
    1531216060sysv4*MP*)
    15313   if test -d /usr/nec ;then
    15314     version_type=linux
    15315     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    15316     soname_spec='$libname${shared_ext}.$major'
     16061  if test -d /usr/nec; then
     16062    version_type=linux # correct to gnu/linux during the next big refactor
     16063    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
     16064    soname_spec='$libname$shared_ext.$major'
    1531716065    shlibpath_var=LD_LIBRARY_PATH
    1531816066  fi
     
    1532016068
    1532116069sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    15322   version_type=freebsd-elf
     16070  version_type=sco
    1532316071  need_lib_prefix=no
    1532416072  need_version=no
    15325   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
    15326   soname_spec='${libname}${release}${shared_ext}$major'
     16073  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
     16074  soname_spec='$libname$release$shared_ext$major'
    1532716075  shlibpath_var=LD_LIBRARY_PATH
    1532816076  shlibpath_overrides_runpath=yes
    1532916077  hardcode_into_libs=yes
    15330   if test "$with_gnu_ld" = yes; then
     16078  if test yes = "$with_gnu_ld"; then
    1533116079    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    1533216080  else
     
    1534316091tpf*)
    1534416092  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
    15345   version_type=linux
     16093  version_type=linux # correct to gnu/linux during the next big refactor
    1534616094  need_lib_prefix=no
    1534716095  need_version=no
    15348   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     16096  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    1534916097  shlibpath_var=LD_LIBRARY_PATH
    1535016098  shlibpath_overrides_runpath=no
     
    1535316101
    1535416102uts4*)
    15355   version_type=linux
    15356   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    15357   soname_spec='${libname}${release}${shared_ext}$major'
     16103  version_type=linux # correct to gnu/linux during the next big refactor
     16104  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     16105  soname_spec='$libname$release$shared_ext$major'
    1535816106  shlibpath_var=LD_LIBRARY_PATH
    1535916107  ;;
     
    1536516113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
    1536616114$as_echo "$dynamic_linker" >&6; }
    15367 test "$dynamic_linker" = no && can_build_shared=no
     16115test no = "$dynamic_linker" && can_build_shared=no
    1536816116
    1536916117variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    15370 if test "$GCC" = yes; then
     16118if test yes = "$GCC"; then
    1537116119  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    1537216120fi
    1537316121
    15374 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
    15375   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
    15376 fi
    15377 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
    15378   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
    15379 fi
     16122if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
     16123  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
     16124fi
     16125
     16126if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
     16127  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
     16128fi
     16129
     16130# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
     16131configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
     16132
     16133# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
     16134func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
     16135
     16136# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
     16137configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
     16138
     16139
    1538016140
    1538116141
     
    1542116181if test -n "$hardcode_libdir_flag_spec_CXX" ||
    1542216182   test -n "$runpath_var_CXX" ||
    15423    test "X$hardcode_automatic_CXX" = "Xyes" ; then
     16183   test yes = "$hardcode_automatic_CXX"; then
    1542416184
    1542516185  # We can hardcode non-existent directories.
    15426   if test "$hardcode_direct_CXX" != no &&
     16186  if test no != "$hardcode_direct_CXX" &&
    1542716187     # If the only mechanism to avoid hardcoding is shlibpath_var, we
    1542816188     # have to relink, otherwise we might link with an installed library
    1542916189     # when we should be linking with a yet-to-be-installed one
    15430      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
    15431      test "$hardcode_minus_L_CXX" != no; then
     16190     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
     16191     test no != "$hardcode_minus_L_CXX"; then
    1543216192    # Linking always hardcodes the temporary library directory.
    1543316193    hardcode_action_CXX=relink
     
    1544416204$as_echo "$hardcode_action_CXX" >&6; }
    1544516205
    15446 if test "$hardcode_action_CXX" = relink ||
    15447    test "$inherit_rpath_CXX" = yes; then
     16206if test relink = "$hardcode_action_CXX" ||
     16207   test yes = "$inherit_rpath_CXX"; then
    1544816208  # Fast installation is not supported
    1544916209  enable_fast_install=no
    15450 elif test "$shlibpath_overrides_runpath" = yes ||
    15451      test "$enable_shared" = no; then
     16210elif test yes = "$shlibpath_overrides_runpath" ||
     16211     test no = "$enable_shared"; then
    1545216212  # Fast installation is not necessary
    1545316213  enable_fast_install=needless
     
    1547216232  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
    1547316233  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
    15474 fi # test "$_lt_caught_CXX_error" != yes
     16234fi # test yes != "$_lt_caught_CXX_error"
    1547516235
    1547616236ac_ext=c
     
    1549216252
    1549316253
     16254
     16255
    1549416256        ac_config_commands="$ac_config_commands libtool"
    1549516257
     
    1551116273# Automake initial setup
    1551216274######################################################################
    15513 am__api_version='1.11'
     16275am__api_version='1.15'
    1551416276
    1551516277# Find a good install program.  We prefer a C program (faster),
     
    1555016312    for ac_prog in ginstall scoinst install; do
    1555116313      for ac_exec_ext in '' $ac_executable_extensions; do
    15552         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     16314        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    1555316315          if test $ac_prog = install &&
    1555416316            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    1560816370{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
    1560916371$as_echo_n "checking whether build environment is sane... " >&6; }
    15610 # Just in case
    15611 sleep 1
    15612 echo timestamp > conftest.file
    1561316372# Reject unsafe characters in $srcdir or the absolute working directory
    1561416373# name.  Accept space and tab only in the latter.
     
    1562116380case $srcdir in
    1562216381  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
    15623     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
     16382    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
    1562416383esac
    1562516384
    15626 # Do `set' in a subshell so we don't clobber the current shell's
     16385# Do 'set' in a subshell so we don't clobber the current shell's
    1562716386# arguments.  Must try -L first in case configure is actually a
    1562816387# symlink; some systems play weird games with the mod time of symlinks
     
    1563016389# directory).
    1563116390if (
    15632    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
    15633    if test "$*" = "X"; then
    15634       # -L didn't work.
    15635       set X `ls -t "$srcdir/configure" conftest.file`
    15636    fi
    15637    rm -f conftest.file
    15638    if test "$*" != "X $srcdir/configure conftest.file" \
    15639       && test "$*" != "X conftest.file $srcdir/configure"; then
    15640 
    15641       # If neither matched, then we have a broken ls.  This can happen
    15642       # if, for instance, CONFIG_SHELL is bash and it inherits a
    15643       # broken ls alias from the environment.  This has actually
    15644       # happened.  Such a system could not be considered "sane".
    15645       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
    15646 alias in your environment" "$LINENO" 5
    15647    fi
    15648 
     16391   am_has_slept=no
     16392   for am_try in 1 2; do
     16393     echo "timestamp, slept: $am_has_slept" > conftest.file
     16394     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
     16395     if test "$*" = "X"; then
     16396        # -L didn't work.
     16397        set X `ls -t "$srcdir/configure" conftest.file`
     16398     fi
     16399     if test "$*" != "X $srcdir/configure conftest.file" \
     16400        && test "$*" != "X conftest.file $srcdir/configure"; then
     16401
     16402        # If neither matched, then we have a broken ls.  This can happen
     16403        # if, for instance, CONFIG_SHELL is bash and it inherits a
     16404        # broken ls alias from the environment.  This has actually
     16405        # happened.  Such a system could not be considered "sane".
     16406        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
     16407  alias in your environment" "$LINENO" 5
     16408     fi
     16409     if test "$2" = conftest.file || test $am_try -eq 2; then
     16410       break
     16411     fi
     16412     # Just in case.
     16413     sleep 1
     16414     am_has_slept=yes
     16415   done
    1564916416   test "$2" = conftest.file
    1565016417   )
     
    1565816425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    1565916426$as_echo "yes" >&6; }
     16427# If we didn't sleep, we still need to ensure time stamps of config.status and
     16428# generated files are strictly newer.
     16429am_sleep_pid=
     16430if grep 'slept: no' conftest.file >/dev/null 2>&1; then
     16431  ( sleep 1 ) &
     16432  am_sleep_pid=$!
     16433fi
     16434
     16435rm -f conftest.file
     16436
    1566016437test "$program_prefix" != NONE &&
    1566116438  program_transform_name="s&^&$program_prefix&;$program_transform_name"
     
    1567716454fi
    1567816455# Use eval to expand $SHELL
    15679 if eval "$MISSING --run true"; then
    15680   am_missing_run="$MISSING --run "
     16456if eval "$MISSING --is-lightweight"; then
     16457  am_missing_run="$MISSING "
    1568116458else
    1568216459  am_missing_run=
    15683   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
    15684 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
    15685 fi
    15686 
    15687 if test x"${install_sh}" != xset; then
     16460  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
     16461$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
     16462fi
     16463
     16464if test x"${install_sh+set}" != xset; then
    1568816465  case $am_aux_dir in
    1568916466  *\ * | *\     *)
     
    1569416471fi
    1569516472
    15696 # Installed binaries are usually stripped using `strip' when the user
    15697 # run `make install-strip'.  However `strip' might not be the right
     16473# Installed binaries are usually stripped using 'strip' when the user
     16474# run "make install-strip".  However 'strip' might not be the right
    1569816475# tool to use in cross-compilation environments, therefore Automake
    15699 # will honor the `STRIP' environment variable to overrule this program.
     16476# will honor the 'STRIP' environment variable to overrule this program.
    1570016477if test "$cross_compiling" != no; then
    1570116478  if test -n "$ac_tool_prefix"; then
     
    1571616493  test -z "$as_dir" && as_dir=.
    1571716494    for ac_exec_ext in '' $ac_executable_extensions; do
    15718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     16495  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1571916496    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    1572016497    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1575616533  test -z "$as_dir" && as_dir=.
    1575716534    for ac_exec_ext in '' $ac_executable_extensions; do
    15758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     16535  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1575916536    ac_cv_prog_ac_ct_STRIP="strip"
    1576016537    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1580716584    for ac_prog in mkdir gmkdir; do
    1580816585         for ac_exec_ext in '' $ac_executable_extensions; do
    15809            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     16586           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
    1581016587           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
    1581116588             'mkdir (GNU coreutils) '* | \
     
    1583516612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
    1583616613$as_echo "$MKDIR_P" >&6; }
    15837 
    15838 mkdir_p="$MKDIR_P"
    15839 case $mkdir_p in
    15840   [\\/$]* | ?:[\\/]*) ;;
    15841   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
    15842 esac
    1584316614
    1584416615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
     
    1590116672# First try GNU make style include.
    1590216673echo "include confinc" > confmf
    15903 # Ignore all kinds of additional output from `make'.
     16674# Ignore all kinds of additional output from 'make'.
    1590416675case `$am_make -s -f confmf 2> /dev/null` in #(
    1590516676*the\ am__doit\ target*)
     
    1595016721fi
    1595116722
    15952 case $enable_silent_rules in
    15953 yes) AM_DEFAULT_VERBOSITY=0;;
    15954 no) AM_DEFAULT_VERBOSITY=1;;
    15955 *)  AM_DEFAULT_VERBOSITY=1;;
     16723case $enable_silent_rules in # (((
     16724  yes) AM_DEFAULT_VERBOSITY=0;;
     16725   no) AM_DEFAULT_VERBOSITY=1;;
     16726    *) AM_DEFAULT_VERBOSITY=1;;
    1595616727esac
    1595716728am_make=${MAKE-make}
     
    1602516796MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
    1602616797
    16027 # We need awk for the "check" target.  The system "awk" is bad on
    16028 # some platforms.
     16798# For better backward compatibility.  To be removed once Automake 1.9.x
     16799# dies out for good.  For more background, see:
     16800# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
     16801# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
     16802mkdir_p='$(MKDIR_P)'
     16803
     16804# We need awk for the "check" target (and possibly the TAP driver).  The
     16805# system "awk" is bad on some platforms.
    1602916806# Always define AMTAR for backward compatibility.  Yes, it's still used
    1603016807# in the wild :-(  We should find a proper way to deprecate it ...
    1603116808AMTAR='$${TAR-tar}'
    1603216809
     16810
     16811# We'll loop over all known methods to create a tar archive until one works.
     16812_am_tools='gnutar  pax cpio none'
     16813
    1603316814am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
     16815
    1603416816
    1603516817
     
    1604716829  # making bogus files that we don't know about and never remove.  For
    1604816830  # instance it was reported that on HP-UX the gcc test will end up
    16049   # making a dummy file named `D' -- because `-MD' means `put the output
    16050   # in D'.
     16831  # making a dummy file named 'D' -- because '-MD' means "put the output
     16832  # in D".
    1605116833  rm -rf conftest.dir
    1605216834  mkdir conftest.dir
     
    1608316865    for i in 1 2 3 4 5 6; do
    1608416866      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    16085       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    16086       # Solaris 8's {/usr,}/bin/sh.
    16087       touch sub/conftst$i.h
     16867      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     16868      # Solaris 10 /bin/sh.
     16869      echo '/* dummy */' > sub/conftst$i.h
    1608816870    done
    1608916871    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    1609016872
    16091     # We check with `-c' and `-o' for the sake of the "dashmstdout"
     16873    # We check with '-c' and '-o' for the sake of the "dashmstdout"
    1609216874    # mode.  It turns out that the SunPro C++ compiler does not properly
    16093     # handle `-M -o', and we need to detect this.  Also, some Intel
    16094     # versions had trouble with output in subdirs
     16875    # handle '-M -o', and we need to detect this.  Also, some Intel
     16876    # versions had trouble with output in subdirs.
    1609516877    am__obj=sub/conftest.${OBJEXT-o}
    1609616878    am__minus_obj="-o $am__obj"
     
    1610116883      ;;
    1610216884    nosideeffect)
    16103       # after this tag, mechanisms are not by side-effect, so they'll
    16104       # only be used when explicitly requested
     16885      # After this tag, mechanisms are not by side-effect, so they'll
     16886      # only be used when explicitly requested.
    1610516887      if test "x$enable_dependency_tracking" = xyes; then
    1610616888        continue
     
    1611016892      ;;
    1611116893    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    16112       # This compiler won't grok `-c -o', but also, the minuso test has
     16894      # This compiler won't grok '-c -o', but also, the minuso test has
    1611316895      # not run yet.  These depmodes are late enough in the game, and
    1611416896      # so weak that their functioning should not be impacted.
     
    1617516957  # making bogus files that we don't know about and never remove.  For
    1617616958  # instance it was reported that on HP-UX the gcc test will end up
    16177   # making a dummy file named `D' -- because `-MD' means `put the output
    16178   # in D'.
     16959  # making a dummy file named 'D' -- because '-MD' means "put the output
     16960  # in D".
    1617916961  rm -rf conftest.dir
    1618016962  mkdir conftest.dir
     
    1621116993    for i in 1 2 3 4 5 6; do
    1621216994      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    16213       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    16214       # Solaris 8's {/usr,}/bin/sh.
    16215       touch sub/conftst$i.h
     16995      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     16996      # Solaris 10 /bin/sh.
     16997      echo '/* dummy */' > sub/conftst$i.h
    1621616998    done
    1621716999    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    1621817000
    16219     # We check with `-c' and `-o' for the sake of the "dashmstdout"
     17001    # We check with '-c' and '-o' for the sake of the "dashmstdout"
    1622017002    # mode.  It turns out that the SunPro C++ compiler does not properly
    16221     # handle `-M -o', and we need to detect this.  Also, some Intel
    16222     # versions had trouble with output in subdirs
     17003    # handle '-M -o', and we need to detect this.  Also, some Intel
     17004    # versions had trouble with output in subdirs.
    1622317005    am__obj=sub/conftest.${OBJEXT-o}
    1622417006    am__minus_obj="-o $am__obj"
     
    1622917011      ;;
    1623017012    nosideeffect)
    16231       # after this tag, mechanisms are not by side-effect, so they'll
    16232       # only be used when explicitly requested
     17013      # After this tag, mechanisms are not by side-effect, so they'll
     17014      # only be used when explicitly requested.
    1623317015      if test "x$enable_dependency_tracking" = xyes; then
    1623417016        continue
     
    1623817020      ;;
    1623917021    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    16240       # This compiler won't grok `-c -o', but also, the minuso test has
     17022      # This compiler won't grok '-c -o', but also, the minuso test has
    1624117023      # not run yet.  These depmodes are late enough in the game, and
    1624217024      # so weak that their functioning should not be impacted.
     
    1629317075
    1629417076
     17077# POSIX will say in a future version that running "rm -f" with no argument
     17078# is OK; and we want to be able to make that assumption in our Makefile
     17079# recipes.  So use an aggressive probe to check that the usage we want is
     17080# actually supported "in the wild" to an acceptable degree.
     17081# See automake bug#10828.
     17082# To make any issue more visible, cause the running configure to be aborted
     17083# by default if the 'rm' program in use doesn't match our expectations; the
     17084# user can still override this though.
     17085if rm -f && rm -fr && rm -rf; then : OK; else
     17086  cat >&2 <<'END'
     17087Oops!
     17088
     17089Your 'rm' program seems unable to run without file operands specified
     17090on the command line, even when the '-f' option is present.  This is contrary
     17091to the behaviour of most rm programs out there, and not conforming with
     17092the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
     17093
     17094Please tell bug-automake@gnu.org about your system, including the value
     17095of your $PATH and any error possibly output before this message.  This
     17096can help us improve future automake versions.
     17097
     17098END
     17099  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
     17100    echo 'Configuration will proceed anyway, since you have set the' >&2
     17101    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
     17102    echo >&2
     17103  else
     17104    cat >&2 <<'END'
     17105Aborting the configuration process, to ensure you take notice of the issue.
     17106
     17107You can download and install GNU coreutils to get an 'rm' implementation
     17108that behaves properly: <http://www.gnu.org/software/coreutils/>.
     17109
     17110If you want to complete the configuration process using your problematic
     17111'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
     17112to "yes", and re-run configure.
     17113
     17114END
     17115    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
     17116  fi
     17117fi
     17118
    1629517119# Check whether --enable-silent-rules was given.
    1629617120if test "${enable_silent_rules+set}" = set; then :
     
    1629817122fi
    1629917123
    16300 case $enable_silent_rules in
    16301 yes) AM_DEFAULT_VERBOSITY=0;;
    16302 no) AM_DEFAULT_VERBOSITY=1;;
    16303 *)  AM_DEFAULT_VERBOSITY=0;;
     17124case $enable_silent_rules in # (((
     17125  yes) AM_DEFAULT_VERBOSITY=0;;
     17126   no) AM_DEFAULT_VERBOSITY=1;;
     17127    *) AM_DEFAULT_VERBOSITY=0;;
    1630417128esac
    1630517129am_make=${MAKE-make}
     
    1633217156AM_BACKSLASH='\'
    1633317157
    16334 
    16335 if test "x$CC" != xcc; then
    16336   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
    16337 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
    16338 else
    16339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
    16340 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
    16341 fi
    16342 set dummy $CC; ac_cc=`$as_echo "$2" |
    16343                       sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
    16344 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
    16345   $as_echo_n "(cached) " >&6
    16346 else
    16347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16348 /* end confdefs.h.  */
    16349 
    16350 int
    16351 main ()
    16352 {
    16353 
    16354   ;
    16355   return 0;
    16356 }
    16357 _ACEOF
    16358 # Make sure it works both with $CC and with simple cc.
    16359 # We do the test twice because some compilers refuse to overwrite an
    16360 # existing .o file with -o, though they will create one.
    16361 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
    16362 rm -f conftest2.*
    16363 if { { case "(($ac_try" in
    16364   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16365   *) ac_try_echo=$ac_try;;
    16366 esac
    16367 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    16368 $as_echo "$ac_try_echo"; } >&5
    16369   (eval "$ac_try") 2>&5
    16370   ac_status=$?
    16371   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    16372   test $ac_status = 0; } &&
    16373    test -f conftest2.$ac_objext && { { case "(($ac_try" in
    16374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16375   *) ac_try_echo=$ac_try;;
    16376 esac
    16377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    16378 $as_echo "$ac_try_echo"; } >&5
    16379   (eval "$ac_try") 2>&5
    16380   ac_status=$?
    16381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    16382   test $ac_status = 0; };
    16383 then
    16384   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
    16385   if test "x$CC" != xcc; then
    16386     # Test first that cc exists at all.
    16387     if { ac_try='cc -c conftest.$ac_ext >&5'
    16388   { { case "(($ac_try" in
    16389   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16390   *) ac_try_echo=$ac_try;;
    16391 esac
    16392 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    16393 $as_echo "$ac_try_echo"; } >&5
    16394   (eval "$ac_try") 2>&5
    16395   ac_status=$?
    16396   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    16397   test $ac_status = 0; }; }; then
    16398       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
    16399       rm -f conftest2.*
    16400       if { { case "(($ac_try" in
    16401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16402   *) ac_try_echo=$ac_try;;
    16403 esac
    16404 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    16405 $as_echo "$ac_try_echo"; } >&5
    16406   (eval "$ac_try") 2>&5
    16407   ac_status=$?
    16408   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    16409   test $ac_status = 0; } &&
    16410          test -f conftest2.$ac_objext && { { case "(($ac_try" in
    16411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16412   *) ac_try_echo=$ac_try;;
    16413 esac
    16414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    16415 $as_echo "$ac_try_echo"; } >&5
    16416   (eval "$ac_try") 2>&5
    16417   ac_status=$?
    16418   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    16419   test $ac_status = 0; };
    16420       then
    16421         # cc works too.
    16422         :
    16423       else
    16424         # cc exists but doesn't like -o.
    16425         eval ac_cv_prog_cc_${ac_cc}_c_o=no
    16426       fi
    16427     fi
    16428   fi
    16429 else
    16430   eval ac_cv_prog_cc_${ac_cc}_c_o=no
    16431 fi
    16432 rm -f core conftest*
    16433 
    16434 fi
    16435 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
    16436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    16437 $as_echo "yes" >&6; }
    16438 else
    16439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    16440 $as_echo "no" >&6; }
    16441 
    16442 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
    16443 
    16444 fi
    16445 
    16446 # FIXME: we rely on the cache variable name because
    16447 # there is no other way.
    16448 set dummy $CC
    16449 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
    16450 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
    16451 if test "$am_t" != yes; then
    16452    # Losing compiler, so override with the script.
    16453    # FIXME: It is wrong to rewrite CC.
    16454    # But if we don't then we get into trouble of one sort or another.
    16455    # A longer-term fix would be to have automake use am__CC in this case,
    16456    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
    16457    CC="$am_aux_dir/compile $CC"
    16458 fi
    1645917158
    1646017159
     
    1655417253  test -z "$as_dir" && as_dir=.
    1655517254    for ac_exec_ext in '' $ac_executable_extensions; do
    16556   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     17255  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1655717256    ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
    1655817257    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1659717296  test -z "$as_dir" && as_dir=.
    1659817297    for ac_exec_ext in '' $ac_executable_extensions; do
    16599   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     17298  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1660017299    ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
    1660117300    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1666017359  test -z "$as_dir" && as_dir=.
    1666117360    for ac_exec_ext in '' $ac_executable_extensions; do
    16662   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     17361  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1666317362    ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
    1666417363    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1670317402  test -z "$as_dir" && as_dir=.
    1670417403    for ac_exec_ext in '' $ac_executable_extensions; do
    16705   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     17404  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1670617405    ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
    1670717406    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1682417523  test -z "$as_dir" && as_dir=.
    1682517524    for ac_exec_ext in '' $ac_executable_extensions; do
    16826   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     17525  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1682717526    ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
    1682817527    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1686717566  test -z "$as_dir" && as_dir=.
    1686817567    for ac_exec_ext in '' $ac_executable_extensions; do
    16869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     17568  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1687017569    ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
    1687117570    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1717117870  test -z "$as_dir" && as_dir=.
    1717217871    for ac_exec_ext in '' $ac_executable_extensions; do
    17173   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     17872  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1717417873    ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
    1717517874    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1721417913  test -z "$as_dir" && as_dir=.
    1721517914    for ac_exec_ext in '' $ac_executable_extensions; do
    17216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     17915  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1721717916    ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
    1721817917    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1746618165  test -z "$as_dir" && as_dir=.
    1746718166    for ac_exec_ext in '' $ac_executable_extensions; do
    17468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18167  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1746918168    ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
    1747018169    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1750918208  test -z "$as_dir" && as_dir=.
    1751018209    for ac_exec_ext in '' $ac_executable_extensions; do
    17511   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18210  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1751218211    ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
    1751318212    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1757218271  test -z "$as_dir" && as_dir=.
    1757318272    for ac_exec_ext in '' $ac_executable_extensions; do
    17574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18273  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1757518274    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
    1757618275    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1761518314  test -z "$as_dir" && as_dir=.
    1761618315    for ac_exec_ext in '' $ac_executable_extensions; do
    17617   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18316  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1761818317    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
    1761918318    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1767818377  test -z "$as_dir" && as_dir=.
    1767918378    for ac_exec_ext in '' $ac_executable_extensions; do
    17680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18379  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1768118380    ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
    1768218381    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1772118420  test -z "$as_dir" && as_dir=.
    1772218421    for ac_exec_ext in '' $ac_executable_extensions; do
    17723   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18422  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1772418423    ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
    1772518424    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1778418483  test -z "$as_dir" && as_dir=.
    1778518484    for ac_exec_ext in '' $ac_executable_extensions; do
    17786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18485  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1778718486    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
    1778818487    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1782718526  test -z "$as_dir" && as_dir=.
    1782818527    for ac_exec_ext in '' $ac_executable_extensions; do
    17829   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18528  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1783018529    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
    1783118530    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1794718646  test -z "$as_dir" && as_dir=.
    1794818647    for ac_exec_ext in '' $ac_executable_extensions; do
    17949   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18648  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1795018649    ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
    1795118650    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1799018689  test -z "$as_dir" && as_dir=.
    1799118690    for ac_exec_ext in '' $ac_executable_extensions; do
    17992   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18691  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1799318692    ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
    1799418693    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1805318752  test -z "$as_dir" && as_dir=.
    1805418753    for ac_exec_ext in '' $ac_executable_extensions; do
    18055   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18754  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1805618755    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
    1805718756    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1809618795  test -z "$as_dir" && as_dir=.
    1809718796    for ac_exec_ext in '' $ac_executable_extensions; do
    18098   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18797  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1809918798    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
    1810018799    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1815918858  test -z "$as_dir" && as_dir=.
    1816018859    for ac_exec_ext in '' $ac_executable_extensions; do
    18161   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18860  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1816218861    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
    1816318862    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1820218901  test -z "$as_dir" && as_dir=.
    1820318902    for ac_exec_ext in '' $ac_executable_extensions; do
    18204   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     18903  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1820518904    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
    1820618905    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1846219161# pthread-config: use pthread-config program (for GNU Pth library)
    1846319162
    18464 case "${host_cpu}-${host_os}" in
    18465         *solaris*)
     19163case ${host_os} in
     19164        solaris*)
    1846619165
    1846719166        # On Solaris (at least, for some versions), libc contains stubbed
     
    1847619175        ;;
    1847719176
    18478         *-darwin*)
     19177        darwin*)
    1847919178        ax_pthread_flags="-pthread $ax_pthread_flags"
    1848019179        ;;
    1848119180esac
     19181
     19182# Clang doesn't consider unrecognized options an error unless we specify
     19183# -Werror. We throw in some extra Clang-specific options to ensure that
     19184# this doesn't happen for GCC, which also accepts -Werror.
     19185
     19186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler needs -Werror to reject unknown flags" >&5
     19187$as_echo_n "checking if compiler needs -Werror to reject unknown flags... " >&6; }
     19188save_CFLAGS="$CFLAGS"
     19189ax_pthread_extra_flags="-Werror"
     19190CFLAGS="$CFLAGS $ax_pthread_extra_flags -Wunknown-warning-option -Wsizeof-array-argument"
     19191cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     19192/* end confdefs.h.  */
     19193int foo(void);
     19194int
     19195main ()
     19196{
     19197foo()
     19198  ;
     19199  return 0;
     19200}
     19201_ACEOF
     19202if ac_fn_c_try_compile "$LINENO"; then :
     19203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     19204$as_echo "yes" >&6; }
     19205else
     19206  ax_pthread_extra_flags=
     19207                   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     19208$as_echo "no" >&6; }
     19209fi
     19210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     19211CFLAGS="$save_CFLAGS"
    1848219212
    1848319213if test x"$ax_pthread_ok" = xno; then
     
    1851319243  test -z "$as_dir" && as_dir=.
    1851419244    for ac_exec_ext in '' $ac_executable_extensions; do
    18515   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     19245  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1851619246    ac_cv_prog_ax_pthread_config="yes"
    1851719247    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1855019280        save_CFLAGS="$CFLAGS"
    1855119281        LIBS="$PTHREAD_LIBS $LIBS"
    18552         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
     19282        CFLAGS="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
    1855319283
    1855419284        # Check for various functions.  We must include pthread.h,
     
    1864119371$as_echo_n "checking if more special flags are required for pthreads... " >&6; }
    1864219372        flag=no
    18643         case "${host_cpu}-${host_os}" in
    18644             *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
    18645             *-osf* | *-hpux*) flag="-D_REENTRANT";;
    18646             *solaris*)
     19373        case ${host_os} in
     19374            aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
     19375            osf* | hpux*) flag="-D_REENTRANT";;
     19376            solaris*)
    1864719377            if test "$GCC" = "yes"; then
    1864819378                flag="-D_REENTRANT"
    1864919379            else
     19380                # TODO: What about Clang on Solaris?
    1865019381                flag="-mt -D_REENTRANT"
    1865119382            fi
    1865219383            ;;
    1865319384        esac
    18654         { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
    18655 $as_echo "${flag}" >&6; }
     19385        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag" >&5
     19386$as_echo "$flag" >&6; }
    1865619387        if test "x$flag" != xno; then
    1865719388            PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
     
    1866619397                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1866719398/* end confdefs.h.  */
    18668 
    18669                     #include <pthread.h>
     19399#include <pthread.h>
    1867019400int
    1867119401main ()
     
    1869619426        CFLAGS="$save_CFLAGS"
    1869719427
    18698         # More AIX lossage: must compile with xlc_r or cc_r
    18699         if test x"$GCC" != xyes; then
    18700           for ac_prog in xlc_r cc_r
     19428        # More AIX lossage: compile with *_r variant
     19429        if test "x$GCC" != xyes; then
     19430            case $host_os in
     19431                aix*)
     19432                case "x/$CC" in #(
     19433  x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
     19434    #handle absolute path differently from PATH based program lookup
     19435                   case "x$CC" in #(
     19436  x/*) :
     19437    if as_fn_executable_p ${CC}_r; then :
     19438  PTHREAD_CC="${CC}_r"
     19439fi ;; #(
     19440  *) :
     19441    for ac_prog in ${CC}_r
    1870119442do
    1870219443  # Extract the first word of "$ac_prog", so it can be a program name with args.
     
    1871619457  test -z "$as_dir" && as_dir=.
    1871719458    for ac_exec_ext in '' $ac_executable_extensions; do
    18718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     19459  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    1871919460    ac_cv_prog_PTHREAD_CC="$ac_prog"
    1872019461    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    1873919480  test -n "$PTHREAD_CC" && break
    1874019481done
    18741 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
    18742 
    18743         else
    18744           PTHREAD_CC=$CC
     19482test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
     19483 ;;
     19484esac ;; #(
     19485  *) :
     19486     ;;
     19487esac
     19488                ;;
     19489            esac
    1874519490        fi
    18746 else
    18747         PTHREAD_CC="$CC"
    18748 fi
     19491fi
     19492
     19493test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
    1874919494
    1875019495
     
    2091221657                        libsubdirs="lib"
    2091321658    ax_arch=`uname -m`
    20914     if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
    20915         libsubdirs="lib64 lib lib64"
    20916     fi
     21659    case $ax_arch in
     21660      x86_64)
     21661        libsubdirs="lib64 libx32 lib lib64"
     21662        ;;
     21663      ppc64|s390x|sparc64|aarch64|ppc64le)
     21664        libsubdirs="lib64 lib lib64 ppc64le"
     21665        ;;
     21666    esac
     21667
     21668
     21669    libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs"
     21670
     21671    case ${host_cpu} in
     21672      i?86)
     21673        libsubdirs="lib/i386-${host_os} $libsubdirs"
     21674        ;;
     21675    esac
    2091721676
    2091821677                if test "$ac_boost_path" != ""; then
     
    2099421753
    2099521754            if test "x$succeeded" != "xyes"; then
     21755        CPPFLAGS="$CPPFLAGS_SAVED"
     21756        LDFLAGS="$LDFLAGS_SAVED"
     21757        BOOST_CPPFLAGS=
     21758        BOOST_LDFLAGS=
    2099621759        _version=0
    2099721760        if test "$ac_boost_path" != ""; then
     
    2100621769                    BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
    2100721770                done
     21771                                if test -z "$BOOST_CPPFLAGS"; then
     21772                    if test -d "$ac_boost_path/boost" && test -r "$ac_boost_path/boost"; then
     21773                        BOOST_CPPFLAGS="-I$ac_boost_path"
     21774                    fi
     21775                fi
    2100821776            fi
    2100921777        else
     
    2121921987                        LDFLAGS_SAVE=$LDFLAGS
    2122021988            if test "x$ax_boost_user_system_lib" = "x"; then
    21221                 for libextension in `ls $BOOSTLIBDIR/libboost_system*.so* $BOOSTLIBDIR/libboost_system*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.so.*$;\1;' -e 's;^lib\(boost_system.*\)\.a*$;\1;'` ; do
     21989                for libextension in `ls -r $BOOSTLIBDIR/libboost_system* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do
    2122221990                     ax_lib=${libextension}
    2122321991                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
     
    2126722035                                done
    2126822036                if test "x$link_system" != "xyes"; then
    21269                 for libextension in `ls $BOOSTLIBDIR/boost_system*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_system.*\)\.dll.*$;\1;' -e 's;^\(boost_system.*\)\.a*$;\1;'` ; do
     22037                for libextension in `ls -r $BOOSTLIBDIR/boost_system* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do
    2127022038                     ax_lib=${libextension}
    2127122039                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
     
    2146422232
    2146522233                        BN=boost_system
     22234                        BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
    2146622235            if test "x$ax_boost_user_asio_lib" = "x"; then
    21467                                 for ax_lib in $BN $BN-$CC $BN-$CC-mt $BN-$CC-mt-s $BN-$CC-s \
    21468                               lib$BN lib$BN-$CC lib$BN-$CC-mt lib$BN-$CC-mt-s lib$BN-$CC-s \
    21469                               $BN-mgw $BN-mgw $BN-mgw-mt $BN-mgw-mt-s $BN-mgw-s ; do
     22236                                for ax_lib in `ls $BOOSTLIBDIR/libboost_system*.so* $BOOSTLIBDIR/libboost_system*.dylib* $BOOSTLIBDIR/libboost_system*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_system.*\)\.so.*$;\1;' -e 's;^lib\(boost_system.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_system.*\)\.a.*$;\1;' ` ; do
    2147022237                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_main" | $as_tr_sh`
    2147122238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -l$ax_lib" >&5
     
    2164322410            BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
    2164422411            if test "x$ax_boost_user_date_time_lib" = "x"; then
    21645                 for libextension in `ls $BOOSTLIBDIR/libboost_date_time*.so* $BOOSTLIBDIR/libboost_date_time*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_date_time.*\)\.so.*$;\1;' -e 's;^lib\(boost_date_time.*\)\.a*$;\1;'` ; do
     22412                for libextension in `ls $BOOSTLIBDIR/libboost_date_time*.so* $BOOSTLIBDIR/libboost_date_time*.dylib* $BOOSTLIBDIR/libboost_date_time*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_date_time.*\)\.so.*$;\1;' -e 's;^lib\(boost_date_time.*\)\.dylib.*$;\1;' -e 's;^lib\(boost_date_time.*\)\.a*$;\1;'` ; do
    2164622413                     ax_lib=${libextension}
    2164722414                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
     
    2169122458                                done
    2169222459                if test "x$link_date_time" != "xyes"; then
    21693                 for libextension in `ls $BOOSTLIBDIR/boost_date_time*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_date_time.*\)\.dll.*$;\1;' -e 's;^\(boost_date_time.*\)\.a*$;\1;'` ; do
     22460                for libextension in `ls $BOOSTLIBDIR/boost_date_time*.dll* $BOOSTLIBDIR/boost_date_time*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_date_time.*\)\.dll.*$;\1;' -e 's;^\(boost_date_time.*\)\.a.*$;\1;'` ; do
    2169422461                     ax_lib=${libextension}
    2169522462                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
     
    2188022647            BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
    2188122648            if test "x$ax_boost_user_filesystem_lib" = "x"; then
    21882                 for libextension in `ls $BOOSTLIBDIR/libboost_filesystem*.so* $BOOSTLIBDIR/libboost_filesystem*.dylib* $BOOSTLIBDIR/libboost_filesystem*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_filesystem.*\)\.so.*$;\1;' -e 's;^lib\(boost_filesystem.*\)\.a*$;\1;' -e 's;^lib\(boost_filesystem.*\)\.dylib$;\1;'` ; do
     22649                for libextension in `ls -r $BOOSTLIBDIR/libboost_filesystem* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do
    2188322650                     ax_lib=${libextension}
    2188422651                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
     
    2192822695                                done
    2192922696                if test "x$link_filesystem" != "xyes"; then
    21930                 for libextension in `ls $BOOSTLIBDIR/boost_filesystem*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_filesystem.*\)\.dll.*$;\1;' -e 's;^\(boost_filesystem.*\)\.a*$;\1;'` ; do
     22697                for libextension in `ls -r $BOOSTLIBDIR/boost_filesystem* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do
    2193122698                     ax_lib=${libextension}
    2193222699                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
     
    2208522852                                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2208622853/* end confdefs.h.  */
    22087 #include <boost/program_options.hpp>
     22854#include <boost/program_options/errors.hpp>
    2208822855
    2208922856int
    2209022857main ()
    2209122858{
    22092 boost::program_options::options_description generic("Generic options");
     22859boost::program_options::error err("Error message");
    2209322860                                   return 0;
    2209422861  ;
     
    2211822885                  BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
    2211922886                if test "x$ax_boost_user_program_options_lib" = "x"; then
    22120                 for libextension in `ls $BOOSTLIBDIR/libboost_program_options*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.so.*$;\1;'` `ls $BOOSTLIBDIR/libboost_program_options*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.a*$;\1;'` ; do
     22887                for libextension in `ls $BOOSTLIBDIR/libboost_program_options*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.so.*$;\1;'` `ls $BOOSTLIBDIR/libboost_program_options*.dylib* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.dylib.*$;\1;'` `ls $BOOSTLIBDIR/libboost_program_options*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_program_options.*\)\.a.*$;\1;'` ; do
    2212122888                     ax_lib=${libextension}
    2212222889                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
     
    2216622933                                done
    2216722934                if test "x$link_program_options" != "xyes"; then
    22168                 for libextension in `ls $BOOSTLIBDIR/boost_program_options*.dll* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_program_options.*\)\.dll.*$;\1;'` `ls $BOOSTLIBDIR/boost_program_options*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_program_options.*\)\.a*$;\1;'` ; do
     22935                for libextension in `ls $BOOSTLIBDIR/boost_program_options*.dll* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_program_options.*\)\.dll.*$;\1;'` `ls $BOOSTLIBDIR/boost_program_options*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_program_options.*\)\.a.*$;\1;'` ; do
    2216922936                     ax_lib=${libextension}
    2217022937                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
     
    2234723114            BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/[^\/]*//'`
    2234823115            if test "x$ax_boost_user_regex_lib" = "x"; then
    22349                 for libextension in `ls $BOOSTLIBDIR/libboost_regex*.so* $BOOSTLIBDIR/libboost_regex*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_regex.*\)\.so.*$;\1;' -e 's;^lib\(boost_regex.*\)\.a*$;\1;'` ; do
     23116                for libextension in `ls $BOOSTLIBDIR/libboost_regex*.so* $BOOSTLIBDIR/libboost_regex*.dylib* $BOOSTLIBDIR/libboost_regex*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_regex.*\)\.so.*$;\1;' -e 's;^lib\(boost_regex.*\)\.dylib.*;\1;' -e 's;^lib\(boost_regex.*\)\.a.*$;\1;'` ; do
    2235023117                     ax_lib=${libextension}
    2235123118                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
     
    2239523162                                done
    2239623163                if test "x$link_regex" != "xyes"; then
    22397                 for libextension in `ls $BOOSTLIBDIR/boost_regex*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_regex.*\)\.dll.*$;\1;' -e 's;^\(boost_regex.*\)\.a*$;\1;'` ; do
     23164                for libextension in `ls $BOOSTLIBDIR/boost_regex*.dll* $BOOSTLIBDIR/boost_regex*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_regex.*\)\.dll.*$;\1;' -e 's;^\(boost_regex.*\)\.a.*$;\1;'` ; do
    2239823165                     ax_lib=${libextension}
    2239923166                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
     
    2260723374                        esac
    2260823375            if test "x$ax_boost_user_thread_lib" = "x"; then
    22609                 for libextension in `ls $BOOSTLIBDIR/libboost_thread*.so* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_thread.*\)\.so.*$;\1;'` `ls $BOOSTLIBDIR/libboost_thread*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_thread.*\)\.a*$;\1;'`; do
     23376                for libextension in `ls -r $BOOSTLIBDIR/libboost_thread* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'`; do
    2261023377                     ax_lib=${libextension}
    2261123378                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
     
    2265523422                                done
    2265623423                if test "x$link_thread" != "xyes"; then
    22657                 for libextension in `ls $BOOSTLIBDIR/boost_thread*.dll* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_thread.*\)\.dll.*$;\1;'` `ls $BOOSTLIBDIR/boost_thread*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_thread.*\)\.a*$;\1;'` ; do
     23424                for libextension in `ls -r $BOOSTLIBDIR/boost_thread* 2>/dev/null | sed 's,.*/,,' | sed 's,\..*,,'`; do
    2265823425                     ax_lib=${libextension}
    2265923426                                    as_ac_Lib=`$as_echo "ac_cv_lib_$ax_lib''_exit" | $as_tr_sh`
     
    2279723564
    2279823565# Now we can safely add the compiler option for your prefered standard
    22799 CXXFLAGS+=" -std=c++0x"
     23566CXXFLAGS+=" -DTTTT -std=c++0x -DXXX "
    2280023567
    2280123568#AC_CHECK_HEADERS(
     
    2303923806  test -z "$as_dir" && as_dir=.
    2304023807    for ac_exec_ext in '' $ac_executable_extensions; do
    23041   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     23808  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2304223809    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    2304323810    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2308223849  test -z "$as_dir" && as_dir=.
    2308323850    for ac_exec_ext in '' $ac_executable_extensions; do
    23084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     23851  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2308523852    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
    2308623853    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2414324910
    2414424911                cat > conftest.$ac_ext <<EOF
    24145 #line 24145 "configure"
     24912#line 24912 "configure"
    2414624913#include "confdefs.h"
    2414724914#include <qglobal.h>
     
    2418524952  test -z "$as_dir" && as_dir=.
    2418624953    for ac_exec_ext in '' $ac_executable_extensions; do
    24187   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     24954  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2418824955    ac_cv_path_MOC4="$as_dir/$ac_word$ac_exec_ext"
    2418924956    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2423124998  test -z "$as_dir" && as_dir=.
    2423224999    for ac_exec_ext in '' $ac_executable_extensions; do
    24233   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25000  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2423425001    ac_cv_path_UIC4="$as_dir/$ac_word$ac_exec_ext"
    2423525002    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2427725044  test -z "$as_dir" && as_dir=.
    2427825045    for ac_exec_ext in '' $ac_executable_extensions; do
    24279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25046  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2428025047    ac_cv_path_RCC4="$as_dir/$ac_word$ac_exec_ext"
    2428125048    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2462925396  test -z "$as_dir" && as_dir=.
    2463025397    for ac_exec_ext in '' $ac_executable_extensions; do
    24631   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25398  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2463225399    ac_cv_path_ROOTCONF="$as_dir/$ac_word$ac_exec_ext"
    2463325400    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2467025437  test -z "$as_dir" && as_dir=.
    2467125438    for ac_exec_ext in '' $ac_executable_extensions; do
    24672   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25439  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2467325440    ac_cv_path_ROOTEXEC="$as_dir/$ac_word$ac_exec_ext"
    2467425441    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2471125478  test -z "$as_dir" && as_dir=.
    2471225479    for ac_exec_ext in '' $ac_executable_extensions; do
    24713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25480  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2471425481    ac_cv_path_ROOTCINT="$as_dir/$ac_word$ac_exec_ext"
    2471525482    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2479525562then
    2479625563
    24797    ROOTCPPFLAGS=$ROOTCFLAGS" "$ROOTAUXCFLAGS
     25564   ROOTCPPFLAGS=$ROOTCFLAGS
     25565   ROOTCXXFLAGS=$ROOTAUXCFLAGS
    2479825566   ROOTLDFLAGS="-L"$ROOTLIBDIR
    2479925567
     
    2482025588
    2482125589
     25590
    2482225591fi
    2482325592
     
    2484425613  test -z "$as_dir" && as_dir=.
    2484525614    for ac_exec_ext in '' $ac_executable_extensions; do
    24846   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25615  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2484725616    ac_cv_prog_COLORDIFF="colordiff"
    2484825617    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2488225651  test -z "$as_dir" && as_dir=.
    2488325652    for ac_exec_ext in '' $ac_executable_extensions; do
    24884   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25653  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2488525654    ac_cv_prog_GROFF="yes"
    2488625655    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2492025689  test -z "$as_dir" && as_dir=.
    2492125690    for ac_exec_ext in '' $ac_executable_extensions; do
    24922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25691  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2492325692    ac_cv_prog_PS2PDF="yes"
    2492425693    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2495825727  test -z "$as_dir" && as_dir=.
    2495925728    for ac_exec_ext in '' $ac_executable_extensions; do
    24960   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25729  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2496125730    ac_cv_prog_HELP2MAN="yes"
    2496225731    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2499625765  test -z "$as_dir" && as_dir=.
    2499725766    for ac_exec_ext in '' $ac_executable_extensions; do
    24998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25767  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2499925768    ac_cv_prog_JSDOC="yes"
    2500025769    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2503425803  test -z "$as_dir" && as_dir=.
    2503525804    for ac_exec_ext in '' $ac_executable_extensions; do
    25036   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25805  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2503725806    ac_cv_prog_MAILX="yes"
    2503825807    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2507225841  test -z "$as_dir" && as_dir=.
    2507325842    for ac_exec_ext in '' $ac_executable_extensions; do
    25074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     25843  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2507525844    ac_cv_prog_CURL="yes"
    2507625845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     
    2521625985fi
    2521725986
    25218  if test "$ROOTEXEC" != no; then
     25987 if test "$ROOTEXEC" != no -a -n "$ROOTVERSION"; then
    2521925988  HAS_ROOT_TRUE=
    2522025989  HAS_ROOT_FALSE='#'
     
    2554126310
    2554226311
     26312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
     26313$as_echo_n "checking that generated files are newer than configure... " >&6; }
     26314   if test -n "$am_sleep_pid"; then
     26315     # Hide warnings about reused PIDs.
     26316     wait $am_sleep_pid 2>/dev/null
     26317   fi
     26318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
     26319$as_echo "done" >&6; }
    2554326320if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
    2554426321  as_fn_error $? "conditional \"AMDEP\" was never defined.
     
    2602726804    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    2602826805    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    26029     # In both cases, we have to default to `cp -p'.
     26806    # In both cases, we have to default to `cp -pR'.
    2603026807    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    26031       as_ln_s='cp -p'
     26808      as_ln_s='cp -pR'
    2603226809  elif ln conf$$.file conf$$ 2>/dev/null; then
    2603326810    as_ln_s=ln
    2603426811  else
    26035     as_ln_s='cp -p'
     26812    as_ln_s='cp -pR'
    2603626813  fi
    2603726814else
    26038   as_ln_s='cp -p'
     26815  as_ln_s='cp -pR'
    2603926816fi
    2604026817rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    2609626873fi
    2609726874
    26098 if test -x / >/dev/null 2>&1; then
    26099   as_test_x='test -x'
    26100 else
    26101   if ls -dL / >/dev/null 2>&1; then
    26102     as_ls_L_option=L
    26103   else
    26104     as_ls_L_option=
    26105   fi
    26106   as_test_x='
    26107     eval sh -c '\''
    26108       if test -d "$1"; then
    26109         test -d "$1/.";
    26110       else
    26111         case $1 in #(
    26112         -*)set "./$1";;
    26113         esac;
    26114         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    26115         ???[sx]*):;;*)false;;esac;fi
    26116     '\'' sh
    26117   '
    26118 fi
    26119 as_executable_p=$as_test_x
     26875
     26876# as_fn_executable_p FILE
     26877# -----------------------
     26878# Test if FILE is an executable regular file.
     26879as_fn_executable_p ()
     26880{
     26881  test -f "$1" && test -x "$1"
     26882} # as_fn_executable_p
     26883as_test_x='test -x'
     26884as_executable_p=as_fn_executable_p
    2612026885
    2612126886# Sed expression to map a string onto a valid CPP name.
     
    2613926904ac_log="
    2614026905This file was extended by FACT++ $as_me 1.0, which was
    26141 generated by GNU Autoconf 2.68.  Invocation command line was
     26906generated by GNU Autoconf 2.69.  Invocation command line was
    2614226907
    2614326908  CONFIG_FILES    = $CONFIG_FILES
     
    2620126966ac_cs_version="\\
    2620226967FACT++ config.status 1.0
    26203 configured by $0, generated by GNU Autoconf 2.68,
     26968configured by $0, generated by GNU Autoconf 2.69,
    2620426969  with options \\"\$ac_cs_config\\"
    2620526970
    26206 Copyright (C) 2010 Free Software Foundation, Inc.
     26971Copyright (C) 2012 Free Software Foundation, Inc.
    2620726972This config.status script is free software; the Free Software Foundation
    2620826973gives unlimited permission to copy, distribute and modify it."
     
    2628427049cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    2628527050if \$ac_cs_recheck; then
    26286   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     27051  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    2628727052  shift
    2628827053  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     
    2632327088pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
    2632427089enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
     27090shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
    2632527091SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
    2632627092ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
     27093PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
    2632727094host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
    2632827095host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
     
    2637127138lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
    2637227139lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
     27140lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
    2637327141lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
    2637427142lt_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"`'
     27143lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
    2637527144nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
    2637627145lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
     27146lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
    2637727147objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
    2637827148MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
     
    2640727177no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
    2640827178hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
    26409 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
    2641027179hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
    2641127180hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
     
    2644027209hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
    2644127210sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
    26442 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
     27211configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
     27212configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
    2644327213hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
    2644427214enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
     
    2647927249no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
    2648027250hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
    26481 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
    2648227251hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
    2648327252hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
     
    2651827287for var in SHELL \
    2651927288ECHO \
     27289PATH_SEPARATOR \
    2652027290SED \
    2652127291GREP \
     
    2654527315lt_cv_sys_global_symbol_pipe \
    2654627316lt_cv_sys_global_symbol_to_cdecl \
     27317lt_cv_sys_global_symbol_to_import \
    2654727318lt_cv_sys_global_symbol_to_c_name_address \
    2654827319lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
     27320lt_cv_nm_interface \
    2654927321nm_file_list_spec \
     27322lt_cv_truncate_bin \
    2655027323lt_prog_compiler_no_builtin_flag \
    2655127324lt_prog_compiler_pic \
     
    2656827341no_undefined_flag \
    2656927342hardcode_libdir_flag_spec \
    26570 hardcode_libdir_flag_spec_ld \
    2657127343hardcode_libdir_separator \
    2657227344exclude_expsyms \
     
    2660227374no_undefined_flag_CXX \
    2660327375hardcode_libdir_flag_spec_CXX \
    26604 hardcode_libdir_flag_spec_ld_CXX \
    2660527376hardcode_libdir_separator_CXX \
    2660627377exclude_expsyms_CXX \
     
    2661527386    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    2661627387    *[\\\\\\\`\\"\\\$]*)
    26617       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
     27388      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    2661827389      ;;
    2661927390    *)
     
    2664227413finish_cmds \
    2664327414sys_lib_search_path_spec \
    26644 sys_lib_dlsearch_path_spec \
     27415configure_time_dlsearch_path \
     27416configure_time_lt_sys_library_path \
    2664527417reload_cmds_CXX \
    2664627418old_archive_cmds_CXX \
     
    2665627428    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    2665727429    *[\\\\\\\`\\"\\\$]*)
    26658       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
     27430      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    2665927431      ;;
    2666027432    *)
     
    2666527437
    2666627438ac_aux_dir='$ac_aux_dir'
    26667 xsi_shell='$xsi_shell'
    26668 lt_shell_append='$lt_shell_append'
    26669 
    26670 # See if we are running on zsh, and set the options which allow our
     27439
     27440# See if we are running on zsh, and set the options that allow our
    2667127441# commands through without removal of \ escapes INIT.
    26672 if test -n "\${ZSH_VERSION+set}" ; then
     27442if test -n "\${ZSH_VERSION+set}"; then
    2667327443   setopt NO_GLOB_SUBST
    2667427444fi
     
    2667727447    PACKAGE='$PACKAGE'
    2667827448    VERSION='$VERSION'
    26679     TIMESTAMP='$TIMESTAMP'
    2668027449    RM='$RM'
    2668127450    ofile='$ofile'
     
    2716327932    "libtool":C)
    2716427933
    27165     # See if we are running on zsh, and set the options which allow our
     27934    # See if we are running on zsh, and set the options that allow our
    2716627935    # commands through without removal of \ escapes.
    27167     if test -n "${ZSH_VERSION+set}" ; then
     27936    if test -n "${ZSH_VERSION+set}"; then
    2716827937      setopt NO_GLOB_SUBST
    2716927938    fi
    2717027939
    27171     cfgfile="${ofile}T"
     27940    cfgfile=${ofile}T
    2717227941    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
    2717327942    $RM "$cfgfile"
     
    2717527944    cat <<_LT_EOF >> "$cfgfile"
    2717627945#! $SHELL
    27177 
    27178 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
    27179 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
     27946# Generated automatically by $as_me ($PACKAGE) $VERSION
    2718027947# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    2718127948# NOTE: Changes made to this file will be lost: look at ltmain.sh.
     27949
     27950# Provide generalized library-building support services.
     27951# Written by Gordon Matzigkeit, 1996
     27952
     27953# Copyright (C) 2014 Free Software Foundation, Inc.
     27954# This is free software; see the source for copying conditions.  There is NO
     27955# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     27956
     27957# GNU Libtool is free software; you can redistribute it and/or modify
     27958# it under the terms of the GNU General Public License as published by
     27959# the Free Software Foundation; either version 2 of of the License, or
     27960# (at your option) any later version.
    2718227961#
    27183 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
    27184 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
    27185 #                 Inc.
    27186 #   Written by Gordon Matzigkeit, 1996
     27962# As a special exception to the GNU General Public License, if you
     27963# distribute this file as part of a program or library that is built
     27964# using GNU Libtool, you may include this file under the  same
     27965# distribution terms that you use for the rest of that program.
    2718727966#
    27188 #   This file is part of GNU Libtool.
    27189 #
    27190 # GNU Libtool is free software; you can redistribute it and/or
    27191 # modify it under the terms of the GNU General Public License as
    27192 # published by the Free Software Foundation; either version 2 of
    27193 # the License, or (at your option) any later version.
    27194 #
    27195 # As a special exception to the GNU General Public License,
    27196 # if you distribute this file as part of a program or library that
    27197 # is built using GNU Libtool, you may include this file under the
    27198 # same distribution terms that you use for the rest of that program.
    27199 #
    27200 # GNU Libtool is distributed in the hope that it will be useful,
    27201 # but WITHOUT ANY WARRANTY; without even the implied warranty of
     27967# GNU Libtool is distributed in the hope that it will be useful, but
     27968# WITHOUT ANY WARRANTY; without even the implied warranty of
    2720227969# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    2720327970# GNU General Public License for more details.
    2720427971#
    2720527972# You should have received a copy of the GNU General Public License
    27206 # along with GNU Libtool; see the file COPYING.  If not, a copy
    27207 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
    27208 # obtained by writing to the Free Software Foundation, Inc.,
    27209 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
     27973# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    2721027974
    2721127975
    2721227976# The names of the tagged configurations supported by this script.
    27213 available_tags="CXX "
     27977available_tags='CXX '
     27978
     27979# Configured defaults for sys_lib_dlsearch_path munging.
     27980: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
    2721427981
    2721527982# ### BEGIN LIBTOOL CONFIG
     
    2723127998fast_install=$enable_fast_install
    2723227999
     28000# Shared archive member basename,for filename based shared library versioning on AIX.
     28001shared_archive_member_spec=$shared_archive_member_spec
     28002
    2723328003# Shell to use when invoking shell scripts.
    2723428004SHELL=$lt_SHELL
     
    2723628006# An echo program that protects backslashes.
    2723728007ECHO=$lt_ECHO
     28008
     28009# The PATH separator for the build system.
     28010PATH_SEPARATOR=$lt_PATH_SEPARATOR
    2723828011
    2723928012# The host system.
     
    2734528118global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    2734628119
     28120# Transform the output of nm into a list of symbols to manually relocate.
     28121global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
     28122
    2734728123# Transform the output of nm in a C name address pair.
    2734828124global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
     
    2735128127global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
    2735228128
     28129# The name lister interface.
     28130nm_interface=$lt_lt_cv_nm_interface
     28131
    2735328132# Specify filename containing input files for \$NM.
    2735428133nm_file_list_spec=$lt_nm_file_list_spec
    2735528134
    27356 # The root where to search for dependent libraries,and in which our libraries should be installed.
     28135# The root where to search for dependent libraries,and where our libraries should be installed.
    2735728136lt_sysroot=$lt_sysroot
     28137
     28138# Command to truncate a binary pipe.
     28139lt_truncate_bin=$lt_lt_cv_truncate_bin
    2735828140
    2735928141# The name of the directory that contains temporary libtool files.
     
    2744728229sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    2744828230
    27449 # Run-time system search path for libraries.
    27450 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
     28231# Detected run-time system search path for libraries.
     28232sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
     28233
     28234# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
     28235configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
    2745128236
    2745228237# Whether dlopen is supported.
     
    2753828323hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
    2753928324
    27540 # If ld is used when linking, flag to hardcode \$libdir into a binary
    27541 # during linking.  This must work even if \$libdir does not exist.
    27542 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
    27543 
    2754428325# Whether we need a single "-rpath" flag with a separated argument.
    2754528326hardcode_libdir_separator=$lt_hardcode_libdir_separator
    2754628327
    27547 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
     28328# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    2754828329# DIR into the resulting binary.
    2754928330hardcode_direct=$hardcode_direct
    2755028331
    27551 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
     28332# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    2755228333# DIR into the resulting binary and the resulting library dependency is
    27553 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
     28334# "absolute",i.e impossible to change by setting \$shlibpath_var if the
    2755428335# library is relocated.
    2755528336hardcode_direct_absolute=$hardcode_direct_absolute
     
    2761728398_LT_EOF
    2761828399
     28400    cat <<'_LT_EOF' >> "$cfgfile"
     28401
     28402# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
     28403
     28404# func_munge_path_list VARIABLE PATH
     28405# -----------------------------------
     28406# VARIABLE is name of variable containing _space_ separated list of
     28407# directories to be munged by the contents of PATH, which is string
     28408# having a format:
     28409# "DIR[:DIR]:"
     28410#       string "DIR[ DIR]" will be prepended to VARIABLE
     28411# ":DIR[:DIR]"
     28412#       string "DIR[ DIR]" will be appended to VARIABLE
     28413# "DIRP[:DIRP]::[DIRA:]DIRA"
     28414#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     28415#       "DIRA[ DIRA]" will be appended to VARIABLE
     28416# "DIR[:DIR]"
     28417#       VARIABLE will be replaced by "DIR[ DIR]"
     28418func_munge_path_list ()
     28419{
     28420    case x$2 in
     28421    x)
     28422        ;;
     28423    *:)
     28424        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
     28425        ;;
     28426    x:*)
     28427        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
     28428        ;;
     28429    *::*)
     28430        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     28431        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
     28432        ;;
     28433    *)
     28434        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
     28435        ;;
     28436    esac
     28437}
     28438
     28439
     28440# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     28441func_cc_basename ()
     28442{
     28443    for cc_temp in $*""; do
     28444      case $cc_temp in
     28445        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     28446        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     28447        \-*) ;;
     28448        *) break;;
     28449      esac
     28450    done
     28451    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     28452}
     28453
     28454
     28455# ### END FUNCTIONS SHARED WITH CONFIGURE
     28456
     28457_LT_EOF
     28458
    2761928459  case $host_os in
    2762028460  aix3*)
     
    2762328463# reason, if we set the COLLECT_NAMES environment variable, the problems
    2762428464# vanish in a puff of smoke.
    27625 if test "X${COLLECT_NAMES+set}" != Xset; then
     28465if test set != "${COLLECT_NAMES+set}"; then
    2762628466  COLLECT_NAMES=
    2762728467  export COLLECT_NAMES
     
    2763228472
    2763328473
    27634 ltmain="$ac_aux_dir/ltmain.sh"
     28474ltmain=$ac_aux_dir/ltmain.sh
    2763528475
    2763628476
     
    2764228482     || (rm -f "$cfgfile"; exit 1)
    2764328483
    27644   if test x"$xsi_shell" = xyes; then
    27645   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
    27646 func_dirname ()\
    27647 {\
    27648 \    case ${1} in\
    27649 \      */*) func_dirname_result="${1%/*}${2}" ;;\
    27650 \      *  ) func_dirname_result="${3}" ;;\
    27651 \    esac\
    27652 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
    27653   && mv -f "$cfgfile.tmp" "$cfgfile" \
    27654     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27655 test 0 -eq $? || _lt_function_replace_fail=:
    27656 
    27657 
    27658   sed -e '/^func_basename ()$/,/^} # func_basename /c\
    27659 func_basename ()\
    27660 {\
    27661 \    func_basename_result="${1##*/}"\
    27662 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
    27663   && mv -f "$cfgfile.tmp" "$cfgfile" \
    27664     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27665 test 0 -eq $? || _lt_function_replace_fail=:
    27666 
    27667 
    27668   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
    27669 func_dirname_and_basename ()\
    27670 {\
    27671 \    case ${1} in\
    27672 \      */*) func_dirname_result="${1%/*}${2}" ;;\
    27673 \      *  ) func_dirname_result="${3}" ;;\
    27674 \    esac\
    27675 \    func_basename_result="${1##*/}"\
    27676 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
    27677   && mv -f "$cfgfile.tmp" "$cfgfile" \
    27678     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27679 test 0 -eq $? || _lt_function_replace_fail=:
    27680 
    27681 
    27682   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
    27683 func_stripname ()\
    27684 {\
    27685 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
    27686 \    # positional parameters, so assign one to ordinary parameter first.\
    27687 \    func_stripname_result=${3}\
    27688 \    func_stripname_result=${func_stripname_result#"${1}"}\
    27689 \    func_stripname_result=${func_stripname_result%"${2}"}\
    27690 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
    27691   && mv -f "$cfgfile.tmp" "$cfgfile" \
    27692     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27693 test 0 -eq $? || _lt_function_replace_fail=:
    27694 
    27695 
    27696   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
    27697 func_split_long_opt ()\
    27698 {\
    27699 \    func_split_long_opt_name=${1%%=*}\
    27700 \    func_split_long_opt_arg=${1#*=}\
    27701 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
    27702   && mv -f "$cfgfile.tmp" "$cfgfile" \
    27703     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27704 test 0 -eq $? || _lt_function_replace_fail=:
    27705 
    27706 
    27707   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
    27708 func_split_short_opt ()\
    27709 {\
    27710 \    func_split_short_opt_arg=${1#??}\
    27711 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
    27712 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
    27713   && mv -f "$cfgfile.tmp" "$cfgfile" \
    27714     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27715 test 0 -eq $? || _lt_function_replace_fail=:
    27716 
    27717 
    27718   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
    27719 func_lo2o ()\
    27720 {\
    27721 \    case ${1} in\
    27722 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
    27723 \      *)    func_lo2o_result=${1} ;;\
    27724 \    esac\
    27725 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
    27726   && mv -f "$cfgfile.tmp" "$cfgfile" \
    27727     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27728 test 0 -eq $? || _lt_function_replace_fail=:
    27729 
    27730 
    27731   sed -e '/^func_xform ()$/,/^} # func_xform /c\
    27732 func_xform ()\
    27733 {\
    27734     func_xform_result=${1%.*}.lo\
    27735 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
    27736   && mv -f "$cfgfile.tmp" "$cfgfile" \
    27737     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27738 test 0 -eq $? || _lt_function_replace_fail=:
    27739 
    27740 
    27741   sed -e '/^func_arith ()$/,/^} # func_arith /c\
    27742 func_arith ()\
    27743 {\
    27744     func_arith_result=$(( $* ))\
    27745 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
    27746   && mv -f "$cfgfile.tmp" "$cfgfile" \
    27747     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27748 test 0 -eq $? || _lt_function_replace_fail=:
    27749 
    27750 
    27751   sed -e '/^func_len ()$/,/^} # func_len /c\
    27752 func_len ()\
    27753 {\
    27754     func_len_result=${#1}\
    27755 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
    27756   && mv -f "$cfgfile.tmp" "$cfgfile" \
    27757     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27758 test 0 -eq $? || _lt_function_replace_fail=:
    27759 
    27760 fi
    27761 
    27762 if test x"$lt_shell_append" = xyes; then
    27763   sed -e '/^func_append ()$/,/^} # func_append /c\
    27764 func_append ()\
    27765 {\
    27766     eval "${1}+=\\${2}"\
    27767 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
    27768   && mv -f "$cfgfile.tmp" "$cfgfile" \
    27769     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27770 test 0 -eq $? || _lt_function_replace_fail=:
    27771 
    27772 
    27773   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
    27774 func_append_quoted ()\
    27775 {\
    27776 \    func_quote_for_eval "${2}"\
    27777 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
    27778 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
    27779   && mv -f "$cfgfile.tmp" "$cfgfile" \
    27780     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27781 test 0 -eq $? || _lt_function_replace_fail=:
    27782 
    27783 
    27784   # Save a `func_append' function call where possible by direct use of '+='
    27785   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
    27786     && mv -f "$cfgfile.tmp" "$cfgfile" \
    27787       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27788   test 0 -eq $? || _lt_function_replace_fail=:
    27789 else
    27790   # Save a `func_append' function call even when '+=' is not available
    27791   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
    27792     && mv -f "$cfgfile.tmp" "$cfgfile" \
    27793       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    27794   test 0 -eq $? || _lt_function_replace_fail=:
    27795 fi
    27796 
    27797 if test x"$_lt_function_replace_fail" = x":"; then
    27798   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
    27799 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
    27800 fi
    27801 
    27802 
    2780328484   mv -f "$cfgfile" "$ofile" ||
    2780428485    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
     
    2788428565hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
    2788528566
    27886 # If ld is used when linking, flag to hardcode \$libdir into a binary
    27887 # during linking.  This must work even if \$libdir does not exist.
    27888 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
    27889 
    2789028567# Whether we need a single "-rpath" flag with a separated argument.
    2789128568hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
    2789228569
    27893 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
     28570# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    2789428571# DIR into the resulting binary.
    2789528572hardcode_direct=$hardcode_direct_CXX
    2789628573
    27897 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
     28574# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    2789828575# DIR into the resulting binary and the resulting library dependency is
    27899 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
     28576# "absolute",i.e impossible to change by setting \$shlibpath_var if the
    2790028577# library is relocated.
    2790128578hardcode_direct_absolute=$hardcode_direct_absolute_CXX
     
    2796428641 ;;
    2796528642    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
    27966   # Autoconf 2.62 quotes --file arguments for eval, but not when files
     28643  # Older Autoconf quotes --file arguments for eval, but not when files
    2796728644  # are listed without --file.  Let's play safe and only enable the eval
    2796828645  # if we detect the quoting.
     
    2797728654    mf=`echo "$mf" | sed -e 's/:.*$//'`
    2797828655    # Check whether this is an Automake generated Makefile or not.
    27979     # We used to match only the files named `Makefile.in', but
     28656    # We used to match only the files named 'Makefile.in', but
    2798028657    # some people rename them; so instead we look at the file content.
    2798128658    # Grep'ing the first line is not enough: some people post-process
     
    2801128688    fi
    2801228689    # Extract the definition of DEPDIR, am__include, and am__quote
    28013     # from the Makefile without running `make'.
     28690    # from the Makefile without running 'make'.
    2801428691    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    2801528692    test -z "$DEPDIR" && continue
    2801628693    am__include=`sed -n 's/^am__include = //p' < "$mf"`
    28017     test -z "am__include" && continue
     28694    test -z "$am__include" && continue
    2801828695    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
    28019     # When using ansi2knr, U may be empty or an underscore; expand it
    28020     U=`sed -n 's/^U = //p' < "$mf"`
    2802128696    # Find all dependency output files, they are included files with
    2802228697    # $(DEPDIR) in their names.  We invoke sed twice because it is the
     
    2802528700    for file in `sed -n "
    2802628701      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
    28027          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
     28702         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
    2802828703      # Make sure the directory exists.
    2802928704      test -f "$dirpart/$file" && continue
     
    2818928864   { $as_echo "$as_me:${as_lineno-$LINENO}:  ROOTCPPFLAGS  = $ROOTCPPFLAGS" >&5
    2819028865$as_echo "$as_me:  ROOTCPPFLAGS  = $ROOTCPPFLAGS" >&6;}
    28191    { $as_echo "$as_me:${as_lineno-$LINENO}:  ROOTLDFLAGS   = $ROOTLDFLAGS" >&5
    28192 $as_echo "$as_me:  ROOTLDFLAGS   = $ROOTLDFLAGS" >&6;}
     28866   { $as_echo "$as_me:${as_lineno-$LINENO}:  ROOTCXXFLAGS  = $ROOTCXXFLAGS" >&5
     28867$as_echo "$as_me:  ROOTCXXFLAGS  = $ROOTCXXFLAGS" >&6;}
    2819328868   { $as_echo "$as_me:${as_lineno-$LINENO}: " >&5
    2819428869$as_echo "$as_me: " >&6;}
Note: See TracChangeset for help on using the changeset viewer.