Changeset 18603


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.
Location:
trunk/FACT++
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/.aux_dir/ltmain.sh

    r14328 r18603  
    1 
    2 # libtool (GNU libtool) 2.4.2
     1#! /bin/sh
     2## DO NOT EDIT - This file generated from ./build-aux/ltmain.in
     3##               by inline-source v2014-01-03.01
     4
     5# libtool (GNU libtool) 2.4.6
     6# Provide generalized library-building support services.
    37# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
    48
    5 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
    6 # 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
     9# Copyright (C) 1996-2015 Free Software Foundation, Inc.
    710# This is free software; see the source for copying conditions.  There is NO
    811# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     
    2427#
    2528# You should have received a copy of the GNU General Public License
    26 # along with GNU Libtool; see the file COPYING.  If not, a copy
    27 # can be downloaded from http://www.gnu.org/licenses/gpl.html,
    28 # or obtained by writing to the Free Software Foundation, Inc.,
    29 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
    30 
    31 # Usage: $progname [OPTION]... [MODE-ARG]...
    32 #
    33 # Provide generalized library-building support services.
    34 #
    35 #       --config             show all configuration variables
    36 #       --debug              enable verbose shell tracing
    37 #   -n, --dry-run            display commands without modifying any files
    38 #       --features           display basic configuration information and exit
    39 #       --mode=MODE          use operation mode MODE
    40 #       --preserve-dup-deps  don't remove duplicate dependency libraries
    41 #       --quiet, --silent    don't print informational messages
    42 #       --no-quiet, --no-silent
    43 #                            print informational messages (default)
    44 #       --no-warn            don't display warning messages
    45 #       --tag=TAG            use configuration variables from tag TAG
    46 #   -v, --verbose            print more informational messages than default
    47 #       --no-verbose         don't print the extra informational messages
    48 #       --version            print version information
    49 #   -h, --help, --help-all   print short, long, or detailed help message
    50 #
    51 # MODE must be one of the following:
    52 #
    53 #         clean              remove files from the build directory
    54 #         compile            compile a source file into a libtool object
    55 #         execute            automatically set library path, then run a program
    56 #         finish             complete the installation of libtool libraries
    57 #         install            install libraries or executables
    58 #         link               create a library or an executable
    59 #         uninstall          remove libraries from an installed directory
    60 #
    61 # MODE-ARGS vary depending on the MODE.  When passed as first option,
    62 # `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that.
    63 # Try `$progname --help --mode=MODE' for a more detailed description of MODE.
    64 #
    65 # When reporting a bug, please describe a test case to reproduce it and
    66 # include the following information:
    67 #
    68 #         host-triplet: $host
    69 #         shell:                $SHELL
    70 #         compiler:             $LTCC
    71 #         compiler flags:               $LTCFLAGS
    72 #         linker:               $LD (gnu? $with_gnu_ld)
    73 #         $progname:    (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
    74 #         automake:     $automake_version
    75 #         autoconf:     $autoconf_version
    76 #
    77 # Report bugs to <bug-libtool@gnu.org>.
    78 # GNU libtool home page: <http://www.gnu.org/software/libtool/>.
    79 # General help using GNU software: <http://www.gnu.org/gethelp/>.
     29# along with this program.  If not, see <http://www.gnu.org/licenses/>.
     30
    8031
    8132PROGRAM=libtool
    8233PACKAGE=libtool
    83 VERSION="2.4.2 Debian-2.4.2-1ubuntu1"
    84 TIMESTAMP=""
    85 package_revision=1.3337
    86 
    87 # Be Bourne compatible
    88 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     34VERSION="2.4.6 Debian-2.4.6-0.1"
     35package_revision=2.4.6
     36
     37
     38## ------ ##
     39## Usage. ##
     40## ------ ##
     41
     42# Run './libtool --help' for help with using this script from the
     43# command line.
     44
     45
     46## ------------------------------- ##
     47## User overridable command paths. ##
     48## ------------------------------- ##
     49
     50# After configure completes, it has a better idea of some of the
     51# shell tools we need than the defaults used by the functions shared
     52# with bootstrap, so set those here where they can still be over-
     53# ridden by the user, but otherwise take precedence.
     54
     55: ${AUTOCONF="autoconf"}
     56: ${AUTOMAKE="automake"}
     57
     58
     59## -------------------------- ##
     60## Source external libraries. ##
     61## -------------------------- ##
     62
     63# Much of our low-level functionality needs to be sourced from external
     64# libraries, which are installed to $pkgauxdir.
     65
     66# Set a version string for this script.
     67scriptversion=2015-01-20.17; # UTC
     68
     69# General shell script boiler plate, and helper functions.
     70# Written by Gary V. Vaughan, 2004
     71
     72# Copyright (C) 2004-2015 Free Software Foundation, Inc.
     73# This is free software; see the source for copying conditions.  There is NO
     74# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     75
     76# This program is free software; you can redistribute it and/or modify
     77# it under the terms of the GNU General Public License as published by
     78# the Free Software Foundation; either version 3 of the License, or
     79# (at your option) any later version.
     80
     81# As a special exception to the GNU General Public License, if you distribute
     82# this file as part of a program or library that is built using GNU Libtool,
     83# you may include this file under the same distribution terms that you use
     84# for the rest of that program.
     85
     86# This program is distributed in the hope that it will be useful,
     87# but WITHOUT ANY WARRANTY; without even the implied warranty of
     88# MERCHANTABILITY or FITNES FOR A PARTICULAR PURPOSE. See the GNU
     89# General Public License for more details.
     90
     91# You should have received a copy of the GNU General Public License
     92# along with this program. If not, see <http://www.gnu.org/licenses/>.
     93
     94# Please report bugs or propose patches to gary@gnu.org.
     95
     96
     97## ------ ##
     98## Usage. ##
     99## ------ ##
     100
     101# Evaluate this file near the top of your script to gain access to
     102# the functions and variables defined here:
     103#
     104#   . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh
     105#
     106# If you need to override any of the default environment variable
     107# settings, do that before evaluating this file.
     108
     109
     110## -------------------- ##
     111## Shell normalisation. ##
     112## -------------------- ##
     113
     114# Some shells need a little help to be as Bourne compatible as possible.
     115# Before doing anything else, make sure all that help has been provided!
     116
     117DUALCASE=1; export DUALCASE # for MKS sh
     118if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    89119  emulate sh
    90120  NULLCMD=:
    91   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     121  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    92122  # is contrary to our usage.  Disable this feature.
    93123  alias -g '${1+"$@"}'='"$@"'
    94124  setopt NO_GLOB_SUBST
    95125else
    96   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
     126  case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac
    97127fi
    98 BIN_SH=xpg4; export BIN_SH # for Tru64
    99 DUALCASE=1; export DUALCASE # for MKS sh
    100 
    101 # A function that is used when there is no print builtin or printf.
    102 func_fallback_echo ()
    103 {
    104   eval 'cat <<_LTECHO_EOF
    105 $1
    106 _LTECHO_EOF'
    107 }
    108 
    109 # NLS nuisances: We save the old values to restore during execute mode.
    110 lt_user_locale=
    111 lt_safe_locale=
    112 for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
     128
     129# NLS nuisances: We save the old values in case they are required later.
     130_G_user_locale=
     131_G_safe_locale=
     132for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES
    113133do
    114   eval "if test \"\${$lt_var+set}\" = set; then
    115           save_$lt_var=\$$lt_var
    116           $lt_var=C
    117           export $lt_var
    118           lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\"
    119           lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\"
     134  eval "if test set = \"\${$_G_var+set}\"; then
     135          save_$_G_var=\$$_G_var
     136          $_G_var=C
     137          export $_G_var
     138          _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\"
     139          _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\"
    120140        fi"
    121141done
    122 LC_ALL=C
    123 LANGUAGE=C
    124 export LANGUAGE LC_ALL
    125 
    126 $lt_unset CDPATH
    127 
     142
     143# CDPATH.
     144(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     145
     146# Make sure IFS has a sensible default
     147sp=' '
     148nl='
     149'
     150IFS="$sp        $nl"
     151
     152# There are apparently some retarded systems that use ';' as a PATH separator!
     153if test "${PATH_SEPARATOR+set}" != set; then
     154  PATH_SEPARATOR=:
     155  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     156    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     157      PATH_SEPARATOR=';'
     158  }
     159fi
     160
     161
     162
     163## ------------------------- ##
     164## Locate command utilities. ##
     165## ------------------------- ##
     166
     167
     168# func_executable_p FILE
     169# ----------------------
     170# Check that FILE is an executable regular file.
     171func_executable_p ()
     172{
     173    test -f "$1" && test -x "$1"
     174}
     175
     176
     177# func_path_progs PROGS_LIST CHECK_FUNC [PATH]
     178# --------------------------------------------
     179# Search for either a program that responds to --version with output
     180# containing "GNU", or else returned by CHECK_FUNC otherwise, by
     181# trying all the directories in PATH with each of the elements of
     182# PROGS_LIST.
     183#
     184# CHECK_FUNC should accept the path to a candidate program, and
     185# set $func_check_prog_result if it truncates its output less than
     186# $_G_path_prog_max characters.
     187func_path_progs ()
     188{
     189    _G_progs_list=$1
     190    _G_check_func=$2
     191    _G_PATH=${3-"$PATH"}
     192
     193    _G_path_prog_max=0
     194    _G_path_prog_found=false
     195    _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:}
     196    for _G_dir in $_G_PATH; do
     197      IFS=$_G_save_IFS
     198      test -z "$_G_dir" && _G_dir=.
     199      for _G_prog_name in $_G_progs_list; do
     200        for _exeext in '' .EXE; do
     201          _G_path_prog=$_G_dir/$_G_prog_name$_exeext
     202          func_executable_p "$_G_path_prog" || continue
     203          case `"$_G_path_prog" --version 2>&1` in
     204            *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;;
     205            *)     $_G_check_func $_G_path_prog
     206                   func_path_progs_result=$func_check_prog_result
     207                   ;;
     208          esac
     209          $_G_path_prog_found && break 3
     210        done
     211      done
     212    done
     213    IFS=$_G_save_IFS
     214    test -z "$func_path_progs_result" && {
     215      echo "no acceptable sed could be found in \$PATH" >&2
     216      exit 1
     217    }
     218}
     219
     220
     221# We want to be able to use the functions in this file before configure
     222# has figured out where the best binaries are kept, which means we have
     223# to search for them ourselves - except when the results are already set
     224# where we skip the searches.
     225
     226# Unless the user overrides by setting SED, search the path for either GNU
     227# sed, or the sed that truncates its output the least.
     228test -z "$SED" && {
     229  _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
     230  for _G_i in 1 2 3 4 5 6 7; do
     231    _G_sed_script=$_G_sed_script$nl$_G_sed_script
     232  done
     233  echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed
     234  _G_sed_script=
     235
     236  func_check_prog_sed ()
     237  {
     238    _G_path_prog=$1
     239
     240    _G_count=0
     241    printf 0123456789 >conftest.in
     242    while :
     243    do
     244      cat conftest.in conftest.in >conftest.tmp
     245      mv conftest.tmp conftest.in
     246      cp conftest.in conftest.nl
     247      echo '' >> conftest.nl
     248      "$_G_path_prog" -f conftest.sed <conftest.nl >conftest.out 2>/dev/null || break
     249      diff conftest.out conftest.nl >/dev/null 2>&1 || break
     250      _G_count=`expr $_G_count + 1`
     251      if test "$_G_count" -gt "$_G_path_prog_max"; then
     252        # Best one so far, save it but keep looking for a better one
     253        func_check_prog_result=$_G_path_prog
     254        _G_path_prog_max=$_G_count
     255      fi
     256      # 10*(2^10) chars as input seems more than enough
     257      test 10 -lt "$_G_count" && break
     258    done
     259    rm -f conftest.in conftest.tmp conftest.nl conftest.out
     260  }
     261
     262  func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin
     263  rm -f conftest.sed
     264  SED=$func_path_progs_result
     265}
     266
     267
     268# Unless the user overrides by setting GREP, search the path for either GNU
     269# grep, or the grep that truncates its output the least.
     270test -z "$GREP" && {
     271  func_check_prog_grep ()
     272  {
     273    _G_path_prog=$1
     274
     275    _G_count=0
     276    _G_path_prog_max=0
     277    printf 0123456789 >conftest.in
     278    while :
     279    do
     280      cat conftest.in conftest.in >conftest.tmp
     281      mv conftest.tmp conftest.in
     282      cp conftest.in conftest.nl
     283      echo 'GREP' >> conftest.nl
     284      "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' <conftest.nl >conftest.out 2>/dev/null || break
     285      diff conftest.out conftest.nl >/dev/null 2>&1 || break
     286      _G_count=`expr $_G_count + 1`
     287      if test "$_G_count" -gt "$_G_path_prog_max"; then
     288        # Best one so far, save it but keep looking for a better one
     289        func_check_prog_result=$_G_path_prog
     290        _G_path_prog_max=$_G_count
     291      fi
     292      # 10*(2^10) chars as input seems more than enough
     293      test 10 -lt "$_G_count" && break
     294    done
     295    rm -f conftest.in conftest.tmp conftest.nl conftest.out
     296  }
     297
     298  func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin
     299  GREP=$func_path_progs_result
     300}
     301
     302
     303## ------------------------------- ##
     304## User overridable command paths. ##
     305## ------------------------------- ##
     306
     307# All uppercase variable names are used for environment variables.  These
     308# variables can be overridden by the user before calling a script that
     309# uses them if a suitable command of that name is not already available
     310# in the command search PATH.
     311
     312: ${CP="cp -f"}
     313: ${ECHO="printf %s\n"}
     314: ${EGREP="$GREP -E"}
     315: ${FGREP="$GREP -F"}
     316: ${LN_S="ln -s"}
     317: ${MAKE="make"}
     318: ${MKDIR="mkdir"}
     319: ${MV="mv -f"}
     320: ${RM="rm -f"}
     321: ${SHELL="${CONFIG_SHELL-/bin/sh}"}
     322
     323
     324## -------------------- ##
     325## Useful sed snippets. ##
     326## -------------------- ##
     327
     328sed_dirname='s|/[^/]*$||'
     329sed_basename='s|^.*/||'
     330
     331# Sed substitution that helps us do robust quoting.  It backslashifies
     332# metacharacters that are still active within double-quoted strings.
     333sed_quote_subst='s|\([`"$\\]\)|\\\1|g'
     334
     335# Same as above, but do not quote variable references.
     336sed_double_quote_subst='s/\(["`\\]\)/\\\1/g'
     337
     338# Sed substitution that turns a string into a regex matching for the
     339# string literally.
     340sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g'
     341
     342# Sed substitution that converts a w32 file name or path
     343# that contains forward slashes, into one that contains
     344# (escaped) backslashes.  A very naive implementation.
     345sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
     346
     347# Re-'\' parameter expansions in output of sed_double_quote_subst that
     348# were '\'-ed in input to the same.  If an odd number of '\' preceded a
     349# '$' in input to sed_double_quote_subst, that '$' was protected from
     350# expansion.  Since each input '\' is now two '\'s, look for any number
     351# of runs of four '\'s followed by two '\'s and then a '$'.  '\' that '$'.
     352_G_bs='\\'
     353_G_bs2='\\\\'
     354_G_bs4='\\\\\\\\'
     355_G_dollar='\$'
     356sed_double_backslash="\
     357  s/$_G_bs4/&\\
     358/g
     359  s/^$_G_bs2$_G_dollar/$_G_bs&/
     360  s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g
     361  s/\n//g"
     362
     363
     364## ----------------- ##
     365## Global variables. ##
     366## ----------------- ##
     367
     368# Except for the global variables explicitly listed below, the following
     369# functions in the '^func_' namespace, and the '^require_' namespace
     370# variables initialised in the 'Resource management' section, sourcing
     371# this file will not pollute your global namespace with anything
     372# else. There's no portable way to scope variables in Bourne shell
     373# though, so actually running these functions will sometimes place
     374# results into a variable named after the function, and often use
     375# temporary variables in the '^_G_' namespace. If you are careful to
     376# avoid using those namespaces casually in your sourcing script, things
     377# should continue to work as you expect. And, of course, you can freely
     378# overwrite any of the functions or variables defined here before
     379# calling anything to customize them.
     380
     381EXIT_SUCCESS=0
     382EXIT_FAILURE=1
     383EXIT_MISMATCH=63  # $? = 63 is used to indicate version mismatch to missing.
     384EXIT_SKIP=77      # $? = 77 is used to indicate a skipped test to automake.
     385
     386# Allow overriding, eg assuming that you follow the convention of
     387# putting '$debug_cmd' at the start of all your functions, you can get
     388# bash to show function call trace with:
     389#
     390#    debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name
     391debug_cmd=${debug_cmd-":"}
     392exit_cmd=:
     393
     394# By convention, finish your script with:
     395#
     396#    exit $exit_status
     397#
     398# so that you can set exit_status to non-zero if you want to indicate
     399# something went wrong during execution without actually bailing out at
     400# the point of failure.
     401exit_status=$EXIT_SUCCESS
    128402
    129403# Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh
     
    132406# positional parameter $0, within a function call, is the name of the
    133407# function.
    134 progpath="$0"
    135 
    136 
    137 
    138 : ${CP="cp -f"}
    139 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
    140 : ${MAKE="make"}
    141 : ${MKDIR="mkdir"}
    142 : ${MV="mv -f"}
    143 : ${RM="rm -f"}
    144 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
    145 : ${Xsed="$SED -e 1s/^X//"}
    146 
    147 # Global variables:
    148 EXIT_SUCCESS=0
    149 EXIT_FAILURE=1
    150 EXIT_MISMATCH=63  # $? = 63 is used to indicate version mismatch to missing.
    151 EXIT_SKIP=77      # $? = 77 is used to indicate a skipped test to automake.
    152 
    153 exit_status=$EXIT_SUCCESS
    154 
    155 # Make sure IFS has a sensible default
    156 lt_nl='
    157 '
    158 IFS="   $lt_nl"
    159 
    160 dirname="s,/[^/]*$,,"
    161 basename="s,^.*/,,"
    162 
    163 # func_dirname file append nondir_replacement
     408progpath=$0
     409
     410# The name of this program.
     411progname=`$ECHO "$progpath" |$SED "$sed_basename"`
     412
     413# Make sure we have an absolute progpath for reexecution:
     414case $progpath in
     415  [\\/]*|[A-Za-z]:\\*) ;;
     416  *[\\/]*)
     417     progdir=`$ECHO "$progpath" |$SED "$sed_dirname"`
     418     progdir=`cd "$progdir" && pwd`
     419     progpath=$progdir/$progname
     420     ;;
     421  *)
     422     _G_IFS=$IFS
     423     IFS=${PATH_SEPARATOR-:}
     424     for progdir in $PATH; do
     425       IFS=$_G_IFS
     426       test -x "$progdir/$progname" && break
     427     done
     428     IFS=$_G_IFS
     429     test -n "$progdir" || progdir=`pwd`
     430     progpath=$progdir/$progname
     431     ;;
     432esac
     433
     434
     435## ----------------- ##
     436## Standard options. ##
     437## ----------------- ##
     438
     439# The following options affect the operation of the functions defined
     440# below, and should be set appropriately depending on run-time para-
     441# meters passed on the command line.
     442
     443opt_dry_run=false
     444opt_quiet=false
     445opt_verbose=false
     446
     447# Categories 'all' and 'none' are always available.  Append any others
     448# you will pass as the first argument to func_warning from your own
     449# code.
     450warning_categories=
     451
     452# By default, display warnings according to 'opt_warning_types'.  Set
     453# 'warning_func'  to ':' to elide all warnings, or func_fatal_error to
     454# treat the next displayed warning as a fatal error.
     455warning_func=func_warn_and_continue
     456
     457# Set to 'all' to display all warnings, 'none' to suppress all
     458# warnings, or a space delimited list of some subset of
     459# 'warning_categories' to display only the listed warnings.
     460opt_warning_types=all
     461
     462
     463## -------------------- ##
     464## Resource management. ##
     465## -------------------- ##
     466
     467# This section contains definitions for functions that each ensure a
     468# particular resource (a file, or a non-empty configuration variable for
     469# example) is available, and if appropriate to extract default values
     470# from pertinent package files. Call them using their associated
     471# 'require_*' variable to ensure that they are executed, at most, once.
     472#
     473# It's entirely deliberate that calling these functions can set
     474# variables that don't obey the namespace limitations obeyed by the rest
     475# of this file, in order that that they be as useful as possible to
     476# callers.
     477
     478
     479# require_term_colors
     480# -------------------
     481# Allow display of bold text on terminals that support it.
     482require_term_colors=func_require_term_colors
     483func_require_term_colors ()
     484{
     485    $debug_cmd
     486
     487    test -t 1 && {
     488      # COLORTERM and USE_ANSI_COLORS environment variables take
     489      # precedence, because most terminfo databases neglect to describe
     490      # whether color sequences are supported.
     491      test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"}
     492
     493      if test 1 = "$USE_ANSI_COLORS"; then
     494        # Standard ANSI escape sequences
     495        tc_reset='[0m'
     496        tc_bold='[1m';   tc_standout='[7m'
     497        tc_red='[31m';   tc_green='[32m'
     498        tc_blue='[34m';  tc_cyan='[36m'
     499      else
     500        # Otherwise trust the terminfo database after all.
     501        test -n "`tput sgr0 2>/dev/null`" && {
     502          tc_reset=`tput sgr0`
     503          test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold`
     504          tc_standout=$tc_bold
     505          test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso`
     506          test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1`
     507          test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2`
     508          test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4`
     509          test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5`
     510        }
     511      fi
     512    }
     513
     514    require_term_colors=:
     515}
     516
     517
     518## ----------------- ##
     519## Function library. ##
     520## ----------------- ##
     521
     522# This section contains a variety of useful functions to call in your
     523# scripts. Take note of the portable wrappers for features provided by
     524# some modern shells, which will fall back to slower equivalents on
     525# less featureful shells.
     526
     527
     528# func_append VAR VALUE
     529# ---------------------
     530# Append VALUE onto the existing contents of VAR.
     531
     532  # We should try to minimise forks, especially on Windows where they are
     533  # unreasonably slow, so skip the feature probes when bash or zsh are
     534  # being used:
     535  if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then
     536    : ${_G_HAVE_ARITH_OP="yes"}
     537    : ${_G_HAVE_XSI_OPS="yes"}
     538    # The += operator was introduced in bash 3.1
     539    case $BASH_VERSION in
     540      [12].* | 3.0 | 3.0*) ;;
     541      *)
     542        : ${_G_HAVE_PLUSEQ_OP="yes"}
     543        ;;
     544    esac
     545  fi
     546
     547  # _G_HAVE_PLUSEQ_OP
     548  # Can be empty, in which case the shell is probed, "yes" if += is
     549  # useable or anything else if it does not work.
     550  test -z "$_G_HAVE_PLUSEQ_OP" \
     551    && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \
     552    && _G_HAVE_PLUSEQ_OP=yes
     553
     554if test yes = "$_G_HAVE_PLUSEQ_OP"
     555then
     556  # This is an XSI compatible shell, allowing a faster implementation...
     557  eval 'func_append ()
     558  {
     559    $debug_cmd
     560
     561    eval "$1+=\$2"
     562  }'
     563else
     564  # ...otherwise fall back to using expr, which is often a shell builtin.
     565  func_append ()
     566  {
     567    $debug_cmd
     568
     569    eval "$1=\$$1\$2"
     570  }
     571fi
     572
     573
     574# func_append_quoted VAR VALUE
     575# ----------------------------
     576# Quote VALUE and append to the end of shell variable VAR, separated
     577# by a space.
     578if test yes = "$_G_HAVE_PLUSEQ_OP"; then
     579  eval 'func_append_quoted ()
     580  {
     581    $debug_cmd
     582
     583    func_quote_for_eval "$2"
     584    eval "$1+=\\ \$func_quote_for_eval_result"
     585  }'
     586else
     587  func_append_quoted ()
     588  {
     589    $debug_cmd
     590
     591    func_quote_for_eval "$2"
     592    eval "$1=\$$1\\ \$func_quote_for_eval_result"
     593  }
     594fi
     595
     596
     597# func_append_uniq VAR VALUE
     598# --------------------------
     599# Append unique VALUE onto the existing contents of VAR, assuming
     600# entries are delimited by the first character of VALUE.  For example:
     601#
     602#   func_append_uniq options " --another-option option-argument"
     603#
     604# will only append to $options if " --another-option option-argument "
     605# is not already present somewhere in $options already (note spaces at
     606# each end implied by leading space in second argument).
     607func_append_uniq ()
     608{
     609    $debug_cmd
     610
     611    eval _G_current_value='`$ECHO $'$1'`'
     612    _G_delim=`expr "$2" : '\(.\)'`
     613
     614    case $_G_delim$_G_current_value$_G_delim in
     615      *"$2$_G_delim"*) ;;
     616      *) func_append "$@" ;;
     617    esac
     618}
     619
     620
     621# func_arith TERM...
     622# ------------------
     623# Set func_arith_result to the result of evaluating TERMs.
     624  test -z "$_G_HAVE_ARITH_OP" \
     625    && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \
     626    && _G_HAVE_ARITH_OP=yes
     627
     628if test yes = "$_G_HAVE_ARITH_OP"; then
     629  eval 'func_arith ()
     630  {
     631    $debug_cmd
     632
     633    func_arith_result=$(( $* ))
     634  }'
     635else
     636  func_arith ()
     637  {
     638    $debug_cmd
     639
     640    func_arith_result=`expr "$@"`
     641  }
     642fi
     643
     644
     645# func_basename FILE
     646# ------------------
     647# Set func_basename_result to FILE with everything up to and including
     648# the last / stripped.
     649if test yes = "$_G_HAVE_XSI_OPS"; then
     650  # If this shell supports suffix pattern removal, then use it to avoid
     651  # forking. Hide the definitions single quotes in case the shell chokes
     652  # on unsupported syntax...
     653  _b='func_basename_result=${1##*/}'
     654  _d='case $1 in
     655        */*) func_dirname_result=${1%/*}$2 ;;
     656        *  ) func_dirname_result=$3        ;;
     657      esac'
     658
     659else
     660  # ...otherwise fall back to using sed.
     661  _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`'
     662  _d='func_dirname_result=`$ECHO "$1"  |$SED "$sed_dirname"`
     663      if test "X$func_dirname_result" = "X$1"; then
     664        func_dirname_result=$3
     665      else
     666        func_append func_dirname_result "$2"
     667      fi'
     668fi
     669
     670eval 'func_basename ()
     671{
     672    $debug_cmd
     673
     674    '"$_b"'
     675}'
     676
     677
     678# func_dirname FILE APPEND NONDIR_REPLACEMENT
     679# -------------------------------------------
    164680# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
    165681# otherwise set result to NONDIR_REPLACEMENT.
    166 func_dirname ()
    167 {
    168     func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
    169     if test "X$func_dirname_result" = "X${1}"; then
    170       func_dirname_result="${3}"
    171     else
    172       func_dirname_result="$func_dirname_result${2}"
    173     fi
    174 } # func_dirname may be replaced by extended shell implementation
    175 
    176 
    177 # func_basename file
    178 func_basename ()
    179 {
    180     func_basename_result=`$ECHO "${1}" | $SED "$basename"`
    181 } # func_basename may be replaced by extended shell implementation
    182 
    183 
    184 # func_dirname_and_basename file append nondir_replacement
    185 # perform func_basename and func_dirname in a single function
     682eval 'func_dirname ()
     683{
     684    $debug_cmd
     685
     686    '"$_d"'
     687}'
     688
     689
     690# func_dirname_and_basename FILE APPEND NONDIR_REPLACEMENT
     691# --------------------------------------------------------
     692# Perform func_basename and func_dirname in a single function
    186693# call:
    187694#   dirname:  Compute the dirname of FILE.  If nonempty,
     
    191698#   basename: Compute filename of FILE.
    192699#             value retuned in "$func_basename_result"
    193 # Implementation must be kept synchronized with func_dirname
    194 # and func_basename. For efficiency, we do not delegate to
    195 # those functions but instead duplicate the functionality here.
    196 func_dirname_and_basename ()
    197 {
    198     # Extract subdirectory from the argument.
    199     func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"`
    200     if test "X$func_dirname_result" = "X${1}"; then
    201       func_dirname_result="${3}"
     700# For efficiency, we do not delegate to the functions above but instead
     701# duplicate the functionality here.
     702eval 'func_dirname_and_basename ()
     703{
     704    $debug_cmd
     705
     706    '"$_b"'
     707    '"$_d"'
     708}'
     709
     710
     711# func_echo ARG...
     712# ----------------
     713# Echo program name prefixed message.
     714func_echo ()
     715{
     716    $debug_cmd
     717
     718    _G_message=$*
     719
     720    func_echo_IFS=$IFS
     721    IFS=$nl
     722    for _G_line in $_G_message; do
     723      IFS=$func_echo_IFS
     724      $ECHO "$progname: $_G_line"
     725    done
     726    IFS=$func_echo_IFS
     727}
     728
     729
     730# func_echo_all ARG...
     731# --------------------
     732# Invoke $ECHO with all args, space-separated.
     733func_echo_all ()
     734{
     735    $ECHO "$*"
     736}
     737
     738
     739# func_echo_infix_1 INFIX ARG...
     740# ------------------------------
     741# Echo program name, followed by INFIX on the first line, with any
     742# additional lines not showing INFIX.
     743func_echo_infix_1 ()
     744{
     745    $debug_cmd
     746
     747    $require_term_colors
     748
     749    _G_infix=$1; shift
     750    _G_indent=$_G_infix
     751    _G_prefix="$progname: $_G_infix: "
     752    _G_message=$*
     753
     754    # Strip color escape sequences before counting printable length
     755    for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan"
     756    do
     757      test -n "$_G_tc" && {
     758        _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"`
     759        _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"`
     760      }
     761    done
     762    _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`"  " ## exclude from sc_prohibit_nested_quotes
     763
     764    func_echo_infix_1_IFS=$IFS
     765    IFS=$nl
     766    for _G_line in $_G_message; do
     767      IFS=$func_echo_infix_1_IFS
     768      $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2
     769      _G_prefix=$_G_indent
     770    done
     771    IFS=$func_echo_infix_1_IFS
     772}
     773
     774
     775# func_error ARG...
     776# -----------------
     777# Echo program name prefixed message to standard error.
     778func_error ()
     779{
     780    $debug_cmd
     781
     782    $require_term_colors
     783
     784    func_echo_infix_1 "  $tc_standout${tc_red}error$tc_reset" "$*" >&2
     785}
     786
     787
     788# func_fatal_error ARG...
     789# -----------------------
     790# Echo program name prefixed message to standard error, and exit.
     791func_fatal_error ()
     792{
     793    $debug_cmd
     794
     795    func_error "$*"
     796    exit $EXIT_FAILURE
     797}
     798
     799
     800# func_grep EXPRESSION FILENAME
     801# -----------------------------
     802# Check whether EXPRESSION matches any line of FILENAME, without output.
     803func_grep ()
     804{
     805    $debug_cmd
     806
     807    $GREP "$1" "$2" >/dev/null 2>&1
     808}
     809
     810
     811# func_len STRING
     812# ---------------
     813# Set func_len_result to the length of STRING. STRING may not
     814# start with a hyphen.
     815  test -z "$_G_HAVE_XSI_OPS" \
     816    && (eval 'x=a/b/c;
     817      test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
     818    && _G_HAVE_XSI_OPS=yes
     819
     820if test yes = "$_G_HAVE_XSI_OPS"; then
     821  eval 'func_len ()
     822  {
     823    $debug_cmd
     824
     825    func_len_result=${#1}
     826  }'
     827else
     828  func_len ()
     829  {
     830    $debug_cmd
     831
     832    func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
     833  }
     834fi
     835
     836
     837# func_mkdir_p DIRECTORY-PATH
     838# ---------------------------
     839# Make sure the entire path to DIRECTORY-PATH is available.
     840func_mkdir_p ()
     841{
     842    $debug_cmd
     843
     844    _G_directory_path=$1
     845    _G_dir_list=
     846
     847    if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then
     848
     849      # Protect directory names starting with '-'
     850      case $_G_directory_path in
     851        -*) _G_directory_path=./$_G_directory_path ;;
     852      esac
     853
     854      # While some portion of DIR does not yet exist...
     855      while test ! -d "$_G_directory_path"; do
     856        # ...make a list in topmost first order.  Use a colon delimited
     857        # list incase some portion of path contains whitespace.
     858        _G_dir_list=$_G_directory_path:$_G_dir_list
     859
     860        # If the last portion added has no slash in it, the list is done
     861        case $_G_directory_path in */*) ;; *) break ;; esac
     862
     863        # ...otherwise throw away the child directory and loop
     864        _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"`
     865      done
     866      _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'`
     867
     868      func_mkdir_p_IFS=$IFS; IFS=:
     869      for _G_dir in $_G_dir_list; do
     870        IFS=$func_mkdir_p_IFS
     871        # mkdir can fail with a 'File exist' error if two processes
     872        # try to create one of the directories concurrently.  Don't
     873        # stop in that case!
     874        $MKDIR "$_G_dir" 2>/dev/null || :
     875      done
     876      IFS=$func_mkdir_p_IFS
     877
     878      # Bail out if we (or some other process) failed to create a directory.
     879      test -d "$_G_directory_path" || \
     880        func_fatal_error "Failed to create '$1'"
     881    fi
     882}
     883
     884
     885# func_mktempdir [BASENAME]
     886# -------------------------
     887# Make a temporary directory that won't clash with other running
     888# libtool processes, and avoids race conditions if possible.  If
     889# given, BASENAME is the basename for that directory.
     890func_mktempdir ()
     891{
     892    $debug_cmd
     893
     894    _G_template=${TMPDIR-/tmp}/${1-$progname}
     895
     896    if test : = "$opt_dry_run"; then
     897      # Return a directory name, but don't create it in dry-run mode
     898      _G_tmpdir=$_G_template-$$
    202899    else
    203       func_dirname_result="$func_dirname_result${2}"
     900
     901      # If mktemp works, use that first and foremost
     902      _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null`
     903
     904      if test ! -d "$_G_tmpdir"; then
     905        # Failing that, at least try and use $RANDOM to avoid a race
     906        _G_tmpdir=$_G_template-${RANDOM-0}$$
     907
     908        func_mktempdir_umask=`umask`
     909        umask 0077
     910        $MKDIR "$_G_tmpdir"
     911        umask $func_mktempdir_umask
     912      fi
     913
     914      # If we're not in dry-run mode, bomb out on failure
     915      test -d "$_G_tmpdir" || \
     916        func_fatal_error "cannot create temporary directory '$_G_tmpdir'"
    204917    fi
    205     func_basename_result=`$ECHO "${1}" | $SED -e "$basename"`
    206 } # func_dirname_and_basename may be replaced by extended shell implementation
    207 
    208 
    209 # func_stripname prefix suffix name
    210 # strip PREFIX and SUFFIX off of NAME.
    211 # PREFIX and SUFFIX must not contain globbing or regex special
    212 # characters, hashes, percent signs, but SUFFIX may contain a leading
    213 # dot (in which case that matches only a dot).
    214 # func_strip_suffix prefix name
    215 func_stripname ()
    216 {
    217     case ${2} in
    218       .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
    219       *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
    220     esac
    221 } # func_stripname may be replaced by extended shell implementation
    222 
    223 
    224 # These SED scripts presuppose an absolute path with a trailing slash.
    225 pathcar='s,^/\([^/]*\).*$,\1,'
    226 pathcdr='s,^/[^/]*,,'
    227 removedotparts=':dotsl
    228                 s@/\./@/@g
    229                 t dotsl
    230                 s,/\.$,/,'
    231 collapseslashes='s@/\{1,\}@/@g'
    232 finalslash='s,/*$,/,'
     918
     919    $ECHO "$_G_tmpdir"
     920}
     921
    233922
    234923# func_normal_abspath PATH
     924# ------------------------
    235925# Remove doubled-up and trailing slashes, "." path components,
    236926# and cancel out any ".." path components in PATH after making
    237927# it an absolute path.
    238 #             value returned in "$func_normal_abspath_result"
    239928func_normal_abspath ()
    240929{
    241   # Start from root dir and reassemble the path.
    242   func_normal_abspath_result=
    243   func_normal_abspath_tpath=$1
    244   func_normal_abspath_altnamespace=
    245   case $func_normal_abspath_tpath in
    246     "")
    247       # Empty path, that just means $cwd.
    248       func_stripname '' '/' "`pwd`"
    249       func_normal_abspath_result=$func_stripname_result
    250       return
    251     ;;
    252     # The next three entries are used to spot a run of precisely
    253     # two leading slashes without using negated character classes;
    254     # we take advantage of case's first-match behaviour.
    255     ///*)
    256       # Unusual form of absolute path, do nothing.
    257     ;;
    258     //*)
    259       # Not necessarily an ordinary path; POSIX reserves leading '//'
    260       # and for example Cygwin uses it to access remote file shares
    261       # over CIFS/SMB, so we conserve a leading double slash if found.
    262       func_normal_abspath_altnamespace=/
    263     ;;
    264     /*)
    265       # Absolute path, do nothing.
    266     ;;
    267     *)
    268       # Relative path, prepend $cwd.
    269       func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
    270     ;;
    271   esac
    272   # Cancel out all the simple stuff to save iterations.  We also want
    273   # the path to end with a slash for ease of parsing, so make sure
    274   # there is one (and only one) here.
    275   func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
    276         -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"`
    277   while :; do
    278     # Processed it all yet?
    279     if test "$func_normal_abspath_tpath" = / ; then
    280       # If we ascended to the root using ".." the result may be empty now.
    281       if test -z "$func_normal_abspath_result" ; then
    282         func_normal_abspath_result=/
    283       fi
    284       break
    285     fi
    286     func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
    287         -e "$pathcar"`
     930    $debug_cmd
     931
     932    # These SED scripts presuppose an absolute path with a trailing slash.
     933    _G_pathcar='s|^/\([^/]*\).*$|\1|'
     934    _G_pathcdr='s|^/[^/]*||'
     935    _G_removedotparts=':dotsl
     936                s|/\./|/|g
     937                t dotsl
     938                s|/\.$|/|'
     939    _G_collapseslashes='s|/\{1,\}|/|g'
     940    _G_finalslash='s|/*$|/|'
     941
     942    # Start from root dir and reassemble the path.
     943    func_normal_abspath_result=
     944    func_normal_abspath_tpath=$1
     945    func_normal_abspath_altnamespace=
     946    case $func_normal_abspath_tpath in
     947      "")
     948        # Empty path, that just means $cwd.
     949        func_stripname '' '/' "`pwd`"
     950        func_normal_abspath_result=$func_stripname_result
     951        return
     952        ;;
     953      # The next three entries are used to spot a run of precisely
     954      # two leading slashes without using negated character classes;
     955      # we take advantage of case's first-match behaviour.
     956      ///*)
     957        # Unusual form of absolute path, do nothing.
     958        ;;
     959      //*)
     960        # Not necessarily an ordinary path; POSIX reserves leading '//'
     961        # and for example Cygwin uses it to access remote file shares
     962        # over CIFS/SMB, so we conserve a leading double slash if found.
     963        func_normal_abspath_altnamespace=/
     964        ;;
     965      /*)
     966        # Absolute path, do nothing.
     967        ;;
     968      *)
     969        # Relative path, prepend $cwd.
     970        func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
     971        ;;
     972    esac
     973
     974    # Cancel out all the simple stuff to save iterations.  We also want
     975    # the path to end with a slash for ease of parsing, so make sure
     976    # there is one (and only one) here.
    288977    func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
    289         -e "$pathcdr"`
    290     # Figure out what to do with it
    291     case $func_normal_abspath_tcomponent in
    292       "")
    293         # Trailing empty path component, ignore it.
    294       ;;
    295       ..)
    296         # Parent dir; strip last assembled component from result.
    297         func_dirname "$func_normal_abspath_result"
    298         func_normal_abspath_result=$func_dirname_result
    299       ;;
    300       *)
    301         # Actual path component, append it.
    302         func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent
    303       ;;
    304     esac
    305   done
    306   # Restore leading double-slash if one was found on entry.
    307   func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
    308 }
    309 
    310 # func_relative_path SRCDIR DSTDIR
    311 # generates a relative path from SRCDIR to DSTDIR, with a trailing
    312 # slash if non-empty, suitable for immediately appending a filename
    313 # without needing to append a separator.
    314 #             value returned in "$func_relative_path_result"
    315 func_relative_path ()
    316 {
    317   func_relative_path_result=
    318   func_normal_abspath "$1"
    319   func_relative_path_tlibdir=$func_normal_abspath_result
    320   func_normal_abspath "$2"
    321   func_relative_path_tbindir=$func_normal_abspath_result
    322 
    323   # Ascend the tree starting from libdir
    324   while :; do
    325     # check if we have found a prefix of bindir
    326     case $func_relative_path_tbindir in
    327       $func_relative_path_tlibdir)
    328         # found an exact match
    329         func_relative_path_tcancelled=
    330         break
    331         ;;
    332       $func_relative_path_tlibdir*)
    333         # found a matching prefix
    334         func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
    335         func_relative_path_tcancelled=$func_stripname_result
    336         if test -z "$func_relative_path_result"; then
    337           func_relative_path_result=.
     978          -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"`
     979    while :; do
     980      # Processed it all yet?
     981      if test / = "$func_normal_abspath_tpath"; then
     982        # If we ascended to the root using ".." the result may be empty now.
     983        if test -z "$func_normal_abspath_result"; then
     984          func_normal_abspath_result=/
    338985        fi
    339986        break
    340         ;;
    341       *)
    342         func_dirname $func_relative_path_tlibdir
    343         func_relative_path_tlibdir=${func_dirname_result}
    344         if test "x$func_relative_path_tlibdir" = x ; then
    345           # Have to descend all the way to the root!
    346           func_relative_path_result=../$func_relative_path_result
    347           func_relative_path_tcancelled=$func_relative_path_tbindir
    348           break
    349         fi
    350         func_relative_path_result=../$func_relative_path_result
    351         ;;
    352     esac
    353   done
    354 
    355   # Now calculate path; take care to avoid doubling-up slashes.
    356   func_stripname '' '/' "$func_relative_path_result"
    357   func_relative_path_result=$func_stripname_result
    358   func_stripname '/' '/' "$func_relative_path_tcancelled"
    359   if test "x$func_stripname_result" != x ; then
    360     func_relative_path_result=${func_relative_path_result}/${func_stripname_result}
    361   fi
    362 
    363   # Normalisation. If bindir is libdir, return empty string,
    364   # else relative path ending with a slash; either way, target
    365   # file name can be directly appended.
    366   if test ! -z "$func_relative_path_result"; then
    367     func_stripname './' '' "$func_relative_path_result/"
    368     func_relative_path_result=$func_stripname_result
    369   fi
    370 }
    371 
    372 # The name of this program:
    373 func_dirname_and_basename "$progpath"
    374 progname=$func_basename_result
    375 
    376 # Make sure we have an absolute path for reexecution:
    377 case $progpath in
    378   [\\/]*|[A-Za-z]:\\*) ;;
    379   *[\\/]*)
    380      progdir=$func_dirname_result
    381      progdir=`cd "$progdir" && pwd`
    382      progpath="$progdir/$progname"
    383      ;;
    384   *)
    385      save_IFS="$IFS"
    386      IFS=${PATH_SEPARATOR-:}
    387      for progdir in $PATH; do
    388        IFS="$save_IFS"
    389        test -x "$progdir/$progname" && break
    390      done
    391      IFS="$save_IFS"
    392      test -n "$progdir" || progdir=`pwd`
    393      progpath="$progdir/$progname"
    394      ;;
    395 esac
    396 
    397 # Sed substitution that helps us do robust quoting.  It backslashifies
    398 # metacharacters that are still active within double-quoted strings.
    399 Xsed="${SED}"' -e 1s/^X//'
    400 sed_quote_subst='s/\([`"$\\]\)/\\\1/g'
    401 
    402 # Same as above, but do not quote variable references.
    403 double_quote_subst='s/\(["`\\]\)/\\\1/g'
    404 
    405 # Sed substitution that turns a string into a regex matching for the
    406 # string literally.
    407 sed_make_literal_regex='s,[].[^$\\*\/],\\&,g'
    408 
    409 # Sed substitution that converts a w32 file name or path
    410 # which contains forward slashes, into one that contains
    411 # (escaped) backslashes.  A very naive implementation.
    412 lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g'
    413 
    414 # Re-`\' parameter expansions in output of double_quote_subst that were
    415 # `\'-ed in input to the same.  If an odd number of `\' preceded a '$'
    416 # in input to double_quote_subst, that '$' was protected from expansion.
    417 # Since each input `\' is now two `\'s, look for any number of runs of
    418 # four `\'s followed by two `\'s and then a '$'.  `\' that '$'.
    419 bs='\\'
    420 bs2='\\\\'
    421 bs4='\\\\\\\\'
    422 dollar='\$'
    423 sed_double_backslash="\
    424   s/$bs4/&\\
    425 /g
    426   s/^$bs2$dollar/$bs&/
    427   s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g
    428   s/\n//g"
    429 
    430 # Standard options:
    431 opt_dry_run=false
    432 opt_help=false
    433 opt_quiet=false
    434 opt_verbose=false
    435 opt_warning=:
    436 
    437 # func_echo arg...
    438 # Echo program name prefixed message, along with the current mode
    439 # name if it has been set yet.
    440 func_echo ()
    441 {
    442     $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
    443 }
    444 
    445 # func_verbose arg...
    446 # Echo program name prefixed message in verbose mode only.
    447 func_verbose ()
    448 {
    449     $opt_verbose && func_echo ${1+"$@"}
     987      fi
     988      func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \
     989          -e "$_G_pathcar"`
     990      func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
     991          -e "$_G_pathcdr"`
     992      # Figure out what to do with it
     993      case $func_normal_abspath_tcomponent in
     994        "")
     995          # Trailing empty path component, ignore it.
     996          ;;
     997        ..)
     998          # Parent dir; strip last assembled component from result.
     999          func_dirname "$func_normal_abspath_result"
     1000          func_normal_abspath_result=$func_dirname_result
     1001          ;;
     1002        *)
     1003          # Actual path component, append it.
     1004          func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent"
     1005          ;;
     1006      esac
     1007    done
     1008    # Restore leading double-slash if one was found on entry.
     1009    func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result
     1010}
     1011
     1012
     1013# func_notquiet ARG...
     1014# --------------------
     1015# Echo program name prefixed message only when not in quiet mode.
     1016func_notquiet ()
     1017{
     1018    $debug_cmd
     1019
     1020    $opt_quiet || func_echo ${1+"$@"}
    4501021
    4511022    # A bug in bash halts the script if the last line of a function
     
    4551026}
    4561027
    457 # func_echo_all arg...
    458 # Invoke $ECHO with all args, space-separated.
    459 func_echo_all ()
    460 {
    461     $ECHO "$*"
    462 }
    463 
    464 # func_error arg...
    465 # Echo program name prefixed message to standard error.
    466 func_error ()
    467 {
    468     $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
    469 }
    470 
    471 # func_warning arg...
    472 # Echo program name prefixed warning message to standard error.
    473 func_warning ()
    474 {
    475     $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
    476 
    477     # bash bug again:
     1028
     1029# func_relative_path SRCDIR DSTDIR
     1030# --------------------------------
     1031# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.
     1032func_relative_path ()
     1033{
     1034    $debug_cmd
     1035
     1036    func_relative_path_result=
     1037    func_normal_abspath "$1"
     1038    func_relative_path_tlibdir=$func_normal_abspath_result
     1039    func_normal_abspath "$2"
     1040    func_relative_path_tbindir=$func_normal_abspath_result
     1041
     1042    # Ascend the tree starting from libdir
     1043    while :; do
     1044      # check if we have found a prefix of bindir
     1045      case $func_relative_path_tbindir in
     1046        $func_relative_path_tlibdir)
     1047          # found an exact match
     1048          func_relative_path_tcancelled=
     1049          break
     1050          ;;
     1051        $func_relative_path_tlibdir*)
     1052          # found a matching prefix
     1053          func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir"
     1054          func_relative_path_tcancelled=$func_stripname_result
     1055          if test -z "$func_relative_path_result"; then
     1056            func_relative_path_result=.
     1057          fi
     1058          break
     1059          ;;
     1060        *)
     1061          func_dirname $func_relative_path_tlibdir
     1062          func_relative_path_tlibdir=$func_dirname_result
     1063          if test -z "$func_relative_path_tlibdir"; then
     1064            # Have to descend all the way to the root!
     1065            func_relative_path_result=../$func_relative_path_result
     1066            func_relative_path_tcancelled=$func_relative_path_tbindir
     1067            break
     1068          fi
     1069          func_relative_path_result=../$func_relative_path_result
     1070          ;;
     1071      esac
     1072    done
     1073
     1074    # Now calculate path; take care to avoid doubling-up slashes.
     1075    func_stripname '' '/' "$func_relative_path_result"
     1076    func_relative_path_result=$func_stripname_result
     1077    func_stripname '/' '/' "$func_relative_path_tcancelled"
     1078    if test -n "$func_stripname_result"; then
     1079      func_append func_relative_path_result "/$func_stripname_result"
     1080    fi
     1081
     1082    # Normalisation. If bindir is libdir, return '.' else relative path.
     1083    if test -n "$func_relative_path_result"; then
     1084      func_stripname './' '' "$func_relative_path_result"
     1085      func_relative_path_result=$func_stripname_result
     1086    fi
     1087
     1088    test -n "$func_relative_path_result" || func_relative_path_result=.
     1089
    4781090    :
    4791091}
    4801092
    481 # func_fatal_error arg...
    482 # Echo program name prefixed message to standard error, and exit.
    483 func_fatal_error ()
    484 {
    485     func_error ${1+"$@"}
    486     exit $EXIT_FAILURE
    487 }
    488 
    489 # func_fatal_help arg...
    490 # Echo program name prefixed message to standard error, followed by
    491 # a help hint, and exit.
    492 func_fatal_help ()
    493 {
    494     func_error ${1+"$@"}
    495     func_fatal_error "$help"
    496 }
    497 help="Try \`$progname --help' for more information."  ## default
    498 
    499 
    500 # func_grep expression filename
    501 # Check whether EXPRESSION matches any line of FILENAME, without output.
    502 func_grep ()
    503 {
    504     $GREP "$1" "$2" >/dev/null 2>&1
    505 }
    506 
    507 
    508 # func_mkdir_p directory-path
    509 # Make sure the entire path to DIRECTORY-PATH is available.
    510 func_mkdir_p ()
    511 {
    512     my_directory_path="$1"
    513     my_dir_list=
    514 
    515     if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then
    516 
    517       # Protect directory names starting with `-'
    518       case $my_directory_path in
    519         -*) my_directory_path="./$my_directory_path" ;;
     1093
     1094# func_quote_for_eval ARG...
     1095# --------------------------
     1096# Aesthetically quote ARGs to be evaled later.
     1097# This function returns two values:
     1098#   i) func_quote_for_eval_result
     1099#      double-quoted, suitable for a subsequent eval
     1100#  ii) func_quote_for_eval_unquoted_result
     1101#      has all characters that are still active within double
     1102#      quotes backslashified.
     1103func_quote_for_eval ()
     1104{
     1105    $debug_cmd
     1106
     1107    func_quote_for_eval_unquoted_result=
     1108    func_quote_for_eval_result=
     1109    while test 0 -lt $#; do
     1110      case $1 in
     1111        *[\\\`\"\$]*)
     1112          _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;;
     1113        *)
     1114          _G_unquoted_arg=$1 ;;
    5201115      esac
    521 
    522       # While some portion of DIR does not yet exist...
    523       while test ! -d "$my_directory_path"; do
    524         # ...make a list in topmost first order.  Use a colon delimited
    525         # list incase some portion of path contains whitespace.
    526         my_dir_list="$my_directory_path:$my_dir_list"
    527 
    528         # If the last portion added has no slash in it, the list is done
    529         case $my_directory_path in */*) ;; *) break ;; esac
    530 
    531         # ...otherwise throw away the child directory and loop
    532         my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"`
    533       done
    534       my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'`
    535 
    536       save_mkdir_p_IFS="$IFS"; IFS=':'
    537       for my_dir in $my_dir_list; do
    538         IFS="$save_mkdir_p_IFS"
    539         # mkdir can fail with a `File exist' error if two processes
    540         # try to create one of the directories concurrently.  Don't
    541         # stop in that case!
    542         $MKDIR "$my_dir" 2>/dev/null || :
    543       done
    544       IFS="$save_mkdir_p_IFS"
    545 
    546       # Bail out if we (or some other process) failed to create a directory.
    547       test -d "$my_directory_path" || \
    548         func_fatal_error "Failed to create \`$1'"
    549     fi
    550 }
    551 
    552 
    553 # func_mktempdir [string]
    554 # Make a temporary directory that won't clash with other running
    555 # libtool processes, and avoids race conditions if possible.  If
    556 # given, STRING is the basename for that directory.
    557 func_mktempdir ()
    558 {
    559     my_template="${TMPDIR-/tmp}/${1-$progname}"
    560 
    561     if test "$opt_dry_run" = ":"; then
    562       # Return a directory name, but don't create it in dry-run mode
    563       my_tmpdir="${my_template}-$$"
    564     else
    565 
    566       # If mktemp works, use that first and foremost
    567       my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null`
    568 
    569       if test ! -d "$my_tmpdir"; then
    570         # Failing that, at least try and use $RANDOM to avoid a race
    571         my_tmpdir="${my_template}-${RANDOM-0}$$"
    572 
    573         save_mktempdir_umask=`umask`
    574         umask 0077
    575         $MKDIR "$my_tmpdir"
    576         umask $save_mktempdir_umask
     1116      if test -n "$func_quote_for_eval_unquoted_result"; then
     1117        func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg"
     1118      else
     1119        func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg"
    5771120      fi
    5781121
    579       # If we're not in dry-run mode, bomb out on failure
    580       test -d "$my_tmpdir" || \
    581         func_fatal_error "cannot create temporary directory \`$my_tmpdir'"
    582     fi
    583 
    584     $ECHO "$my_tmpdir"
    585 }
    586 
    587 
    588 # func_quote_for_eval arg
    589 # Aesthetically quote ARG to be evaled later.
    590 # This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT
    591 # is double-quoted, suitable for a subsequent eval, whereas
    592 # FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters
    593 # which are still active within double quotes backslashified.
    594 func_quote_for_eval ()
    595 {
    596     case $1 in
    597       *[\\\`\"\$]*)
    598         func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;;
    599       *)
    600         func_quote_for_eval_unquoted_result="$1" ;;
    601     esac
    602 
    603     case $func_quote_for_eval_unquoted_result in
    604       # Double-quote args containing shell metacharacters to delay
    605       # word splitting, command substitution and and variable
    606       # expansion for a subsequent eval.
    607       # Many Bourne shells cannot handle close brackets correctly
    608       # in scan sets, so we specify it separately.
    609       *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \     ]*|*]*|"")
    610         func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\""
    611         ;;
    612       *)
    613         func_quote_for_eval_result="$func_quote_for_eval_unquoted_result"
    614     esac
    615 }
    616 
    617 
    618 # func_quote_for_expand arg
     1122      case $_G_unquoted_arg in
     1123        # Double-quote args containing shell metacharacters to delay
     1124        # word splitting, command substitution and variable expansion
     1125        # for a subsequent eval.
     1126        # Many Bourne shells cannot handle close brackets correctly
     1127        # in scan sets, so we specify it separately.
     1128        *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \   ]*|*]*|"")
     1129          _G_quoted_arg=\"$_G_unquoted_arg\"
     1130          ;;
     1131        *)
     1132          _G_quoted_arg=$_G_unquoted_arg
     1133          ;;
     1134      esac
     1135
     1136      if test -n "$func_quote_for_eval_result"; then
     1137        func_append func_quote_for_eval_result " $_G_quoted_arg"
     1138      else
     1139        func_append func_quote_for_eval_result "$_G_quoted_arg"
     1140      fi
     1141      shift
     1142    done
     1143}
     1144
     1145
     1146# func_quote_for_expand ARG
     1147# -------------------------
    6191148# Aesthetically quote ARG to be evaled later; same as above,
    6201149# but do not quote variable references.
    6211150func_quote_for_expand ()
    6221151{
     1152    $debug_cmd
     1153
    6231154    case $1 in
    6241155      *[\\\`\"]*)
    625         my_arg=`$ECHO "$1" | $SED \
    626             -e "$double_quote_subst" -e "$sed_double_backslash"` ;;
     1156        _G_arg=`$ECHO "$1" | $SED \
     1157            -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;;
    6271158      *)
    628         my_arg="$1" ;;
     1159        _G_arg=$1 ;;
    6291160    esac
    6301161
    631     case $my_arg in
     1162    case $_G_arg in
    6321163      # Double-quote args containing shell metacharacters to delay
    6331164      # word splitting and command substitution for a subsequent eval.
     
    6351166      # in scan sets, so we specify it separately.
    6361167      *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \     ]*|*]*|"")
    637         my_arg="\"$my_arg\""
     1168        _G_arg=\"$_G_arg\"
    6381169        ;;
    6391170    esac
    6401171
    641     func_quote_for_expand_result="$my_arg"
    642 }
    643 
    644 
    645 # func_show_eval cmd [fail_exp]
    646 # Unless opt_silent is true, then output CMD.  Then, if opt_dryrun is
     1172    func_quote_for_expand_result=$_G_arg
     1173}
     1174
     1175
     1176# func_stripname PREFIX SUFFIX NAME
     1177# ---------------------------------
     1178# strip PREFIX and SUFFIX from NAME, and store in func_stripname_result.
     1179# PREFIX and SUFFIX must not contain globbing or regex special
     1180# characters, hashes, percent signs, but SUFFIX may contain a leading
     1181# dot (in which case that matches only a dot).
     1182if test yes = "$_G_HAVE_XSI_OPS"; then
     1183  eval 'func_stripname ()
     1184  {
     1185    $debug_cmd
     1186
     1187    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
     1188    # positional parameters, so assign one to ordinary variable first.
     1189    func_stripname_result=$3
     1190    func_stripname_result=${func_stripname_result#"$1"}
     1191    func_stripname_result=${func_stripname_result%"$2"}
     1192  }'
     1193else
     1194  func_stripname ()
     1195  {
     1196    $debug_cmd
     1197
     1198    case $2 in
     1199      .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;;
     1200      *)  func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;;
     1201    esac
     1202  }
     1203fi
     1204
     1205
     1206# func_show_eval CMD [FAIL_EXP]
     1207# -----------------------------
     1208# Unless opt_quiet is true, then output CMD.  Then, if opt_dryrun is
    6471209# not true, evaluate CMD.  If the evaluation of CMD fails, and FAIL_EXP
    6481210# is given, then evaluate it.
    6491211func_show_eval ()
    6501212{
    651     my_cmd="$1"
    652     my_fail_exp="${2-:}"
    653 
    654     ${opt_silent-false} || {
    655       func_quote_for_expand "$my_cmd"
    656       eval "func_echo $func_quote_for_expand_result"
     1213    $debug_cmd
     1214
     1215    _G_cmd=$1
     1216    _G_fail_exp=${2-':'}
     1217
     1218    func_quote_for_expand "$_G_cmd"
     1219    eval "func_notquiet $func_quote_for_expand_result"
     1220
     1221    $opt_dry_run || {
     1222      eval "$_G_cmd"
     1223      _G_status=$?
     1224      if test 0 -ne "$_G_status"; then
     1225        eval "(exit $_G_status); $_G_fail_exp"
     1226      fi
    6571227    }
    658 
    659     if ${opt_dry_run-false}; then :; else
    660       eval "$my_cmd"
    661       my_status=$?
    662       if test "$my_status" -eq 0; then :; else
    663         eval "(exit $my_status); $my_fail_exp"
    664       fi
    665     fi
    666 }
    667 
    668 
    669 # func_show_eval_locale cmd [fail_exp]
    670 # Unless opt_silent is true, then output CMD.  Then, if opt_dryrun is
     1228}
     1229
     1230
     1231# func_show_eval_locale CMD [FAIL_EXP]
     1232# ------------------------------------
     1233# Unless opt_quiet is true, then output CMD.  Then, if opt_dryrun is
    6711234# not true, evaluate CMD.  If the evaluation of CMD fails, and FAIL_EXP
    6721235# is given, then evaluate it.  Use the saved locale for evaluation.
    6731236func_show_eval_locale ()
    6741237{
    675     my_cmd="$1"
    676     my_fail_exp="${2-:}"
    677 
    678     ${opt_silent-false} || {
    679       func_quote_for_expand "$my_cmd"
     1238    $debug_cmd
     1239
     1240    _G_cmd=$1
     1241    _G_fail_exp=${2-':'}
     1242
     1243    $opt_quiet || {
     1244      func_quote_for_expand "$_G_cmd"
    6801245      eval "func_echo $func_quote_for_expand_result"
    6811246    }
    6821247
    683     if ${opt_dry_run-false}; then :; else
    684       eval "$lt_user_locale
    685             $my_cmd"
    686       my_status=$?
    687       eval "$lt_safe_locale"
    688       if test "$my_status" -eq 0; then :; else
    689         eval "(exit $my_status); $my_fail_exp"
     1248    $opt_dry_run || {
     1249      eval "$_G_user_locale
     1250            $_G_cmd"
     1251      _G_status=$?
     1252      eval "$_G_safe_locale"
     1253      if test 0 -ne "$_G_status"; then
     1254        eval "(exit $_G_status); $_G_fail_exp"
    6901255      fi
    691     fi
    692 }
     1256    }
     1257}
     1258
    6931259
    6941260# func_tr_sh
     1261# ----------
    6951262# Turn $1 into a string suitable for a shell variable name.
    6961263# Result is stored in $func_tr_sh_result.  All characters
     
    6991266func_tr_sh ()
    7001267{
    701   case $1 in
    702   [0-9]* | *[!a-zA-Z0-9_]*)
    703     func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'`
    704     ;;
    705   * )
    706     func_tr_sh_result=$1
    707     ;;
    708   esac
    709 }
    710 
    711 
    712 # func_version
    713 # Echo version message to standard output and exit.
    714 func_version ()
    715 {
    716     $opt_debug
    717 
    718     $SED -n '/(C)/!b go
    719         :more
    720         /\./!{
    721           N
    722           s/\n# / /
    723           b more
    724         }
    725         :go
    726         /^# '$PROGRAM' (GNU /,/# warranty; / {
    727         s/^# //
    728         s/^# *$//
    729         s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/
    730         p
    731      }' < "$progpath"
    732      exit $?
    733 }
    734 
    735 # func_usage
    736 # Echo short help message to standard output and exit.
    737 func_usage ()
    738 {
    739     $opt_debug
    740 
    741     $SED -n '/^# Usage:/,/^#  *.*--help/ {
    742         s/^# //
    743         s/^# *$//
    744         s/\$progname/'$progname'/
    745         p
    746     }' < "$progpath"
    747     echo
    748     $ECHO "run \`$progname --help | more' for full usage"
    749     exit $?
    750 }
    751 
    752 # func_help [NOEXIT]
    753 # Echo long help message to standard output and exit,
    754 # unless 'noexit' is passed as argument.
     1268    $debug_cmd
     1269
     1270    case $1 in
     1271    [0-9]* | *[!a-zA-Z0-9_]*)
     1272      func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'`
     1273      ;;
     1274    * )
     1275      func_tr_sh_result=$1
     1276      ;;
     1277    esac
     1278}
     1279
     1280
     1281# func_verbose ARG...
     1282# -------------------
     1283# Echo program name prefixed message in verbose mode only.
     1284func_verbose ()
     1285{
     1286    $debug_cmd
     1287
     1288    $opt_verbose && func_echo "$*"
     1289
     1290    :
     1291}
     1292
     1293
     1294# func_warn_and_continue ARG...
     1295# -----------------------------
     1296# Echo program name prefixed warning message to standard error.
     1297func_warn_and_continue ()
     1298{
     1299    $debug_cmd
     1300
     1301    $require_term_colors
     1302
     1303    func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2
     1304}
     1305
     1306
     1307# func_warning CATEGORY ARG...
     1308# ----------------------------
     1309# Echo program name prefixed warning message to standard error. Warning
     1310# messages can be filtered according to CATEGORY, where this function
     1311# elides messages where CATEGORY is not listed in the global variable
     1312# 'opt_warning_types'.
     1313func_warning ()
     1314{
     1315    $debug_cmd
     1316
     1317    # CATEGORY must be in the warning_categories list!
     1318    case " $warning_categories " in
     1319      *" $1 "*) ;;
     1320      *) func_internal_error "invalid warning category '$1'" ;;
     1321    esac
     1322
     1323    _G_category=$1
     1324    shift
     1325
     1326    case " $opt_warning_types " in
     1327      *" $_G_category "*) $warning_func ${1+"$@"} ;;
     1328    esac
     1329}
     1330
     1331
     1332# func_sort_ver VER1 VER2
     1333# -----------------------
     1334# 'sort -V' is not generally available.
     1335# Note this deviates from the version comparison in automake
     1336# in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a
     1337# but this should suffice as we won't be specifying old
     1338# version formats or redundant trailing .0 in bootstrap.conf.
     1339# If we did want full compatibility then we should probably
     1340# use m4_version_compare from autoconf.
     1341func_sort_ver ()
     1342{
     1343    $debug_cmd
     1344
     1345    printf '%s\n%s\n' "$1" "$2" \
     1346      | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n
     1347}
     1348
     1349# func_lt_ver PREV CURR
     1350# ---------------------
     1351# Return true if PREV and CURR are in the correct order according to
     1352# func_sort_ver, otherwise false.  Use it like this:
     1353#
     1354#  func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..."
     1355func_lt_ver ()
     1356{
     1357    $debug_cmd
     1358
     1359    test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q`
     1360}
     1361
     1362
     1363# Local variables:
     1364# mode: shell-script
     1365# sh-indentation: 2
     1366# eval: (add-hook 'before-save-hook 'time-stamp)
     1367# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
     1368# time-stamp-time-zone: "UTC"
     1369# End:
     1370#! /bin/sh
     1371
     1372# Set a version string for this script.
     1373scriptversion=2014-01-07.03; # UTC
     1374
     1375# A portable, pluggable option parser for Bourne shell.
     1376# Written by Gary V. Vaughan, 2010
     1377
     1378# Copyright (C) 2010-2015 Free Software Foundation, Inc.
     1379# This is free software; see the source for copying conditions.  There is NO
     1380# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     1381
     1382# This program is free software: you can redistribute it and/or modify
     1383# it under the terms of the GNU General Public License as published by
     1384# the Free Software Foundation, either version 3 of the License, or
     1385# (at your option) any later version.
     1386
     1387# This program is distributed in the hope that it will be useful,
     1388# but WITHOUT ANY WARRANTY; without even the implied warranty of
     1389# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     1390# GNU General Public License for more details.
     1391
     1392# You should have received a copy of the GNU General Public License
     1393# along with this program.  If not, see <http://www.gnu.org/licenses/>.
     1394
     1395# Please report bugs or propose patches to gary@gnu.org.
     1396
     1397
     1398## ------ ##
     1399## Usage. ##
     1400## ------ ##
     1401
     1402# This file is a library for parsing options in your shell scripts along
     1403# with assorted other useful supporting features that you can make use
     1404# of too.
     1405#
     1406# For the simplest scripts you might need only:
     1407#
     1408#   #!/bin/sh
     1409#   . relative/path/to/funclib.sh
     1410#   . relative/path/to/options-parser
     1411#   scriptversion=1.0
     1412#   func_options ${1+"$@"}
     1413#   eval set dummy "$func_options_result"; shift
     1414#   ...rest of your script...
     1415#
     1416# In order for the '--version' option to work, you will need to have a
     1417# suitably formatted comment like the one at the top of this file
     1418# starting with '# Written by ' and ending with '# warranty; '.
     1419#
     1420# For '-h' and '--help' to work, you will also need a one line
     1421# description of your script's purpose in a comment directly above the
     1422# '# Written by ' line, like the one at the top of this file.
     1423#
     1424# The default options also support '--debug', which will turn on shell
     1425# execution tracing (see the comment above debug_cmd below for another
     1426# use), and '--verbose' and the func_verbose function to allow your script
     1427# to display verbose messages only when your user has specified
     1428# '--verbose'.
     1429#
     1430# After sourcing this file, you can plug processing for additional
     1431# options by amending the variables from the 'Configuration' section
     1432# below, and following the instructions in the 'Option parsing'
     1433# section further down.
     1434
     1435## -------------- ##
     1436## Configuration. ##
     1437## -------------- ##
     1438
     1439# You should override these variables in your script after sourcing this
     1440# file so that they reflect the customisations you have added to the
     1441# option parser.
     1442
     1443# The usage line for option parsing errors and the start of '-h' and
     1444# '--help' output messages. You can embed shell variables for delayed
     1445# expansion at the time the message is displayed, but you will need to
     1446# quote other shell meta-characters carefully to prevent them being
     1447# expanded when the contents are evaled.
     1448usage='$progpath [OPTION]...'
     1449
     1450# Short help message in response to '-h' and '--help'.  Add to this or
     1451# override it after sourcing this library to reflect the full set of
     1452# options your script accepts.
     1453usage_message="\
     1454       --debug        enable verbose shell tracing
     1455   -W, --warnings=CATEGORY
     1456                      report the warnings falling in CATEGORY [all]
     1457   -v, --verbose      verbosely report processing
     1458       --version      print version information and exit
     1459   -h, --help         print short or long help message and exit
     1460"
     1461
     1462# Additional text appended to 'usage_message' in response to '--help'.
     1463long_help_message="
     1464Warning categories include:
     1465       'all'          show all warnings
     1466       'none'         turn off all the warnings
     1467       'error'        warnings are treated as fatal errors"
     1468
     1469# Help message printed before fatal option parsing errors.
     1470fatal_help="Try '\$progname --help' for more information."
     1471
     1472
     1473
     1474## ------------------------- ##
     1475## Hook function management. ##
     1476## ------------------------- ##
     1477
     1478# This section contains functions for adding, removing, and running hooks
     1479# to the main code.  A hook is just a named list of of function, that can
     1480# be run in order later on.
     1481
     1482# func_hookable FUNC_NAME
     1483# -----------------------
     1484# Declare that FUNC_NAME will run hooks added with
     1485# 'func_add_hook FUNC_NAME ...'.
     1486func_hookable ()
     1487{
     1488    $debug_cmd
     1489
     1490    func_append hookable_fns " $1"
     1491}
     1492
     1493
     1494# func_add_hook FUNC_NAME HOOK_FUNC
     1495# ---------------------------------
     1496# Request that FUNC_NAME call HOOK_FUNC before it returns.  FUNC_NAME must
     1497# first have been declared "hookable" by a call to 'func_hookable'.
     1498func_add_hook ()
     1499{
     1500    $debug_cmd
     1501
     1502    case " $hookable_fns " in
     1503      *" $1 "*) ;;
     1504      *) func_fatal_error "'$1' does not accept hook functions." ;;
     1505    esac
     1506
     1507    eval func_append ${1}_hooks '" $2"'
     1508}
     1509
     1510
     1511# func_remove_hook FUNC_NAME HOOK_FUNC
     1512# ------------------------------------
     1513# Remove HOOK_FUNC from the list of functions called by FUNC_NAME.
     1514func_remove_hook ()
     1515{
     1516    $debug_cmd
     1517
     1518    eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`'
     1519}
     1520
     1521
     1522# func_run_hooks FUNC_NAME [ARG]...
     1523# ---------------------------------
     1524# Run all hook functions registered to FUNC_NAME.
     1525# It is assumed that the list of hook functions contains nothing more
     1526# than a whitespace-delimited list of legal shell function names, and
     1527# no effort is wasted trying to catch shell meta-characters or preserve
     1528# whitespace.
     1529func_run_hooks ()
     1530{
     1531    $debug_cmd
     1532
     1533    case " $hookable_fns " in
     1534      *" $1 "*) ;;
     1535      *) func_fatal_error "'$1' does not support hook funcions.n" ;;
     1536    esac
     1537
     1538    eval _G_hook_fns=\$$1_hooks; shift
     1539
     1540    for _G_hook in $_G_hook_fns; do
     1541      eval $_G_hook '"$@"'
     1542
     1543      # store returned options list back into positional
     1544      # parameters for next 'cmd' execution.
     1545      eval _G_hook_result=\$${_G_hook}_result
     1546      eval set dummy "$_G_hook_result"; shift
     1547    done
     1548
     1549    func_quote_for_eval ${1+"$@"}
     1550    func_run_hooks_result=$func_quote_for_eval_result
     1551}
     1552
     1553
     1554
     1555## --------------- ##
     1556## Option parsing. ##
     1557## --------------- ##
     1558
     1559# In order to add your own option parsing hooks, you must accept the
     1560# full positional parameter list in your hook function, remove any
     1561# options that you action, and then pass back the remaining unprocessed
     1562# options in '<hooked_function_name>_result', escaped suitably for
     1563# 'eval'.  Like this:
     1564#
     1565#    my_options_prep ()
     1566#    {
     1567#        $debug_cmd
     1568#
     1569#        # Extend the existing usage message.
     1570#        usage_message=$usage_message'
     1571#      -s, --silent       don'\''t print informational messages
     1572#    '
     1573#
     1574#        func_quote_for_eval ${1+"$@"}
     1575#        my_options_prep_result=$func_quote_for_eval_result
     1576#    }
     1577#    func_add_hook func_options_prep my_options_prep
     1578#
     1579#
     1580#    my_silent_option ()
     1581#    {
     1582#        $debug_cmd
     1583#
     1584#        # Note that for efficiency, we parse as many options as we can
     1585#        # recognise in a loop before passing the remainder back to the
     1586#        # caller on the first unrecognised argument we encounter.
     1587#        while test $# -gt 0; do
     1588#          opt=$1; shift
     1589#          case $opt in
     1590#            --silent|-s) opt_silent=: ;;
     1591#            # Separate non-argument short options:
     1592#            -s*)         func_split_short_opt "$_G_opt"
     1593#                         set dummy "$func_split_short_opt_name" \
     1594#                             "-$func_split_short_opt_arg" ${1+"$@"}
     1595#                         shift
     1596#                         ;;
     1597#            *)            set dummy "$_G_opt" "$*"; shift; break ;;
     1598#          esac
     1599#        done
     1600#
     1601#        func_quote_for_eval ${1+"$@"}
     1602#        my_silent_option_result=$func_quote_for_eval_result
     1603#    }
     1604#    func_add_hook func_parse_options my_silent_option
     1605#
     1606#
     1607#    my_option_validation ()
     1608#    {
     1609#        $debug_cmd
     1610#
     1611#        $opt_silent && $opt_verbose && func_fatal_help "\
     1612#    '--silent' and '--verbose' options are mutually exclusive."
     1613#
     1614#        func_quote_for_eval ${1+"$@"}
     1615#        my_option_validation_result=$func_quote_for_eval_result
     1616#    }
     1617#    func_add_hook func_validate_options my_option_validation
     1618#
     1619# You'll alse need to manually amend $usage_message to reflect the extra
     1620# options you parse.  It's preferable to append if you can, so that
     1621# multiple option parsing hooks can be added safely.
     1622
     1623
     1624# func_options [ARG]...
     1625# ---------------------
     1626# All the functions called inside func_options are hookable. See the
     1627# individual implementations for details.
     1628func_hookable func_options
     1629func_options ()
     1630{
     1631    $debug_cmd
     1632
     1633    func_options_prep ${1+"$@"}
     1634    eval func_parse_options \
     1635        ${func_options_prep_result+"$func_options_prep_result"}
     1636    eval func_validate_options \
     1637        ${func_parse_options_result+"$func_parse_options_result"}
     1638
     1639    eval func_run_hooks func_options \
     1640        ${func_validate_options_result+"$func_validate_options_result"}
     1641
     1642    # save modified positional parameters for caller
     1643    func_options_result=$func_run_hooks_result
     1644}
     1645
     1646
     1647# func_options_prep [ARG]...
     1648# --------------------------
     1649# All initialisations required before starting the option parse loop.
     1650# Note that when calling hook functions, we pass through the list of
     1651# positional parameters.  If a hook function modifies that list, and
     1652# needs to propogate that back to rest of this script, then the complete
     1653# modified list must be put in 'func_run_hooks_result' before
     1654# returning.
     1655func_hookable func_options_prep
     1656func_options_prep ()
     1657{
     1658    $debug_cmd
     1659
     1660    # Option defaults:
     1661    opt_verbose=false
     1662    opt_warning_types=
     1663
     1664    func_run_hooks func_options_prep ${1+"$@"}
     1665
     1666    # save modified positional parameters for caller
     1667    func_options_prep_result=$func_run_hooks_result
     1668}
     1669
     1670
     1671# func_parse_options [ARG]...
     1672# ---------------------------
     1673# The main option parsing loop.
     1674func_hookable func_parse_options
     1675func_parse_options ()
     1676{
     1677    $debug_cmd
     1678
     1679    func_parse_options_result=
     1680
     1681    # this just eases exit handling
     1682    while test $# -gt 0; do
     1683      # Defer to hook functions for initial option parsing, so they
     1684      # get priority in the event of reusing an option name.
     1685      func_run_hooks func_parse_options ${1+"$@"}
     1686
     1687      # Adjust func_parse_options positional parameters to match
     1688      eval set dummy "$func_run_hooks_result"; shift
     1689
     1690      # Break out of the loop if we already parsed every option.
     1691      test $# -gt 0 || break
     1692
     1693      _G_opt=$1
     1694      shift
     1695      case $_G_opt in
     1696        --debug|-x)   debug_cmd='set -x'
     1697                      func_echo "enabling shell trace mode"
     1698                      $debug_cmd
     1699                      ;;
     1700
     1701        --no-warnings|--no-warning|--no-warn)
     1702                      set dummy --warnings none ${1+"$@"}
     1703                      shift
     1704                      ;;
     1705
     1706        --warnings|--warning|-W)
     1707                      test $# = 0 && func_missing_arg $_G_opt && break
     1708                      case " $warning_categories $1" in
     1709                        *" $1 "*)
     1710                          # trailing space prevents matching last $1 above
     1711                          func_append_uniq opt_warning_types " $1"
     1712                          ;;
     1713                        *all)
     1714                          opt_warning_types=$warning_categories
     1715                          ;;
     1716                        *none)
     1717                          opt_warning_types=none
     1718                          warning_func=:
     1719                          ;;
     1720                        *error)
     1721                          opt_warning_types=$warning_categories
     1722                          warning_func=func_fatal_error
     1723                          ;;
     1724                        *)
     1725                          func_fatal_error \
     1726                             "unsupported warning category: '$1'"
     1727                          ;;
     1728                      esac
     1729                      shift
     1730                      ;;
     1731
     1732        --verbose|-v) opt_verbose=: ;;
     1733        --version)    func_version ;;
     1734        -\?|-h)       func_usage ;;
     1735        --help)       func_help ;;
     1736
     1737        # Separate optargs to long options (plugins may need this):
     1738        --*=*)        func_split_equals "$_G_opt"
     1739                      set dummy "$func_split_equals_lhs" \
     1740                          "$func_split_equals_rhs" ${1+"$@"}
     1741                      shift
     1742                      ;;
     1743
     1744       # Separate optargs to short options:
     1745        -W*)
     1746                      func_split_short_opt "$_G_opt"
     1747                      set dummy "$func_split_short_opt_name" \
     1748                          "$func_split_short_opt_arg" ${1+"$@"}
     1749                      shift
     1750                      ;;
     1751
     1752        # Separate non-argument short options:
     1753        -\?*|-h*|-v*|-x*)
     1754                      func_split_short_opt "$_G_opt"
     1755                      set dummy "$func_split_short_opt_name" \
     1756                          "-$func_split_short_opt_arg" ${1+"$@"}
     1757                      shift
     1758                      ;;
     1759
     1760        --)           break ;;
     1761        -*)           func_fatal_help "unrecognised option: '$_G_opt'" ;;
     1762        *)            set dummy "$_G_opt" ${1+"$@"}; shift; break ;;
     1763      esac
     1764    done
     1765
     1766    # save modified positional parameters for caller
     1767    func_quote_for_eval ${1+"$@"}
     1768    func_parse_options_result=$func_quote_for_eval_result
     1769}
     1770
     1771
     1772# func_validate_options [ARG]...
     1773# ------------------------------
     1774# Perform any sanity checks on option settings and/or unconsumed
     1775# arguments.
     1776func_hookable func_validate_options
     1777func_validate_options ()
     1778{
     1779    $debug_cmd
     1780
     1781    # Display all warnings if -W was not given.
     1782    test -n "$opt_warning_types" || opt_warning_types=" $warning_categories"
     1783
     1784    func_run_hooks func_validate_options ${1+"$@"}
     1785
     1786    # Bail if the options were screwed!
     1787    $exit_cmd $EXIT_FAILURE
     1788
     1789    # save modified positional parameters for caller
     1790    func_validate_options_result=$func_run_hooks_result
     1791}
     1792
     1793
     1794
     1795## ----------------- ##
     1796## Helper functions. ##
     1797## ----------------- ##
     1798
     1799# This section contains the helper functions used by the rest of the
     1800# hookable option parser framework in ascii-betical order.
     1801
     1802
     1803# func_fatal_help ARG...
     1804# ----------------------
     1805# Echo program name prefixed message to standard error, followed by
     1806# a help hint, and exit.
     1807func_fatal_help ()
     1808{
     1809    $debug_cmd
     1810
     1811    eval \$ECHO \""Usage: $usage"\"
     1812    eval \$ECHO \""$fatal_help"\"
     1813    func_error ${1+"$@"}
     1814    exit $EXIT_FAILURE
     1815}
     1816
     1817
     1818# func_help
     1819# ---------
     1820# Echo long help message to standard output and exit.
    7551821func_help ()
    7561822{
    757     $opt_debug
    758 
    759     $SED -n '/^# Usage:/,/# Report bugs to/ {
    760         :print
    761         s/^# //
    762         s/^# *$//
    763         s*\$progname*'$progname'*
    764         s*\$host*'"$host"'*
    765         s*\$SHELL*'"$SHELL"'*
    766         s*\$LTCC*'"$LTCC"'*
    767         s*\$LTCFLAGS*'"$LTCFLAGS"'*
    768         s*\$LD*'"$LD"'*
    769         s/\$with_gnu_ld/'"$with_gnu_ld"'/
    770         s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/
    771         s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/
    772         p
    773         d
    774      }
    775      /^# .* home page:/b print
    776      /^# General help using/b print
    777      ' < "$progpath"
    778     ret=$?
    779     if test -z "$1"; then
    780       exit $ret
    781     fi
    782 }
    783 
    784 # func_missing_arg argname
     1823    $debug_cmd
     1824
     1825    func_usage_message
     1826    $ECHO "$long_help_message"
     1827    exit 0
     1828}
     1829
     1830
     1831# func_missing_arg ARGNAME
     1832# ------------------------
    7851833# Echo program name prefixed message to standard error and set global
    7861834# exit_cmd.
    7871835func_missing_arg ()
    7881836{
    789     $opt_debug
    790 
    791     func_error "missing argument for $1."
     1837    $debug_cmd
     1838
     1839    func_error "Missing argument for '$1'."
    7921840    exit_cmd=exit
    7931841}
    7941842
    7951843
    796 # func_split_short_opt shortopt
     1844# func_split_equals STRING
     1845# ------------------------
     1846# Set func_split_equals_lhs and func_split_equals_rhs shell variables after
     1847# splitting STRING at the '=' sign.
     1848test -z "$_G_HAVE_XSI_OPS" \
     1849    && (eval 'x=a/b/c;
     1850      test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \
     1851    && _G_HAVE_XSI_OPS=yes
     1852
     1853if test yes = "$_G_HAVE_XSI_OPS"
     1854then
     1855  # This is an XSI compatible shell, allowing a faster implementation...
     1856  eval 'func_split_equals ()
     1857  {
     1858      $debug_cmd
     1859
     1860      func_split_equals_lhs=${1%%=*}
     1861      func_split_equals_rhs=${1#*=}
     1862      test "x$func_split_equals_lhs" = "x$1" \
     1863        && func_split_equals_rhs=
     1864  }'
     1865else
     1866  # ...otherwise fall back to using expr, which is often a shell builtin.
     1867  func_split_equals ()
     1868  {
     1869      $debug_cmd
     1870
     1871      func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'`
     1872      func_split_equals_rhs=
     1873      test "x$func_split_equals_lhs" = "x$1" \
     1874        || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'`
     1875  }
     1876fi #func_split_equals
     1877
     1878
     1879# func_split_short_opt SHORTOPT
     1880# -----------------------------
    7971881# Set func_split_short_opt_name and func_split_short_opt_arg shell
    7981882# variables after splitting SHORTOPT after the 2nd character.
    799 func_split_short_opt ()
    800 {
    801     my_sed_short_opt='1s/^\(..\).*$/\1/;q'
    802     my_sed_short_rest='1s/^..\(.*\)$/\1/;q'
    803 
    804     func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"`
    805     func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"`
    806 } # func_split_short_opt may be replaced by extended shell implementation
    807 
    808 
    809 # func_split_long_opt longopt
    810 # Set func_split_long_opt_name and func_split_long_opt_arg shell
    811 # variables after splitting LONGOPT at the `=' sign.
    812 func_split_long_opt ()
    813 {
    814     my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q'
    815     my_sed_long_arg='1s/^--[^=]*=//'
    816 
    817     func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"`
    818     func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"`
    819 } # func_split_long_opt may be replaced by extended shell implementation
    820 
    821 exit_cmd=:
    822 
    823 
    824 
    825 
    826 
    827 magic="%%%MAGIC variable%%%"
    828 magic_exe="%%%MAGIC EXE variable%%%"
    829 
    830 # Global variables.
    831 nonopt=
    832 preserve_args=
    833 lo2o="s/\\.lo\$/.${objext}/"
    834 o2lo="s/\\.${objext}\$/.lo/"
    835 extracted_archives=
    836 extracted_serial=0
    837 
    838 # If this variable is set in any of the actions, the command in it
    839 # will be execed at the end.  This prevents here-documents from being
    840 # left over by shells.
    841 exec_cmd=
    842 
    843 # func_append var value
    844 # Append VALUE to the end of shell variable VAR.
    845 func_append ()
    846 {
    847     eval "${1}=\$${1}\${2}"
    848 } # func_append may be replaced by extended shell implementation
    849 
    850 # func_append_quoted var value
    851 # Quote VALUE and append to the end of shell variable VAR, separated
    852 # by a space.
    853 func_append_quoted ()
    854 {
    855     func_quote_for_eval "${2}"
    856     eval "${1}=\$${1}\\ \$func_quote_for_eval_result"
    857 } # func_append_quoted may be replaced by extended shell implementation
    858 
    859 
    860 # func_arith arithmetic-term...
    861 func_arith ()
    862 {
    863     func_arith_result=`expr "${@}"`
    864 } # func_arith may be replaced by extended shell implementation
    865 
    866 
    867 # func_len string
    868 # STRING may not start with a hyphen.
    869 func_len ()
    870 {
    871     func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len`
    872 } # func_len may be replaced by extended shell implementation
    873 
    874 
    875 # func_lo2o object
    876 func_lo2o ()
    877 {
    878     func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
    879 } # func_lo2o may be replaced by extended shell implementation
    880 
    881 
    882 # func_xform libobj-or-source
    883 func_xform ()
    884 {
    885     func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
    886 } # func_xform may be replaced by extended shell implementation
    887 
    888 
    889 # func_fatal_configuration arg...
     1883if test yes = "$_G_HAVE_XSI_OPS"
     1884then
     1885  # This is an XSI compatible shell, allowing a faster implementation...
     1886  eval 'func_split_short_opt ()
     1887  {
     1888      $debug_cmd
     1889
     1890      func_split_short_opt_arg=${1#??}
     1891      func_split_short_opt_name=${1%"$func_split_short_opt_arg"}
     1892  }'
     1893else
     1894  # ...otherwise fall back to using expr, which is often a shell builtin.
     1895  func_split_short_opt ()
     1896  {
     1897      $debug_cmd
     1898
     1899      func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'`
     1900      func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'`
     1901  }
     1902fi #func_split_short_opt
     1903
     1904
     1905# func_usage
     1906# ----------
     1907# Echo short help message to standard output and exit.
     1908func_usage ()
     1909{
     1910    $debug_cmd
     1911
     1912    func_usage_message
     1913    $ECHO "Run '$progname --help |${PAGER-more}' for full usage"
     1914    exit 0
     1915}
     1916
     1917
     1918# func_usage_message
     1919# ------------------
     1920# Echo short help message to standard output.
     1921func_usage_message ()
     1922{
     1923    $debug_cmd
     1924
     1925    eval \$ECHO \""Usage: $usage"\"
     1926    echo
     1927    $SED -n 's|^# ||
     1928        /^Written by/{
     1929          x;p;x
     1930        }
     1931        h
     1932        /^Written by/q' < "$progpath"
     1933    echo
     1934    eval \$ECHO \""$usage_message"\"
     1935}
     1936
     1937
     1938# func_version
     1939# ------------
     1940# Echo version message to standard output and exit.
     1941func_version ()
     1942{
     1943    $debug_cmd
     1944
     1945    printf '%s\n' "$progname $scriptversion"
     1946    $SED -n '
     1947        /(C)/!b go
     1948        :more
     1949        /\./!{
     1950          N
     1951          s|\n# | |
     1952          b more
     1953        }
     1954        :go
     1955        /^# Written by /,/# warranty; / {
     1956          s|^# ||
     1957          s|^# *$||
     1958          s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2|
     1959          p
     1960        }
     1961        /^# Written by / {
     1962          s|^# ||
     1963          p
     1964        }
     1965        /^warranty; /q' < "$progpath"
     1966
     1967    exit $?
     1968}
     1969
     1970
     1971# Local variables:
     1972# mode: shell-script
     1973# sh-indentation: 2
     1974# eval: (add-hook 'before-save-hook 'time-stamp)
     1975# time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC"
     1976# time-stamp-time-zone: "UTC"
     1977# End:
     1978
     1979# Set a version string.
     1980scriptversion='(GNU libtool) 2.4.6'
     1981
     1982
     1983# func_echo ARG...
     1984# ----------------
     1985# Libtool also displays the current mode in messages, so override
     1986# funclib.sh func_echo with this custom definition.
     1987func_echo ()
     1988{
     1989    $debug_cmd
     1990
     1991    _G_message=$*
     1992
     1993    func_echo_IFS=$IFS
     1994    IFS=$nl
     1995    for _G_line in $_G_message; do
     1996      IFS=$func_echo_IFS
     1997      $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line"
     1998    done
     1999    IFS=$func_echo_IFS
     2000}
     2001
     2002
     2003# func_warning ARG...
     2004# -------------------
     2005# Libtool warnings are not categorized, so override funclib.sh
     2006# func_warning with this simpler definition.
     2007func_warning ()
     2008{
     2009    $debug_cmd
     2010
     2011    $warning_func ${1+"$@"}
     2012}
     2013
     2014
     2015## ---------------- ##
     2016## Options parsing. ##
     2017## ---------------- ##
     2018
     2019# Hook in the functions to make sure our own options are parsed during
     2020# the option parsing loop.
     2021
     2022usage='$progpath [OPTION]... [MODE-ARG]...'
     2023
     2024# Short help message in response to '-h'.
     2025usage_message="Options:
     2026       --config             show all configuration variables
     2027       --debug              enable verbose shell tracing
     2028   -n, --dry-run            display commands without modifying any files
     2029       --features           display basic configuration information and exit
     2030       --mode=MODE          use operation mode MODE
     2031       --no-warnings        equivalent to '-Wnone'
     2032       --preserve-dup-deps  don't remove duplicate dependency libraries
     2033       --quiet, --silent    don't print informational messages
     2034       --tag=TAG            use configuration variables from tag TAG
     2035   -v, --verbose            print more informational messages than default
     2036       --version            print version information
     2037   -W, --warnings=CATEGORY  report the warnings falling in CATEGORY [all]
     2038   -h, --help, --help-all   print short, long, or detailed help message
     2039"
     2040
     2041# Additional text appended to 'usage_message' in response to '--help'.
     2042func_help ()
     2043{
     2044    $debug_cmd
     2045
     2046    func_usage_message
     2047    $ECHO "$long_help_message
     2048
     2049MODE must be one of the following:
     2050
     2051       clean           remove files from the build directory
     2052       compile         compile a source file into a libtool object
     2053       execute         automatically set library path, then run a program
     2054       finish          complete the installation of libtool libraries
     2055       install         install libraries or executables
     2056       link            create a library or an executable
     2057       uninstall       remove libraries from an installed directory
     2058
     2059MODE-ARGS vary depending on the MODE.  When passed as first option,
     2060'--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that.
     2061Try '$progname --help --mode=MODE' for a more detailed description of MODE.
     2062
     2063When reporting a bug, please describe a test case to reproduce it and
     2064include the following information:
     2065
     2066       host-triplet:   $host
     2067       shell:          $SHELL
     2068       compiler:       $LTCC
     2069       compiler flags: $LTCFLAGS
     2070       linker:         $LD (gnu? $with_gnu_ld)
     2071       version:        $progname (GNU libtool) 2.4.6
     2072       automake:       `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
     2073       autoconf:       `($AUTOCONF --version) 2>/dev/null |$SED 1q`
     2074
     2075Report bugs to <bug-libtool@gnu.org>.
     2076GNU libtool home page: <http://www.gnu.org/s/libtool/>.
     2077General help using GNU software: <http://www.gnu.org/gethelp/>."
     2078    exit 0
     2079}
     2080
     2081
     2082# func_lo2o OBJECT-NAME
     2083# ---------------------
     2084# Transform OBJECT-NAME from a '.lo' suffix to the platform specific
     2085# object suffix.
     2086
     2087lo2o=s/\\.lo\$/.$objext/
     2088o2lo=s/\\.$objext\$/.lo/
     2089
     2090if test yes = "$_G_HAVE_XSI_OPS"; then
     2091  eval 'func_lo2o ()
     2092  {
     2093    case $1 in
     2094      *.lo) func_lo2o_result=${1%.lo}.$objext ;;
     2095      *   ) func_lo2o_result=$1               ;;
     2096    esac
     2097  }'
     2098
     2099  # func_xform LIBOBJ-OR-SOURCE
     2100  # ---------------------------
     2101  # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise)
     2102  # suffix to a '.lo' libtool-object suffix.
     2103  eval 'func_xform ()
     2104  {
     2105    func_xform_result=${1%.*}.lo
     2106  }'
     2107else
     2108  # ...otherwise fall back to using sed.
     2109  func_lo2o ()
     2110  {
     2111    func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"`
     2112  }
     2113
     2114  func_xform ()
     2115  {
     2116    func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'`
     2117  }
     2118fi
     2119
     2120
     2121# func_fatal_configuration ARG...
     2122# -------------------------------
    8902123# Echo program name prefixed message to standard error, followed by
    8912124# a configuration failure hint, and exit.
    8922125func_fatal_configuration ()
    8932126{
    894     func_error ${1+"$@"}
    895     func_error "See the $PACKAGE documentation for more information."
    896     func_fatal_error "Fatal configuration error."
     2127    func__fatal_error ${1+"$@"} \
     2128      "See the $PACKAGE documentation for more information." \
     2129      "Fatal configuration error."
    8972130}
    8982131
    8992132
    9002133# func_config
     2134# -----------
    9012135# Display the configuration for all the tags in this script.
    9022136func_config ()
     
    9162150}
    9172151
     2152
    9182153# func_features
     2154# -------------
    9192155# Display the features supported by this script.
    9202156func_features ()
    9212157{
    9222158    echo "host: $host"
    923     if test "$build_libtool_libs" = yes; then
     2159    if test yes = "$build_libtool_libs"; then
    9242160      echo "enable shared libraries"
    9252161    else
    9262162      echo "disable shared libraries"
    9272163    fi
    928     if test "$build_old_libs" = yes; then
     2164    if test yes = "$build_old_libs"; then
    9292165      echo "enable static libraries"
    9302166    else
     
    9352171}
    9362172
    937 # func_enable_tag tagname
     2173
     2174# func_enable_tag TAGNAME
     2175# -----------------------
    9382176# Verify that TAGNAME is valid, and either flag an error and exit, or
    9392177# enable the TAGNAME tag.  We also add TAGNAME to the global $taglist
     
    9412179func_enable_tag ()
    9422180{
    943   # Global variable:
    944   tagname="$1"
    945 
    946   re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
    947   re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
    948   sed_extractcf="/$re_begincf/,/$re_endcf/p"
    949 
    950   # Validate tagname.
    951   case $tagname in
    952     *[!-_A-Za-z0-9,/]*)
    953       func_fatal_error "invalid tag name: $tagname"
    954       ;;
    955   esac
    956 
    957   # Don't test for the "default" C tag, as we know it's
    958   # there but not specially marked.
    959   case $tagname in
    960     CC) ;;
     2181    # Global variable:
     2182    tagname=$1
     2183
     2184    re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$"
     2185    re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$"
     2186    sed_extractcf=/$re_begincf/,/$re_endcf/p
     2187
     2188    # Validate tagname.
     2189    case $tagname in
     2190      *[!-_A-Za-z0-9,/]*)
     2191        func_fatal_error "invalid tag name: $tagname"
     2192        ;;
     2193    esac
     2194
     2195    # Don't test for the "default" C tag, as we know it's
     2196    # there but not specially marked.
     2197    case $tagname in
     2198        CC) ;;
    9612199    *)
    962       if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
    963         taglist="$taglist $tagname"
    964 
    965         # Evaluate the configuration.  Be careful to quote the path
    966         # and the sed script, to avoid splitting on whitespace, but
    967         # also don't use non-portable quotes within backquotes within
    968         # quotes we have to do it in 2 steps:
    969         extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
    970         eval "$extractedcf"
    971       else
    972         func_error "ignoring unknown tag $tagname"
    973       fi
    974       ;;
    975   esac
    976 }
     2200        if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then
     2201          taglist="$taglist $tagname"
     2202
     2203          # Evaluate the configuration.  Be careful to quote the path
     2204          # and the sed script, to avoid splitting on whitespace, but
     2205          # also don't use non-portable quotes within backquotes within
     2206          # quotes we have to do it in 2 steps:
     2207          extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"`
     2208          eval "$extractedcf"
     2209        else
     2210          func_error "ignoring unknown tag $tagname"
     2211        fi
     2212        ;;
     2213    esac
     2214}
     2215
    9772216
    9782217# func_check_version_match
     2218# ------------------------
    9792219# Ensure that we are using m4 macros, and libtool script from the same
    9802220# release of libtool.
    9812221func_check_version_match ()
    9822222{
    983   if test "$package_revision" != "$macro_revision"; then
    984     if test "$VERSION" != "$macro_version"; then
    985       if test -z "$macro_version"; then
    986         cat >&2 <<_LT_EOF
     2223    if test "$package_revision" != "$macro_revision"; then
     2224      if test "$VERSION" != "$macro_version"; then
     2225        if test -z "$macro_version"; then
     2226          cat >&2 <<_LT_EOF
    9872227$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
    9882228$progname: definition of this LT_INIT comes from an older release.
     
    9902230$progname: and run autoconf again.
    9912231_LT_EOF
    992       else
    993         cat >&2 <<_LT_EOF
     2232        else
     2233          cat >&2 <<_LT_EOF
    9942234$progname: Version mismatch error.  This is $PACKAGE $VERSION, but the
    9952235$progname: definition of this LT_INIT comes from $PACKAGE $macro_version.
     
    9972237$progname: and run autoconf again.
    9982238_LT_EOF
    999       fi
    1000     else
    1001       cat >&2 <<_LT_EOF
     2239        fi
     2240      else
     2241        cat >&2 <<_LT_EOF
    10022242$progname: Version mismatch error.  This is $PACKAGE $VERSION, revision $package_revision,
    10032243$progname: but the definition of this LT_INIT comes from revision $macro_revision.
     
    10052245$progname: of $PACKAGE $VERSION and run autoconf again.
    10062246_LT_EOF
     2247      fi
     2248
     2249      exit $EXIT_MISMATCH
    10072250    fi
    1008 
    1009     exit $EXIT_MISMATCH
    1010   fi
    1011 }
    1012 
    1013 
    1014 # Shorthand for --mode=foo, only valid as the first argument
    1015 case $1 in
    1016 clean|clea|cle|cl)
    1017   shift; set dummy --mode clean ${1+"$@"}; shift
    1018   ;;
    1019 compile|compil|compi|comp|com|co|c)
    1020   shift; set dummy --mode compile ${1+"$@"}; shift
    1021   ;;
    1022 execute|execut|execu|exec|exe|ex|e)
    1023   shift; set dummy --mode execute ${1+"$@"}; shift
    1024   ;;
    1025 finish|finis|fini|fin|fi|f)
    1026   shift; set dummy --mode finish ${1+"$@"}; shift
    1027   ;;
    1028 install|instal|insta|inst|ins|in|i)
    1029   shift; set dummy --mode install ${1+"$@"}; shift
    1030   ;;
    1031 link|lin|li|l)
    1032   shift; set dummy --mode link ${1+"$@"}; shift
    1033   ;;
    1034 uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
    1035   shift; set dummy --mode uninstall ${1+"$@"}; shift
    1036   ;;
    1037 esac
    1038 
    1039 
    1040 
    1041 # Option defaults:
    1042 opt_debug=:
    1043 opt_dry_run=false
    1044 opt_config=false
    1045 opt_preserve_dup_deps=false
    1046 opt_features=false
    1047 opt_finish=false
    1048 opt_help=false
    1049 opt_help_all=false
    1050 opt_silent=:
    1051 opt_warning=:
    1052 opt_verbose=:
    1053 opt_silent=false
    1054 opt_verbose=false
    1055 
    1056 
    1057 # Parse options once, thoroughly.  This comes as soon as possible in the
    1058 # script to make things like `--version' happen as quickly as we can.
    1059 {
    1060   # this just eases exit handling
    1061   while test $# -gt 0; do
    1062     opt="$1"
    1063     shift
    1064     case $opt in
    1065       --debug|-x)       opt_debug='set -x'
    1066                         func_echo "enabling shell trace mode"
    1067                         $opt_debug
    1068                         ;;
    1069       --dry-run|--dryrun|-n)
    1070                         opt_dry_run=:
    1071                         ;;
    1072       --config)
    1073                         opt_config=:
    1074 func_config
    1075                         ;;
    1076       --dlopen|-dlopen)
    1077                         optarg="$1"
    1078                         opt_dlopen="${opt_dlopen+$opt_dlopen
    1079 }$optarg"
    1080                         shift
    1081                         ;;
    1082       --preserve-dup-deps)
    1083                         opt_preserve_dup_deps=:
    1084                         ;;
    1085       --features)
    1086                         opt_features=:
    1087 func_features
    1088                         ;;
    1089       --finish)
    1090                         opt_finish=:
    1091 set dummy --mode finish ${1+"$@"}; shift
    1092                         ;;
    1093       --help)
    1094                         opt_help=:
    1095                         ;;
    1096       --help-all)
    1097                         opt_help_all=:
    1098 opt_help=': help-all'
    1099                         ;;
    1100       --mode)
    1101                         test $# = 0 && func_missing_arg $opt && break
    1102                         optarg="$1"
    1103                         opt_mode="$optarg"
    1104 case $optarg in
    1105   # Valid mode arguments:
    1106   clean|compile|execute|finish|install|link|relink|uninstall) ;;
    1107 
    1108   # Catch anything else as an error
    1109   *) func_error "invalid argument for $opt"
    1110      exit_cmd=exit
    1111      break
    1112      ;;
    1113 esac
    1114                         shift
    1115                         ;;
    1116       --no-silent|--no-quiet)
    1117                         opt_silent=false
    1118 func_append preserve_args " $opt"
    1119                         ;;
    1120       --no-warning|--no-warn)
    1121                         opt_warning=false
    1122 func_append preserve_args " $opt"
    1123                         ;;
    1124       --no-verbose)
    1125                         opt_verbose=false
    1126 func_append preserve_args " $opt"
    1127                         ;;
    1128       --silent|--quiet)
    1129                         opt_silent=:
    1130 func_append preserve_args " $opt"
    1131         opt_verbose=false
    1132                         ;;
    1133       --verbose|-v)
    1134                         opt_verbose=:
    1135 func_append preserve_args " $opt"
    1136 opt_silent=false
    1137                         ;;
    1138       --tag)
    1139                         test $# = 0 && func_missing_arg $opt && break
    1140                         optarg="$1"
    1141                         opt_tag="$optarg"
    1142 func_append preserve_args " $opt $optarg"
    1143 func_enable_tag "$optarg"
    1144                         shift
    1145                         ;;
    1146 
    1147       -\?|-h)           func_usage                              ;;
    1148       --help)           func_help                               ;;
    1149       --version)        func_version                            ;;
    1150 
    1151       # Separate optargs to long options:
    1152       --*=*)
    1153                         func_split_long_opt "$opt"
    1154                         set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"}
    1155                         shift
    1156                         ;;
    1157 
    1158       # Separate non-argument short options:
    1159       -\?*|-h*|-n*|-v*)
    1160                         func_split_short_opt "$opt"
    1161                         set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"}
    1162                         shift
    1163                         ;;
    1164 
    1165       --)               break                                   ;;
    1166       -*)               func_fatal_help "unrecognized option \`$opt'" ;;
    1167       *)                set dummy "$opt" ${1+"$@"};     shift; break  ;;
     2251}
     2252
     2253
     2254# libtool_options_prep [ARG]...
     2255# -----------------------------
     2256# Preparation for options parsed by libtool.
     2257libtool_options_prep ()
     2258{
     2259    $debug_mode
     2260
     2261    # Option defaults:
     2262    opt_config=false
     2263    opt_dlopen=
     2264    opt_dry_run=false
     2265    opt_help=false
     2266    opt_mode=
     2267    opt_preserve_dup_deps=false
     2268    opt_quiet=false
     2269
     2270    nonopt=
     2271    preserve_args=
     2272
     2273    # Shorthand for --mode=foo, only valid as the first argument
     2274    case $1 in
     2275    clean|clea|cle|cl)
     2276      shift; set dummy --mode clean ${1+"$@"}; shift
     2277      ;;
     2278    compile|compil|compi|comp|com|co|c)
     2279      shift; set dummy --mode compile ${1+"$@"}; shift
     2280      ;;
     2281    execute|execut|execu|exec|exe|ex|e)
     2282      shift; set dummy --mode execute ${1+"$@"}; shift
     2283      ;;
     2284    finish|finis|fini|fin|fi|f)
     2285      shift; set dummy --mode finish ${1+"$@"}; shift
     2286      ;;
     2287    install|instal|insta|inst|ins|in|i)
     2288      shift; set dummy --mode install ${1+"$@"}; shift
     2289      ;;
     2290    link|lin|li|l)
     2291      shift; set dummy --mode link ${1+"$@"}; shift
     2292      ;;
     2293    uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u)
     2294      shift; set dummy --mode uninstall ${1+"$@"}; shift
     2295      ;;
    11682296    esac
    1169   done
    1170 
    1171   # Validate options:
    1172 
    1173   # save first non-option argument
    1174   if test "$#" -gt 0; then
    1175     nonopt="$opt"
    1176     shift
    1177   fi
    1178 
    1179   # preserve --debug
    1180   test "$opt_debug" = : || func_append preserve_args " --debug"
    1181 
    1182   case $host in
    1183     *cygwin* | *mingw* | *pw32* | *cegcc*)
    1184       # don't eliminate duplications in $postdeps and $predeps
    1185       opt_duplicate_compiler_generated_deps=:
    1186       ;;
    1187     *)
    1188       opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
    1189       ;;
    1190   esac
    1191 
    1192   $opt_help || {
    1193     # Sanity checks first:
    1194     func_check_version_match
    1195 
    1196     if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then
    1197       func_fatal_configuration "not configured to build any kind of library"
     2297
     2298    # Pass back the list of options.
     2299    func_quote_for_eval ${1+"$@"}
     2300    libtool_options_prep_result=$func_quote_for_eval_result
     2301}
     2302func_add_hook func_options_prep libtool_options_prep
     2303
     2304
     2305# libtool_parse_options [ARG]...
     2306# ---------------------------------
     2307# Provide handling for libtool specific options.
     2308libtool_parse_options ()
     2309{
     2310    $debug_cmd
     2311
     2312    # Perform our own loop to consume as many options as possible in
     2313    # each iteration.
     2314    while test $# -gt 0; do
     2315      _G_opt=$1
     2316      shift
     2317      case $_G_opt in
     2318        --dry-run|--dryrun|-n)
     2319                        opt_dry_run=:
     2320                        ;;
     2321
     2322        --config)       func_config ;;
     2323
     2324        --dlopen|-dlopen)
     2325                        opt_dlopen="${opt_dlopen+$opt_dlopen
     2326}$1"
     2327                        shift
     2328                        ;;
     2329
     2330        --preserve-dup-deps)
     2331                        opt_preserve_dup_deps=: ;;
     2332
     2333        --features)     func_features ;;
     2334
     2335        --finish)       set dummy --mode finish ${1+"$@"}; shift ;;
     2336
     2337        --help)         opt_help=: ;;
     2338
     2339        --help-all)     opt_help=': help-all' ;;
     2340
     2341        --mode)         test $# = 0 && func_missing_arg $_G_opt && break
     2342                        opt_mode=$1
     2343                        case $1 in
     2344                          # Valid mode arguments:
     2345                          clean|compile|execute|finish|install|link|relink|uninstall) ;;
     2346
     2347                          # Catch anything else as an error
     2348                          *) func_error "invalid argument for $_G_opt"
     2349                             exit_cmd=exit
     2350                             break
     2351                             ;;
     2352                        esac
     2353                        shift
     2354                        ;;
     2355
     2356        --no-silent|--no-quiet)
     2357                        opt_quiet=false
     2358                        func_append preserve_args " $_G_opt"
     2359                        ;;
     2360
     2361        --no-warnings|--no-warning|--no-warn)
     2362                        opt_warning=false
     2363                        func_append preserve_args " $_G_opt"
     2364                        ;;
     2365
     2366        --no-verbose)
     2367                        opt_verbose=false
     2368                        func_append preserve_args " $_G_opt"
     2369                        ;;
     2370
     2371        --silent|--quiet)
     2372                        opt_quiet=:
     2373                        opt_verbose=false
     2374                        func_append preserve_args " $_G_opt"
     2375                        ;;
     2376
     2377        --tag)          test $# = 0 && func_missing_arg $_G_opt && break
     2378                        opt_tag=$1
     2379                        func_append preserve_args " $_G_opt $1"
     2380                        func_enable_tag "$1"
     2381                        shift
     2382                        ;;
     2383
     2384        --verbose|-v)   opt_quiet=false
     2385                        opt_verbose=:
     2386                        func_append preserve_args " $_G_opt"
     2387                        ;;
     2388
     2389        # An option not handled by this hook function:
     2390        *)              set dummy "$_G_opt" ${1+"$@"};  shift; break  ;;
     2391      esac
     2392    done
     2393
     2394
     2395    # save modified positional parameters for caller
     2396    func_quote_for_eval ${1+"$@"}
     2397    libtool_parse_options_result=$func_quote_for_eval_result
     2398}
     2399func_add_hook func_parse_options libtool_parse_options
     2400
     2401
     2402
     2403# libtool_validate_options [ARG]...
     2404# ---------------------------------
     2405# Perform any sanity checks on option settings and/or unconsumed
     2406# arguments.
     2407libtool_validate_options ()
     2408{
     2409    # save first non-option argument
     2410    if test 0 -lt $#; then
     2411      nonopt=$1
     2412      shift
    11982413    fi
    11992414
    1200     # Darwin sucks
    1201     eval std_shrext=\"$shrext_cmds\"
    1202 
    1203     # Only execute mode is allowed to have -dlopen flags.
    1204     if test -n "$opt_dlopen" && test "$opt_mode" != execute; then
    1205       func_error "unrecognized option \`-dlopen'"
    1206       $ECHO "$help" 1>&2
    1207       exit $EXIT_FAILURE
    1208     fi
    1209 
    1210     # Change the help message to a mode-specific one.
    1211     generic_help="$help"
    1212     help="Try \`$progname --help --mode=$opt_mode' for more information."
    1213   }
    1214 
    1215 
    1216   # Bail if the options were screwed
    1217   $exit_cmd $EXIT_FAILURE
    1218 }
    1219 
     2415    # preserve --debug
     2416    test : = "$debug_cmd" || func_append preserve_args " --debug"
     2417
     2418    case $host in
     2419      # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452
     2420      # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788
     2421      *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*)
     2422        # don't eliminate duplications in $postdeps and $predeps
     2423        opt_duplicate_compiler_generated_deps=:
     2424        ;;
     2425      *)
     2426        opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps
     2427        ;;
     2428    esac
     2429
     2430    $opt_help || {
     2431      # Sanity checks first:
     2432      func_check_version_match
     2433
     2434      test yes != "$build_libtool_libs" \
     2435        && test yes != "$build_old_libs" \
     2436        && func_fatal_configuration "not configured to build any kind of library"
     2437
     2438      # Darwin sucks
     2439      eval std_shrext=\"$shrext_cmds\"
     2440
     2441      # Only execute mode is allowed to have -dlopen flags.
     2442      if test -n "$opt_dlopen" && test execute != "$opt_mode"; then
     2443        func_error "unrecognized option '-dlopen'"
     2444        $ECHO "$help" 1>&2
     2445        exit $EXIT_FAILURE
     2446      fi
     2447
     2448      # Change the help message to a mode-specific one.
     2449      generic_help=$help
     2450      help="Try '$progname --help --mode=$opt_mode' for more information."
     2451    }
     2452
     2453    # Pass back the unparsed argument list
     2454    func_quote_for_eval ${1+"$@"}
     2455    libtool_validate_options_result=$func_quote_for_eval_result
     2456}
     2457func_add_hook func_validate_options libtool_validate_options
     2458
     2459
     2460# Process options as early as possible so that --help and --version
     2461# can return quickly.
     2462func_options ${1+"$@"}
     2463eval set dummy "$func_options_result"; shift
    12202464
    12212465
     
    12252469## ----------- ##
    12262470
     2471magic='%%%MAGIC variable%%%'
     2472magic_exe='%%%MAGIC EXE variable%%%'
     2473
     2474# Global variables.
     2475extracted_archives=
     2476extracted_serial=0
     2477
     2478# If this variable is set in any of the actions, the command in it
     2479# will be execed at the end.  This prevents here-documents from being
     2480# left over by shells.
     2481exec_cmd=
     2482
     2483
     2484# A function that is used when there is no print builtin or printf.
     2485func_fallback_echo ()
     2486{
     2487  eval 'cat <<_LTECHO_EOF
     2488$1
     2489_LTECHO_EOF'
     2490}
     2491
     2492# func_generated_by_libtool
     2493# True iff stdin has been generated by Libtool. This function is only
     2494# a basic sanity check; it will hardly flush out determined imposters.
     2495func_generated_by_libtool_p ()
     2496{
     2497  $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
     2498}
     2499
    12272500# func_lalib_p file
    1228 # True iff FILE is a libtool `.la' library or `.lo' object file.
     2501# True iff FILE is a libtool '.la' library or '.lo' object file.
    12292502# This function is only a basic sanity check; it will hardly flush out
    12302503# determined imposters.
     
    12322505{
    12332506    test -f "$1" &&
    1234       $SED -e 4q "$1" 2>/dev/null \
    1235         | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1
     2507      $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p
    12362508}
    12372509
    12382510# func_lalib_unsafe_p file
    1239 # True iff FILE is a libtool `.la' library or `.lo' object file.
     2511# True iff FILE is a libtool '.la' library or '.lo' object file.
    12402512# This function implements the same check as func_lalib_p without
    12412513# resorting to external programs.  To this end, it redirects stdin and
    12422514# closes it afterwards, without saving the original file descriptor.
    12432515# As a safety measure, use it only where a negative result would be
    1244 # fatal anyway.  Works if `file' does not exist.
     2516# fatal anyway.  Works if 'file' does not exist.
    12452517func_lalib_unsafe_p ()
    12462518{
     
    12502522        do
    12512523            read lalib_p_line
    1252             case "$lalib_p_line" in
     2524            case $lalib_p_line in
    12532525                \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;;
    12542526            esac
     
    12562528        exec 0<&5 5<&-
    12572529    fi
    1258     test "$lalib_p" = yes
     2530    test yes = "$lalib_p"
    12592531}
    12602532
     
    12652537func_ltwrapper_script_p ()
    12662538{
    1267     func_lalib_p "$1"
     2539    test -f "$1" &&
     2540      $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p
    12682541}
    12692542
     
    12902563    func_dirname_and_basename "$1" "" "."
    12912564    func_stripname '' '.exe' "$func_basename_result"
    1292     func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper"
     2565    func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper
    12932566}
    12942567
     
    13092582func_execute_cmds ()
    13102583{
    1311     $opt_debug
     2584    $debug_cmd
     2585
    13122586    save_ifs=$IFS; IFS='~'
    13132587    for cmd in $1; do
     2588      IFS=$sp$nl
     2589      eval cmd=\"$cmd\"
    13142590      IFS=$save_ifs
    1315       eval cmd=\"$cmd\"
    13162591      func_show_eval "$cmd" "${2-:}"
    13172592    done
     
    13252600# FILE even if both FILE and FILE.exe exist: automatic-append-.exe
    13262601# behavior happens only for exec(3), not for open(2)!  Also, sourcing
    1327 # `FILE.' does not work on cygwin managed mounts.
     2602# 'FILE.' does not work on cygwin managed mounts.
    13282603func_source ()
    13292604{
    1330     $opt_debug
     2605    $debug_cmd
     2606
    13312607    case $1 in
    13322608    */* | *\\*) . "$1" ;;
     
    13552631func_replace_sysroot ()
    13562632{
    1357   case "$lt_sysroot:$1" in
     2633  case $lt_sysroot:$1 in
    13582634  ?*:"$lt_sysroot"*)
    13592635    func_stripname "$lt_sysroot" '' "$1"
    1360     func_replace_sysroot_result="=$func_stripname_result"
     2636    func_replace_sysroot_result='='$func_stripname_result
    13612637    ;;
    13622638  *)
     
    13752651func_infer_tag ()
    13762652{
    1377     $opt_debug
     2653    $debug_cmd
     2654
    13782655    if test -n "$available_tags" && test -z "$tagname"; then
    13792656      CC_quoted=
     
    13942671          if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then
    13952672            # Evaluate the configuration.
    1396             eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
     2673            eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`"
    13972674            CC_quoted=
    13982675            for arg in $CC; do
     
    14192696        if test -z "$tagname"; then
    14202697          func_echo "unable to infer tagged configuration"
    1421           func_fatal_error "specify a tag with \`--tag'"
     2698          func_fatal_error "specify a tag with '--tag'"
    14222699#       else
    14232700#         func_verbose "using $tagname tagged configuration"
     
    14352712func_write_libtool_object ()
    14362713{
    1437     write_libobj=${1}
    1438     if test "$build_libtool_libs" = yes; then
    1439       write_lobj=\'${2}\'
     2714    write_libobj=$1
     2715    if test yes = "$build_libtool_libs"; then
     2716      write_lobj=\'$2\'
    14402717    else
    14412718      write_lobj=none
    14422719    fi
    14432720
    1444     if test "$build_old_libs" = yes; then
    1445       write_oldobj=\'${3}\'
     2721    if test yes = "$build_old_libs"; then
     2722      write_oldobj=\'$3\'
    14462723    else
    14472724      write_oldobj=none
     
    14512728      cat >${write_libobj}T <<EOF
    14522729# $write_libobj - a libtool object file
    1453 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
     2730# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
    14542731#
    14552732# Please DO NOT delete this file!
     
    14632740
    14642741EOF
    1465       $MV "${write_libobj}T" "${write_libobj}"
     2742      $MV "${write_libobj}T" "$write_libobj"
    14662743    }
    14672744}
     
    14832760func_convert_core_file_wine_to_w32 ()
    14842761{
    1485   $opt_debug
    1486   func_convert_core_file_wine_to_w32_result="$1"
     2762  $debug_cmd
     2763
     2764  func_convert_core_file_wine_to_w32_result=$1
    14872765  if test -n "$1"; then
    14882766    # Unfortunately, winepath does not exit with a non-zero error code, so we
     
    14922770    # zero AND non-empty stdout, which explains the odd construction:
    14932771    func_convert_core_file_wine_to_w32_tmp=`winepath -w "$1" 2>/dev/null`
    1494     if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then
     2772    if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then
    14952773      func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" |
    1496         $SED -e "$lt_sed_naive_backslashify"`
     2774        $SED -e "$sed_naive_backslashify"`
    14972775    else
    14982776      func_convert_core_file_wine_to_w32_result=
     
    15152793func_convert_core_path_wine_to_w32 ()
    15162794{
    1517   $opt_debug
     2795  $debug_cmd
     2796
    15182797  # unfortunately, winepath doesn't convert paths, only file names
    1519   func_convert_core_path_wine_to_w32_result=""
     2798  func_convert_core_path_wine_to_w32_result=
    15202799  if test -n "$1"; then
    15212800    oldIFS=$IFS
     
    15242803      IFS=$oldIFS
    15252804      func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f"
    1526       if test -n "$func_convert_core_file_wine_to_w32_result" ; then
     2805      if test -n "$func_convert_core_file_wine_to_w32_result"; then
    15272806        if test -z "$func_convert_core_path_wine_to_w32_result"; then
    1528           func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result"
     2807          func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result
    15292808        else
    15302809          func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result"
     
    15552834func_cygpath ()
    15562835{
    1557   $opt_debug
     2836  $debug_cmd
     2837
    15582838  if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then
    15592839    func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null`
     
    15642844  else
    15652845    func_cygpath_result=
    1566     func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'"
     2846    func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'"
    15672847  fi
    15682848}
     
    15752855func_convert_core_msys_to_w32 ()
    15762856{
    1577   $opt_debug
     2857  $debug_cmd
     2858
    15782859  # awkward: cmd appends spaces to result
    15792860  func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null |
    1580     $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"`
     2861    $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"`
    15812862}
    15822863#end: func_convert_core_msys_to_w32
     
    15892870func_convert_file_check ()
    15902871{
    1591   $opt_debug
    1592   if test -z "$2" && test -n "$1" ; then
     2872  $debug_cmd
     2873
     2874  if test -z "$2" && test -n "$1"; then
    15932875    func_error "Could not determine host file name corresponding to"
    1594     func_error "  \`$1'"
     2876    func_error "  '$1'"
    15952877    func_error "Continuing, but uninstalled executables may not work."
    15962878    # Fallback:
    1597     func_to_host_file_result="$1"
     2879    func_to_host_file_result=$1
    15982880  fi
    15992881}
     
    16072889func_convert_path_check ()
    16082890{
    1609   $opt_debug
     2891  $debug_cmd
     2892
    16102893  if test -z "$4" && test -n "$3"; then
    16112894    func_error "Could not determine the host path corresponding to"
    1612     func_error "  \`$3'"
     2895    func_error "  '$3'"
    16132896    func_error "Continuing, but uninstalled executables may not work."
    16142897    # Fallback.  This is a deliberately simplistic "conversion" and
     
    16192902        $SED -e "$lt_replace_pathsep_chars"`
    16202903    else
    1621       func_to_host_path_result="$3"
     2904      func_to_host_path_result=$3
    16222905    fi
    16232906  fi
     
    16312914func_convert_path_front_back_pathsep ()
    16322915{
    1633   $opt_debug
     2916  $debug_cmd
     2917
    16342918  case $4 in
    1635   $1 ) func_to_host_path_result="$3$func_to_host_path_result"
     2919  $1 ) func_to_host_path_result=$3$func_to_host_path_result
    16362920    ;;
    16372921  esac
     
    16472931# $build to $host FILE NAME CONVERSION FUNCTIONS #
    16482932##################################################
    1649 # invoked via `$to_host_file_cmd ARG'
     2933# invoked via '$to_host_file_cmd ARG'
    16502934#
    16512935# In each case, ARG is the path to be converted from $build to $host format.
     
    16582942func_to_host_file ()
    16592943{
    1660   $opt_debug
     2944  $debug_cmd
     2945
    16612946  $to_host_file_cmd "$1"
    16622947}
     
    16702955func_to_tool_file ()
    16712956{
    1672   $opt_debug
     2957  $debug_cmd
     2958
    16732959  case ,$2, in
    16742960    *,"$to_tool_file_cmd",*)
     
    16882974func_convert_file_noop ()
    16892975{
    1690   func_to_host_file_result="$1"
     2976  func_to_host_file_result=$1
    16912977}
    16922978# end func_convert_file_noop
     
    16992985func_convert_file_msys_to_w32 ()
    17002986{
    1701   $opt_debug
    1702   func_to_host_file_result="$1"
     2987  $debug_cmd
     2988
     2989  func_to_host_file_result=$1
    17032990  if test -n "$1"; then
    17042991    func_convert_core_msys_to_w32 "$1"
    1705     func_to_host_file_result="$func_convert_core_msys_to_w32_result"
     2992    func_to_host_file_result=$func_convert_core_msys_to_w32_result
    17062993  fi
    17072994  func_convert_file_check "$1" "$func_to_host_file_result"
     
    17153002func_convert_file_cygwin_to_w32 ()
    17163003{
    1717   $opt_debug
    1718   func_to_host_file_result="$1"
     3004  $debug_cmd
     3005
     3006  func_to_host_file_result=$1
    17193007  if test -n "$1"; then
    17203008    # because $build is cygwin, we call "the" cygpath in $PATH; no need to use
     
    17323020func_convert_file_nix_to_w32 ()
    17333021{
    1734   $opt_debug
    1735   func_to_host_file_result="$1"
     3022  $debug_cmd
     3023
     3024  func_to_host_file_result=$1
    17363025  if test -n "$1"; then
    17373026    func_convert_core_file_wine_to_w32 "$1"
    1738     func_to_host_file_result="$func_convert_core_file_wine_to_w32_result"
     3027    func_to_host_file_result=$func_convert_core_file_wine_to_w32_result
    17393028  fi
    17403029  func_convert_file_check "$1" "$func_to_host_file_result"
     
    17483037func_convert_file_msys_to_cygwin ()
    17493038{
    1750   $opt_debug
    1751   func_to_host_file_result="$1"
     3039  $debug_cmd
     3040
     3041  func_to_host_file_result=$1
    17523042  if test -n "$1"; then
    17533043    func_convert_core_msys_to_w32 "$1"
    17543044    func_cygpath -u "$func_convert_core_msys_to_w32_result"
    1755     func_to_host_file_result="$func_cygpath_result"
     3045    func_to_host_file_result=$func_cygpath_result
    17563046  fi
    17573047  func_convert_file_check "$1" "$func_to_host_file_result"
     
    17663056func_convert_file_nix_to_cygwin ()
    17673057{
    1768   $opt_debug
    1769   func_to_host_file_result="$1"
     3058  $debug_cmd
     3059
     3060  func_to_host_file_result=$1
    17703061  if test -n "$1"; then
    17713062    # convert from *nix to w32, then use cygpath to convert from w32 to cygwin.
    17723063    func_convert_core_file_wine_to_w32 "$1"
    17733064    func_cygpath -u "$func_convert_core_file_wine_to_w32_result"
    1774     func_to_host_file_result="$func_cygpath_result"
     3065    func_to_host_file_result=$func_cygpath_result
    17753066  fi
    17763067  func_convert_file_check "$1" "$func_to_host_file_result"
     
    17823073# $build to $host PATH CONVERSION FUNCTIONS #
    17833074#############################################
    1784 # invoked via `$to_host_path_cmd ARG'
     3075# invoked via '$to_host_path_cmd ARG'
    17853076#
    17863077# In each case, ARG is the path to be converted from $build to $host format.
     
    18063097func_init_to_host_path_cmd ()
    18073098{
    1808   $opt_debug
     3099  $debug_cmd
     3100
    18093101  if test -z "$to_host_path_cmd"; then
    18103102    func_stripname 'func_convert_file_' '' "$to_host_file_cmd"
    1811     to_host_path_cmd="func_convert_path_${func_stripname_result}"
     3103    to_host_path_cmd=func_convert_path_$func_stripname_result
    18123104  fi
    18133105}
     
    18193111func_to_host_path ()
    18203112{
    1821   $opt_debug
     3113  $debug_cmd
     3114
    18223115  func_init_to_host_path_cmd
    18233116  $to_host_path_cmd "$1"
     
    18303123func_convert_path_noop ()
    18313124{
    1832   func_to_host_path_result="$1"
     3125  func_to_host_path_result=$1
    18333126}
    18343127# end func_convert_path_noop
     
    18413134func_convert_path_msys_to_w32 ()
    18423135{
    1843   $opt_debug
    1844   func_to_host_path_result="$1"
     3136  $debug_cmd
     3137
     3138  func_to_host_path_result=$1
    18453139  if test -n "$1"; then
    18463140    # Remove leading and trailing path separator characters from ARG.  MSYS
     
    18503144    func_to_host_path_tmp1=$func_stripname_result
    18513145    func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
    1852     func_to_host_path_result="$func_convert_core_msys_to_w32_result"
     3146    func_to_host_path_result=$func_convert_core_msys_to_w32_result
    18533147    func_convert_path_check : ";" \
    18543148      "$func_to_host_path_tmp1" "$func_to_host_path_result"
     
    18643158func_convert_path_cygwin_to_w32 ()
    18653159{
    1866   $opt_debug
    1867   func_to_host_path_result="$1"
     3160  $debug_cmd
     3161
     3162  func_to_host_path_result=$1
    18683163  if test -n "$1"; then
    18693164    # See func_convert_path_msys_to_w32:
     
    18843179func_convert_path_nix_to_w32 ()
    18853180{
    1886   $opt_debug
    1887   func_to_host_path_result="$1"
     3181  $debug_cmd
     3182
     3183  func_to_host_path_result=$1
    18883184  if test -n "$1"; then
    18893185    # See func_convert_path_msys_to_w32:
     
    18913187    func_to_host_path_tmp1=$func_stripname_result
    18923188    func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
    1893     func_to_host_path_result="$func_convert_core_path_wine_to_w32_result"
     3189    func_to_host_path_result=$func_convert_core_path_wine_to_w32_result
    18943190    func_convert_path_check : ";" \
    18953191      "$func_to_host_path_tmp1" "$func_to_host_path_result"
     
    19053201func_convert_path_msys_to_cygwin ()
    19063202{
    1907   $opt_debug
    1908   func_to_host_path_result="$1"
     3203  $debug_cmd
     3204
     3205  func_to_host_path_result=$1
    19093206  if test -n "$1"; then
    19103207    # See func_convert_path_msys_to_w32:
     
    19133210    func_convert_core_msys_to_w32 "$func_to_host_path_tmp1"
    19143211    func_cygpath -u -p "$func_convert_core_msys_to_w32_result"
    1915     func_to_host_path_result="$func_cygpath_result"
     3212    func_to_host_path_result=$func_cygpath_result
    19163213    func_convert_path_check : : \
    19173214      "$func_to_host_path_tmp1" "$func_to_host_path_result"
     
    19283225func_convert_path_nix_to_cygwin ()
    19293226{
    1930   $opt_debug
    1931   func_to_host_path_result="$1"
     3227  $debug_cmd
     3228
     3229  func_to_host_path_result=$1
    19323230  if test -n "$1"; then
    19333231    # Remove leading and trailing path separator characters from
     
    19383236    func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1"
    19393237    func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result"
    1940     func_to_host_path_result="$func_cygpath_result"
     3238    func_to_host_path_result=$func_cygpath_result
    19413239    func_convert_path_check : : \
    19423240      "$func_to_host_path_tmp1" "$func_to_host_path_result"
     
    19473245
    19483246
     3247# func_dll_def_p FILE
     3248# True iff FILE is a Windows DLL '.def' file.
     3249# Keep in sync with _LT_DLL_DEF_P in libtool.m4
     3250func_dll_def_p ()
     3251{
     3252  $debug_cmd
     3253
     3254  func_dll_def_p_tmp=`$SED -n \
     3255    -e 's/^[     ]*//' \
     3256    -e '/^\(;.*\)*$/d' \
     3257    -e 's/^\(EXPORTS\|LIBRARY\)\([       ].*\)*$/DEF/p' \
     3258    -e q \
     3259    "$1"`
     3260  test DEF = "$func_dll_def_p_tmp"
     3261}
     3262
     3263
    19493264# func_mode_compile arg...
    19503265func_mode_compile ()
    19513266{
    1952     $opt_debug
     3267    $debug_cmd
     3268
    19533269    # Get the compilation command and the source file.
    19543270    base_compile=
    1955     srcfile="$nonopt"  #  always keep a non-empty value in "srcfile"
     3271    srcfile=$nonopt  #  always keep a non-empty value in "srcfile"
    19563272    suppress_opt=yes
    19573273    suppress_output=
     
    19663282      arg  )
    19673283        # do not "continue".  Instead, add this to base_compile
    1968         lastarg="$arg"
     3284        lastarg=$arg
    19693285        arg_mode=normal
    19703286        ;;
    19713287
    19723288      target )
    1973         libobj="$arg"
     3289        libobj=$arg
    19743290        arg_mode=normal
    19753291        continue
     
    19813297        -o)
    19823298          test -n "$libobj" && \
    1983             func_fatal_error "you cannot specify \`-o' more than once"
     3299            func_fatal_error "you cannot specify '-o' more than once"
    19843300          arg_mode=target
    19853301          continue
     
    20103326          args=$func_stripname_result
    20113327          lastarg=
    2012           save_ifs="$IFS"; IFS=','
     3328          save_ifs=$IFS; IFS=,
    20133329          for arg in $args; do
    2014             IFS="$save_ifs"
     3330            IFS=$save_ifs
    20153331            func_append_quoted lastarg "$arg"
    20163332          done
    2017           IFS="$save_ifs"
     3333          IFS=$save_ifs
    20183334          func_stripname ' ' '' "$lastarg"
    20193335          lastarg=$func_stripname_result
     
    20283344          # The previous "srcfile" becomes the current argument.
    20293345          #
    2030           lastarg="$srcfile"
    2031           srcfile="$arg"
     3346          lastarg=$srcfile
     3347          srcfile=$arg
    20323348          ;;
    20333349        esac  #  case $arg
     
    20443360      ;;
    20453361    target)
    2046       func_fatal_error "you must specify a target with \`-o'"
     3362      func_fatal_error "you must specify a target with '-o'"
    20473363      ;;
    20483364    *)
     
    20503366      test -z "$libobj" && {
    20513367        func_basename "$srcfile"
    2052         libobj="$func_basename_result"
     3368        libobj=$func_basename_result
    20533369      }
    20543370      ;;
     
    20703386    *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;;
    20713387    *)
    2072       func_fatal_error "cannot determine name of library object from \`$libobj'"
     3388      func_fatal_error "cannot determine name of library object from '$libobj'"
    20733389      ;;
    20743390    esac
     
    20793395      case $arg in
    20803396      -shared)
    2081         test "$build_libtool_libs" != yes && \
    2082           func_fatal_configuration "can not build a shared library"
     3397        test yes = "$build_libtool_libs" \
     3398          || func_fatal_configuration "cannot build a shared library"
    20833399        build_old_libs=no
    20843400        continue
     
    21063422    test "X$libobj" != "X$func_quote_for_eval_result" \
    21073423      && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"'    &()|`$[]' \
    2108       && func_warning "libobj name \`$libobj' may not contain shell special characters."
     3424      && func_warning "libobj name '$libobj' may not contain shell special characters."
    21093425    func_dirname_and_basename "$obj" "/" ""
    2110     objname="$func_basename_result"
    2111     xdir="$func_dirname_result"
    2112     lobj=${xdir}$objdir/$objname
     3426    objname=$func_basename_result
     3427    xdir=$func_dirname_result
     3428    lobj=$xdir$objdir/$objname
    21133429
    21143430    test -z "$base_compile" && \
     
    21163432
    21173433    # Delete any leftover library objects.
    2118     if test "$build_old_libs" = yes; then
     3434    if test yes = "$build_old_libs"; then
    21193435      removelist="$obj $lobj $libobj ${libobj}T"
    21203436    else
     
    21283444      ;;
    21293445    esac
    2130     if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then
     3446    if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then
    21313447      # non-PIC code in shared libraries is not supported
    21323448      pic_mode=default
     
    21353451    # Calculate the filename of the output object if compiler does
    21363452    # not support -o with -c
    2137     if test "$compiler_c_o" = no; then
    2138       output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext}
    2139       lockfile="$output_obj.lock"
     3453    if test no = "$compiler_c_o"; then
     3454      output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext
     3455      lockfile=$output_obj.lock
    21403456    else
    21413457      output_obj=
     
    21463462    # Lock this critical section if it is needed
    21473463    # We use this script file to make the link, it avoids creating a new file
    2148     if test "$need_locks" = yes; then
     3464    if test yes = "$need_locks"; then
    21493465      until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
    21503466        func_echo "Waiting for $lockfile to be removed"
    21513467        sleep 2
    21523468      done
    2153     elif test "$need_locks" = warn; then
     3469    elif test warn = "$need_locks"; then
    21543470      if test -f "$lockfile"; then
    21553471        $ECHO "\
     
    21593475This indicates that another process is trying to use the same
    21603476temporary object file, and libtool could not work around it because
    2161 your compiler does not support \`-c' and \`-o' together.  If you
     3477your compiler does not support '-c' and '-o' together.  If you
    21623478repeat this compilation, it may succeed, by chance, but you had better
    21633479avoid parallel builds (make -j) in this platform, or get a better
     
    21813497
    21823498    # Only build a PIC object if we are building libtool libraries.
    2183     if test "$build_libtool_libs" = yes; then
     3499    if test yes = "$build_libtool_libs"; then
    21843500      # Without this assignment, base_compile gets emptied.
    21853501      fbsd_hideous_sh_bug=$base_compile
    21863502
    2187       if test "$pic_mode" != no; then
     3503      if test no != "$pic_mode"; then
    21883504        command="$base_compile $qsrcfile $pic_flag"
    21893505      else
     
    22023518          'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE'
    22033519
    2204       if test "$need_locks" = warn &&
     3520      if test warn = "$need_locks" &&
    22053521         test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
    22063522        $ECHO "\
     
    22133529This indicates that another process is trying to use the same
    22143530temporary object file, and libtool could not work around it because
    2215 your compiler does not support \`-c' and \`-o' together.  If you
     3531your compiler does not support '-c' and '-o' together.  If you
    22163532repeat this compilation, it may succeed, by chance, but you had better
    22173533avoid parallel builds (make -j) in this platform, or get a better
     
    22293545
    22303546      # Allow error messages only from the first compilation.
    2231       if test "$suppress_opt" = yes; then
     3547      if test yes = "$suppress_opt"; then
    22323548        suppress_output=' >/dev/null 2>&1'
    22333549      fi
     
    22353551
    22363552    # Only build a position-dependent object if we build old libraries.
    2237     if test "$build_old_libs" = yes; then
    2238       if test "$pic_mode" != yes; then
     3553    if test yes = "$build_old_libs"; then
     3554      if test yes != "$pic_mode"; then
    22393555        # Don't build PIC code
    22403556        command="$base_compile $qsrcfile$pie_flag"
     
    22423558        command="$base_compile $qsrcfile $pic_flag"
    22433559      fi
    2244       if test "$compiler_c_o" = yes; then
     3560      if test yes = "$compiler_c_o"; then
    22453561        func_append command " -o $obj"
    22463562      fi
     
    22513567        '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE'
    22523568
    2253       if test "$need_locks" = warn &&
     3569      if test warn = "$need_locks" &&
    22543570         test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then
    22553571        $ECHO "\
     
    22623578This indicates that another process is trying to use the same
    22633579temporary object file, and libtool could not work around it because
    2264 your compiler does not support \`-c' and \`-o' together.  If you
     3580your compiler does not support '-c' and '-o' together.  If you
    22653581repeat this compilation, it may succeed, by chance, but you had better
    22663582avoid parallel builds (make -j) in this platform, or get a better
     
    22823598
    22833599      # Unlock the critical section if it was locked
    2284       if test "$need_locks" != no; then
     3600      if test no != "$need_locks"; then
    22853601        removelist=$lockfile
    22863602        $RM "$lockfile"
     
    22923608
    22933609$opt_help || {
    2294   test "$opt_mode" = compile && func_mode_compile ${1+"$@"}
     3610  test compile = "$opt_mode" && func_mode_compile ${1+"$@"}
    22953611}
    22963612
     
    23123628
    23133629RM is the name of the program to use to delete files associated with each FILE
    2314 (typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
     3630(typically '/bin/rm').  RM-OPTIONS are options (such as '-f') to be passed
    23153631to RM.
    23163632
     
    23313647  -prefer-pic       try to build PIC objects only
    23323648  -prefer-non-pic   try to build non-PIC objects only
    2333   -shared           do not build a \`.o' file suitable for static linking
    2334   -static           only build a \`.o' file suitable for static linking
     3649  -shared           do not build a '.o' file suitable for static linking
     3650  -static           only build a '.o' file suitable for static linking
    23353651  -Wc,FLAG          pass FLAG directly to the compiler
    23363652
    2337 COMPILE-COMMAND is a command to be used in creating a \`standard' object file
     3653COMPILE-COMMAND is a command to be used in creating a 'standard' object file
    23383654from the given SOURCEFILE.
    23393655
    23403656The output file name is determined by removing the directory component from
    2341 SOURCEFILE, then substituting the C source code suffix \`.c' with the
    2342 library object suffix, \`.lo'."
     3657SOURCEFILE, then substituting the C source code suffix '.c' with the
     3658library object suffix, '.lo'."
    23433659        ;;
    23443660
     
    23533669  -dlopen FILE      add the directory containing FILE to the library path
    23543670
    2355 This mode sets the library path environment variable according to \`-dlopen'
     3671This mode sets the library path environment variable according to '-dlopen'
    23563672flags.
    23573673
     
    23723688
    23733689The commands that this mode executes may require superuser privileges.  Use
    2374 the \`--dry-run' option if you just want to see what would be executed."
     3690the '--dry-run' option if you just want to see what would be executed."
    23753691        ;;
    23763692
     
    23823698
    23833699INSTALL-COMMAND is the installation command.  The first component should be
    2384 either the \`install' or \`cp' program.
     3700either the 'install' or 'cp' program.
    23853701
    23863702The following components of INSTALL-COMMAND are treated specially:
     
    24083724  -bindir BINDIR    specify path to binaries directory (for systems where
    24093725                    libraries must be found in the PATH setting at runtime)
    2410   -dlopen FILE      \`-dlpreopen' FILE if it cannot be dlopened at runtime
     3726  -dlopen FILE      '-dlpreopen' FILE if it cannot be dlopened at runtime
    24113727  -dlpreopen FILE   link in FILE and add its symbols to lt_preloaded_symbols
    24123728  -export-dynamic   allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
     
    24223738  -no-undefined     declare that a library does not refer to external symbols
    24233739  -o OUTPUT-FILE    create OUTPUT-FILE from the specified objects
    2424   -objectlist FILE  Use a list of object files found in FILE to specify objects
     3740  -objectlist FILE  use a list of object files found in FILE to specify objects
     3741  -os2dllname NAME  force a short DLL name on OS/2 (no effect on other OSes)
    24253742  -precious-files-regex REGEX
    24263743                    don't remove output files matching REGEX
     
    24423759  -XCClinker FLAG   pass link-specific FLAG to the compiler driver (CC)
    24433760
    2444 All other options (arguments beginning with \`-') are ignored.
    2445 
    2446 Every other argument is treated as a filename.  Files ending in \`.la' are
     3761All other options (arguments beginning with '-') are ignored.
     3762
     3763Every other argument is treated as a filename.  Files ending in '.la' are
    24473764treated as uninstalled libtool libraries, other files are standard or library
    24483765object files.
    24493766
    2450 If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
    2451 only library objects (\`.lo' files) may be specified, and \`-rpath' is
     3767If the OUTPUT-FILE ends in '.la', then a libtool library is created,
     3768only library objects ('.lo' files) may be specified, and '-rpath' is
    24523769required, except when creating a convenience library.
    24533770
    2454 If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
    2455 using \`ar' and \`ranlib', or on Windows using \`lib'.
    2456 
    2457 If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
     3771If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created
     3772using 'ar' and 'ranlib', or on Windows using 'lib'.
     3773
     3774If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file
    24583775is created, otherwise an executable program is created."
    24593776        ;;
     
    24663783
    24673784RM is the name of the program to use to delete files associated with each FILE
    2468 (typically \`/bin/rm').  RM-OPTIONS are options (such as \`-f') to be passed
     3785(typically '/bin/rm').  RM-OPTIONS are options (such as '-f') to be passed
    24693786to RM.
    24703787
     
    24743791
    24753792      *)
    2476         func_fatal_help "invalid operation mode \`$opt_mode'"
     3793        func_fatal_help "invalid operation mode '$opt_mode'"
    24773794        ;;
    24783795    esac
    24793796
    24803797    echo
    2481     $ECHO "Try \`$progname --help' for more information about other modes."
     3798    $ECHO "Try '$progname --help' for more information about other modes."
    24823799}
    24833800
    24843801# Now that we've collected a possible --mode arg, show help if necessary
    24853802if $opt_help; then
    2486   if test "$opt_help" = :; then
     3803  if test : = "$opt_help"; then
    24873804    func_mode_help
    24883805  else
     
    24923809        func_mode_help
    24933810      done
    2494     } | sed -n '1p; 2,$s/^Usage:/  or: /p'
     3811    } | $SED -n '1p; 2,$s/^Usage:/  or: /p'
    24953812    {
    24963813      func_help noexit
     
    25003817      done
    25013818    } |
    2502     sed '1d
     3819    $SED '1d
    25033820      /^When reporting/,/^Report/{
    25043821        H
     
    25173834func_mode_execute ()
    25183835{
    2519     $opt_debug
     3836    $debug_cmd
     3837
    25203838    # The first argument is the command name.
    2521     cmd="$nonopt"
     3839    cmd=$nonopt
    25223840    test -z "$cmd" && \
    25233841      func_fatal_help "you must specify a COMMAND"
     
    25263844    for file in $opt_dlopen; do
    25273845      test -f "$file" \
    2528         || func_fatal_help "\`$file' is not a file"
     3846        || func_fatal_help "'$file' is not a file"
    25293847
    25303848      dir=
     
    25363854        # Check to see that this really is a libtool archive.
    25373855        func_lalib_unsafe_p "$file" \
    2538           || func_fatal_help "\`$lib' is not a valid libtool archive"
     3856          || func_fatal_help "'$lib' is not a valid libtool archive"
    25393857
    25403858        # Read the libtool library.
     
    25473865          # Warn if it was a shared library.
    25483866          test -n "$library_names" && \
    2549             func_warning "\`$file' was not linked with \`-export-dynamic'"
     3867            func_warning "'$file' was not linked with '-export-dynamic'"
    25503868          continue
    25513869        fi
    25523870
    25533871        func_dirname "$file" "" "."
    2554         dir="$func_dirname_result"
     3872        dir=$func_dirname_result
    25553873
    25563874        if test -f "$dir/$objdir/$dlname"; then
     
    25583876        else
    25593877          if test ! -f "$dir/$dlname"; then
    2560             func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'"
     3878            func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'"
    25613879          fi
    25623880        fi
     
    25663884        # Just add the directory containing the .lo file.
    25673885        func_dirname "$file" "" "."
    2568         dir="$func_dirname_result"
     3886        dir=$func_dirname_result
    25693887        ;;
    25703888
    25713889      *)
    2572         func_warning "\`-dlopen' is ignored for non-libtool libraries and objects"
     3890        func_warning "'-dlopen' is ignored for non-libtool libraries and objects"
    25733891        continue
    25743892        ;;
     
    25773895      # Get the absolute pathname.
    25783896      absdir=`cd "$dir" && pwd`
    2579       test -n "$absdir" && dir="$absdir"
     3897      test -n "$absdir" && dir=$absdir
    25803898
    25813899      # Now add the directory to shlibpath_var.
     
    25893907    # This variable tells wrapper scripts just to set shlibpath_var
    25903908    # rather than running their programs.
    2591     libtool_execute_magic="$magic"
     3909    libtool_execute_magic=$magic
    25923910
    25933911    # Check if any of the arguments is a wrapper script.
     
    26023920          func_source "$file"
    26033921          # Transform arg to wrapped name.
    2604           file="$progdir/$program"
     3922          file=$progdir/$program
    26053923        elif func_ltwrapper_executable_p "$file"; then
    26063924          func_ltwrapper_scriptname "$file"
    26073925          func_source "$func_ltwrapper_scriptname_result"
    26083926          # Transform arg to wrapped name.
    2609           file="$progdir/$program"
     3927          file=$progdir/$program
    26103928        fi
    26113929        ;;
     
    26153933    done
    26163934
    2617     if test "X$opt_dry_run" = Xfalse; then
     3935    if $opt_dry_run; then
     3936      # Display what would be done.
     3937      if test -n "$shlibpath_var"; then
     3938        eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
     3939        echo "export $shlibpath_var"
     3940      fi
     3941      $ECHO "$cmd$args"
     3942      exit $EXIT_SUCCESS
     3943    else
    26183944      if test -n "$shlibpath_var"; then
    26193945        # Export the shlibpath_var.
     
    26323958
    26333959      # Now prepare to actually exec the command.
    2634       exec_cmd="\$cmd$args"
    2635     else
    2636       # Display what would be done.
    2637       if test -n "$shlibpath_var"; then
    2638         eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\""
    2639         echo "export $shlibpath_var"
    2640       fi
    2641       $ECHO "$cmd$args"
    2642       exit $EXIT_SUCCESS
     3960      exec_cmd=\$cmd$args
    26433961    fi
    26443962}
    26453963
    2646 test "$opt_mode" = execute && func_mode_execute ${1+"$@"}
     3964test execute = "$opt_mode" && func_mode_execute ${1+"$@"}
    26473965
    26483966
     
    26503968func_mode_finish ()
    26513969{
    2652     $opt_debug
     3970    $debug_cmd
     3971
    26533972    libs=
    26543973    libdirs=
     
    26643983          func_append libs " $opt"
    26653984        else
    2666           func_warning "\`$opt' is not a valid libtool archive"
     3985          func_warning "'$opt' is not a valid libtool archive"
    26673986        fi
    26683987
    26693988      else
    2670         func_fatal_error "invalid argument \`$opt'"
     3989        func_fatal_error "invalid argument '$opt'"
    26713990      fi
    26723991    done
     
    26834002      if $opt_dry_run; then
    26844003        for lib in $libs; do
    2685           echo "removing references to $lt_sysroot and \`=' prefixes from $lib"
     4004          echo "removing references to $lt_sysroot and '=' prefixes from $lib"
    26864005        done
    26874006      else
    26884007        tmpdir=`func_mktempdir`
    26894008        for lib in $libs; do
    2690           sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
     4009          $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \
    26914010            > $tmpdir/tmp-la
    26924011          mv -f $tmpdir/tmp-la $lib
     
    27134032
    27144033    # Exit here if they wanted silent mode.
    2715     $opt_silent && exit $EXIT_SUCCESS
     4034    $opt_quiet && exit $EXIT_SUCCESS
    27164035
    27174036    if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then
     
    27244043      echo "If you ever happen to want to link against installed libraries"
    27254044      echo "in a given directory, LIBDIR, you must either use libtool, and"
    2726       echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
     4045      echo "specify the full pathname of the library, or use the '-LLIBDIR'"
    27274046      echo "flag during linking and do at least one of the following:"
    27284047      if test -n "$shlibpath_var"; then
    2729         echo "   - add LIBDIR to the \`$shlibpath_var' environment variable"
     4048        echo "   - add LIBDIR to the '$shlibpath_var' environment variable"
    27304049        echo "     during execution"
    27314050      fi
    27324051      if test -n "$runpath_var"; then
    2733         echo "   - add LIBDIR to the \`$runpath_var' environment variable"
     4052        echo "   - add LIBDIR to the '$runpath_var' environment variable"
    27344053        echo "     during linking"
    27354054      fi
     
    27384057        eval flag=\"$hardcode_libdir_flag_spec\"
    27394058
    2740         $ECHO "   - use the \`$flag' linker flag"
     4059        $ECHO "   - use the '$flag' linker flag"
    27414060      fi
    27424061      if test -n "$admincmds"; then
     
    27444063      fi
    27454064      if test -f /etc/ld.so.conf; then
    2746         echo "   - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
     4065        echo "   - have your system administrator add LIBDIR to '/etc/ld.so.conf'"
    27474066      fi
    27484067      echo
     
    27634082}
    27644083
    2765 test "$opt_mode" = finish && func_mode_finish ${1+"$@"}
     4084test finish = "$opt_mode" && func_mode_finish ${1+"$@"}
    27664085
    27674086
     
    27694088func_mode_install ()
    27704089{
    2771     $opt_debug
     4090    $debug_cmd
     4091
    27724092    # There may be an optional sh(1) argument at the beginning of
    27734093    # install_prog (especially on Windows NT).
    2774     if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh ||
     4094    if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" ||
    27754095       # Allow the use of GNU shtool's install command.
    2776        case $nonopt in *shtool*) :;; *) false;; esac; then
     4096       case $nonopt in *shtool*) :;; *) false;; esac
     4097    then
    27774098      # Aesthetically quote it.
    27784099      func_quote_for_eval "$nonopt"
     
    28014122    prev=
    28024123    install_type=
    2803     isdir=no
     4124    isdir=false
    28044125    stripme=
    28054126    no_mode=:
     
    28144135
    28154136      case $arg in
    2816       -d) isdir=yes ;;
     4137      -d) isdir=: ;;
    28174138      -f)
    28184139        if $install_cp; then :; else
     
    28324153        # If the previous option needed an argument, then skip it.
    28334154        if test -n "$prev"; then
    2834           if test "x$prev" = x-m && test -n "$install_override_mode"; then
     4155          if test X-m = "X$prev" && test -n "$install_override_mode"; then
    28354156            arg2=$install_override_mode
    28364157            no_mode=false
     
    28574178
    28584179    test -n "$prev" && \
    2859       func_fatal_help "the \`$prev' option requires an argument"
     4180      func_fatal_help "the '$prev' option requires an argument"
    28604181
    28614182    if test -n "$install_override_mode" && $no_mode; then
     
    28794200
    28804201    # Check to see that the destination is a directory.
    2881     test -d "$dest" && isdir=yes
    2882     if test "$isdir" = yes; then
    2883       destdir="$dest"
     4202    test -d "$dest" && isdir=:
     4203    if $isdir; then
     4204      destdir=$dest
    28844205      destname=
    28854206    else
    28864207      func_dirname_and_basename "$dest" "" "."
    2887       destdir="$func_dirname_result"
    2888       destname="$func_basename_result"
     4208      destdir=$func_dirname_result
     4209      destname=$func_basename_result
    28894210
    28904211      # Not a directory, so check to see that there is only one file specified.
    28914212      set dummy $files; shift
    28924213      test "$#" -gt 1 && \
    2893         func_fatal_help "\`$dest' is not a directory"
     4214        func_fatal_help "'$dest' is not a directory"
    28944215    fi
    28954216    case $destdir in
     
    29004221        *.lo) ;;
    29014222        *)
    2902           func_fatal_help "\`$destdir' must be an absolute directory name"
     4223          func_fatal_help "'$destdir' must be an absolute directory name"
    29034224          ;;
    29044225        esac
     
    29094230    # This variable tells wrapper scripts just to set variables rather
    29104231    # than running their programs.
    2911     libtool_install_magic="$magic"
     4232    libtool_install_magic=$magic
    29124233
    29134234    staticlibs=
     
    29294250        # Check to see that this really is a libtool archive.
    29304251        func_lalib_unsafe_p "$file" \
    2931           || func_fatal_help "\`$file' is not a valid libtool archive"
     4252          || func_fatal_help "'$file' is not a valid libtool archive"
    29324253
    29334254        library_names=
     
    29514272
    29524273        func_dirname "$file" "/" ""
    2953         dir="$func_dirname_result"
     4274        dir=$func_dirname_result
    29544275        func_append dir "$objdir"
    29554276
     
    29654286          # but it's something to keep an eye on.
    29664287          test "$inst_prefix_dir" = "$destdir" && \
    2967             func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
     4288            func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir"
    29684289
    29694290          if test -n "$inst_prefix_dir"; then
     
    29744295          fi
    29754296
    2976           func_warning "relinking \`$file'"
     4297          func_warning "relinking '$file'"
    29774298          func_show_eval "$relink_command" \
    2978             'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
     4299            'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"'
    29794300        fi
    29804301
     
    29824303        set dummy $library_names; shift
    29834304        if test -n "$1"; then
    2984           realname="$1"
     4305          realname=$1
    29854306          shift
    29864307
    2987           srcname="$realname"
    2988           test -n "$relink_command" && srcname="$realname"T
     4308          srcname=$realname
     4309          test -n "$relink_command" && srcname=${realname}T
    29894310
    29904311          # Install the shared library and build the symlinks.
    29914312          func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \
    29924313              'exit $?'
    2993           tstripme="$stripme"
     4314          tstripme=$stripme
    29944315          case $host_os in
    29954316          cygwin* | mingw* | pw32* | cegcc*)
    29964317            case $realname in
    29974318            *.dll.a)
    2998               tstripme=""
     4319              tstripme=
     4320              ;;
     4321            esac
     4322            ;;
     4323          os2*)
     4324            case $realname in
     4325            *_dll.a)
     4326              tstripme=
    29994327              ;;
    30004328            esac
     
    30074335          if test "$#" -gt 0; then
    30084336            # Delete the old symlinks, and create new ones.
    3009             # Try `ln -sf' first, because the `ln' binary might depend on
     4337            # Try 'ln -sf' first, because the 'ln' binary might depend on
    30104338            # the symlink we replace!  Solaris /bin/ln does not understand -f,
    30114339            # so we also need to try rm && ln -s.
     
    30184346
    30194347          # Do each command in the postinstall commands.
    3020           lib="$destdir/$realname"
     4348          lib=$destdir/$realname
    30214349          func_execute_cmds "$postinstall_cmds" 'exit $?'
    30224350        fi
     
    30244352        # Install the pseudo-library for information purposes.
    30254353        func_basename "$file"
    3026         name="$func_basename_result"
    3027         instname="$dir/$name"i
     4354        name=$func_basename_result
     4355        instname=$dir/${name}i
    30284356        func_show_eval "$install_prog $instname $destdir/$name" 'exit $?'
    30294357
     
    30374365        # Figure out destination file name, if it wasn't already specified.
    30384366        if test -n "$destname"; then
    3039           destfile="$destdir/$destname"
     4367          destfile=$destdir/$destname
    30404368        else
    30414369          func_basename "$file"
    3042           destfile="$func_basename_result"
    3043           destfile="$destdir/$destfile"
     4370          destfile=$func_basename_result
     4371          destfile=$destdir/$destfile
    30444372        fi
    30454373
     
    30514379          ;;
    30524380        *.$objext)
    3053           staticdest="$destfile"
     4381          staticdest=$destfile
    30544382          destfile=
    30554383          ;;
    30564384        *)
    3057           func_fatal_help "cannot copy a libtool object to \`$destfile'"
     4385          func_fatal_help "cannot copy a libtool object to '$destfile'"
    30584386          ;;
    30594387        esac
     
    30644392
    30654393        # Install the old object if enabled.
    3066         if test "$build_old_libs" = yes; then
     4394        if test yes = "$build_old_libs"; then
    30674395          # Deduce the name of the old-style object file.
    30684396          func_lo2o "$file"
     
    30764404        # Figure out destination file name, if it wasn't already specified.
    30774405        if test -n "$destname"; then
    3078           destfile="$destdir/$destname"
     4406          destfile=$destdir/$destname
    30794407        else
    30804408          func_basename "$file"
    3081           destfile="$func_basename_result"
    3082           destfile="$destdir/$destfile"
     4409          destfile=$func_basename_result
     4410          destfile=$destdir/$destfile
    30834411        fi
    30844412
     
    30864414        # because it is most likely a libtool script we actually want to
    30874415        # install
    3088         stripped_ext=""
     4416        stripped_ext=
    30894417        case $file in
    30904418          *.exe)
     
    30924420              func_stripname '' '.exe' "$file"
    30934421              file=$func_stripname_result
    3094               stripped_ext=".exe"
     4422              stripped_ext=.exe
    30954423            fi
    30964424            ;;
     
    31204448          # Check the variables that should have been set.
    31214449          test -z "$generated_by_libtool_version" && \
    3122             func_fatal_error "invalid libtool wrapper script \`$wrapper'"
    3123 
    3124           finalize=yes
     4450            func_fatal_error "invalid libtool wrapper script '$wrapper'"
     4451
     4452          finalize=:
    31254453          for lib in $notinst_deplibs; do
    31264454            # Check to see that each library is installed.
     
    31294457              func_source "$lib"
    31304458            fi
    3131             libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test
     4459            libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'`
    31324460            if test -n "$libdir" && test ! -f "$libfile"; then
    3133               func_warning "\`$lib' has not been installed in \`$libdir'"
    3134               finalize=no
     4461              func_warning "'$lib' has not been installed in '$libdir'"
     4462              finalize=false
    31354463            fi
    31364464          done
     
    31404468
    31414469          outputname=
    3142           if test "$fast_install" = no && test -n "$relink_command"; then
     4470          if test no = "$fast_install" && test -n "$relink_command"; then
    31434471            $opt_dry_run || {
    3144               if test "$finalize" = yes; then
     4472              if $finalize; then
    31454473                tmpdir=`func_mktempdir`
    31464474                func_basename "$file$stripped_ext"
    3147                 file="$func_basename_result"
    3148                 outputname="$tmpdir/$file"
     4475                file=$func_basename_result
     4476                outputname=$tmpdir/$file
    31494477                # Replace the output file specification.
    31504478                relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'`
    31514479
    3152                 $opt_silent || {
     4480                $opt_quiet || {
    31534481                  func_quote_for_expand "$relink_command"
    31544482                  eval "func_echo $func_quote_for_expand_result"
     
    31564484                if eval "$relink_command"; then :
    31574485                  else
    3158                   func_error "error: relink \`$file' with the above command before installing it"
     4486                  func_error "error: relink '$file' with the above command before installing it"
    31594487                  $opt_dry_run || ${RM}r "$tmpdir"
    31604488                  continue
    31614489                fi
    3162                 file="$outputname"
     4490                file=$outputname
    31634491              else
    3164                 func_warning "cannot relink \`$file'"
     4492                func_warning "cannot relink '$file'"
    31654493              fi
    31664494            }
     
    31994527    for file in $staticlibs; do
    32004528      func_basename "$file"
    3201       name="$func_basename_result"
     4529      name=$func_basename_result
    32024530
    32034531      # Set up the ranlib parameters.
    3204       oldlib="$destdir/$name"
     4532      oldlib=$destdir/$name
    32054533      func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
    32064534      tool_oldlib=$func_to_tool_file_result
     
    32174545
    32184546    test -n "$future_libdirs" && \
    3219       func_warning "remember to run \`$progname --finish$future_libdirs'"
     4547      func_warning "remember to run '$progname --finish$future_libdirs'"
    32204548
    32214549    if test -n "$current_libdirs"; then
    32224550      # Maybe just do a dry run.
    32234551      $opt_dry_run && current_libdirs=" -n$current_libdirs"
    3224       exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs'
     4552      exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs'
    32254553    else
    32264554      exit $EXIT_SUCCESS
     
    32284556}
    32294557
    3230 test "$opt_mode" = install && func_mode_install ${1+"$@"}
     4558test install = "$opt_mode" && func_mode_install ${1+"$@"}
    32314559
    32324560
     
    32364564func_generate_dlsyms ()
    32374565{
    3238     $opt_debug
    3239     my_outputname="$1"
    3240     my_originator="$2"
    3241     my_pic_p="${3-no}"
    3242     my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'`
     4566    $debug_cmd
     4567
     4568    my_outputname=$1
     4569    my_originator=$2
     4570    my_pic_p=${3-false}
     4571    my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'`
    32434572    my_dlsyms=
    32444573
    3245     if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
     4574    if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
    32464575      if test -n "$NM" && test -n "$global_symbol_pipe"; then
    3247         my_dlsyms="${my_outputname}S.c"
     4576        my_dlsyms=${my_outputname}S.c
    32484577      else
    32494578        func_error "not configured to extract global symbols from dlpreopened files"
     
    32564585      *.c)
    32574586        # Discover the nlist of each of the dlfiles.
    3258         nlist="$output_objdir/${my_outputname}.nm"
     4587        nlist=$output_objdir/$my_outputname.nm
    32594588
    32604589        func_show_eval "$RM $nlist ${nlist}S ${nlist}T"
     
    32644593
    32654594        $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\
    3266 /* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */
    3267 /* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */
     4595/* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */
     4596/* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */
    32684597
    32694598#ifdef __cplusplus
     
    32714600#endif
    32724601
    3273 #if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
     4602#if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
    32744603#pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
    32754604#endif
    32764605
    32774606/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
    3278 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
    3279 /* DATA imports from DLLs on WIN32 con't be const, because runtime
     4607#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
     4608/* DATA imports from DLLs on WIN32 can't be const, because runtime
    32804609   relocations are performed -- see ld's documentation on pseudo-relocs.  */
    32814610# define LT_DLSYM_CONST
    3282 #elif defined(__osf__)
     4611#elif defined __osf__
    32834612/* This system does not cope well with relocations in const data.  */
    32844613# define LT_DLSYM_CONST
     
    32874616#endif
    32884617
     4618#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
     4619
    32894620/* External symbol declarations for the compiler. */\
    32904621"
    32914622
    3292         if test "$dlself" = yes; then
    3293           func_verbose "generating symbol list for \`$output'"
     4623        if test yes = "$dlself"; then
     4624          func_verbose "generating symbol list for '$output'"
    32944625
    32954626          $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist"
     
    32994630          for progfile in $progfiles; do
    33004631            func_to_tool_file "$progfile" func_convert_file_msys_to_w32
    3301             func_verbose "extracting global C symbols from \`$func_to_tool_file_result'"
     4632            func_verbose "extracting global C symbols from '$func_to_tool_file_result'"
    33024633            $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'"
    33034634          done
     
    33194650          # Prepare the list of exported symbols
    33204651          if test -z "$export_symbols"; then
    3321             export_symbols="$output_objdir/$outputname.exp"
     4652            export_symbols=$output_objdir/$outputname.exp
    33224653            $opt_dry_run || {
    33234654              $RM $export_symbols
    3324               eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
     4655              eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"'
    33254656              case $host in
    33264657              *cygwin* | *mingw* | *cegcc* )
     
    33324663          else
    33334664            $opt_dry_run || {
    3334               eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
     4665              eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
    33354666              eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T'
    33364667              eval '$MV "$nlist"T "$nlist"'
     
    33464677
    33474678        for dlprefile in $dlprefiles; do
    3348           func_verbose "extracting global C symbols from \`$dlprefile'"
     4679          func_verbose "extracting global C symbols from '$dlprefile'"
    33494680          func_basename "$dlprefile"
    3350           name="$func_basename_result"
     4681          name=$func_basename_result
    33514682          case $host in
    33524683            *cygwin* | *mingw* | *cegcc* )
     
    33554686                func_tr_sh "$dlprefile"
    33564687                eval "curr_lafile=\$libfile_$func_tr_sh_result"
    3357                 dlprefile_dlbasename=""
     4688                dlprefile_dlbasename=
    33584689                if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then
    33594690                  # Use subshell, to avoid clobbering current variable values
    33604691                  dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"`
    3361                   if test -n "$dlprefile_dlname" ; then
     4692                  if test -n "$dlprefile_dlname"; then
    33624693                    func_basename "$dlprefile_dlname"
    3363                     dlprefile_dlbasename="$func_basename_result"
     4694                    dlprefile_dlbasename=$func_basename_result
    33644695                  else
    33654696                    # no lafile. user explicitly requested -dlpreopen <import library>.
     
    33694700                fi
    33704701                $opt_dry_run || {
    3371                   if test -n "$dlprefile_dlbasename" ; then
     4702                  if test -n "$dlprefile_dlbasename"; then
    33724703                    eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"'
    33734704                  else
     
    34254756          fi
    34264757
     4758          func_show_eval '$RM "${nlist}I"'
     4759          if test -n "$global_symbol_to_import"; then
     4760            eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I'
     4761          fi
     4762
    34274763          echo >> "$output_objdir/$my_dlsyms" "\
    34284764
     
    34334769} lt_dlsymlist;
    34344770extern LT_DLSYM_CONST lt_dlsymlist
    3435 lt_${my_prefix}_LTX_preloaded_symbols[];
     4771lt_${my_prefix}_LTX_preloaded_symbols[];\
     4772"
     4773
     4774          if test -s "$nlist"I; then
     4775            echo >> "$output_objdir/$my_dlsyms" "\
     4776static void lt_syminit(void)
     4777{
     4778  LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols;
     4779  for (; symbol->name; ++symbol)
     4780    {"
     4781            $SED 's/.*/      if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms"
     4782            echo >> "$output_objdir/$my_dlsyms" "\
     4783    }
     4784}"
     4785          fi
     4786          echo >> "$output_objdir/$my_dlsyms" "\
    34364787LT_DLSYM_CONST lt_dlsymlist
    34374788lt_${my_prefix}_LTX_preloaded_symbols[] =
    3438 {\
    3439   { \"$my_originator\", (void *) 0 },"
     4789{ {\"$my_originator\", (void *) 0},"
     4790
     4791          if test -s "$nlist"I; then
     4792            echo >> "$output_objdir/$my_dlsyms" "\
     4793  {\"@INIT@\", (void *) &lt_syminit},"
     4794          fi
    34404795
    34414796          case $need_lib_prefix in
     
    34794834            pic_flag_for_symtable=" $pic_flag"  ;;
    34804835          *)
    3481             if test "X$my_pic_p" != Xno; then
    3482               pic_flag_for_symtable=" $pic_flag"
    3483             fi
     4836            $my_pic_p && pic_flag_for_symtable=" $pic_flag"
    34844837            ;;
    34854838          esac
     
    34984851
    34994852        # Clean up the generated files.
    3500         func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"'
     4853        func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"'
    35014854
    35024855        # Transform the symbol file into the correct name.
    3503         symfileobj="$output_objdir/${my_outputname}S.$objext"
     4856        symfileobj=$output_objdir/${my_outputname}S.$objext
    35044857        case $host in
    35054858        *cygwin* | *mingw* | *cegcc* )
     
    35194872        ;;
    35204873      *)
    3521         func_fatal_error "unknown suffix for \`$my_dlsyms'"
     4874        func_fatal_error "unknown suffix for '$my_dlsyms'"
    35224875        ;;
    35234876      esac
     
    35314884      finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"`
    35324885    fi
     4886}
     4887
     4888# func_cygming_gnu_implib_p ARG
     4889# This predicate returns with zero status (TRUE) if
     4890# ARG is a GNU/binutils-style import library. Returns
     4891# with nonzero status (FALSE) otherwise.
     4892func_cygming_gnu_implib_p ()
     4893{
     4894  $debug_cmd
     4895
     4896  func_to_tool_file "$1" func_convert_file_msys_to_w32
     4897  func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
     4898  test -n "$func_cygming_gnu_implib_tmp"
     4899}
     4900
     4901# func_cygming_ms_implib_p ARG
     4902# This predicate returns with zero status (TRUE) if
     4903# ARG is an MS-style import library. Returns
     4904# with nonzero status (FALSE) otherwise.
     4905func_cygming_ms_implib_p ()
     4906{
     4907  $debug_cmd
     4908
     4909  func_to_tool_file "$1" func_convert_file_msys_to_w32
     4910  func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
     4911  test -n "$func_cygming_ms_implib_tmp"
    35334912}
    35344913
     
    35424921func_win32_libid ()
    35434922{
    3544   $opt_debug
    3545   win32_libid_type="unknown"
     4923  $debug_cmd
     4924
     4925  win32_libid_type=unknown
    35464926  win32_fileres=`file -L $1 2>/dev/null`
    35474927  case $win32_fileres in
     
    35534933    if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null |
    35544934       $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then
    3555       func_to_tool_file "$1" func_convert_file_msys_to_w32
    3556       win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
    3557         $SED -n -e '
     4935      case $nm_interface in
     4936      "MS dumpbin")
     4937        if func_cygming_ms_implib_p "$1" ||
     4938           func_cygming_gnu_implib_p "$1"
     4939        then
     4940          win32_nmres=import
     4941        else
     4942          win32_nmres=
     4943        fi
     4944        ;;
     4945      *)
     4946        func_to_tool_file "$1" func_convert_file_msys_to_w32
     4947        win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" |
     4948          $SED -n -e '
    35584949            1,100{
    35594950                / I /{
    3560                     s,.*,import,
     4951                    s|.*|import|
    35614952                    p
    35624953                    q
    35634954                }
    35644955            }'`
     4956        ;;
     4957      esac
    35654958      case $win32_nmres in
    35664959      import*)  win32_libid_type="x86 archive import";;
     
    35944987func_cygming_dll_for_implib ()
    35954988{
    3596   $opt_debug
     4989  $debug_cmd
     4990
    35974991  sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"`
    35984992}
     
    36115005func_cygming_dll_for_implib_fallback_core ()
    36125006{
    3613   $opt_debug
     5007  $debug_cmd
     5008
    36145009  match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"`
    36155010  $OBJDUMP -s --section "$1" "$2" 2>/dev/null |
     
    36475042    # we now have a list, one entry per line, of the stringified
    36485043    # contents of the appropriate section of all members of the
    3649     # archive which possess that section. Heuristic: eliminate
    3650     # all those which have a first or second character that is
     5044    # archive that possess that section. Heuristic: eliminate
     5045    # all those that have a first or second character that is
    36515046    # a '.' (that is, objdump's representation of an unprintable
    36525047    # character.) This should work for all archives with less than
     
    36575052    # Of those that remain, print the first one.
    36585053    $SED -e '/^\./d;/^.\./d;q'
    3659 }
    3660 
    3661 # func_cygming_gnu_implib_p ARG
    3662 # This predicate returns with zero status (TRUE) if
    3663 # ARG is a GNU/binutils-style import library. Returns
    3664 # with nonzero status (FALSE) otherwise.
    3665 func_cygming_gnu_implib_p ()
    3666 {
    3667   $opt_debug
    3668   func_to_tool_file "$1" func_convert_file_msys_to_w32
    3669   func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'`
    3670   test -n "$func_cygming_gnu_implib_tmp"
    3671 }
    3672 
    3673 # func_cygming_ms_implib_p ARG
    3674 # This predicate returns with zero status (TRUE) if
    3675 # ARG is an MS-style import library. Returns
    3676 # with nonzero status (FALSE) otherwise.
    3677 func_cygming_ms_implib_p ()
    3678 {
    3679   $opt_debug
    3680   func_to_tool_file "$1" func_convert_file_msys_to_w32
    3681   func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'`
    3682   test -n "$func_cygming_ms_implib_tmp"
    36835054}
    36845055
     
    36965067func_cygming_dll_for_implib_fallback ()
    36975068{
    3698   $opt_debug
    3699   if func_cygming_gnu_implib_p "$1" ; then
     5069  $debug_cmd
     5070
     5071  if func_cygming_gnu_implib_p "$1"; then
    37005072    # binutils import library
    37015073    sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"`
    3702   elif func_cygming_ms_implib_p "$1" ; then
     5074  elif func_cygming_ms_implib_p "$1"; then
    37035075    # ms-generated import library
    37045076    sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"`
    37055077  else
    37065078    # unknown
    3707     sharedlib_from_linklib_result=""
     5079    sharedlib_from_linklib_result=
    37085080  fi
    37095081}
     
    37135085func_extract_an_archive ()
    37145086{
    3715     $opt_debug
    3716     f_ex_an_ar_dir="$1"; shift
    3717     f_ex_an_ar_oldlib="$1"
    3718     if test "$lock_old_archive_extraction" = yes; then
     5087    $debug_cmd
     5088
     5089    f_ex_an_ar_dir=$1; shift
     5090    f_ex_an_ar_oldlib=$1
     5091    if test yes = "$lock_old_archive_extraction"; then
    37195092      lockfile=$f_ex_an_ar_oldlib.lock
    37205093      until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do
     
    37255098    func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \
    37265099                   'stat=$?; rm -f "$lockfile"; exit $stat'
    3727     if test "$lock_old_archive_extraction" = yes; then
     5100    if test yes = "$lock_old_archive_extraction"; then
    37285101      $opt_dry_run || rm -f "$lockfile"
    37295102    fi
     
    37395112func_extract_archives ()
    37405113{
    3741     $opt_debug
    3742     my_gentop="$1"; shift
     5114    $debug_cmd
     5115
     5116    my_gentop=$1; shift
    37435117    my_oldlibs=${1+"$@"}
    3744     my_oldobjs=""
    3745     my_xlib=""
    3746     my_xabs=""
    3747     my_xdir=""
     5118    my_oldobjs=
     5119    my_xlib=
     5120    my_xabs=
     5121    my_xdir=
    37485122
    37495123    for my_xlib in $my_oldlibs; do
    37505124      # Extract the objects.
    37515125      case $my_xlib in
    3752         [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;;
     5126        [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;;
    37535127        *) my_xabs=`pwd`"/$my_xlib" ;;
    37545128      esac
    37555129      func_basename "$my_xlib"
    3756       my_xlib="$func_basename_result"
     5130      my_xlib=$func_basename_result
    37575131      my_xlib_u=$my_xlib
    37585132      while :; do
     
    37665140      done
    37675141      extracted_archives="$extracted_archives $my_xlib_u"
    3768       my_xdir="$my_gentop/$my_xlib_u"
     5142      my_xdir=$my_gentop/$my_xlib_u
    37695143
    37705144      func_mkdir_p "$my_xdir"
     
    37795153          darwin_archive=$my_xabs
    37805154          darwin_curdir=`pwd`
    3781           darwin_base_archive=`basename "$darwin_archive"`
     5155          func_basename "$darwin_archive"
     5156          darwin_base_archive=$func_basename_result
    37825157          darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true`
    37835158          if test -n "$darwin_arches"; then
     
    37855160            darwin_arch=
    37865161            func_verbose "$darwin_base_archive has multiple architectures $darwin_arches"
    3787             for darwin_arch in  $darwin_arches ; do
    3788               func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}"
    3789               $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}"
    3790               cd "unfat-$$/${darwin_base_archive}-${darwin_arch}"
    3791               func_extract_an_archive "`pwd`" "${darwin_base_archive}"
     5162            for darwin_arch in  $darwin_arches; do
     5163              func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch"
     5164              $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive"
     5165              cd "unfat-$$/$darwin_base_archive-$darwin_arch"
     5166              func_extract_an_archive "`pwd`" "$darwin_base_archive"
    37925167              cd "$darwin_curdir"
    3793               $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}"
     5168              $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive"
    37945169            done # $darwin_arches
    37955170            ## Okay now we've a bunch of thin objects, gotta fatten them up :)
    3796             darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u`
     5171            darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u`
    37975172            darwin_file=
    37985173            darwin_files=
     
    38165191    done
    38175192
    3818     func_extract_archives_result="$my_oldobjs"
     5193    func_extract_archives_result=$my_oldobjs
    38195194}
    38205195
     
    38315206# ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR
    38325207# variable will take.  If 'yes', then the emitted script
    3833 # will assume that the directory in which it is stored is
     5208# will assume that the directory where it is stored is
    38345209# the $objdir directory.  This is a cygwin/mingw-specific
    38355210# behavior.
     
    38425217
    38435218# $output - temporary wrapper script for $objdir/$outputname
    3844 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
     5219# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
    38455220#
    38465221# The $output program cannot be directly executed until all the libtool
     
    38995274# Very basic option parsing. These options are (a) specific to
    39005275# the libtool wrapper, (b) are identical between the wrapper
    3901 # /script/ and the wrapper /executable/ which is used only on
     5276# /script/ and the wrapper /executable/ that is used only on
    39025277# windows platforms, and (c) all begin with the string "--lt-"
    3903 # (application programs are unlikely to have options which match
     5278# (application programs are unlikely to have options that match
    39045279# this pattern).
    39055280#
     
    39345309  # Print the debug banner immediately:
    39355310  if test -n \"\$lt_option_debug\"; then
    3936     echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2
     5311    echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2
    39375312  fi
    39385313}
     
    39455320  for lt_arg
    39465321  do
    3947     \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\"
     5322    \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\"
    39485323    lt_dump_args_N=\`expr \$lt_dump_args_N + 1\`
    39495324  done
     
    39595334    $ECHO "\
    39605335      if test -n \"\$lt_option_debug\"; then
    3961         \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2
     5336        \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2
    39625337        func_lt_dump_args \${1+\"\$@\"} 1>&2
    39635338      fi
     
    39695344    $ECHO "\
    39705345      if test -n \"\$lt_option_debug\"; then
    3971         \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2
     5346        \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2
    39725347        func_lt_dump_args \${1+\"\$@\"} 1>&2
    39735348      fi
     
    40445419"
    40455420
    4046         if test "$fast_install" = yes; then
     5421        if test yes = "$fast_install"; then
    40475422          $ECHO "\
    40485423  program=lt-'$outputname'$exeext
     
    40505425
    40515426  if test ! -f \"\$progdir/\$program\" ||
    4052      { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
     5427     { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\
    40535428       test \"X\$file\" != \"X\$progdir/\$program\"; }; then
    40545429
     
    40675442      if relink_command_output=\`eval \$relink_command 2>&1\`; then :
    40685443      else
    4069         $ECHO \"\$relink_command_output\" >&2
     5444        \$ECHO \"\$relink_command_output\" >&2
    40705445        $RM \"\$progdir/\$file\"
    40715446        exit 1
     
    41025477
    41035478        # Export our shlibpath_var if we have one.
    4104         if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
     5479        if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
    41055480          $ECHO "\
    41065481    # Add our own library path to $shlibpath_var
     
    41225497  else
    41235498    # The program doesn't exist.
    4124     \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2
     5499    \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2
    41255500    \$ECHO \"This script is just a wrapper for \$program.\" 1>&2
    41265501    \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2
     
    41415516
    41425517/* $cwrappersource - temporary wrapper executable for $objdir/$outputname
    4143    Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
     5518   Generated by $PROGRAM (GNU $PACKAGE) $VERSION
    41445519
    41455520   The $output program cannot be directly executed until all the libtool
     
    41765551#include <sys/stat.h>
    41775552
     5553#define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0)
     5554
    41785555/* declarations of non-ANSI functions */
    4179 #if defined(__MINGW32__)
     5556#if defined __MINGW32__
    41805557# ifdef __STRICT_ANSI__
    41815558int _putenv (const char *);
    41825559# endif
    4183 #elif defined(__CYGWIN__)
     5560#elif defined __CYGWIN__
    41845561# ifdef __STRICT_ANSI__
    41855562char *realpath (const char *, char *);
     
    41875564int setenv (const char *, const char *, int);
    41885565# endif
    4189 /* #elif defined (other platforms) ... */
     5566/* #elif defined other_platform || defined ... */
    41905567#endif
    41915568
    41925569/* portability defines, excluding path handling macros */
    4193 #if defined(_MSC_VER)
     5570#if defined _MSC_VER
    41945571# define setmode _setmode
    41955572# define stat    _stat
     
    41985575# define putenv  _putenv
    41995576# define S_IXUSR _S_IEXEC
    4200 # ifndef _INTPTR_T_DEFINED
    4201 #  define _INTPTR_T_DEFINED
    4202 #  define intptr_t int
    4203 # endif
    4204 #elif defined(__MINGW32__)
     5577#elif defined __MINGW32__
    42055578# define setmode _setmode
    42065579# define stat    _stat
     
    42085581# define getcwd  _getcwd
    42095582# define putenv  _putenv
    4210 #elif defined(__CYGWIN__)
     5583#elif defined __CYGWIN__
    42115584# define HAVE_SETENV
    42125585# define FOPEN_WB "wb"
    4213 /* #elif defined (other platforms) ... */
     5586/* #elif defined other platforms ... */
    42145587#endif
    42155588
    4216 #if defined(PATH_MAX)
     5589#if defined PATH_MAX
    42175590# define LT_PATHMAX PATH_MAX
    4218 #elif defined(MAXPATHLEN)
     5591#elif defined MAXPATHLEN
    42195592# define LT_PATHMAX MAXPATHLEN
    42205593#else
     
    42355608#endif
    42365609
    4237 #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \
    4238   defined (__OS2__)
     5610#if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \
     5611  defined __OS2__
    42395612# define HAVE_DOS_BASED_FILE_SYSTEM
    42405613# define FOPEN_WB "wb"
     
    42695642#define XMALLOC(type, num)      ((type *) xmalloc ((num) * sizeof(type)))
    42705643#define XFREE(stale) do { \
    4271   if (stale) { free ((void *) stale); stale = 0; } \
     5644  if (stale) { free (stale); stale = 0; } \
    42725645} while (0)
    42735646
    4274 #if defined(LT_DEBUGWRAPPER)
     5647#if defined LT_DEBUGWRAPPER
    42755648static int lt_debug = 1;
    42765649#else
     
    43015674
    43025675            cat <<EOF
    4303 volatile const char * MAGIC_EXE = "$magic_exe";
     5676#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
     5677# define externally_visible volatile
     5678#else
     5679# define externally_visible __attribute__((externally_visible)) volatile
     5680#endif
     5681externally_visible const char * MAGIC_EXE = "$magic_exe";
    43045682const char * LIB_PATH_VARNAME = "$shlibpath_var";
    43055683EOF
    43065684
    4307             if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
     5685            if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then
    43085686              func_to_host_path "$temp_rpath"
    43095687              cat <<EOF
     
    43295707            fi
    43305708
    4331             if test "$fast_install" = yes; then
     5709            if test yes = "$fast_install"; then
    43325710              cat <<EOF
    43335711const char * TARGET_PROGRAM_NAME = "lt-$outputname"; /* hopefully, no .exe */
     
    43585736  char *target_name;
    43595737  char *lt_argv_zero;
    4360   intptr_t rval = 127;
     5738  int rval = 127;
    43615739
    43625740  int i;
    43635741
    43645742  program_name = (char *) xstrdup (base_name (argv[0]));
    4365   newargz = XMALLOC (char *, argc + 1);
     5743  newargz = XMALLOC (char *, (size_t) argc + 1);
    43665744
    43675745  /* very simple arg parsing; don't want to rely on getopt
     
    43725750  for (i = 1; i < argc; i++)
    43735751    {
    4374       if (strcmp (argv[i], dumpscript_opt) == 0)
     5752      if (STREQ (argv[i], dumpscript_opt))
    43755753        {
    43765754EOF
    4377             case "$host" in
     5755            case $host in
    43785756              *mingw* | *cygwin* )
    43795757                # make stdout use "unix" line endings
     
    43865764          return 0;
    43875765        }
    4388       if (strcmp (argv[i], debug_opt) == 0)
     5766      if (STREQ (argv[i], debug_opt))
    43895767        {
    43905768          lt_debug = 1;
    43915769          continue;
    43925770        }
    4393       if (strcmp (argv[i], ltwrapper_option_prefix) == 0)
     5771      if (STREQ (argv[i], ltwrapper_option_prefix))
    43945772        {
    43955773          /* however, if there is an option in the LTWRAPPER_OPTION_PREFIX
     
    44145792            cat <<EOF
    44155793  /* The GNU banner must be the first non-error debug message */
    4416   lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\n");
     5794  lt_debugprintf (__FILE__, __LINE__, "libtool wrapper (GNU $PACKAGE) $VERSION\n");
    44175795EOF
    44185796            cat <<"EOF"
     
    45255903  /* execv doesn't actually work on mingw as expected on unix */
    45265904  newargz = prepare_spawn (newargz);
    4527   rval = _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
     5905  rval = (int) _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
    45285906  if (rval == -1)
    45295907    {
     
    45705948  const char *base;
    45715949
    4572 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
     5950#if defined HAVE_DOS_BASED_FILE_SYSTEM
    45735951  /* Skip over the disk name in MSDOS pathnames. */
    45745952  if (isalpha ((unsigned char) name[0]) && name[1] == ':')
     
    46296007  /* static buffer for getcwd */
    46306008  char tmp[LT_PATHMAX + 1];
    4631   int tmp_len;
     6009  size_t tmp_len;
    46326010  char *concat_name;
    46336011
     
    46396017
    46406018  /* Absolute path? */
    4641 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
     6019#if defined HAVE_DOS_BASED_FILE_SYSTEM
    46426020  if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':')
    46436021    {
     
    46576035          XFREE (concat_name);
    46586036        }
    4659 #if defined (HAVE_DOS_BASED_FILE_SYSTEM)
     6037#if defined HAVE_DOS_BASED_FILE_SYSTEM
    46606038    }
    46616039#endif
     
    46806058                if (IS_PATH_SEPARATOR (*q))
    46816059                  break;
    4682               p_len = q - p;
     6060              p_len = (size_t) (q - p);
    46836061              p_next = (*q == '\0' ? q : q + 1);
    46846062              if (p_len == 0)
     
    47996177    {
    48006178      str += len - patlen;
    4801       if (strcmp (str, pat) == 0)
     6179      if (STREQ (str, pat))
    48026180        *str = '\0';
    48036181    }
     
    48646242    setenv (name, str, 1);
    48656243#else
    4866     int len = strlen (name) + 1 + strlen (value) + 1;
     6244    size_t len = strlen (name) + 1 + strlen (value) + 1;
    48676245    char *str = XMALLOC (char, len);
    48686246    sprintf (str, "%s=%s", name, value);
     
    48816259  if (orig_value && *orig_value)
    48826260    {
    4883       int orig_value_len = strlen (orig_value);
    4884       int add_len = strlen (add);
     6261      size_t orig_value_len = strlen (orig_value);
     6262      size_t add_len = strlen (add);
    48856263      new_value = XMALLOC (char, add_len + orig_value_len + 1);
    48866264      if (to_end)
     
    49136291      char *new_value = lt_extend_str (getenv (name), value, 0);
    49146292      /* some systems can't cope with a ':'-terminated path #' */
    4915       int len = strlen (new_value);
    4916       while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
     6293      size_t len = strlen (new_value);
     6294      while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
    49176295        {
    4918           new_value[len-1] = '\0';
     6296          new_value[--len] = '\0';
    49196297        }
    49206298      lt_setenv (name, new_value);
     
    50836461func_win32_import_lib_p ()
    50846462{
    5085     $opt_debug
     6463    $debug_cmd
     6464
    50866465    case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in
    50876466    *import*) : ;;
     
    50906469}
    50916470
     6471# func_suncc_cstd_abi
     6472# !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!!
     6473# Several compiler flags select an ABI that is incompatible with the
     6474# Cstd library. Avoid specifying it if any are in CXXFLAGS.
     6475func_suncc_cstd_abi ()
     6476{
     6477    $debug_cmd
     6478
     6479    case " $compile_command " in
     6480    *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*)
     6481      suncc_use_cstd_abi=no
     6482      ;;
     6483    *)
     6484      suncc_use_cstd_abi=yes
     6485      ;;
     6486    esac
     6487}
     6488
    50926489# func_mode_link arg...
    50936490func_mode_link ()
    50946491{
    5095     $opt_debug
     6492    $debug_cmd
     6493
    50966494    case $host in
    50976495    *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
    50986496      # It is impossible to link a dll without this setting, and
    50996497      # we shouldn't force the makefile maintainer to figure out
    5100       # which system we are compiling for in order to pass an extra
     6498      # what system we are compiling for in order to pass an extra
    51016499      # flag for every libtool invocation.
    51026500      # allow_undefined=no
    51036501
    51046502      # FIXME: Unfortunately, there are problems with the above when trying
    5105       # to make a dll which has undefined symbols, in which case not
     6503      # to make a dll that has undefined symbols, in which case not
    51066504      # even a static library is built.  For now, we need to specify
    51076505      # -no-undefined on the libtool link line when we can be certain
     
    51476545    no_install=no
    51486546    objs=
     6547    os2dllname=
    51496548    non_pic_objects=
    51506549    precious_files_regex=
    51516550    prefer_static_libs=no
    5152     preload=no
     6551    preload=false
    51536552    prev=
    51546553    prevarg=
     
    51626561    vinfo_number=no
    51636562    weak_libs=
    5164     single_module="${wl}-single_module"
     6563    single_module=$wl-single_module
    51656564    func_infer_tag $base_compile
    51666565
     
    51706569      case $arg in
    51716570      -shared)
    5172         test "$build_libtool_libs" != yes && \
    5173           func_fatal_configuration "can not build a shared library"
     6571        test yes != "$build_libtool_libs" \
     6572          && func_fatal_configuration "cannot build a shared library"
    51746573        build_old_libs=no
    51756574        break
     
    51786577        case $arg in
    51796578        -all-static)
    5180           if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then
     6579          if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then
    51816580            func_warning "complete static linking is impossible in this configuration"
    51826581          fi
     
    52116610    # Go through the arguments, transforming them on the way.
    52126611    while test "$#" -gt 0; do
    5213       arg="$1"
     6612      arg=$1
    52146613      shift
    52156614      func_quote_for_eval "$arg"
     
    52286627        case $prev in
    52296628        bindir)
    5230           bindir="$arg"
     6629          bindir=$arg
    52316630          prev=
    52326631          continue
    52336632          ;;
    52346633        dlfiles|dlprefiles)
    5235           if test "$preload" = no; then
     6634          $preload || {
    52366635            # Add the symbol object into the linking commands.
    52376636            func_append compile_command " @SYMFILE@"
    52386637            func_append finalize_command " @SYMFILE@"
    5239             preload=yes
    5240           fi
     6638            preload=:
     6639          }
    52416640          case $arg in
    52426641          *.la | *.lo) ;;  # We handle these cases below.
    52436642          force)
    5244             if test "$dlself" = no; then
     6643            if test no = "$dlself"; then
    52456644              dlself=needless
    52466645              export_dynamic=yes
     
    52506649            ;;
    52516650          self)
    5252             if test "$prev" = dlprefiles; then
     6651            if test dlprefiles = "$prev"; then
    52536652              dlself=yes
    5254             elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then
     6653            elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then
    52556654              dlself=yes
    52566655            else
     
    52626661            ;;
    52636662          *)
    5264             if test "$prev" = dlfiles; then
     6663            if test dlfiles = "$prev"; then
    52656664              func_append dlfiles " $arg"
    52666665            else
     
    52736672          ;;
    52746673        expsyms)
    5275           export_symbols="$arg"
     6674          export_symbols=$arg
    52766675          test -f "$arg" \
    5277             || func_fatal_error "symbol file \`$arg' does not exist"
     6676            || func_fatal_error "symbol file '$arg' does not exist"
    52786677          prev=
    52796678          continue
    52806679          ;;
    52816680        expsyms_regex)
    5282           export_symbols_regex="$arg"
     6681          export_symbols_regex=$arg
    52836682          prev=
    52846683          continue
     
    52986697          ;;
    52996698        inst_prefix)
    5300           inst_prefix_dir="$arg"
     6699          inst_prefix_dir=$arg
     6700          prev=
     6701          continue
     6702          ;;
     6703        mllvm)
     6704          # Clang does not use LLVM to link, so we can simply discard any
     6705          # '-mllvm $arg' options when doing the link step.
    53016706          prev=
    53026707          continue
     
    53226727                if test -z "$pic_object" ||
    53236728                   test -z "$non_pic_object" ||
    5324                    test "$pic_object" = none &&
    5325                    test "$non_pic_object" = none; then
    5326                   func_fatal_error "cannot find name of object for \`$arg'"
     6729                   test none = "$pic_object" &&
     6730                   test none = "$non_pic_object"; then
     6731                  func_fatal_error "cannot find name of object for '$arg'"
    53276732                fi
    53286733
    53296734                # Extract subdirectory from the argument.
    53306735                func_dirname "$arg" "/" ""
    5331                 xdir="$func_dirname_result"
    5332 
    5333                 if test "$pic_object" != none; then
     6736                xdir=$func_dirname_result
     6737
     6738                if test none != "$pic_object"; then
    53346739                  # Prepend the subdirectory the object is found in.
    5335                   pic_object="$xdir$pic_object"
    5336 
    5337                   if test "$prev" = dlfiles; then
    5338                     if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
     6740                  pic_object=$xdir$pic_object
     6741
     6742                  if test dlfiles = "$prev"; then
     6743                    if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
    53396744                      func_append dlfiles " $pic_object"
    53406745                      prev=
     
    53476752
    53486753                  # CHECK ME:  I think I busted this.  -Ossama
    5349                   if test "$prev" = dlprefiles; then
     6754                  if test dlprefiles = "$prev"; then
    53506755                    # Preload the old-style object.
    53516756                    func_append dlprefiles " $pic_object"
     
    53556760                  # A PIC object.
    53566761                  func_append libobjs " $pic_object"
    5357                   arg="$pic_object"
     6762                  arg=$pic_object
    53586763                fi
    53596764
    53606765                # Non-PIC object.
    5361                 if test "$non_pic_object" != none; then
     6766                if test none != "$non_pic_object"; then
    53626767                  # Prepend the subdirectory the object is found in.
    5363                   non_pic_object="$xdir$non_pic_object"
     6768                  non_pic_object=$xdir$non_pic_object
    53646769
    53656770                  # A standard non-PIC object
    53666771                  func_append non_pic_objects " $non_pic_object"
    5367                   if test -z "$pic_object" || test "$pic_object" = none ; then
    5368                     arg="$non_pic_object"
     6772                  if test -z "$pic_object" || test none = "$pic_object"; then
     6773                    arg=$non_pic_object
    53696774                  fi
    53706775                else
    53716776                  # If the PIC object exists, use it instead.
    53726777                  # $xdir was prepended to $pic_object above.
    5373                   non_pic_object="$pic_object"
     6778                  non_pic_object=$pic_object
    53746779                  func_append non_pic_objects " $non_pic_object"
    53756780                fi
     
    53796784                  # Extract subdirectory from the argument.
    53806785                  func_dirname "$arg" "/" ""
    5381                   xdir="$func_dirname_result"
     6786                  xdir=$func_dirname_result
    53826787
    53836788                  func_lo2o "$arg"
     
    53876792                  func_append non_pic_objects " $non_pic_object"
    53886793                else
    5389                   func_fatal_error "\`$arg' is not a valid libtool object"
     6794                  func_fatal_error "'$arg' is not a valid libtool object"
    53906795                fi
    53916796              fi
    53926797            done
    53936798          else
    5394             func_fatal_error "link input file \`$arg' does not exist"
     6799            func_fatal_error "link input file '$arg' does not exist"
    53956800          fi
    53966801          arg=$save_arg
     
    53986803          continue
    53996804          ;;
     6805        os2dllname)
     6806          os2dllname=$arg
     6807          prev=
     6808          continue
     6809          ;;
    54006810        precious_regex)
    5401           precious_files_regex="$arg"
     6811          precious_files_regex=$arg
    54026812          prev=
    54036813          continue
    54046814          ;;
    54056815        release)
    5406           release="-$arg"
     6816          release=-$arg
    54076817          prev=
    54086818          continue
     
    54166826            ;;
    54176827          esac
    5418           if test "$prev" = rpath; then
     6828          if test rpath = "$prev"; then
    54196829            case "$rpath " in
    54206830            *" $arg "*) ;;
     
    54316841          ;;
    54326842        shrext)
    5433           shrext_cmds="$arg"
     6843          shrext_cmds=$arg
    54346844          prev=
    54356845          continue
     
    54716881      fi # test -n "$prev"
    54726882
    5473       prevarg="$arg"
     6883      prevarg=$arg
    54746884
    54756885      case $arg in
     
    54856895      -allow-undefined)
    54866896        # FIXME: remove this flag sometime in the future.
    5487         func_fatal_error "\`-allow-undefined' must not be used because it is the default"
     6897        func_fatal_error "'-allow-undefined' must not be used because it is the default"
    54886898        ;;
    54896899
     
    55176927          func_fatal_error "more than one -exported-symbols argument is not allowed"
    55186928        fi
    5519         if test "X$arg" = "X-export-symbols"; then
     6929        if test X-export-symbols = "X$arg"; then
    55206930          prev=expsyms
    55216931        else
     
    55516961        if test -z "$func_stripname_result"; then
    55526962          if test "$#" -gt 0; then
    5553             func_fatal_error "require no space between \`-L' and \`$1'"
     6963            func_fatal_error "require no space between '-L' and '$1'"
    55546964          else
    5555             func_fatal_error "need path for \`-L' option"
     6965            func_fatal_error "need path for '-L' option"
    55566966          fi
    55576967        fi
     
    55646974          absdir=`cd "$dir" && pwd`
    55656975          test -z "$absdir" && \
    5566             func_fatal_error "cannot determine absolute directory name of \`$dir'"
    5567           dir="$absdir"
     6976            func_fatal_error "cannot determine absolute directory name of '$dir'"
     6977          dir=$absdir
    55686978          ;;
    55696979        esac
     
    56007010
    56017011      -l*)
    5602         if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then
     7012        if test X-lc = "X$arg" || test X-lm = "X$arg"; then
    56037013          case $host in
    56047014          *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*)
     
    56087018          *-*-os2*)
    56097019            # These systems don't actually have a C library (as such)
    5610             test "X$arg" = "X-lc" && continue
     7020            test X-lc = "X$arg" && continue
    56117021            ;;
    5612           *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
     7022          *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
    56137023            # Do not include libc due to us having libc/libc_r.
    5614             test "X$arg" = "X-lc" && continue
     7024            test X-lc = "X$arg" && continue
    56157025            ;;
    56167026          *-*-rhapsody* | *-*-darwin1.[012])
     
    56217031          *-*-sco3.2v5* | *-*-sco5v6*)
    56227032            # Causes problems with __ctype
    5623             test "X$arg" = "X-lc" && continue
     7033            test X-lc = "X$arg" && continue
    56247034            ;;
    56257035          *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*)
    56267036            # Compiler inserts libc in the correct place for threads to work
    5627             test "X$arg" = "X-lc" && continue
     7037            test X-lc = "X$arg" && continue
    56287038            ;;
    56297039          esac
    5630         elif test "X$arg" = "X-lc_r"; then
     7040        elif test X-lc_r = "X$arg"; then
    56317041         case $host in
    5632          *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*)
     7042         *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*)
    56337043           # Do not include libc_r directly, use -pthread flag.
    56347044           continue
     
    56377047        fi
    56387048        func_append deplibs " $arg"
     7049        continue
     7050        ;;
     7051
     7052      -mllvm)
     7053        prev=mllvm
    56397054        continue
    56407055        ;;
     
    56697084
    56707085      -multi_module)
    5671         single_module="${wl}-multi_module"
     7086        single_module=$wl-multi_module
    56727087        continue
    56737088        ;;
     
    56837098          # The PATH hackery in wrapper scripts is required on Windows
    56847099          # and Darwin in order for the loader to find any dlls it needs.
    5685           func_warning "\`-no-install' is ignored for $host"
    5686           func_warning "assuming \`-no-fast-install' instead"
     7100          func_warning "'-no-install' is ignored for $host"
     7101          func_warning "assuming '-no-fast-install' instead"
    56877102          fast_install=no
    56887103          ;;
     
    56997114      -objectlist)
    57007115        prev=objectlist
     7116        continue
     7117        ;;
     7118
     7119      -os2dllname)
     7120        prev=os2dllname
    57017121        continue
    57027122        ;;
     
    57897209        args=$func_stripname_result
    57907210        arg=
    5791         save_ifs="$IFS"; IFS=','
     7211        save_ifs=$IFS; IFS=,
    57927212        for flag in $args; do
    5793           IFS="$save_ifs"
     7213          IFS=$save_ifs
    57947214          func_quote_for_eval "$flag"
    57957215          func_append arg " $func_quote_for_eval_result"
    57967216          func_append compiler_flags " $func_quote_for_eval_result"
    57977217        done
    5798         IFS="$save_ifs"
     7218        IFS=$save_ifs
    57997219        func_stripname ' ' '' "$arg"
    58007220        arg=$func_stripname_result
     
    58057225        args=$func_stripname_result
    58067226        arg=
    5807         save_ifs="$IFS"; IFS=','
     7227        save_ifs=$IFS; IFS=,
    58087228        for flag in $args; do
    5809           IFS="$save_ifs"
     7229          IFS=$save_ifs
    58107230          func_quote_for_eval "$flag"
    58117231          func_append arg " $wl$func_quote_for_eval_result"
     
    58137233          func_append linker_flags " $func_quote_for_eval_result"
    58147234        done
    5815         IFS="$save_ifs"
     7235        IFS=$save_ifs
    58167236        func_stripname ' ' '' "$arg"
    58177237        arg=$func_stripname_result
     
    58367256      -msg_*)
    58377257        func_quote_for_eval "$arg"
    5838         arg="$func_quote_for_eval_result"
     7258        arg=$func_quote_for_eval_result
    58397259        ;;
    58407260
     
    58487268      # -F/path              path to uninstalled frameworks, gcc on darwin
    58497269      # -p, -pg, --coverage, -fprofile-*  profiling flags for GCC
     7270      # -fstack-protector*   stack protector flags for GCC
    58507271      # @file                GCC response files
    58517272      # -tp=*                Portland pgcc target processor selection
    58527273      # --sysroot=*          for sysroot support
    5853       # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
     7274      # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
     7275      # -specs=*             GCC specs files
     7276      # -stdlib=*            select c++ std lib with clang
     7277      # -fsanitize=*         Clang/GCC memory and address sanitizer
    58547278      -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
    58557279      -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
    5856       -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
     7280      -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \
     7281      -specs=*|-fsanitize=*)
    58577282        func_quote_for_eval "$arg"
    5858         arg="$func_quote_for_eval_result"
     7283        arg=$func_quote_for_eval_result
    58597284        func_append compile_command " $arg"
    58607285        func_append finalize_command " $arg"
     
    58637288        ;;
    58647289
     7290      -Z*)
     7291        if test os2 = "`expr $host : '.*\(os2\)'`"; then
     7292          # OS/2 uses -Zxxx to specify OS/2-specific options
     7293          compiler_flags="$compiler_flags $arg"
     7294          func_append compile_command " $arg"
     7295          func_append finalize_command " $arg"
     7296          case $arg in
     7297          -Zlinker | -Zstack)
     7298            prev=xcompiler
     7299            ;;
     7300          esac
     7301          continue
     7302        else
     7303          # Otherwise treat like 'Some other compiler flag' below
     7304          func_quote_for_eval "$arg"
     7305          arg=$func_quote_for_eval_result
     7306        fi
     7307        ;;
     7308
    58657309      # Some other compiler flag.
    58667310      -* | +*)
    58677311        func_quote_for_eval "$arg"
    5868         arg="$func_quote_for_eval_result"
     7312        arg=$func_quote_for_eval_result
    58697313        ;;
    58707314
     
    58877331          if test -z "$pic_object" ||
    58887332             test -z "$non_pic_object" ||
    5889              test "$pic_object" = none &&
    5890              test "$non_pic_object" = none; then
    5891             func_fatal_error "cannot find name of object for \`$arg'"
     7333             test none = "$pic_object" &&
     7334             test none = "$non_pic_object"; then
     7335            func_fatal_error "cannot find name of object for '$arg'"
    58927336          fi
    58937337
    58947338          # Extract subdirectory from the argument.
    58957339          func_dirname "$arg" "/" ""
    5896           xdir="$func_dirname_result"
    5897 
    5898           if test "$pic_object" != none; then
     7340          xdir=$func_dirname_result
     7341
     7342          test none = "$pic_object" || {
    58997343            # Prepend the subdirectory the object is found in.
    5900             pic_object="$xdir$pic_object"
    5901 
    5902             if test "$prev" = dlfiles; then
    5903               if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then
     7344            pic_object=$xdir$pic_object
     7345
     7346            if test dlfiles = "$prev"; then
     7347              if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then
    59047348                func_append dlfiles " $pic_object"
    59057349                prev=
     
    59127356
    59137357            # CHECK ME:  I think I busted this.  -Ossama
    5914             if test "$prev" = dlprefiles; then
     7358            if test dlprefiles = "$prev"; then
    59157359              # Preload the old-style object.
    59167360              func_append dlprefiles " $pic_object"
     
    59207364            # A PIC object.
    59217365            func_append libobjs " $pic_object"
    5922             arg="$pic_object"
    5923           fi
     7366            arg=$pic_object
     7367          }
    59247368
    59257369          # Non-PIC object.
    5926           if test "$non_pic_object" != none; then
     7370          if test none != "$non_pic_object"; then
    59277371            # Prepend the subdirectory the object is found in.
    5928             non_pic_object="$xdir$non_pic_object"
     7372            non_pic_object=$xdir$non_pic_object
    59297373
    59307374            # A standard non-PIC object
    59317375            func_append non_pic_objects " $non_pic_object"
    5932             if test -z "$pic_object" || test "$pic_object" = none ; then
    5933               arg="$non_pic_object"
     7376            if test -z "$pic_object" || test none = "$pic_object"; then
     7377              arg=$non_pic_object
    59347378            fi
    59357379          else
    59367380            # If the PIC object exists, use it instead.
    59377381            # $xdir was prepended to $pic_object above.
    5938             non_pic_object="$pic_object"
     7382            non_pic_object=$pic_object
    59397383            func_append non_pic_objects " $non_pic_object"
    59407384          fi
     
    59447388            # Extract subdirectory from the argument.
    59457389            func_dirname "$arg" "/" ""
    5946             xdir="$func_dirname_result"
     7390            xdir=$func_dirname_result
    59477391
    59487392            func_lo2o "$arg"
     
    59527396            func_append non_pic_objects " $non_pic_object"
    59537397          else
    5954             func_fatal_error "\`$arg' is not a valid libtool object"
     7398            func_fatal_error "'$arg' is not a valid libtool object"
    59557399          fi
    59567400        fi
     
    59687412
    59697413        func_resolve_sysroot "$arg"
    5970         if test "$prev" = dlfiles; then
     7414        if test dlfiles = "$prev"; then
    59717415          # This library was specified with -dlopen.
    59727416          func_append dlfiles " $func_resolve_sysroot_result"
    59737417          prev=
    5974         elif test "$prev" = dlprefiles; then
     7418        elif test dlprefiles = "$prev"; then
    59757419          # The library was specified with -dlpreopen.
    59767420          func_append dlprefiles " $func_resolve_sysroot_result"
     
    59877431        # to be aesthetically quoted because they are evaled later.
    59887432        func_quote_for_eval "$arg"
    5989         arg="$func_quote_for_eval_result"
     7433        arg=$func_quote_for_eval_result
    59907434        ;;
    59917435      esac # arg
     
    59997443
    60007444    test -n "$prev" && \
    6001       func_fatal_help "the \`$prevarg' option requires an argument"
    6002 
    6003     if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then
     7445      func_fatal_help "the '$prevarg' option requires an argument"
     7446
     7447    if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then
    60047448      eval arg=\"$export_dynamic_flag_spec\"
    60057449      func_append compile_command " $arg"
     
    60107454    # calculate the name of the file, without its directory
    60117455    func_basename "$output"
    6012     outputname="$func_basename_result"
    6013     libobjs_save="$libobjs"
     7456    outputname=$func_basename_result
     7457    libobjs_save=$libobjs
    60147458
    60157459    if test -n "$shlibpath_var"; then
    60167460      # get the directories listed in $shlibpath_var
    6017       eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'s/:/ /g\'\`
     7461      eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\`
    60187462    else
    60197463      shlib_search_path=
     
    60227466    eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\"
    60237467
     7468    # Definition is injected by LT_CONFIG during libtool generation.
     7469    func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH"
     7470
    60247471    func_dirname "$output" "/" ""
    6025     output_objdir="$func_dirname_result$objdir"
     7472    output_objdir=$func_dirname_result$objdir
    60267473    func_to_tool_file "$output_objdir/"
    60277474    tool_output_objdir=$func_to_tool_file_result
     
    60467493    # that are linked more than once (e.g. -la -lb -la)
    60477494    for deplib in $deplibs; do
    6048       if $opt_preserve_dup_deps ; then
     7495      if $opt_preserve_dup_deps; then
    60497496        case "$libs " in
    60507497        *" $deplib "*) func_append specialdeplibs " $deplib" ;;
     
    60547501    done
    60557502
    6056     if test "$linkmode" = lib; then
     7503    if test lib = "$linkmode"; then
    60577504      libs="$predeps $libs $compiler_lib_search_path $postdeps"
    60587505
     
    60867533          *.la) ;;
    60877534          *)
    6088             func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
     7535            func_fatal_help "libraries can '-dlopen' only libtool libraries: $file"
    60897536            ;;
    60907537          esac
     
    60947541        compile_deplibs=
    60957542        finalize_deplibs=
    6096         alldeplibs=no
     7543        alldeplibs=false
    60977544        newdlfiles=
    60987545        newdlprefiles=
     
    61067553      # The preopen pass in lib mode reverses $deplibs; put it back here
    61077554      # so that -L comes before libs that need it for instance...
    6108       if test "$linkmode,$pass" = "lib,link"; then
     7555      if test lib,link = "$linkmode,$pass"; then
    61097556        ## FIXME: Find the place where the list is rebuilt in the wrong
    61107557        ##        order, and fix it there properly
     
    61137560          tmp_deplibs="$deplib $tmp_deplibs"
    61147561        done
    6115         deplibs="$tmp_deplibs"
     7562        deplibs=$tmp_deplibs
    61167563      fi
    61177564
    6118       if test "$linkmode,$pass" = "lib,link" ||
    6119          test "$linkmode,$pass" = "prog,scan"; then
    6120         libs="$deplibs"
     7565      if test lib,link = "$linkmode,$pass" ||
     7566         test prog,scan = "$linkmode,$pass"; then
     7567        libs=$deplibs
    61217568        deplibs=
    61227569      fi
    6123       if test "$linkmode" = prog; then
     7570      if test prog = "$linkmode"; then
    61247571        case $pass in
    6125         dlopen) libs="$dlfiles" ;;
    6126         dlpreopen) libs="$dlprefiles" ;;
     7572        dlopen) libs=$dlfiles ;;
     7573        dlpreopen) libs=$dlprefiles ;;
    61277574        link)
    61287575          libs="$deplibs %DEPLIBS%"
     
    61317578        esac
    61327579      fi
    6133       if test "$linkmode,$pass" = "lib,dlpreopen"; then
     7580      if test lib,dlpreopen = "$linkmode,$pass"; then
    61347581        # Collect and forward deplibs of preopened libtool libs
    61357582        for lib in $dlprefiles; do
     
    61527599          done
    61537600        done
    6154         libs="$dlprefiles"
     7601        libs=$dlprefiles
    61557602      fi
    6156       if test "$pass" = dlopen; then
     7603      if test dlopen = "$pass"; then
    61577604        # Collect dlpreopened libraries
    6158         save_deplibs="$deplibs"
     7605        save_deplibs=$deplibs
    61597606        deplibs=
    61607607      fi
     
    61627609      for deplib in $libs; do
    61637610        lib=
    6164         found=no
     7611        found=false
    61657612        case $deplib in
    61667613        -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
    61677614        |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
    6168           if test "$linkmode,$pass" = "prog,link"; then
     7615          if test prog,link = "$linkmode,$pass"; then
    61697616            compile_deplibs="$deplib $compile_deplibs"
    61707617            finalize_deplibs="$deplib $finalize_deplibs"
    61717618          else
    61727619            func_append compiler_flags " $deplib"
    6173             if test "$linkmode" = lib ; then
     7620            if test lib = "$linkmode"; then
    61747621                case "$new_inherited_linker_flags " in
    61757622                    *" $deplib "*) ;;
     
    61817628          ;;
    61827629        -l*)
    6183           if test "$linkmode" != lib && test "$linkmode" != prog; then
    6184             func_warning "\`-l' is ignored for archives/objects"
     7630          if test lib != "$linkmode" && test prog != "$linkmode"; then
     7631            func_warning "'-l' is ignored for archives/objects"
    61857632            continue
    61867633          fi
    61877634          func_stripname '-l' '' "$deplib"
    61887635          name=$func_stripname_result
    6189           if test "$linkmode" = lib; then
     7636          if test lib = "$linkmode"; then
    61907637            searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path"
    61917638          else
     
    61957642            for search_ext in .la $std_shrext .so .a; do
    61967643              # Search the libtool library
    6197               lib="$searchdir/lib${name}${search_ext}"
     7644              lib=$searchdir/lib$name$search_ext
    61987645              if test -f "$lib"; then
    6199                 if test "$search_ext" = ".la"; then
    6200                   found=yes
     7646                if test .la = "$search_ext"; then
     7647                  found=:
    62017648                else
    6202                   found=no
     7649                  found=false
    62037650                fi
    62047651                break 2
     
    62067653            done
    62077654          done
    6208           if test "$found" != yes; then
    6209             # deplib doesn't seem to be a libtool library
    6210             if test "$linkmode,$pass" = "prog,link"; then
    6211               compile_deplibs="$deplib $compile_deplibs"
    6212               finalize_deplibs="$deplib $finalize_deplibs"
    6213             else
    6214               deplibs="$deplib $deplibs"
    6215               test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
    6216             fi
    6217             continue
    6218           else # deplib is a libtool library
     7655          if $found; then
     7656            # deplib is a libtool library
    62197657            # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib,
    62207658            # We need to do some special things here, and not later.
    6221             if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
     7659            if test yes = "$allow_libtool_libs_with_static_runtimes"; then
    62227660              case " $predeps $postdeps " in
    62237661              *" $deplib "*)
     
    62277665                  func_source "$lib"
    62287666                  for l in $old_library $library_names; do
    6229                     ll="$l"
     7667                    ll=$l
    62307668                  done
    6231                   if test "X$ll" = "X$old_library" ; then # only static version available
    6232                     found=no
     7669                  if test "X$ll" = "X$old_library"; then # only static version available
     7670                    found=false
    62337671                    func_dirname "$lib" "" "."
    6234                     ladir="$func_dirname_result"
     7672                    ladir=$func_dirname_result
    62357673                    lib=$ladir/$old_library
    6236                     if test "$linkmode,$pass" = "prog,link"; then
     7674                    if test prog,link = "$linkmode,$pass"; then
    62377675                      compile_deplibs="$deplib $compile_deplibs"
    62387676                      finalize_deplibs="$deplib $finalize_deplibs"
    62397677                    else
    62407678                      deplibs="$deplib $deplibs"
    6241                       test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs"
     7679                      test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
    62427680                    fi
    62437681                    continue
     
    62487686              esac
    62497687            fi
     7688          else
     7689            # deplib doesn't seem to be a libtool library
     7690            if test prog,link = "$linkmode,$pass"; then
     7691              compile_deplibs="$deplib $compile_deplibs"
     7692              finalize_deplibs="$deplib $finalize_deplibs"
     7693            else
     7694              deplibs="$deplib $deplibs"
     7695              test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs"
     7696            fi
     7697            continue
    62507698          fi
    62517699          ;; # -l
    62527700        *.ltframework)
    6253           if test "$linkmode,$pass" = "prog,link"; then
     7701          if test prog,link = "$linkmode,$pass"; then
    62547702            compile_deplibs="$deplib $compile_deplibs"
    62557703            finalize_deplibs="$deplib $finalize_deplibs"
    62567704          else
    62577705            deplibs="$deplib $deplibs"
    6258             if test "$linkmode" = lib ; then
     7706            if test lib = "$linkmode"; then
    62597707                case "$new_inherited_linker_flags " in
    62607708                    *" $deplib "*) ;;
     
    62697717          lib)
    62707718            deplibs="$deplib $deplibs"
    6271             test "$pass" = conv && continue
     7719            test conv = "$pass" && continue
    62727720            newdependency_libs="$deplib $newdependency_libs"
    62737721            func_stripname '-L' '' "$deplib"
     
    62767724            ;;
    62777725          prog)
    6278             if test "$pass" = conv; then
     7726            if test conv = "$pass"; then
    62797727              deplibs="$deplib $deplibs"
    62807728              continue
    62817729            fi
    6282             if test "$pass" = scan; then
     7730            if test scan = "$pass"; then
    62837731              deplibs="$deplib $deplibs"
    62847732            else
     
    62917739            ;;
    62927740          *)
    6293             func_warning "\`-L' is ignored for archives/objects"
     7741            func_warning "'-L' is ignored for archives/objects"
    62947742            ;;
    62957743          esac # linkmode
     
    62977745          ;; # -L
    62987746        -R*)
    6299           if test "$pass" = link; then
     7747          if test link = "$pass"; then
    63007748            func_stripname '-R' '' "$deplib"
    63017749            func_resolve_sysroot "$func_stripname_result"
     
    63157763          ;;
    63167764        *.$libext)
    6317           if test "$pass" = conv; then
     7765          if test conv = "$pass"; then
    63187766            deplibs="$deplib $deplibs"
    63197767            continue
     
    63267774            *" $deplib "*) ;;
    63277775            *)
    6328               valid_a_lib=no
     7776              valid_a_lib=false
    63297777              case $deplibs_check_method in
    63307778                match_pattern*)
     
    63337781                  if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \
    63347782                    | $EGREP "$match_pattern_regex" > /dev/null; then
    6335                     valid_a_lib=yes
     7783                    valid_a_lib=:
    63367784                  fi
    63377785                ;;
    63387786                pass_all)
    6339                   valid_a_lib=yes
     7787                  valid_a_lib=:
    63407788                ;;
    63417789              esac
    6342               if test "$valid_a_lib" != yes; then
     7790              if $valid_a_lib; then
     7791                echo
     7792                $ECHO "*** Warning: Linking the shared library $output against the"
     7793                $ECHO "*** static library $deplib is not portable!"
     7794                deplibs="$deplib $deplibs"
     7795              else
    63437796                echo
    63447797                $ECHO "*** Warning: Trying to link with static lib archive $deplib."
     
    63487801                echo "*** because the file extensions .$libext of this argument makes me believe"
    63497802                echo "*** that it is just a static archive that I should not use here."
    6350               else
    6351                 echo
    6352                 $ECHO "*** Warning: Linking the shared library $output against the"
    6353                 $ECHO "*** static library $deplib is not portable!"
    6354                 deplibs="$deplib $deplibs"
    63557803              fi
    63567804              ;;
     
    63597807            ;;
    63607808          prog)
    6361             if test "$pass" != link; then
     7809            if test link != "$pass"; then
    63627810              deplibs="$deplib $deplibs"
    63637811            else
     
    63707818          ;; # *.$libext
    63717819        *.lo | *.$objext)
    6372           if test "$pass" = conv; then
     7820          if test conv = "$pass"; then
    63737821            deplibs="$deplib $deplibs"
    6374           elif test "$linkmode" = prog; then
    6375             if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then
     7822          elif test prog = "$linkmode"; then
     7823            if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then
    63767824              # If there is no dlopen support or we're linking statically,
    63777825              # we need to preload.
     
    63867834          ;;
    63877835        %DEPLIBS%)
    6388           alldeplibs=yes
     7836          alldeplibs=:
    63897837          continue
    63907838          ;;
    63917839        esac # case $deplib
    63927840
    6393         if test "$found" = yes || test -f "$lib"; then :
    6394         else
    6395           func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'"
    6396         fi
     7841        $found || test -f "$lib" \
     7842          || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'"
    63977843
    63987844        # Check to see that this really is a libtool archive.
    63997845        func_lalib_unsafe_p "$lib" \
    6400           || func_fatal_error "\`$lib' is not a valid libtool archive"
     7846          || func_fatal_error "'$lib' is not a valid libtool archive"
    64017847
    64027848        func_dirname "$lib" "" "."
    6403         ladir="$func_dirname_result"
     7849        ladir=$func_dirname_result
    64047850
    64057851        dlname=
     
    64317877        fi
    64327878        dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'`
    6433         if test "$linkmode,$pass" = "lib,link" ||
    6434            test "$linkmode,$pass" = "prog,scan" ||
    6435            { test "$linkmode" != prog && test "$linkmode" != lib; }; then
     7879        if test lib,link = "$linkmode,$pass" ||
     7880           test prog,scan = "$linkmode,$pass" ||
     7881           { test prog != "$linkmode" && test lib != "$linkmode"; }; then
    64367882          test -n "$dlopen" && func_append dlfiles " $dlopen"
    64377883          test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen"
    64387884        fi
    64397885
    6440         if test "$pass" = conv; then
     7886        if test conv = "$pass"; then
    64417887          # Only check for convenience libraries
    64427888          deplibs="$lib $deplibs"
    64437889          if test -z "$libdir"; then
    64447890            if test -z "$old_library"; then
    6445               func_fatal_error "cannot find name of link library for \`$lib'"
     7891              func_fatal_error "cannot find name of link library for '$lib'"
    64467892            fi
    64477893            # It is a libtool convenience library, so add in its objects.
     
    64517897            for deplib in $dependency_libs; do
    64527898              deplibs="$deplib $deplibs"
    6453               if $opt_preserve_dup_deps ; then
     7899              if $opt_preserve_dup_deps; then
    64547900                case "$tmp_libs " in
    64557901                *" $deplib "*) func_append specialdeplibs " $deplib" ;;
     
    64587904              func_append tmp_libs " $deplib"
    64597905            done
    6460           elif test "$linkmode" != prog && test "$linkmode" != lib; then
    6461             func_fatal_error "\`$lib' is not a convenience library"
     7906          elif test prog != "$linkmode" && test lib != "$linkmode"; then
     7907            func_fatal_error "'$lib' is not a convenience library"
    64627908          fi
    64637909          continue
     
    64687914        linklib=
    64697915        if test -n "$old_library" &&
    6470            { test "$prefer_static_libs" = yes ||
    6471              test "$prefer_static_libs,$installed" = "built,no"; }; then
     7916           { test yes = "$prefer_static_libs" ||
     7917             test built,no = "$prefer_static_libs,$installed"; }; then
    64727918          linklib=$old_library
    64737919        else
    64747920          for l in $old_library $library_names; do
    6475             linklib="$l"
     7921            linklib=$l
    64767922          done
    64777923        fi
    64787924        if test -z "$linklib"; then
    6479           func_fatal_error "cannot find name of link library for \`$lib'"
     7925          func_fatal_error "cannot find name of link library for '$lib'"
    64807926        fi
    64817927
    64827928        # This library was specified with -dlopen.
    6483         if test "$pass" = dlopen; then
    6484           if test -z "$libdir"; then
    6485             func_fatal_error "cannot -dlopen a convenience library: \`$lib'"
    6486           fi
     7929        if test dlopen = "$pass"; then
     7930          test -z "$libdir" \
     7931            && func_fatal_error "cannot -dlopen a convenience library: '$lib'"
    64877932          if test -z "$dlname" ||
    6488              test "$dlopen_support" != yes ||
    6489              test "$build_libtool_libs" = no; then
     7933             test yes != "$dlopen_support" ||
     7934             test no = "$build_libtool_libs"
     7935          then
    64907936            # If there is no dlname, no dlopen support or we're linking
    64917937            # statically, we need to preload.  We also need to preload any
     
    65017947        # We need an absolute path.
    65027948        case $ladir in
    6503         [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;;
     7949        [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;;
    65047950        *)
    65057951          abs_ladir=`cd "$ladir" && pwd`
    65067952          if test -z "$abs_ladir"; then
    6507             func_warning "cannot determine absolute directory name of \`$ladir'"
     7953            func_warning "cannot determine absolute directory name of '$ladir'"
    65087954            func_warning "passing it literally to the linker, although it might fail"
    6509             abs_ladir="$ladir"
     7955            abs_ladir=$ladir
    65107956          fi
    65117957          ;;
    65127958        esac
    65137959        func_basename "$lib"
    6514         laname="$func_basename_result"
     7960        laname=$func_basename_result
    65157961
    65167962        # Find the relevant object directory and library name.
    6517         if test "X$installed" = Xyes; then
     7963        if test yes = "$installed"; then
    65187964          if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then
    6519             func_warning "library \`$lib' was moved."
    6520             dir="$ladir"
    6521             absdir="$abs_ladir"
    6522             libdir="$abs_ladir"
     7965            func_warning "library '$lib' was moved."
     7966            dir=$ladir
     7967            absdir=$abs_ladir
     7968            libdir=$abs_ladir
    65237969          else
    6524             dir="$lt_sysroot$libdir"
    6525             absdir="$lt_sysroot$libdir"
     7970            dir=$lt_sysroot$libdir
     7971            absdir=$lt_sysroot$libdir
    65267972          fi
    6527           test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes
     7973          test yes = "$hardcode_automatic" && avoidtemprpath=yes
    65287974        else
    65297975          if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then
    6530             dir="$ladir"
    6531             absdir="$abs_ladir"
     7976            dir=$ladir
     7977            absdir=$abs_ladir
    65327978            # Remove this search path later
    65337979            func_append notinst_path " $abs_ladir"
    65347980          else
    6535             dir="$ladir/$objdir"
    6536             absdir="$abs_ladir/$objdir"
     7981            dir=$ladir/$objdir
     7982            absdir=$abs_ladir/$objdir
    65377983            # Remove this search path later
    65387984            func_append notinst_path " $abs_ladir"
     
    65437989
    65447990        # This library was specified with -dlpreopen.
    6545         if test "$pass" = dlpreopen; then
    6546           if test -z "$libdir" && test "$linkmode" = prog; then
    6547             func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'"
     7991        if test dlpreopen = "$pass"; then
     7992          if test -z "$libdir" && test prog = "$linkmode"; then
     7993            func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'"
    65487994          fi
    6549           case "$host" in
     7995          case $host in
    65507996            # special handling for platforms with PE-DLLs.
    65517997            *cygwin* | *mingw* | *cegcc* )
     
    65918037        if test -z "$libdir"; then
    65928038          # Link the convenience library
    6593           if test "$linkmode" = lib; then
     8039          if test lib = "$linkmode"; then
    65948040            deplibs="$dir/$old_library $deplibs"
    6595           elif test "$linkmode,$pass" = "prog,link"; then
     8041          elif test prog,link = "$linkmode,$pass"; then
    65968042            compile_deplibs="$dir/$old_library $compile_deplibs"
    65978043            finalize_deplibs="$dir/$old_library $finalize_deplibs"
     
    66038049
    66048050
    6605         if test "$linkmode" = prog && test "$pass" != link; then
     8051        if test prog = "$linkmode" && test link != "$pass"; then
    66068052          func_append newlib_search_path " $ladir"
    66078053          deplibs="$lib $deplibs"
    66088054
    6609           linkalldeplibs=no
    6610           if test "$link_all_deplibs" != no || test -z "$library_names" ||
    6611              test "$build_libtool_libs" = no; then
    6612             linkalldeplibs=yes
     8055          linkalldeplibs=false
     8056          if test no != "$link_all_deplibs" || test -z "$library_names" ||
     8057             test no = "$build_libtool_libs"; then
     8058            linkalldeplibs=:
    66138059          fi
    66148060
     
    66228068            esac
    66238069            # Need to link against all dependency_libs?
    6624             if test "$linkalldeplibs" = yes; then
     8070            if $linkalldeplibs; then
    66258071              deplibs="$deplib $deplibs"
    66268072            else
     
    66298075              newdependency_libs="$deplib $newdependency_libs"
    66308076            fi
    6631             if $opt_preserve_dup_deps ; then
     8077            if $opt_preserve_dup_deps; then
    66328078              case "$tmp_libs " in
    66338079              *" $deplib "*) func_append specialdeplibs " $deplib" ;;
     
    66398085        fi # $linkmode = prog...
    66408086
    6641         if test "$linkmode,$pass" = "prog,link"; then
     8087        if test prog,link = "$linkmode,$pass"; then
    66428088          if test -n "$library_names" &&
    6643              { { test "$prefer_static_libs" = no ||
    6644                  test "$prefer_static_libs,$installed" = "built,yes"; } ||
     8089             { { test no = "$prefer_static_libs" ||
     8090                 test built,yes = "$prefer_static_libs,$installed"; } ||
    66458091               test -z "$old_library"; }; then
    66468092            # We need to hardcode the library path
    6647             if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then
     8093            if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then
    66488094              # Make sure the rpath contains only unique directories.
    6649               case "$temp_rpath:" in
     8095              case $temp_rpath: in
    66508096              *"$absdir:"*) ;;
    66518097              *) func_append temp_rpath "$absdir:" ;;
     
    66768122          fi # $linkmode,$pass = prog,link...
    66778123
    6678           if test "$alldeplibs" = yes &&
    6679              { test "$deplibs_check_method" = pass_all ||
    6680                { test "$build_libtool_libs" = yes &&
     8124          if $alldeplibs &&
     8125             { test pass_all = "$deplibs_check_method" ||
     8126               { test yes = "$build_libtool_libs" &&
    66818127                 test -n "$library_names"; }; }; then
    66828128            # We only need to search for static libraries
     
    66878133        link_static=no # Whether the deplib will be linked statically
    66888134        use_static_libs=$prefer_static_libs
    6689         if test "$use_static_libs" = built && test "$installed" = yes; then
     8135        if test built = "$use_static_libs" && test yes = "$installed"; then
    66908136          use_static_libs=no
    66918137        fi
    66928138        if test -n "$library_names" &&
    6693            { test "$use_static_libs" = no || test -z "$old_library"; }; then
     8139           { test no = "$use_static_libs" || test -z "$old_library"; }; then
    66948140          case $host in
    6695           *cygwin* | *mingw* | *cegcc*)
     8141          *cygwin* | *mingw* | *cegcc* | *os2*)
    66968142              # No point in relinking DLLs because paths are not encoded
    66978143              func_append notinst_deplibs " $lib"
     
    66998145            ;;
    67008146          *)
    6701             if test "$installed" = no; then
     8147            if test no = "$installed"; then
    67028148              func_append notinst_deplibs " $lib"
    67038149              need_relink=yes
     
    67098155          # Warn about portability, can't link against -module's on some
    67108156          # systems (darwin).  Don't bleat about dlopened modules though!
    6711           dlopenmodule=""
     8157          dlopenmodule=
    67128158          for dlpremoduletest in $dlprefiles; do
    67138159            if test "X$dlpremoduletest" = "X$lib"; then
    6714               dlopenmodule="$dlpremoduletest"
     8160              dlopenmodule=$dlpremoduletest
    67158161              break
    67168162            fi
    67178163          done
    6718           if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then
    6719             if test "$linkmode" != prog; then
    6720             echo
    6721             #  $ECHO "*** Warning: Linking the executable $output against the loadable module"
    6722             #else
    6723               $ECHO "*** Warning: Linking the shared library $output against the loadable module"
    6724             $ECHO "*** $linklib is not portable!"
    6725             fi
    6726           fi
    6727           if test "$linkmode" = lib &&
    6728              test "$hardcode_into_libs" = yes; then
     8164          #if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then
     8165          #  echo
     8166          #  if test prog = "$linkmode"; then
     8167            $ECHO "*** Warning: Linking the executable $output against the loadable module"
     8168          else
     8169          #    $ECHO "*** Warning: Linking the shared library $output against the loadable module"
     8170          #  fi
     8171          #  $ECHO "*** $linklib is not portable!"
     8172          #fi
     8173          if test lib = "$linkmode" &&
     8174             test yes = "$hardcode_into_libs"; then
    67298175            # Hardcode the library path.
    67308176            # Skip directories that are in the system default run-time
     
    67548200            set dummy $library_names
    67558201            shift
    6756             realname="$1"
     8202            realname=$1
    67578203            shift
    67588204            libname=`eval "\\$ECHO \"$libname_spec\""`
    67598205            # use dlname if we got it. it's perfectly good, no?
    67608206            if test -n "$dlname"; then
    6761               soname="$dlname"
     8207              soname=$dlname
    67628208            elif test -n "$soname_spec"; then
    67638209              # bleh windows
    67648210              case $host in
    6765               *cygwin* | mingw* | *cegcc*)
     8211              *cygwin* | mingw* | *cegcc* | *os2*)
    67668212                func_arith $current - $age
    67678213                major=$func_arith_result
    6768                 versuffix="-$major"
     8214                versuffix=-$major
    67698215                ;;
    67708216              esac
    67718217              eval soname=\"$soname_spec\"
    67728218            else
    6773               soname="$realname"
     8219              soname=$realname
    67748220            fi
    67758221
    67768222            # Make a new name for the extract_expsyms_cmds to use
    6777             soroot="$soname"
     8223            soroot=$soname
    67788224            func_basename "$soroot"
    6779             soname="$func_basename_result"
     8225            soname=$func_basename_result
    67808226            func_stripname 'lib' '.dll' "$soname"
    67818227            newlib=libimp-$func_stripname_result.a
     
    67848230            if test -f "$output_objdir/$soname-def"; then :
    67858231            else
    6786               func_verbose "extracting exported symbol list from \`$soname'"
     8232              func_verbose "extracting exported symbol list from '$soname'"
    67878233              func_execute_cmds "$extract_expsyms_cmds" 'exit $?'
    67888234            fi
     
    67908236            # Create $newlib
    67918237            if test -f "$output_objdir/$newlib"; then :; else
    6792               func_verbose "generating import library for \`$soname'"
     8238              func_verbose "generating import library for '$soname'"
    67938239              func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?'
    67948240            fi
     
    67988244          fi # test -n "$old_archive_from_expsyms_cmds"
    67998245
    6800           if test "$linkmode" = prog || test "$opt_mode" != relink; then
     8246          if test prog = "$linkmode" || test relink != "$opt_mode"; then
    68018247            add_shlibpath=
    68028248            add_dir=
     
    68058251            case $hardcode_action in
    68068252            immediate | unsupported)
    6807               if test "$hardcode_direct" = no; then
    6808                 add="$dir/$linklib"
     8253              if test no = "$hardcode_direct"; then
     8254                add=$dir/$linklib
    68098255                case $host in
    6810                   *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;;
    6811                   *-*-sysv4*uw2*) add_dir="-L$dir" ;;
     8256                  *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;;
     8257                  *-*-sysv4*uw2*) add_dir=-L$dir ;;
    68128258                  *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \
    6813                     *-*-unixware7*) add_dir="-L$dir" ;;
     8259                    *-*-unixware7*) add_dir=-L$dir ;;
    68148260                  *-*-darwin* )
    6815                     # if the lib is a (non-dlopened) module then we can not
     8261                    # if the lib is a (non-dlopened) module then we cannot
    68168262                    # link against it, someone is ignoring the earlier warnings
    68178263                    if /usr/bin/file -L $add 2> /dev/null |
    6818                          $GREP ": [^:]* bundle" >/dev/null ; then
     8264                         $GREP ": [^:]* bundle" >/dev/null; then
    68198265                      if test "X$dlopenmodule" != "X$lib"; then
    68208266                        $ECHO "*** Warning: lib $linklib is a module, not a shared library"
    6821                         if test -z "$old_library" ; then
     8267                        if test -z "$old_library"; then
    68228268                          echo
    68238269                          echo "*** And there doesn't seem to be a static archive available"
    68248270                          echo "*** The link will probably fail, sorry"
    68258271                        else
    6826                           add="$dir/$old_library"
     8272                          add=$dir/$old_library
    68278273                        fi
    68288274                      elif test -n "$old_library"; then
    6829                         add="$dir/$old_library"
     8275                        add=$dir/$old_library
    68308276                      fi
    68318277                    fi
    68328278                esac
    6833               elif test "$hardcode_minus_L" = no; then
     8279              elif test no = "$hardcode_minus_L"; then
    68348280                case $host in
    6835                 *-*-sunos*) add_shlibpath="$dir" ;;
     8281                *-*-sunos*) add_shlibpath=$dir ;;
    68368282                esac
    6837                 add_dir="-L$dir"
    6838                 add="-l$name"
    6839               elif test "$hardcode_shlibpath_var" = no; then
    6840                 add_shlibpath="$dir"
    6841                 add="-l$name"
     8283                add_dir=-L$dir
     8284                add=-l$name
     8285              elif test no = "$hardcode_shlibpath_var"; then
     8286                add_shlibpath=$dir
     8287                add=-l$name
    68428288              else
    68438289                lib_linked=no
     
    68458291              ;;
    68468292            relink)
    6847               if test "$hardcode_direct" = yes &&
    6848                  test "$hardcode_direct_absolute" = no; then
    6849                 add="$dir/$linklib"
    6850               elif test "$hardcode_minus_L" = yes; then
    6851                 add_dir="-L$absdir"
     8293              if test yes = "$hardcode_direct" &&
     8294                 test no = "$hardcode_direct_absolute"; then
     8295                add=$dir/$linklib
     8296              elif test yes = "$hardcode_minus_L"; then
     8297                add_dir=-L$absdir
    68528298                # Try looking first in the location we're being installed to.
    68538299                if test -n "$inst_prefix_dir"; then
     
    68588304                  esac
    68598305                fi
    6860                 add="-l$name"
    6861               elif test "$hardcode_shlibpath_var" = yes; then
    6862                 add_shlibpath="$dir"
    6863                 add="-l$name"
     8306                add=-l$name
     8307              elif test yes = "$hardcode_shlibpath_var"; then
     8308                add_shlibpath=$dir
     8309                add=-l$name
    68648310              else
    68658311                lib_linked=no
     
    68698315            esac
    68708316
    6871             if test "$lib_linked" != yes; then
     8317            if test yes != "$lib_linked"; then
    68728318              func_fatal_configuration "unsupported hardcode properties"
    68738319            fi
     
    68798325              esac
    68808326            fi
    6881             if test "$linkmode" = prog; then
     8327            if test prog = "$linkmode"; then
    68828328              test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs"
    68838329              test -n "$add" && compile_deplibs="$add $compile_deplibs"
     
    68858331              test -n "$add_dir" && deplibs="$add_dir $deplibs"
    68868332              test -n "$add" && deplibs="$add $deplibs"
    6887               if test "$hardcode_direct" != yes &&
    6888                  test "$hardcode_minus_L" != yes &&
    6889                  test "$hardcode_shlibpath_var" = yes; then
     8333              if test yes != "$hardcode_direct" &&
     8334                 test yes != "$hardcode_minus_L" &&
     8335                 test yes = "$hardcode_shlibpath_var"; then
    68908336                case :$finalize_shlibpath: in
    68918337                *":$libdir:"*) ;;
     
    68968342          fi
    68978343
    6898           if test "$linkmode" = prog || test "$opt_mode" = relink; then
     8344          if test prog = "$linkmode" || test relink = "$opt_mode"; then
    68998345            add_shlibpath=
    69008346            add_dir=
    69018347            add=
    69028348            # Finalize command for both is simple: just hardcode it.
    6903             if test "$hardcode_direct" = yes &&
    6904                test "$hardcode_direct_absolute" = no; then
    6905               add="$libdir/$linklib"
    6906             elif test "$hardcode_minus_L" = yes; then
    6907               add_dir="-L$libdir"
    6908               add="-l$name"
    6909             elif test "$hardcode_shlibpath_var" = yes; then
     8349            if test yes = "$hardcode_direct" &&
     8350               test no = "$hardcode_direct_absolute"; then
     8351              add=$libdir/$linklib
     8352            elif test yes = "$hardcode_minus_L"; then
     8353              add_dir=-L$libdir
     8354              add=-l$name
     8355            elif test yes = "$hardcode_shlibpath_var"; then
    69108356              case :$finalize_shlibpath: in
    69118357              *":$libdir:"*) ;;
    69128358              *) func_append finalize_shlibpath "$libdir:" ;;
    69138359              esac
    6914               add="-l$name"
    6915             elif test "$hardcode_automatic" = yes; then
     8360              add=-l$name
     8361            elif test yes = "$hardcode_automatic"; then
    69168362              if test -n "$inst_prefix_dir" &&
    6917                  test -f "$inst_prefix_dir$libdir/$linklib" ; then
    6918                 add="$inst_prefix_dir$libdir/$linklib"
     8363                 test -f "$inst_prefix_dir$libdir/$linklib"; then
     8364                add=$inst_prefix_dir$libdir/$linklib
    69198365              else
    6920                 add="$libdir/$linklib"
     8366                add=$libdir/$linklib
    69218367              fi
    69228368            else
    69238369              # We cannot seem to hardcode it, guess we'll fake it.
    6924               add_dir="-L$libdir"
     8370              add_dir=-L$libdir
    69258371              # Try looking first in the location we're being installed to.
    69268372              if test -n "$inst_prefix_dir"; then
     
    69318377                esac
    69328378              fi
    6933               add="-l$name"
     8379              add=-l$name
    69348380            fi
    69358381
    6936             if test "$linkmode" = prog; then
     8382            if test prog = "$linkmode"; then
    69378383              test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs"
    69388384              test -n "$add" && finalize_deplibs="$add $finalize_deplibs"
     
    69428388            fi
    69438389          fi
    6944         elif test "$linkmode" = prog; then
     8390        elif test prog = "$linkmode"; then
    69458391          # Here we assume that one of hardcode_direct or hardcode_minus_L
    69468392          # is not unsupported.  This is valid on all known static and
    69478393          # shared platforms.
    6948           if test "$hardcode_direct" != unsupported; then
    6949             test -n "$old_library" && linklib="$old_library"
     8394          if test unsupported != "$hardcode_direct"; then
     8395            test -n "$old_library" && linklib=$old_library
    69508396            compile_deplibs="$dir/$linklib $compile_deplibs"
    69518397            finalize_deplibs="$dir/$linklib $finalize_deplibs"
     
    69548400            finalize_deplibs="-l$name -L$dir $finalize_deplibs"
    69558401          fi
    6956         elif test "$build_libtool_libs" = yes; then
     8402        elif test yes = "$build_libtool_libs"; then
    69578403          # Not a shared library
    6958           if test "$deplibs_check_method" != pass_all; then
     8404          if test pass_all != "$deplibs_check_method"; then
    69598405            # We're trying link a shared library against a static one
    69608406            # but the system doesn't support it.
     
    69638409            # that the program can be linked against the static library.
    69648410            echo
    6965             $ECHO "*** Warning: This system can not link to static lib archive $lib."
     8411            $ECHO "*** Warning: This system cannot link to static lib archive $lib."
    69668412            echo "*** I have the capability to make that library automatically link in when"
    69678413            echo "*** you link to this library.  But I can only do this if you have a"
    69688414            echo "*** shared version of the library, which you do not appear to have."
    6969             if test "$module" = yes; then
     8415            if test yes = "$module"; then
    69708416              echo "*** But as you try to build a module library, libtool will still create "
    69718417              echo "*** a static module, that should work as long as the dlopening application"
     
    69748420                echo
    69758421                echo "*** However, this would only work if libtool was able to extract symbol"
    6976                 echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
     8422                echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
    69778423                echo "*** not find such a program.  So, this module is probably useless."
    6978                 echo "*** \`nm' from GNU binutils and a full rebuild may help."
     8424                echo "*** 'nm' from GNU binutils and a full rebuild may help."
    69798425              fi
    6980               if test "$build_old_libs" = no; then
     8426              if test no = "$build_old_libs"; then
    69818427                build_libtool_libs=module
    69828428                build_old_libs=yes
     
    69918437        fi # link shared/static library?
    69928438
    6993         if test "$linkmode" = lib; then
     8439        if test lib = "$linkmode"; then
    69948440          if test -n "$dependency_libs" &&
    6995              { test "$hardcode_into_libs" != yes ||
    6996                test "$build_old_libs" = yes ||
    6997                test "$link_static" = yes; }; then
     8441             { test yes != "$hardcode_into_libs" ||
     8442               test yes = "$build_old_libs" ||
     8443               test yes = "$link_static"; }; then
    69988444            # Extract -R from dependency_libs
    69998445            temp_deplibs=
     
    70098455              esac
    70108456            done
    7011             dependency_libs="$temp_deplibs"
     8457            dependency_libs=$temp_deplibs
    70128458          fi
    70138459
    70148460          func_append newlib_search_path " $absdir"
    70158461          # Link against this library
    7016           test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
     8462          test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs"
    70178463          # ... and its dependency_libs
    70188464          tmp_libs=
     
    70248470              *) func_resolve_sysroot "$deplib" ;;
    70258471            esac
    7026             if $opt_preserve_dup_deps ; then
     8472            if $opt_preserve_dup_deps; then
    70278473              case "$tmp_libs " in
    70288474              *" $func_resolve_sysroot_result "*)
     
    70338479          done
    70348480
    7035           if test "$link_all_deplibs" != no; then
     8481          if test no != "$link_all_deplibs"; then
    70368482            # Add the search paths of all dependency libraries
    70378483            for deplib in $dependency_libs; do
    70388484              path=
    70398485              case $deplib in
    7040               -L*) path="$deplib" ;;
     8486              -L*) path=$deplib ;;
    70418487              *.la)
    70428488                func_resolve_sysroot "$deplib"
     
    70468492                # We need an absolute path.
    70478493                case $dir in
    7048                 [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;;
     8494                [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;;
    70498495                *)
    70508496                  absdir=`cd "$dir" && pwd`
    70518497                  if test -z "$absdir"; then
    7052                     func_warning "cannot determine absolute directory name of \`$dir'"
    7053                     absdir="$dir"
     8498                    func_warning "cannot determine absolute directory name of '$dir'"
     8499                    absdir=$dir
    70548500                  fi
    70558501                  ;;
     
    70598505                *-*-darwin*)
    70608506                  depdepl=
    7061                   eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
    7062                   if test -n "$deplibrary_names" ; then
    7063                     for tmp in $deplibrary_names ; do
     8507                  eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib`
     8508                  if test -n "$deplibrary_names"; then
     8509                    for tmp in $deplibrary_names; do
    70648510                      depdepl=$tmp
    70658511                    done
    7066                     if test -f "$absdir/$objdir/$depdepl" ; then
    7067                       depdepl="$absdir/$objdir/$depdepl"
    7068                       darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
     8512                    if test -f "$absdir/$objdir/$depdepl"; then
     8513                      depdepl=$absdir/$objdir/$depdepl
     8514                      darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'`
    70698515                      if test -z "$darwin_install_name"; then
    7070                           darwin_install_name=`${OTOOL64} -L $depdepl  | awk '{if (NR == 2) {print $1;exit}}'`
     8516                          darwin_install_name=`$OTOOL64 -L $depdepl  | awk '{if (NR == 2) {print $1;exit}}'`
    70718517                      fi
    7072                       func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}"
    7073                       func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}"
     8518                      func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl"
     8519                      func_append linker_flags " -dylib_file $darwin_install_name:$depdepl"
    70748520                      path=
    70758521                    fi
     
    70778523                  ;;
    70788524                *)
    7079                   path="-L$absdir/$objdir"
     8525                  path=-L$absdir/$objdir
    70808526                  ;;
    70818527                esac
    70828528                else
    7083                   eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
     8529                  eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
    70848530                  test -z "$libdir" && \
    7085                     func_fatal_error "\`$deplib' is not a valid libtool archive"
     8531                    func_fatal_error "'$deplib' is not a valid libtool archive"
    70868532                  test "$absdir" != "$libdir" && \
    7087                     func_warning "\`$deplib' seems to be moved"
    7088 
    7089                   path="-L$absdir"
     8533                    func_warning "'$deplib' seems to be moved"
     8534
     8535                  path=-L$absdir
    70908536                fi
    70918537                ;;
     
    70998545        fi # linkmode = lib
    71008546      done # for deplib in $libs
    7101       if test "$pass" = link; then
    7102         if test "$linkmode" = "prog"; then
     8547      if test link = "$pass"; then
     8548        if test prog = "$linkmode"; then
    71038549          compile_deplibs="$new_inherited_linker_flags $compile_deplibs"
    71048550          finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs"
     
    71078553        fi
    71088554      fi
    7109       dependency_libs="$newdependency_libs"
    7110       if test "$pass" = dlpreopen; then
     8555      dependency_libs=$newdependency_libs
     8556      if test dlpreopen = "$pass"; then
    71118557        # Link the dlpreopened libraries before other libraries
    71128558        for deplib in $save_deplibs; do
     
    71148560        done
    71158561      fi
    7116       if test "$pass" != dlopen; then
    7117         if test "$pass" != conv; then
     8562      if test dlopen != "$pass"; then
     8563        test conv = "$pass" || {
    71188564          # Make sure lib_search_path contains only unique directories.
    71198565          lib_search_path=
     
    71258571          done
    71268572          newlib_search_path=
    7127         fi
    7128 
    7129         if test "$linkmode,$pass" != "prog,link"; then
    7130           vars="deplibs"
     8573        }
     8574
     8575        if test prog,link = "$linkmode,$pass"; then
     8576          vars="compile_deplibs finalize_deplibs"
    71318577        else
    7132           vars="compile_deplibs finalize_deplibs"
     8578          vars=deplibs
    71338579        fi
    71348580        for var in $vars dependency_libs; do
     
    71888634        done # for var
    71898635      fi
     8636
     8637      # Add Sun CC postdeps if required:
     8638      test CXX = "$tagname" && {
     8639        case $host_os in
     8640        linux*)
     8641          case `$CC -V 2>&1 | sed 5q` in
     8642          *Sun\ C*) # Sun C++ 5.9
     8643            func_suncc_cstd_abi
     8644
     8645            if test no != "$suncc_use_cstd_abi"; then
     8646              func_append postdeps ' -library=Cstd -library=Crun'
     8647            fi
     8648            ;;
     8649          esac
     8650          ;;
     8651
     8652        solaris*)
     8653          func_cc_basename "$CC"
     8654          case $func_cc_basename_result in
     8655          CC* | sunCC*)
     8656            func_suncc_cstd_abi
     8657
     8658            if test no != "$suncc_use_cstd_abi"; then
     8659              func_append postdeps ' -library=Cstd -library=Crun'
     8660            fi
     8661            ;;
     8662          esac
     8663          ;;
     8664        esac
     8665      }
     8666
    71908667      # Last step: remove runtime libs from dependency_libs
    71918668      # (they stay in deplibs)
    71928669      tmp_libs=
    7193       for i in $dependency_libs ; do
     8670      for i in $dependency_libs; do
    71948671        case " $predeps $postdeps $compiler_lib_search_path " in
    71958672        *" $i "*)
    7196           i=""
     8673          i=
    71978674          ;;
    71988675        esac
    7199         if test -n "$i" ; then
     8676        if test -n "$i"; then
    72008677          func_append tmp_libs " $i"
    72018678        fi
     
    72038680      dependency_libs=$tmp_libs
    72048681    done # for pass
    7205     if test "$linkmode" = prog; then
    7206       dlfiles="$newdlfiles"
     8682    if test prog = "$linkmode"; then
     8683      dlfiles=$newdlfiles
    72078684    fi
    7208     if test "$linkmode" = prog || test "$linkmode" = lib; then
    7209       dlprefiles="$newdlprefiles"
     8685    if test prog = "$linkmode" || test lib = "$linkmode"; then
     8686      dlprefiles=$newdlprefiles
    72108687    fi
    72118688
    72128689    case $linkmode in
    72138690    oldlib)
    7214       if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
    7215         func_warning "\`-dlopen' is ignored for archives"
     8691      if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
     8692        func_warning "'-dlopen' is ignored for archives"
    72168693      fi
    72178694
    72188695      case " $deplibs" in
    72198696      *\ -l* | *\ -L*)
    7220         func_warning "\`-l' and \`-L' are ignored for archives" ;;
     8697        func_warning "'-l' and '-L' are ignored for archives" ;;
    72218698      esac
    72228699
    72238700      test -n "$rpath" && \
    7224         func_warning "\`-rpath' is ignored for archives"
     8701        func_warning "'-rpath' is ignored for archives"
    72258702
    72268703      test -n "$xrpath" && \
    7227         func_warning "\`-R' is ignored for archives"
     8704        func_warning "'-R' is ignored for archives"
    72288705
    72298706      test -n "$vinfo" && \
    7230         func_warning "\`-version-info/-version-number' is ignored for archives"
     8707        func_warning "'-version-info/-version-number' is ignored for archives"
    72318708
    72328709      test -n "$release" && \
    7233         func_warning "\`-release' is ignored for archives"
     8710        func_warning "'-release' is ignored for archives"
    72348711
    72358712      test -n "$export_symbols$export_symbols_regex" && \
    7236         func_warning "\`-export-symbols' is ignored for archives"
     8713        func_warning "'-export-symbols' is ignored for archives"
    72378714
    72388715      # Now set the variables for building old libraries.
    72398716      build_libtool_libs=no
    7240       oldlibs="$output"
     8717      oldlibs=$output
    72418718      func_append objs "$old_deplibs"
    72428719      ;;
    72438720
    72448721    lib)
    7245       # Make sure we only generate libraries of the form `libNAME.la'.
     8722      # Make sure we only generate libraries of the form 'libNAME.la'.
    72468723      case $outputname in
    72478724      lib*)
     
    72528729        ;;
    72538730      *)
    7254         test "$module" = no && \
    7255           func_fatal_help "libtool library \`$output' must begin with \`lib'"
    7256 
    7257         if test "$need_lib_prefix" != no; then
     8731        test no = "$module" \
     8732          && func_fatal_help "libtool library '$output' must begin with 'lib'"
     8733
     8734        if test no != "$need_lib_prefix"; then
    72588735          # Add the "lib" prefix for modules if required
    72598736          func_stripname '' '.la' "$outputname"
     
    72698746
    72708747      if test -n "$objs"; then
    7271         if test "$deplibs_check_method" != pass_all; then
    7272           func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs"
     8748        if test pass_all != "$deplibs_check_method"; then
     8749          func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs"
    72738750        else
    72748751          echo
     
    72798756      fi
    72808757
    7281       test "$dlself" != no && \
    7282         func_warning "\`-dlopen self' is ignored for libtool libraries"
     8758      test no = "$dlself" \
     8759        || func_warning "'-dlopen self' is ignored for libtool libraries"
    72838760
    72848761      set dummy $rpath
    72858762      shift
    7286       test "$#" -gt 1 && \
    7287         func_warning "ignoring multiple \`-rpath's for a libtool library"
    7288 
    7289       install_libdir="$1"
     8763      test 1 -lt "$#" \
     8764        && func_warning "ignoring multiple '-rpath's for a libtool library"
     8765
     8766      install_libdir=$1
    72908767
    72918768      oldlibs=
    72928769      if test -z "$rpath"; then
    7293         if test "$build_libtool_libs" = yes; then
     8770        if test yes = "$build_libtool_libs"; then
    72948771          # Building a libtool convenience library.
    7295           # Some compilers have problems with a `.al' extension so
     8772          # Some compilers have problems with a '.al' extension so
    72968773          # convenience libraries should have the same extension an
    72978774          # archive normally would.
     
    73028779
    73038780        test -n "$vinfo" && \
    7304           func_warning "\`-version-info/-version-number' is ignored for convenience libraries"
     8781          func_warning "'-version-info/-version-number' is ignored for convenience libraries"
    73058782
    73068783        test -n "$release" && \
    7307           func_warning "\`-release' is ignored for convenience libraries"
     8784          func_warning "'-release' is ignored for convenience libraries"
    73088785      else
    73098786
    73108787        # Parse the version information argument.
    7311         save_ifs="$IFS"; IFS=':'
     8788        save_ifs=$IFS; IFS=:
    73128789        set dummy $vinfo 0 0 0
    73138790        shift
    7314         IFS="$save_ifs"
     8791        IFS=$save_ifs
    73158792
    73168793        test -n "$7" && \
    7317           func_fatal_help "too many parameters to \`-version-info'"
     8794          func_fatal_help "too many parameters to '-version-info'"
    73188795
    73198796        # convert absolute version numbers to libtool ages
     
    73238800        case $vinfo_number in
    73248801        yes)
    7325           number_major="$1"
    7326           number_minor="$2"
    7327           number_revision="$3"
     8802          number_major=$1
     8803          number_minor=$2
     8804          number_revision=$3
    73288805          #
    73298806          # There are really only two kinds -- those that
     
    73318808          # and those that subtract age and use age as
    73328809          # a minor version.  But, then there is irix
    7333           # which has an extra 1 added just for fun
     8810          # that has an extra 1 added just for fun
    73348811          #
    73358812          case $version_type in
    73368813          # correct linux to gnu/linux during the next big refactor
    7337           darwin|linux|osf|windows|none)
     8814          darwin|freebsd-elf|linux|osf|windows|none)
    73388815            func_arith $number_major + $number_minor
    73398816            current=$func_arith_result
    7340             age="$number_minor"
    7341             revision="$number_revision"
     8817            age=$number_minor
     8818            revision=$number_revision
    73428819            ;;
    7343           freebsd-aout|freebsd-elf|qnx|sunos)
    7344             current="$number_major"
    7345             revision="$number_minor"
    7346             age="0"
     8820          freebsd-aout|qnx|sunos)
     8821            current=$number_major
     8822            revision=$number_minor
     8823            age=0
    73478824            ;;
    73488825          irix|nonstopux)
    73498826            func_arith $number_major + $number_minor
    73508827            current=$func_arith_result
    7351             age="$number_minor"
    7352             revision="$number_minor"
     8828            age=$number_minor
     8829            revision=$number_minor
    73538830            lt_irix_increment=no
    73548831            ;;
    73558832          *)
    7356             func_fatal_configuration "$modename: unknown library version type \`$version_type'"
     8833            func_fatal_configuration "$modename: unknown library version type '$version_type'"
    73578834            ;;
    73588835          esac
    73598836          ;;
    73608837        no)
    7361           current="$1"
    7362           revision="$2"
    7363           age="$3"
     8838          current=$1
     8839          revision=$2
     8840          age=$3
    73648841          ;;
    73658842        esac
     
    73698846        0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
    73708847        *)
    7371           func_error "CURRENT \`$current' must be a nonnegative integer"
    7372           func_fatal_error "\`$vinfo' is not valid version information"
     8848          func_error "CURRENT '$current' must be a nonnegative integer"
     8849          func_fatal_error "'$vinfo' is not valid version information"
    73738850          ;;
    73748851        esac
     
    73778854        0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
    73788855        *)
    7379           func_error "REVISION \`$revision' must be a nonnegative integer"
    7380           func_fatal_error "\`$vinfo' is not valid version information"
     8856          func_error "REVISION '$revision' must be a nonnegative integer"
     8857          func_fatal_error "'$vinfo' is not valid version information"
    73818858          ;;
    73828859        esac
     
    73858862        0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;;
    73868863        *)
    7387           func_error "AGE \`$age' must be a nonnegative integer"
    7388           func_fatal_error "\`$vinfo' is not valid version information"
     8864          func_error "AGE '$age' must be a nonnegative integer"
     8865          func_fatal_error "'$vinfo' is not valid version information"
    73898866          ;;
    73908867        esac
    73918868
    73928869        if test "$age" -gt "$current"; then
    7393           func_error "AGE \`$age' is greater than the current interface number \`$current'"
    7394           func_fatal_error "\`$vinfo' is not valid version information"
     8870          func_error "AGE '$age' is greater than the current interface number '$current'"
     8871          func_fatal_error "'$vinfo' is not valid version information"
    73958872        fi
    73968873
     
    74078884          func_arith $current - $age
    74088885          major=.$func_arith_result
    7409           versuffix="$major.$age.$revision"
     8886          versuffix=$major.$age.$revision
    74108887          # Darwin ld doesn't like 0 for these options...
    74118888          func_arith $current + 1
    74128889          minor_current=$func_arith_result
    7413           xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision"
     8890          xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
    74148891          verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
     8892          # On Darwin other compilers
     8893          case $CC in
     8894              nagfor*)
     8895                  verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision"
     8896                  ;;
     8897              *)
     8898                  verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"
     8899                  ;;
     8900          esac
    74158901          ;;
    74168902
    74178903        freebsd-aout)
    7418           major=".$current"
    7419           versuffix=".$current.$revision";
     8904          major=.$current
     8905          versuffix=.$current.$revision
    74208906          ;;
    74218907
    74228908        freebsd-elf)
    7423           major=".$current"
    7424           versuffix=".$current"
     8909          func_arith $current - $age
     8910          major=.$func_arith_result
     8911          versuffix=$major.$age.$revision
    74258912          ;;
    74268913
    74278914        irix | nonstopux)
    7428           if test "X$lt_irix_increment" = "Xno"; then
     8915          if test no = "$lt_irix_increment"; then
    74298916            func_arith $current - $age
    74308917          else
     
    74378924            *)         verstring_prefix=sgi ;;
    74388925          esac
    7439           verstring="$verstring_prefix$major.$revision"
     8926          verstring=$verstring_prefix$major.$revision
    74408927
    74418928          # Add in all the interfaces that we are compatible with.
    74428929          loop=$revision
    7443           while test "$loop" -ne 0; do
     8930          while test 0 -ne "$loop"; do
    74448931            func_arith $revision - $loop
    74458932            iface=$func_arith_result
    74468933            func_arith $loop - 1
    74478934            loop=$func_arith_result
    7448             verstring="$verstring_prefix$major.$iface:$verstring"
     8935            verstring=$verstring_prefix$major.$iface:$verstring
    74498936          done
    74508937
    7451           # Before this point, $major must not contain `.'.
     8938          # Before this point, $major must not contain '.'.
    74528939          major=.$major
    7453           versuffix="$major.$revision"
     8940          versuffix=$major.$revision
    74548941          ;;
    74558942
     
    74578944          func_arith $current - $age
    74588945          major=.$func_arith_result
    7459           versuffix="$major.$age.$revision"
     8946          versuffix=$major.$age.$revision
    74608947          ;;
    74618948
     
    74638950          func_arith $current - $age
    74648951          major=.$func_arith_result
    7465           versuffix=".$current.$age.$revision"
    7466           verstring="$current.$age.$revision"
     8952          versuffix=.$current.$age.$revision
     8953          verstring=$current.$age.$revision
    74678954
    74688955          # Add in all the interfaces that we are compatible with.
    74698956          loop=$age
    7470           while test "$loop" -ne 0; do
     8957          while test 0 -ne "$loop"; do
    74718958            func_arith $current - $loop
    74728959            iface=$func_arith_result
    74738960            func_arith $loop - 1
    74748961            loop=$func_arith_result
    7475             verstring="$verstring:${iface}.0"
     8962            verstring=$verstring:$iface.0
    74768963          done
    74778964
    74788965          # Make executables depend on our current version.
    7479           func_append verstring ":${current}.0"
     8966          func_append verstring ":$current.0"
    74808967          ;;
    74818968
    74828969        qnx)
    7483           major=".$current"
    7484           versuffix=".$current"
     8970          major=.$current
     8971          versuffix=.$current
    74858972          ;;
    74868973
     8974        sco)
     8975          major=.$current
     8976          versuffix=.$current
     8977          ;;
     8978
    74878979        sunos)
    7488           major=".$current"
    7489           versuffix=".$current.$revision"
     8980          major=.$current
     8981          versuffix=.$current.$revision
    74908982          ;;
    74918983
    74928984        windows)
    74938985          # Use '-' rather than '.', since we only want one
    7494           # extension on DOS 8.3 filesystems.
     8986          # extension on DOS 8.3 file systems.
    74958987          func_arith $current - $age
    74968988          major=$func_arith_result
    7497           versuffix="-$major"
     8989          versuffix=-$major
    74988990          ;;
    74998991
    75008992        *)
    7501           func_fatal_configuration "unknown library version type \`$version_type'"
     8993          func_fatal_configuration "unknown library version type '$version_type'"
    75028994          ;;
    75038995        esac
     
    75139005            ;;
    75149006          *)
    7515             verstring="0.0"
     9007            verstring=0.0
    75169008            ;;
    75179009          esac
    7518           if test "$need_version" = no; then
     9010          if test no = "$need_version"; then
    75199011            versuffix=
    75209012          else
    7521             versuffix=".0.0"
     9013            versuffix=.0.0
    75229014          fi
    75239015        fi
    75249016
    75259017        # Remove version info from name if versioning should be avoided
    7526         if test "$avoid_version" = yes && test "$need_version" = no; then
     9018        if test yes,no = "$avoid_version,$need_version"; then
    75279019          major=
    75289020          versuffix=
    7529           verstring=""
     9021          verstring=
    75309022        fi
    75319023
    75329024        # Check to see if the archive will have undefined symbols.
    7533         if test "$allow_undefined" = yes; then
    7534           if test "$allow_undefined_flag" = unsupported; then
    7535             func_warning "undefined symbols not allowed in $host shared libraries"
    7536             build_libtool_libs=no
    7537             build_old_libs=yes
     9025        if test yes = "$allow_undefined"; then
     9026          if test unsupported = "$allow_undefined_flag"; then
     9027            if test yes = "$build_old_libs"; then
     9028              func_warning "undefined symbols not allowed in $host shared libraries; building static only"
     9029              build_libtool_libs=no
     9030            else
     9031              func_fatal_error "can't build $host shared library unless -no-undefined is specified"
     9032            fi
    75389033          fi
    75399034        else
    75409035          # Don't allow undefined symbols.
    7541           allow_undefined_flag="$no_undefined_flag"
     9036          allow_undefined_flag=$no_undefined_flag
    75429037        fi
    75439038
    75449039      fi
    75459040
    7546       func_generate_dlsyms "$libname" "$libname" "yes"
     9041      func_generate_dlsyms "$libname" "$libname" :
    75479042      func_append libobjs " $symfileobj"
    7548       test "X$libobjs" = "X " && libobjs=
    7549 
    7550       if test "$opt_mode" != relink; then
     9043      test " " = "$libobjs" && libobjs=
     9044
     9045      if test relink != "$opt_mode"; then
    75519046        # Remove our outputs, but don't remove object files since they
    75529047        # may have been created when compiling PIC objects.
     
    75579052            *.$objext | *.gcno)
    75589053               ;;
    7559             $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*)
    7560                if test "X$precious_files_regex" != "X"; then
     9054            $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*)
     9055               if test -n "$precious_files_regex"; then
    75619056                 if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1
    75629057                 then
     
    75749069
    75759070      # Now set the variables for building old libraries.
    7576       if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then
     9071      if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then
    75779072        func_append oldlibs " $output_objdir/$libname.$libext"
    75789073
    75799074        # Transform .lo files to .o files.
    7580         oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP`
     9075        oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP`
    75819076      fi
    75829077
     
    75999094          esac
    76009095        done
    7601         if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then
     9096        if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then
    76029097          dependency_libs="$temp_xrpath $dependency_libs"
    76039098        fi
     
    76059100
    76069101      # Make sure dlfiles contains only unique files that won't be dlpreopened
    7607       old_dlfiles="$dlfiles"
     9102      old_dlfiles=$dlfiles
    76089103      dlfiles=
    76099104      for lib in $old_dlfiles; do
     
    76159110
    76169111      # Make sure dlprefiles contains only unique files
    7617       old_dlprefiles="$dlprefiles"
     9112      old_dlprefiles=$dlprefiles
    76189113      dlprefiles=
    76199114      for lib in $old_dlprefiles; do
     
    76249119      done
    76259120
    7626       if test "$build_libtool_libs" = yes; then
     9121      if test yes = "$build_libtool_libs"; then
    76279122        if test -n "$rpath"; then
    76289123          case $host in
     
    76489143          *)
    76499144            # Add libc to deplibs on all other systems if necessary.
    7650             if test "$build_libtool_need_lc" = "yes"; then
     9145            if test yes = "$build_libtool_need_lc"; then
    76519146              func_append deplibs " -lc"
    76529147            fi
     
    76649159        # release should show up in the -l (ie -lgmp5) so we don't want to
    76659160        # add it in twice.  Is that correct?
    7666         release=""
    7667         versuffix=""
    7668         major=""
     9161        release=
     9162        versuffix=
     9163        major=
    76699164        newdeplibs=
    76709165        droppeddeps=no
     
    76959190                func_stripname -l '' "$i"
    76969191                name=$func_stripname_result
    7697                 if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
     9192                if test yes = "$allow_libtool_libs_with_static_runtimes"; then
    76989193                  case " $predeps $postdeps " in
    76999194                  *" $i "*)
    77009195                    func_append newdeplibs " $i"
    7701                     i=""
     9196                    i=
    77029197                    ;;
    77039198                  esac
    77049199                fi
    7705                 if test -n "$i" ; then
     9200                if test -n "$i"; then
    77069201                  libname=`eval "\\$ECHO \"$libname_spec\""`
    77079202                  deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
    77089203                  set dummy $deplib_matches; shift
    77099204                  deplib_match=$1
    7710                   if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
     9205                  if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
    77119206                    func_append newdeplibs " $i"
    77129207                  else
     
    77389233                if $LTCC $LTCFLAGS -o conftest conftest.c $i; then
    77399234                  ldd_output=`ldd conftest`
    7740                   if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
     9235                  if test yes = "$allow_libtool_libs_with_static_runtimes"; then
    77419236                    case " $predeps $postdeps " in
    77429237                    *" $i "*)
    77439238                      func_append newdeplibs " $i"
    7744                       i=""
     9239                      i=
    77459240                      ;;
    77469241                    esac
    77479242                  fi
    7748                   if test -n "$i" ; then
     9243                  if test -n "$i"; then
    77499244                    libname=`eval "\\$ECHO \"$libname_spec\""`
    77509245                    deplib_matches=`eval "\\$ECHO \"$library_names_spec\""`
    77519246                    set dummy $deplib_matches; shift
    77529247                    deplib_match=$1
    7753                     if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0 ; then
     9248                    if test `expr "$ldd_output" : ".*$deplib_match"` -ne 0; then
    77549249                      func_append newdeplibs " $i"
    77559250                    else
     
    77889283              func_stripname -l '' "$a_deplib"
    77899284              name=$func_stripname_result
    7790               if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
     9285              if test yes = "$allow_libtool_libs_with_static_runtimes"; then
    77919286                case " $predeps $postdeps " in
    77929287                *" $a_deplib "*)
    77939288                  func_append newdeplibs " $a_deplib"
    7794                   a_deplib=""
     9289                  a_deplib=
    77959290                  ;;
    77969291                esac
    77979292              fi
    7798               if test -n "$a_deplib" ; then
     9293              if test -n "$a_deplib"; then
    77999294                libname=`eval "\\$ECHO \"$libname_spec\""`
    78009295                if test -n "$file_magic_glob"; then
     
    78039298                  libnameglob=$libname
    78049299                fi
    7805                 test "$want_nocaseglob" = yes && nocaseglob=`shopt -p nocaseglob`
     9300                test yes = "$want_nocaseglob" && nocaseglob=`shopt -p nocaseglob`
    78069301                for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
    7807                   if test "$want_nocaseglob" = yes; then
     9302                  if test yes = "$want_nocaseglob"; then
    78089303                    shopt -s nocaseglob
    78099304                    potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null`
     
    78239318                      # loop can be closed while we follow links,
    78249319                      # but so what?
    7825                       potlib="$potent_lib"
     9320                      potlib=$potent_lib
    78269321                      while test -h "$potlib" 2>/dev/null; do
    7827                         potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'`
     9322                        potliblink=`ls -ld $potlib | $SED 's/.* -> //'`
    78289323                        case $potliblink in
    7829                         [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";;
    7830                         *) potlib=`$ECHO "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";;
     9324                        [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;;
     9325                        *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";;
    78319326                        esac
    78329327                      done
     
    78359330                         $EGREP "$file_magic_regex" > /dev/null; then
    78369331                        func_append newdeplibs " $a_deplib"
    7837                         a_deplib=""
     9332                        a_deplib=
    78389333                        break 2
    78399334                      fi
     
    78419336                done
    78429337              fi
    7843               if test -n "$a_deplib" ; then
     9338              if test -n "$a_deplib"; then
    78449339                droppeddeps=yes
    78459340                echo
     
    78499344                echo "*** shared version of the library, which you do not appear to have"
    78509345                echo "*** because I did check the linker path looking for a file starting"
    7851                 if test -z "$potlib" ; then
     9346                if test -z "$potlib"; then
    78529347                  $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
    78539348                else
     
    78729367              func_stripname -l '' "$a_deplib"
    78739368              name=$func_stripname_result
    7874               if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
     9369              if test yes = "$allow_libtool_libs_with_static_runtimes"; then
    78759370                case " $predeps $postdeps " in
    78769371                *" $a_deplib "*)
    78779372                  func_append newdeplibs " $a_deplib"
    7878                   a_deplib=""
     9373                  a_deplib=
    78799374                  ;;
    78809375                esac
    78819376              fi
    7882               if test -n "$a_deplib" ; then
     9377              if test -n "$a_deplib"; then
    78839378                libname=`eval "\\$ECHO \"$libname_spec\""`
    78849379                for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do
    78859380                  potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
    78869381                  for potent_lib in $potential_libs; do
    7887                     potlib="$potent_lib" # see symlink-check above in file_magic test
     9382                    potlib=$potent_lib # see symlink-check above in file_magic test
    78889383                    if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \
    78899384                       $EGREP "$match_pattern_regex" > /dev/null; then
    78909385                      func_append newdeplibs " $a_deplib"
    7891                       a_deplib=""
     9386                      a_deplib=
    78929387                      break 2
    78939388                    fi
     
    78959390                done
    78969391              fi
    7897               if test -n "$a_deplib" ; then
     9392              if test -n "$a_deplib"; then
    78989393                droppeddeps=yes
    78999394                echo
     
    79039398                echo "*** shared version of the library, which you do not appear to have"
    79049399                echo "*** because I did check the linker path looking for a file starting"
    7905                 if test -z "$potlib" ; then
     9400                if test -z "$potlib"; then
    79069401                  $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)"
    79079402                else
     
    79199414          ;;
    79209415        none | unknown | *)
    7921           newdeplibs=""
     9416          newdeplibs=
    79229417          tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'`
    7923           if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then
    7924             for i in $predeps $postdeps ; do
     9418          if test yes = "$allow_libtool_libs_with_static_runtimes"; then
     9419            for i in $predeps $postdeps; do
    79259420              # can't use Xsed below, because $i might contain '/'
    7926               tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"`
     9421              tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"`
    79279422            done
    79289423          fi
     
    79309425          *[!\  \ ]*)
    79319426            echo
    7932             if test "X$deplibs_check_method" = "Xnone"; then
     9427            if test none = "$deplibs_check_method"; then
    79339428              echo "*** Warning: inter-library dependencies are not supported in this platform."
    79349429            else
     
    79549449        esac
    79559450
    7956         if test "$droppeddeps" = yes; then
    7957           if test "$module" = yes; then
     9451        if test yes = "$droppeddeps"; then
     9452          if test yes = "$module"; then
    79589453            echo
    79599454            echo "*** Warning: libtool could not satisfy all declared inter-library"
     
    79649459              echo
    79659460              echo "*** However, this would only work if libtool was able to extract symbol"
    7966               echo "*** lists from a program, using \`nm' or equivalent, but libtool could"
     9461              echo "*** lists from a program, using 'nm' or equivalent, but libtool could"
    79679462              echo "*** not find such a program.  So, this module is probably useless."
    7968               echo "*** \`nm' from GNU binutils and a full rebuild may help."
     9463              echo "*** 'nm' from GNU binutils and a full rebuild may help."
    79699464            fi
    7970             if test "$build_old_libs" = no; then
    7971               oldlibs="$output_objdir/$libname.$libext"
     9465            if test no = "$build_old_libs"; then
     9466              oldlibs=$output_objdir/$libname.$libext
    79729467              build_libtool_libs=module
    79739468              build_old_libs=yes
     
    79809475            echo "*** or is declared to -dlopen it."
    79819476
    7982             if test "$allow_undefined" = no; then
     9477            if test no = "$allow_undefined"; then
    79839478              echo
    79849479              echo "*** Since this library must not contain undefined symbols,"
     
    79869481              echo "*** it was explicitly requested with -no-undefined,"
    79879482              echo "*** libtool will only create a static version of it."
    7988               if test "$build_old_libs" = no; then
    7989                 oldlibs="$output_objdir/$libname.$libext"
     9483              if test no = "$build_old_libs"; then
     9484                oldlibs=$output_objdir/$libname.$libext
    79909485                build_libtool_libs=module
    79919486                build_old_libs=yes
     
    80339528        esac
    80349529      done
    8035       deplibs="$new_libs"
     9530      deplibs=$new_libs
    80369531
    80379532      # All the library-specific variables (install_libdir is set above).
     
    80419536
    80429537      # Test again, we may have decided not to build it any more
    8043       if test "$build_libtool_libs" = yes; then
    8044         # Remove ${wl} instances when linking with ld.
     9538      if test yes = "$build_libtool_libs"; then
     9539        # Remove $wl instances when linking with ld.
    80459540        # FIXME: should test the right _cmds variable.
    80469541        case $archive_cmds in
    80479542          *\$LD\ *) wl= ;;
    80489543        esac
    8049         if test "$hardcode_into_libs" = yes; then
     9544        if test yes = "$hardcode_into_libs"; then
    80509545          # Hardcode the library paths
    80519546          hardcode_libdirs=
    80529547          dep_rpath=
    8053           rpath="$finalize_rpath"
    8054           test "$opt_mode" != relink && rpath="$compile_rpath$rpath"
     9548          rpath=$finalize_rpath
     9549          test relink = "$opt_mode" || rpath=$compile_rpath$rpath
    80559550          for libdir in $rpath; do
    80569551            if test -n "$hardcode_libdir_flag_spec"; then
     
    80599554                libdir=$func_replace_sysroot_result
    80609555                if test -z "$hardcode_libdirs"; then
    8061                   hardcode_libdirs="$libdir"
     9556                  hardcode_libdirs=$libdir
    80629557                else
    80639558                  # Just accumulate the unique libdirs.
     
    80849579          if test -n "$hardcode_libdir_separator" &&
    80859580             test -n "$hardcode_libdirs"; then
    8086             libdir="$hardcode_libdirs"
     9581            libdir=$hardcode_libdirs
    80879582            eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
    80889583          fi
     
    80989593        fi
    80999594
    8100         shlibpath="$finalize_shlibpath"
    8101         test "$opt_mode" != relink && shlibpath="$compile_shlibpath$shlibpath"
     9595        shlibpath=$finalize_shlibpath
     9596        test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath
    81029597        if test -n "$shlibpath"; then
    81039598          eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var"
     
    81099604        set dummy $library_names
    81109605        shift
    8111         realname="$1"
     9606        realname=$1
    81129607        shift
    81139608
     
    81159610          eval soname=\"$soname_spec\"
    81169611        else
    8117           soname="$realname"
     9612          soname=$realname
    81189613        fi
    81199614        if test -z "$dlname"; then
     
    81219616        fi
    81229617
    8123         lib="$output_objdir/$realname"
     9618        lib=$output_objdir/$realname
    81249619        linknames=
    81259620        for link
     
    81359630        if test -n "$export_symbols" && test -n "$include_expsyms"; then
    81369631          $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp"
    8137           export_symbols="$output_objdir/$libname.uexp"
     9632          export_symbols=$output_objdir/$libname.uexp
    81389633          func_append delfiles " $export_symbols"
    81399634        fi
     
    81449639          if test -n "$export_symbols" && test -z "$export_symbols_regex"; then
    81459640            # exporting using user supplied symfile
    8146             if test "x`$SED 1q $export_symbols`" != xEXPORTS; then
     9641            func_dll_def_p "$export_symbols" || {
    81479642              # and it's NOT already a .def file. Must figure out
    81489643              # which of the given symbols are data symbols and tag
     
    81519646              # the list of exported symbols" if statement, so the
    81529647              # include_expsyms logic still works.
    8153               orig_export_symbols="$export_symbols"
     9648              orig_export_symbols=$export_symbols
    81549649              export_symbols=
    81559650              always_export_symbols=yes
    8156             fi
     9651            }
    81579652          fi
    81589653          ;;
     
    81619656        # Prepare the list of exported symbols
    81629657        if test -z "$export_symbols"; then
    8163           if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then
    8164             func_verbose "generating symbol list for \`$libname.la'"
    8165             export_symbols="$output_objdir/$libname.exp"
     9658          if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then
     9659            func_verbose "generating symbol list for '$libname.la'"
     9660            export_symbols=$output_objdir/$libname.exp
    81669661            $opt_dry_run || $RM $export_symbols
    81679662            cmds=$export_symbols_cmds
    8168             save_ifs="$IFS"; IFS='~'
     9663            save_ifs=$IFS; IFS='~'
    81699664            for cmd1 in $cmds; do
    8170               IFS="$save_ifs"
     9665              IFS=$save_ifs
    81719666              # Take the normal branch if the nm_file_list_spec branch
    81729667              # doesn't work or if tool conversion is not needed.
     
    81829677                  ;;
    81839678              esac
    8184               if test "$try_normal_branch" = yes \
     9679              if test yes = "$try_normal_branch" \
    81859680                 && { test "$len" -lt "$max_cmd_len" \
    81869681                      || test "$max_cmd_len" -le -1; }
     
    81939688                save_libobjs=$libobjs
    81949689                save_output=$output
    8195                 output=${output_objdir}/${output_la}.nm
     9690                output=$output_objdir/$output_la.nm
    81969691                func_to_tool_file "$output"
    81979692                libobjs=$nm_file_list_spec$func_to_tool_file_result
     
    82169711              fi
    82179712            done
    8218             IFS="$save_ifs"
    8219             if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then
     9713            IFS=$save_ifs
     9714            if test -n "$export_symbols_regex" && test : != "$skipped_export"; then
    82209715              func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"'
    82219716              func_show_eval '$MV "${export_symbols}T" "$export_symbols"'
     
    82259720
    82269721        if test -n "$export_symbols" && test -n "$include_expsyms"; then
    8227           tmp_export_symbols="$export_symbols"
    8228           test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
     9722          tmp_export_symbols=$export_symbols
     9723          test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
    82299724          $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
    82309725        fi
    82319726
    8232         if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then
     9727        if test : != "$skipped_export" && test -n "$orig_export_symbols"; then
    82339728          # The given exports_symbols file has to be filtered, so filter it.
    8234           func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
     9729          func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
    82359730          # FIXME: $output_objdir/$libname.filter potentially contains lots of
    8236           # 's' commands which not all seds can handle. GNU sed should be fine
     9731          # 's' commands, which not all seds can handle. GNU sed should be fine
    82379732          # though. Also, the filter scales superlinearly with the number of
    82389733          # global variables. join(1) would be nice here, but unfortunately
     
    82539748          esac
    82549749        done
    8255         deplibs="$tmp_deplibs"
     9750        deplibs=$tmp_deplibs
    82569751
    82579752        if test -n "$convenience"; then
    82589753          if test -n "$whole_archive_flag_spec" &&
    8259             test "$compiler_needs_object" = yes &&
     9754            test yes = "$compiler_needs_object" &&
    82609755            test -z "$libobjs"; then
    82619756            # extract the archives, so we have objects to list.
     
    82689763            test "X$libobjs" = "X " && libobjs=
    82699764          else
    8270             gentop="$output_objdir/${outputname}x"
     9765            gentop=$output_objdir/${outputname}x
    82719766            func_append generated " $gentop"
    82729767
     
    82779772        fi
    82789773
    8279         if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then
     9774        if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then
    82809775          eval flag=\"$thread_safe_flag_spec\"
    82819776          func_append linker_flags " $flag"
     
    82839778
    82849779        # Make a backup of the uninstalled library when relinking
    8285         if test "$opt_mode" = relink; then
     9780        if test relink = "$opt_mode"; then
    82869781          $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $?
    82879782        fi
    82889783
    82899784        # Do each of the archive commands.
    8290         if test "$module" = yes && test -n "$module_cmds" ; then
     9785        if test yes = "$module" && test -n "$module_cmds"; then
    82919786          if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
    82929787            eval test_cmds=\"$module_expsym_cmds\"
     
    83069801        fi
    83079802
    8308         if test "X$skipped_export" != "X:" &&
     9803        if test : != "$skipped_export" &&
    83099804           func_len " $test_cmds" &&
    83109805           len=$func_len_result &&
     
    83399834          k=1
    83409835
    8341           if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then
    8342             output=${output_objdir}/${output_la}.lnkscript
     9836          if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then
     9837            output=$output_objdir/$output_la.lnkscript
    83439838            func_verbose "creating GNU ld script: $output"
    83449839            echo 'INPUT (' > $output
     
    83529847            func_to_tool_file "$output"
    83539848            output=$func_to_tool_file_result
    8354           elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then
    8355             output=${output_objdir}/${output_la}.lnk
     9849          elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then
     9850            output=$output_objdir/$output_la.lnk
    83569851            func_verbose "creating linker input file list: $output"
    83579852            : > $output
     
    83599854            shift
    83609855            firstobj=
    8361             if test "$compiler_needs_object" = yes; then
     9856            if test yes = "$compiler_needs_object"; then
    83629857              firstobj="$1 "
    83639858              shift
     
    83749869            if test -n "$save_libobjs"; then
    83759870              func_verbose "creating reloadable object files..."
    8376               output=$output_objdir/$output_la-${k}.$objext
     9871              output=$output_objdir/$output_la-$k.$objext
    83779872              eval test_cmds=\"$reload_cmds\"
    83789873              func_len " $test_cmds"
     
    83869881                func_arith $len + $func_len_result
    83879882                len=$func_arith_result
    8388                 if test "X$objlist" = X ||
     9883                if test -z "$objlist" ||
    83899884                   test "$len" -lt "$max_cmd_len"; then
    83909885                  func_append objlist " $obj"
     
    83929887                  # The command $test_cmds is almost too long, add a
    83939888                  # command to the queue.
    8394                   if test "$k" -eq 1 ; then
     9889                  if test 1 -eq "$k"; then
    83959890                    # The first file doesn't have a previous command to add.
    83969891                    reload_objs=$objlist
     
    84029897                    eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\"
    84039898                  fi
    8404                   last_robj=$output_objdir/$output_la-${k}.$objext
     9899                  last_robj=$output_objdir/$output_la-$k.$objext
    84059900                  func_arith $k + 1
    84069901                  k=$func_arith_result
    8407                   output=$output_objdir/$output_la-${k}.$objext
     9902                  output=$output_objdir/$output_la-$k.$objext
    84089903                  objlist=" $obj"
    84099904                  func_len " $last_robj"
     
    84179912              test -z "$concat_cmds" || concat_cmds=$concat_cmds~
    84189913              reload_objs="$objlist $last_robj"
    8419               eval concat_cmds=\"\${concat_cmds}$reload_cmds\"
     9914              eval concat_cmds=\"\$concat_cmds$reload_cmds\"
    84209915              if test -n "$last_robj"; then
    8421                 eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\"
     9916                eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
    84229917              fi
    84239918              func_append delfiles " $output"
     
    84279922            fi
    84289923
    8429             if ${skipped_export-false}; then
    8430               func_verbose "generating symbol list for \`$libname.la'"
    8431               export_symbols="$output_objdir/$libname.exp"
     9924            ${skipped_export-false} && {
     9925              func_verbose "generating symbol list for '$libname.la'"
     9926              export_symbols=$output_objdir/$libname.exp
    84329927              $opt_dry_run || $RM $export_symbols
    84339928              libobjs=$output
     
    84389933                eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\"
    84399934              fi
    8440             fi
     9935            }
    84419936
    84429937            test -n "$save_libobjs" &&
     
    84449939
    84459940            # Loop through the commands generated above and execute them.
    8446             save_ifs="$IFS"; IFS='~'
     9941            save_ifs=$IFS; IFS='~'
    84479942            for cmd in $concat_cmds; do
    8448               IFS="$save_ifs"
    8449               $opt_silent || {
     9943              IFS=$save_ifs
     9944              $opt_quiet || {
    84509945                  func_quote_for_expand "$cmd"
    84519946                  eval "func_echo $func_quote_for_expand_result"
     
    84559950
    84569951                # Restore the uninstalled library and exit
    8457                 if test "$opt_mode" = relink; then
     9952                if test relink = "$opt_mode"; then
    84589953                  ( cd "$output_objdir" && \
    84599954                    $RM "${realname}T" && \
     
    84649959              }
    84659960            done
    8466             IFS="$save_ifs"
     9961            IFS=$save_ifs
    84679962
    84689963            if test -n "$export_symbols_regex" && ${skipped_export-false}; then
     
    84729967          fi
    84739968
    8474           if ${skipped_export-false}; then
     9969          ${skipped_export-false} && {
    84759970            if test -n "$export_symbols" && test -n "$include_expsyms"; then
    8476               tmp_export_symbols="$export_symbols"
    8477               test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols"
     9971              tmp_export_symbols=$export_symbols
     9972              test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols
    84789973              $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"'
    84799974            fi
     
    84819976            if test -n "$orig_export_symbols"; then
    84829977              # The given exports_symbols file has to be filtered, so filter it.
    8483               func_verbose "filter symbol list for \`$libname.la' to tag DATA exports"
     9978              func_verbose "filter symbol list for '$libname.la' to tag DATA exports"
    84849979              # FIXME: $output_objdir/$libname.filter potentially contains lots of
    8485               # 's' commands which not all seds can handle. GNU sed should be fine
     9980              # 's' commands, which not all seds can handle. GNU sed should be fine
    84869981              # though. Also, the filter scales superlinearly with the number of
    84879982              # global variables. join(1) would be nice here, but unfortunately
     
    84929987              $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols
    84939988            fi
    8494           fi
     9989          }
    84959990
    84969991          libobjs=$output
     
    850610001
    850710002          # Do each of the archive commands.
    8508           if test "$module" = yes && test -n "$module_cmds" ; then
     10003          if test yes = "$module" && test -n "$module_cmds"; then
    850910004            if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then
    851010005              cmds=$module_expsym_cmds
     
    852810023        # Add any objects from preloaded convenience libraries
    852910024        if test -n "$dlprefiles"; then
    8530           gentop="$output_objdir/${outputname}x"
     10025          gentop=$output_objdir/${outputname}x
    853110026          func_append generated " $gentop"
    853210027
     
    853610031        fi
    853710032
    8538         save_ifs="$IFS"; IFS='~'
     10033        save_ifs=$IFS; IFS='~'
    853910034        for cmd in $cmds; do
    8540           IFS="$save_ifs"
     10035          IFS=$sp$nl
    854110036          eval cmd=\"$cmd\"
    8542           $opt_silent || {
     10037          IFS=$save_ifs
     10038          $opt_quiet || {
    854310039            func_quote_for_expand "$cmd"
    854410040            eval "func_echo $func_quote_for_expand_result"
     
    854810044
    854910045            # Restore the uninstalled library and exit
    8550             if test "$opt_mode" = relink; then
     10046            if test relink = "$opt_mode"; then
    855110047              ( cd "$output_objdir" && \
    855210048                $RM "${realname}T" && \
     
    855710053          }
    855810054        done
    8559         IFS="$save_ifs"
     10055        IFS=$save_ifs
    856010056
    856110057        # Restore the uninstalled library and exit
    8562         if test "$opt_mode" = relink; then
     10058        if test relink = "$opt_mode"; then
    856310059          $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $?
    856410060
     
    858010076
    858110077        # If -module or -export-dynamic was specified, set the dlname.
    8582         if test "$module" = yes || test "$export_dynamic" = yes; then
     10078        if test yes = "$module" || test yes = "$export_dynamic"; then
    858310079          # On all known operating systems, these are identical.
    8584           dlname="$soname"
     10080          dlname=$soname
    858510081        fi
    858610082      fi
     
    858810084
    858910085    obj)
    8590       if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then
    8591         func_warning "\`-dlopen' is ignored for objects"
     10086      if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then
     10087        func_warning "'-dlopen' is ignored for objects"
    859210088      fi
    859310089
    859410090      case " $deplibs" in
    859510091      *\ -l* | *\ -L*)
    8596         func_warning "\`-l' and \`-L' are ignored for objects" ;;
     10092        func_warning "'-l' and '-L' are ignored for objects" ;;
    859710093      esac
    859810094
    859910095      test -n "$rpath" && \
    8600         func_warning "\`-rpath' is ignored for objects"
     10096        func_warning "'-rpath' is ignored for objects"
    860110097
    860210098      test -n "$xrpath" && \
    8603         func_warning "\`-R' is ignored for objects"
     10099        func_warning "'-R' is ignored for objects"
    860410100
    860510101      test -n "$vinfo" && \
    8606         func_warning "\`-version-info' is ignored for objects"
     10102        func_warning "'-version-info' is ignored for objects"
    860710103
    860810104      test -n "$release" && \
    8609         func_warning "\`-release' is ignored for objects"
     10105        func_warning "'-release' is ignored for objects"
    861010106
    861110107      case $output in
    861210108      *.lo)
    861310109        test -n "$objs$old_deplibs" && \
    8614           func_fatal_error "cannot build library object \`$output' from non-libtool objects"
     10110          func_fatal_error "cannot build library object '$output' from non-libtool objects"
    861510111
    861610112        libobj=$output
     
    862010116      *)
    862110117        libobj=
    8622         obj="$output"
     10118        obj=$output
    862310119        ;;
    862410120      esac
     
    863310129      reload_conv_objs=
    863410130      gentop=
    8635       # reload_cmds runs $LD directly, so let us get rid of
    8636       # -Wl from whole_archive_flag_spec and hope we can get by with
    8637       # turning comma into space..
    8638       wl=
    8639 
     10131      # if reload_cmds runs $LD directly, get rid of -Wl from
     10132      # whole_archive_flag_spec and hope we can get by with turning comma
     10133      # into space.
     10134      case $reload_cmds in
     10135        *\$LD[\ \$]*) wl= ;;
     10136      esac
    864010137      if test -n "$convenience"; then
    864110138        if test -n "$whole_archive_flag_spec"; then
    864210139          eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\"
    8643           reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
     10140          test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'`
     10141          reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags
    864410142        else
    8645           gentop="$output_objdir/${obj}x"
     10143          gentop=$output_objdir/${obj}x
    864610144          func_append generated " $gentop"
    864710145
     
    865210150
    865310151      # If we're not building shared, we need to use non_pic_objs
    8654       test "$build_libtool_libs" != yes && libobjs="$non_pic_objects"
     10152      test yes = "$build_libtool_libs" || libobjs=$non_pic_objects
    865510153
    865610154      # Create the old-style object.
    8657       reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test
    8658 
    8659       output="$obj"
     10155      reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs
     10156
     10157      output=$obj
    866010158      func_execute_cmds "$reload_cmds" 'exit $?'
    866110159
     
    866910167      fi
    867010168
    8671       if test "$build_libtool_libs" != yes; then
     10169      test yes = "$build_libtool_libs" || {
    867210170        if test -n "$gentop"; then
    867310171          func_show_eval '${RM}r "$gentop"'
     
    867910177        # $opt_dry_run || eval "echo timestamp > $libobj" || exit $?
    868010178        exit $EXIT_SUCCESS
    8681       fi
    8682 
    8683       if test -n "$pic_flag" || test "$pic_mode" != default; then
     10179      }
     10180
     10181      if test -n "$pic_flag" || test default != "$pic_mode"; then
    868410182        # Only do commands if we really have different PIC objects.
    868510183        reload_objs="$libobjs $reload_conv_objs"
    8686         output="$libobj"
     10184        output=$libobj
    868710185        func_execute_cmds "$reload_cmds" 'exit $?'
    868810186      fi
     
    870110199      esac
    870210200      test -n "$vinfo" && \
    8703         func_warning "\`-version-info' is ignored for programs"
     10201        func_warning "'-version-info' is ignored for programs"
    870410202
    870510203      test -n "$release" && \
    8706         func_warning "\`-release' is ignored for programs"
    8707 
    8708       test "$preload" = yes \
    8709         && test "$dlopen_support" = unknown \
    8710         && test "$dlopen_self" = unknown \
    8711         && test "$dlopen_self_static" = unknown && \
    8712           func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support."
     10204        func_warning "'-release' is ignored for programs"
     10205
     10206      $preload \
     10207        && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \
     10208        && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support."
    871310209
    871410210      case $host in
     
    872410220        # Don't allow lazy linking, it breaks C++ global constructors
    872510221        # But is supposedly fixed on 10.4 or later (yay!).
    8726         if test "$tagname" = CXX ; then
     10222        if test CXX = "$tagname"; then
    872710223          case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
    872810224            10.[0123])
    8729               func_append compile_command " ${wl}-bind_at_load"
    8730               func_append finalize_command " ${wl}-bind_at_load"
     10225              func_append compile_command " $wl-bind_at_load"
     10226              func_append finalize_command " $wl-bind_at_load"
    873110227            ;;
    873210228          esac
     
    876410260        esac
    876510261      done
    8766       compile_deplibs="$new_libs"
     10262      compile_deplibs=$new_libs
    876710263
    876810264
     
    878810284          if test -n "$hardcode_libdir_separator"; then
    878910285            if test -z "$hardcode_libdirs"; then
    8790               hardcode_libdirs="$libdir"
     10286              hardcode_libdirs=$libdir
    879110287            else
    879210288              # Just accumulate the unique libdirs.
     
    881110307        case $host in
    881210308        *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*)
    8813           testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'`
     10309          testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'`
    881410310          case :$dllsearchpath: in
    881510311          *":$libdir:"*) ;;
     
    882810324      if test -n "$hardcode_libdir_separator" &&
    882910325         test -n "$hardcode_libdirs"; then
    8830         libdir="$hardcode_libdirs"
     10326        libdir=$hardcode_libdirs
    883110327        eval rpath=\" $hardcode_libdir_flag_spec\"
    883210328      fi
    8833       compile_rpath="$rpath"
     10329      compile_rpath=$rpath
    883410330
    883510331      rpath=
     
    883910335          if test -n "$hardcode_libdir_separator"; then
    884010336            if test -z "$hardcode_libdirs"; then
    8841               hardcode_libdirs="$libdir"
     10337              hardcode_libdirs=$libdir
    884210338            else
    884310339              # Just accumulate the unique libdirs.
     
    886410360      if test -n "$hardcode_libdir_separator" &&
    886510361         test -n "$hardcode_libdirs"; then
    8866         libdir="$hardcode_libdirs"
     10362        libdir=$hardcode_libdirs
    886710363        eval rpath=\" $hardcode_libdir_flag_spec\"
    886810364      fi
    8869       finalize_rpath="$rpath"
    8870 
    8871       if test -n "$libobjs" && test "$build_old_libs" = yes; then
     10365      finalize_rpath=$rpath
     10366
     10367      if test -n "$libobjs" && test yes = "$build_old_libs"; then
    887210368        # Transform all the library objects into standard objects.
    887310369        compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP`
     
    887510371      fi
    887610372
    8877       func_generate_dlsyms "$outputname" "@PROGRAM@" "no"
     10373      func_generate_dlsyms "$outputname" "@PROGRAM@" false
    887810374
    887910375      # template prelinking step
     
    888210378      fi
    888310379
    8884       wrappers_required=yes
     10380      wrappers_required=:
    888510381      case $host in
    888610382      *cegcc* | *mingw32ce*)
    888710383        # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway.
    8888         wrappers_required=no
     10384        wrappers_required=false
    888910385        ;;
    889010386      *cygwin* | *mingw* )
    8891         if test "$build_libtool_libs" != yes; then
    8892           wrappers_required=no
    8893         fi
     10387        test yes = "$build_libtool_libs" || wrappers_required=false
    889410388        ;;
    889510389      *)
    8896         if test "$need_relink" = no || test "$build_libtool_libs" != yes; then
    8897           wrappers_required=no
     10390        if test no = "$need_relink" || test yes != "$build_libtool_libs"; then
     10391          wrappers_required=false
    889810392        fi
    889910393        ;;
    890010394      esac
    8901       if test "$wrappers_required" = no; then
     10395      $wrappers_required || {
    890210396        # Replace the output file specification.
    890310397        compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
    8904         link_command="$compile_command$compile_rpath"
     10398        link_command=$compile_command$compile_rpath
    890510399
    890610400        # We have no uninstalled library dependencies, so finalize right now.
     
    891510409
    891610410        # Delete the generated files.
    8917         if test -f "$output_objdir/${outputname}S.${objext}"; then
    8918           func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"'
     10411        if test -f "$output_objdir/${outputname}S.$objext"; then
     10412          func_show_eval '$RM "$output_objdir/${outputname}S.$objext"'
    891910413        fi
    892010414
    892110415        exit $exit_status
    8922       fi
     10416      }
    892310417
    892410418      if test -n "$compile_shlibpath$finalize_shlibpath"; then
     
    895010444      fi
    895110445
    8952       if test "$no_install" = yes; then
     10446      if test yes = "$no_install"; then
    895310447        # We don't need to create a wrapper script.
    8954         link_command="$compile_var$compile_command$compile_rpath"
     10448        link_command=$compile_var$compile_command$compile_rpath
    895510449        # Replace the output file specification.
    895610450        link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'`
     
    896910463      fi
    897010464
    8971       if test "$hardcode_action" = relink; then
    8972         # Fast installation is not supported
    8973         link_command="$compile_var$compile_command$compile_rpath"
    8974         relink_command="$finalize_var$finalize_command$finalize_rpath"
    8975 
    8976         func_warning "this platform does not like uninstalled shared libraries"
    8977         func_warning "\`$output' will be relinked during installation"
    8978       else
    8979         if test "$fast_install" != no; then
    8980           link_command="$finalize_var$compile_command$finalize_rpath"
    8981           if test "$fast_install" = yes; then
    8982             relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
    8983           else
    8984             # fast_install is set to needless
    8985             relink_command=
    8986           fi
    8987         else
    8988           link_command="$compile_var$compile_command$compile_rpath"
    8989           relink_command="$finalize_var$finalize_command$finalize_rpath"
    8990         fi
    8991       fi
     10465      case $hardcode_action,$fast_install in
     10466        relink,*)
     10467          # Fast installation is not supported
     10468          link_command=$compile_var$compile_command$compile_rpath
     10469          relink_command=$finalize_var$finalize_command$finalize_rpath
     10470
     10471          func_warning "this platform does not like uninstalled shared libraries"
     10472          func_warning "'$output' will be relinked during installation"
     10473          ;;
     10474        *,yes)
     10475          link_command=$finalize_var$compile_command$finalize_rpath
     10476          relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'`
     10477          ;;
     10478        *,no)
     10479          link_command=$compile_var$compile_command$compile_rpath
     10480          relink_command=$finalize_var$finalize_command$finalize_rpath
     10481          ;;
     10482        *,needless)
     10483          link_command=$finalize_var$compile_command$finalize_rpath
     10484          relink_command=
     10485          ;;
     10486      esac
    899210487
    899310488      # Replace the output file specification.
     
    904610541            output_name=$func_basename_result
    904710542            output_path=$func_dirname_result
    9048             cwrappersource="$output_path/$objdir/lt-$output_name.c"
    9049             cwrapper="$output_path/$output_name.exe"
     10543            cwrappersource=$output_path/$objdir/lt-$output_name.c
     10544            cwrapper=$output_path/$output_name.exe
    905010545            $RM $cwrappersource $cwrapper
    905110546            trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
     
    906810563            $opt_dry_run || {
    906910564              # note: this script will not be executed, so do not chmod.
    9070               if test "x$build" = "x$host" ; then
     10565              if test "x$build" = "x$host"; then
    907110566                $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result
    907210567              else
     
    909110586    for oldlib in $oldlibs; do
    909210587
    9093       if test "$build_libtool_libs" = convenience; then
    9094         oldobjs="$libobjs_save $symfileobj"
    9095         addlibs="$convenience"
    9096         build_libtool_libs=no
    9097       else
    9098         if test "$build_libtool_libs" = module; then
    9099           oldobjs="$libobjs_save"
     10588      case $build_libtool_libs in
     10589        convenience)
     10590          oldobjs="$libobjs_save $symfileobj"
     10591          addlibs=$convenience
    910010592          build_libtool_libs=no
    9101         else
     10593          ;;
     10594        module)
     10595          oldobjs=$libobjs_save
     10596          addlibs=$old_convenience
     10597          build_libtool_libs=no
     10598          ;;
     10599        *)
    910210600          oldobjs="$old_deplibs $non_pic_objects"
    9103           if test "$preload" = yes && test -f "$symfileobj"; then
    9104             func_append oldobjs " $symfileobj"
    9105           fi
    9106         fi
    9107         addlibs="$old_convenience"
    9108       fi
     10601          $preload && test -f "$symfileobj" \
     10602            && func_append oldobjs " $symfileobj"
     10603          addlibs=$old_convenience
     10604          ;;
     10605      esac
    910910606
    911010607      if test -n "$addlibs"; then
    9111         gentop="$output_objdir/${outputname}x"
     10608        gentop=$output_objdir/${outputname}x
    911210609        func_append generated " $gentop"
    911310610
     
    911710614
    911810615      # Do each command in the archive commands.
    9119       if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then
     10616      if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then
    912010617        cmds=$old_archive_from_new_cmds
    912110618      else
     
    912310620        # Add any objects from preloaded convenience libraries
    912410621        if test -n "$dlprefiles"; then
    9125           gentop="$output_objdir/${outputname}x"
     10622          gentop=$output_objdir/${outputname}x
    912610623          func_append generated " $gentop"
    912710624
     
    914410641        else
    914510642          echo "copying selected object files to avoid basename conflicts..."
    9146           gentop="$output_objdir/${outputname}x"
     10643          gentop=$output_objdir/${outputname}x
    914710644          func_append generated " $gentop"
    914810645          func_mkdir_p "$gentop"
     
    915310650          do
    915410651            func_basename "$obj"
    9155             objbase="$func_basename_result"
     10652            objbase=$func_basename_result
    915610653            case " $oldobjs " in
    915710654            " ") oldobjs=$obj ;;
     
    922210719              # the above command should be used before it gets too long
    922310720              oldobjs=$objlist
    9224               if test "$obj" = "$last_oldobj" ; then
     10721              if test "$obj" = "$last_oldobj"; then
    922510722                RANLIB=$save_RANLIB
    922610723              fi
    922710724              test -z "$concat_cmds" || concat_cmds=$concat_cmds~
    9228               eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\"
     10725              eval concat_cmds=\"\$concat_cmds$old_archive_cmds\"
    922910726              objlist=
    923010727              len=$len0
     
    923310730          RANLIB=$save_RANLIB
    923410731          oldobjs=$objlist
    9235           if test "X$oldobjs" = "X" ; then
     10732          if test -z "$oldobjs"; then
    923610733            eval cmds=\"\$concat_cmds\"
    923710734          else
     
    925010747    *.la)
    925110748      old_library=
    9252       test "$build_old_libs" = yes && old_library="$libname.$libext"
     10749      test yes = "$build_old_libs" && old_library=$libname.$libext
    925310750      func_verbose "creating $output"
    925410751
     
    926510762      done
    926610763      # Quote the link command for shipping.
    9267       relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
     10764      relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)"
    926810765      relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"`
    9269       if test "$hardcode_automatic" = yes ; then
     10766      if test yes = "$hardcode_automatic"; then
    927010767        relink_command=
    927110768      fi
     
    927410771      $opt_dry_run || {
    927510772        for installed in no yes; do
    9276           if test "$installed" = yes; then
     10773          if test yes = "$installed"; then
    927710774            if test -z "$install_libdir"; then
    927810775              break
    927910776            fi
    9280             output="$output_objdir/$outputname"i
     10777            output=$output_objdir/${outputname}i
    928110778            # Replace all uninstalled libtool libraries with the installed ones
    928210779            newdependency_libs=
     
    928510782              *.la)
    928610783                func_basename "$deplib"
    9287                 name="$func_basename_result"
     10784                name=$func_basename_result
    928810785                func_resolve_sysroot "$deplib"
    9289                 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
     10786                eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
    929010787                test -z "$libdir" && \
    9291                   func_fatal_error "\`$deplib' is not a valid libtool archive"
     10788                  func_fatal_error "'$deplib' is not a valid libtool archive"
    929210789                func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
    929310790                ;;
     
    930510802              esac
    930610803            done
    9307             dependency_libs="$newdependency_libs"
     10804            dependency_libs=$newdependency_libs
    930810805            newdlfiles=
    930910806
     
    931210809              *.la)
    931310810                func_basename "$lib"
    9314                 name="$func_basename_result"
    9315                 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
     10811                name=$func_basename_result
     10812                eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
    931610813                test -z "$libdir" && \
    9317                   func_fatal_error "\`$lib' is not a valid libtool archive"
     10814                  func_fatal_error "'$lib' is not a valid libtool archive"
    931810815                func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name"
    931910816                ;;
     
    932110818              esac
    932210819            done
    9323             dlfiles="$newdlfiles"
     10820            dlfiles=$newdlfiles
    932410821            newdlprefiles=
    932510822            for lib in $dlprefiles; do
     
    933110828                # the library:
    933210829                func_basename "$lib"
    9333                 name="$func_basename_result"
    9334                 eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
     10830                name=$func_basename_result
     10831                eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib`
    933510832                test -z "$libdir" && \
    9336                   func_fatal_error "\`$lib' is not a valid libtool archive"
     10833                  func_fatal_error "'$lib' is not a valid libtool archive"
    933710834                func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name"
    933810835                ;;
    933910836              esac
    934010837            done
    9341             dlprefiles="$newdlprefiles"
     10838            dlprefiles=$newdlprefiles
    934210839          else
    934310840            newdlfiles=
    934410841            for lib in $dlfiles; do
    934510842              case $lib in
    9346                 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
     10843                [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
    934710844                *) abs=`pwd`"/$lib" ;;
    934810845              esac
    934910846              func_append newdlfiles " $abs"
    935010847            done
    9351             dlfiles="$newdlfiles"
     10848            dlfiles=$newdlfiles
    935210849            newdlprefiles=
    935310850            for lib in $dlprefiles; do
    935410851              case $lib in
    9355                 [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;;
     10852                [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;;
    935610853                *) abs=`pwd`"/$lib" ;;
    935710854              esac
    935810855              func_append newdlprefiles " $abs"
    935910856            done
    9360             dlprefiles="$newdlprefiles"
     10857            dlprefiles=$newdlprefiles
    936110858          fi
    936210859          $RM $output
     
    937410871            *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll)
    937510872              # If a -bindir argument was supplied, place the dll there.
    9376               if test "x$bindir" != x ;
    9377               then
     10873              if test -n "$bindir"; then
    937810874                func_relative_path "$install_libdir" "$bindir"
    9379                 tdlname=$func_relative_path_result$dlname
     10875                tdlname=$func_relative_path_result/$dlname
    938010876              else
    938110877                # Otherwise fall back on heuristic.
     
    938610882          $ECHO > $output "\
    938710883# $outputname - a libtool library file
    9388 # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION
     10884# Generated by $PROGRAM (GNU $PACKAGE) $VERSION
    938910885#
    939010886# Please DO NOT delete this file!
     
    940010896old_library='$old_library'
    940110897
    9402 # Linker flags that can not go in dependency_libs.
     10898# Linker flags that cannot go in dependency_libs.
    940310899inherited_linker_flags='$new_inherited_linker_flags'
    940410900
     
    942610922# Directory that this library needs to be installed in:
    942710923libdir='$install_libdir'"
    9428           if test "$installed" = no && test "$need_relink" = yes; then
     10924          if test no,yes = "$installed,$need_relink"; then
    942910925            $ECHO >> $output "\
    943010926relink_command=\"$relink_command\""
     
    944110937}
    944210938
    9443 { test "$opt_mode" = link || test "$opt_mode" = relink; } &&
    9444     func_mode_link ${1+"$@"}
     10939if test link = "$opt_mode" || test relink = "$opt_mode"; then
     10940  func_mode_link ${1+"$@"}
     10941fi
    944510942
    944610943
     
    944810945func_mode_uninstall ()
    944910946{
    9450     $opt_debug
    9451     RM="$nonopt"
     10947    $debug_cmd
     10948
     10949    RM=$nonopt
    945210950    files=
    9453     rmforce=
     10951    rmforce=false
    945410952    exit_status=0
    945510953
    945610954    # This variable tells wrapper scripts just to set variables rather
    945710955    # than running their programs.
    9458     libtool_install_magic="$magic"
     10956    libtool_install_magic=$magic
    945910957
    946010958    for arg
    946110959    do
    946210960      case $arg in
    9463       -f) func_append RM " $arg"; rmforce=yes ;;
     10961      -f) func_append RM " $arg"; rmforce=: ;;
    946410962      -*) func_append RM " $arg" ;;
    946510963      *) func_append files " $arg" ;;
     
    947410972    for file in $files; do
    947510973      func_dirname "$file" "" "."
    9476       dir="$func_dirname_result"
    9477       if test "X$dir" = X.; then
    9478         odir="$objdir"
     10974      dir=$func_dirname_result
     10975      if test . = "$dir"; then
     10976        odir=$objdir
    947910977      else
    9480         odir="$dir/$objdir"
     10978        odir=$dir/$objdir
    948110979      fi
    948210980      func_basename "$file"
    9483       name="$func_basename_result"
    9484       test "$opt_mode" = uninstall && odir="$dir"
     10981      name=$func_basename_result
     10982      test uninstall = "$opt_mode" && odir=$dir
    948510983
    948610984      # Remember odir for removal later, being careful to avoid duplicates
    9487       if test "$opt_mode" = clean; then
     10985      if test clean = "$opt_mode"; then
    948810986        case " $rmdirs " in
    948910987          *" $odir "*) ;;
     
    950010998        exit_status=1
    950110999        continue
    9502       elif test "$rmforce" = yes; then
     11000      elif $rmforce; then
    950311001        continue
    950411002      fi
    950511003
    9506       rmfiles="$file"
     11004      rmfiles=$file
    950711005
    950811006      case $name in
     
    951811016          test -n "$old_library" && func_append rmfiles " $odir/$old_library"
    951911017
    9520           case "$opt_mode" in
     11018          case $opt_mode in
    952111019          clean)
    952211020            case " $library_names " in
     
    952911027            if test -n "$library_names"; then
    953011028              # Do each command in the postuninstall commands.
    9531               func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
     11029              func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1'
    953211030            fi
    953311031
    953411032            if test -n "$old_library"; then
    953511033              # Do each command in the old_postuninstall commands.
    9536               func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1'
     11034              func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1'
    953711035            fi
    953811036            # FIXME: should reinstall the best remaining shared library.
     
    955011048
    955111049          # Add PIC object to the list of files to remove.
    9552           if test -n "$pic_object" &&
    9553              test "$pic_object" != none; then
     11050          if test -n "$pic_object" && test none != "$pic_object"; then
    955411051            func_append rmfiles " $dir/$pic_object"
    955511052          fi
    955611053
    955711054          # Add non-PIC object to the list of files to remove.
    9558           if test -n "$non_pic_object" &&
    9559              test "$non_pic_object" != none; then
     11055          if test -n "$non_pic_object" && test none != "$non_pic_object"; then
    956011056            func_append rmfiles " $dir/$non_pic_object"
    956111057          fi
     
    956411060
    956511061      *)
    9566         if test "$opt_mode" = clean ; then
     11062        if test clean = "$opt_mode"; then
    956711063          noexename=$name
    956811064          case $file in
     
    959111087            # note $name still contains .exe if it was in $file originally
    959211088            # as does the version of $file that was added into $rmfiles
    9593             func_append rmfiles " $odir/$name $odir/${name}S.${objext}"
    9594             if test "$fast_install" = yes && test -n "$relink_command"; then
     11089            func_append rmfiles " $odir/$name $odir/${name}S.$objext"
     11090            if test yes = "$fast_install" && test -n "$relink_command"; then
    959511091              func_append rmfiles " $odir/lt-$name"
    959611092            fi
    9597             if test "X$noexename" != "X$name" ; then
    9598               func_append rmfiles " $odir/lt-${noexename}.c"
     11093            if test "X$noexename" != "X$name"; then
     11094              func_append rmfiles " $odir/lt-$noexename.c"
    959911095            fi
    960011096          fi
     
    960511101    done
    960611102
    9607     # Try to remove the ${objdir}s in the directories where we deleted files
     11103    # Try to remove the $objdir's in the directories where we deleted files
    960811104    for dir in $rmdirs; do
    960911105      if test -d "$dir"; then
     
    961511111}
    961611112
    9617 { test "$opt_mode" = uninstall || test "$opt_mode" = clean; } &&
    9618     func_mode_uninstall ${1+"$@"}
     11113if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then
     11114  func_mode_uninstall ${1+"$@"}
     11115fi
    961911116
    962011117test -z "$opt_mode" && {
    9621   help="$generic_help"
     11118  help=$generic_help
    962211119  func_fatal_help "you must specify a MODE"
    962311120}
    962411121
    962511122test -z "$exec_cmd" && \
    9626   func_fatal_help "invalid operation mode \`$opt_mode'"
     11123  func_fatal_help "invalid operation mode '$opt_mode'"
    962711124
    962811125if test -n "$exec_cmd"; then
     
    963511132
    963611133# The TAGs below are defined such that we never get into a situation
    9637 # in which we disable both kinds of libraries.  Given conflicting
     11134# where we disable both kinds of libraries.  Given conflicting
    963811135# choices, we go for a static library, that is the most portable,
    963911136# since we can't tell whether shared libraries were disabled because
     
    965811155# sh-indentation:2
    965911156# End:
    9660 # vi:sw=2
    9661 
  • trunk/FACT++/.macro_dir/libtool.m4

    r12832 r18603  
    11# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
    22#
    3 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
    4 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
    5 #                 Inc.
     3#   Copyright (C) 1996-2001, 2003-2015 Free Software Foundation, Inc.
    64#   Written by Gordon Matzigkeit, 1996
    75#
     
    119
    1210m4_define([_LT_COPYING], [dnl
    13 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
    14 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
    15 #                 Inc.
    16 #   Written by Gordon Matzigkeit, 1996
     11# Copyright (C) 2014 Free Software Foundation, Inc.
     12# This is free software; see the source for copying conditions.  There is NO
     13# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     14
     15# GNU Libtool is free software; you can redistribute it and/or modify
     16# it under the terms of the GNU General Public License as published by
     17# the Free Software Foundation; either version 2 of of the License, or
     18# (at your option) any later version.
    1719#
    18 #   This file is part of GNU Libtool.
     20# As a special exception to the GNU General Public License, if you
     21# distribute this file as part of a program or library that is built
     22# using GNU Libtool, you may include this file under the  same
     23# distribution terms that you use for the rest of that program.
    1924#
    20 # GNU Libtool is free software; you can redistribute it and/or
    21 # modify it under the terms of the GNU General Public License as
    22 # published by the Free Software Foundation; either version 2 of
    23 # the License, or (at your option) any later version.
    24 #
    25 # As a special exception to the GNU General Public License,
    26 # if you distribute this file as part of a program or library that
    27 # is built using GNU Libtool, you may include this file under the
    28 # same distribution terms that you use for the rest of that program.
    29 #
    30 # GNU Libtool is distributed in the hope that it will be useful,
    31 # but WITHOUT ANY WARRANTY; without even the implied warranty of
     25# GNU Libtool is distributed in the hope that it will be useful, but
     26# WITHOUT ANY WARRANTY; without even the implied warranty of
    3227# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    3328# GNU General Public License for more details.
    3429#
    3530# You should have received a copy of the GNU General Public License
    36 # along with GNU Libtool; see the file COPYING.  If not, a copy
    37 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
    38 # obtained by writing to the Free Software Foundation, Inc.,
    39 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
     31# along with this program.  If not, see <http://www.gnu.org/licenses/>.
    4032])
    4133
    42 # serial 57 LT_INIT
     34# serial 58 LT_INIT
    4335
    4436
     
    6860# ------------------
    6961AC_DEFUN([LT_INIT],
    70 [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
     62[AC_PREREQ([2.62])dnl We use AC_PATH_PROGS_FEATURE_CHECK
    7163AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
    7264AC_BEFORE([$0], [LT_LANG])dnl
     
    9284
    9385# This can be used to rebuild libtool when needed
    94 LIBTOOL_DEPS="$ltmain"
     86LIBTOOL_DEPS=$ltmain
    9587
    9688# Always use our own libtool.
     
    112104
    113105
     106# _LT_PREPARE_CC_BASENAME
     107# -----------------------
     108m4_defun([_LT_PREPARE_CC_BASENAME], [
     109# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     110func_cc_basename ()
     111{
     112    for cc_temp in @S|@*""; do
     113      case $cc_temp in
     114        compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
     115        distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
     116        \-*) ;;
     117        *) break;;
     118      esac
     119    done
     120    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     121}
     122])# _LT_PREPARE_CC_BASENAME
     123
     124
    114125# _LT_CC_BASENAME(CC)
    115126# -------------------
    116 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     127# It would be clearer to call AC_REQUIREs from _LT_PREPARE_CC_BASENAME,
     128# but that macro is also expanded into generated libtool script, which
     129# arranges for $SED and $ECHO to be set by different means.
    117130m4_defun([_LT_CC_BASENAME],
    118 [for cc_temp in $1""; do
    119   case $cc_temp in
    120     compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
    121     distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
    122     \-*) ;;
    123     *) break;;
    124   esac
    125 done
    126 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     131[m4_require([_LT_PREPARE_CC_BASENAME])dnl
     132AC_REQUIRE([_LT_DECL_SED])dnl
     133AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
     134func_cc_basename $1
     135cc_basename=$func_cc_basename_result
    127136])
    128137
     
    131140# ----------------------
    132141# It is okay to use these file commands and assume they have been set
    133 # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
     142# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
    134143m4_defun([_LT_FILEUTILS_DEFAULTS],
    135144[: ${CP="cp -f"}
     
    147156AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
    148157
     158_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
     159dnl
    149160_LT_DECL([], [host_alias], [0], [The host system])dnl
    150161_LT_DECL([], [host], [0])dnl
     
    176187m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
    177188m4_require([_LT_WITH_SYSROOT])dnl
     189m4_require([_LT_CMD_TRUNCATE])dnl
    178190
    179191_LT_CONFIG_LIBTOOL_INIT([
    180 # See if we are running on zsh, and set the options which allow our
     192# See if we are running on zsh, and set the options that allow our
    181193# commands through without removal of \ escapes INIT.
    182 if test -n "\${ZSH_VERSION+set}" ; then
     194if test -n "\${ZSH_VERSION+set}"; then
    183195   setopt NO_GLOB_SUBST
    184196fi
    185197])
    186 if test -n "${ZSH_VERSION+set}" ; then
     198if test -n "${ZSH_VERSION+set}"; then
    187199   setopt NO_GLOB_SUBST
    188200fi
     
    197209  # reason, if we set the COLLECT_NAMES environment variable, the problems
    198210  # vanish in a puff of smoke.
    199   if test "X${COLLECT_NAMES+set}" != Xset; then
     211  if test set != "${COLLECT_NAMES+set}"; then
    200212    COLLECT_NAMES=
    201213    export COLLECT_NAMES
     
    208220can_build_shared=yes
    209221
    210 # All known linkers require a `.a' archive for static linking (except MSVC,
     222# All known linkers require a '.a' archive for static linking (except MSVC,
    211223# which needs '.lib').
    212224libext=a
    213225
    214 with_gnu_ld="$lt_cv_prog_gnu_ld"
    215 
    216 old_CC="$CC"
    217 old_CFLAGS="$CFLAGS"
     226with_gnu_ld=$lt_cv_prog_gnu_ld
     227
     228old_CC=$CC
     229old_CFLAGS=$CFLAGS
    218230
    219231# Set sane defaults for various variables
     
    268280# _LT_PROG_LTMAIN
    269281# ---------------
    270 # Note that this code is called both from `configure', and `config.status'
     282# Note that this code is called both from 'configure', and 'config.status'
    271283# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
    272 # `config.status' has no value for ac_aux_dir unless we are using Automake,
     284# 'config.status' has no value for ac_aux_dir unless we are using Automake,
    273285# so we pass a copy along to make sure it has a sensible value anyway.
    274286m4_defun([_LT_PROG_LTMAIN],
    275287[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
    276288_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
    277 ltmain="$ac_aux_dir/ltmain.sh"
     289ltmain=$ac_aux_dir/ltmain.sh
    278290])# _LT_PROG_LTMAIN
    279291
     
    285297# So that we can recreate a full libtool script including additional
    286298# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
    287 # in macros and then make a single call at the end using the `libtool'
     299# in macros and then make a single call at the end using the 'libtool'
    288300# label.
    289301
     
    420432# _LT_CONFIG_STATUS_DECLARE([VARNAME])
    421433# ------------------------------------
    422 # Quote a variable value, and forward it to `config.status' so that its
    423 # declaration there will have the same value as in `configure'.  VARNAME
     434# Quote a variable value, and forward it to 'config.status' so that its
     435# declaration there will have the same value as in 'configure'.  VARNAME
    424436# must have a single quote delimited value for this to work.
    425437m4_define([_LT_CONFIG_STATUS_DECLARE],
     
    445457m4_defun([_LT_LIBTOOL_TAGS],
    446458[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
    447 available_tags="_LT_TAGS"dnl
     459available_tags='_LT_TAGS'dnl
    448460])
    449461
     
    473485# -----------------------
    474486# Produce commented declarations of non-tagged libtool config variables
    475 # suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
     487# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
    476488# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
    477489# section) are produced by _LT_LIBTOOL_TAG_VARS.
     
    499511# variables for single and double quote escaping we saved from calls
    500512# to _LT_DECL, we can put quote escaped variables declarations
    501 # into `config.status', and then the shell code to quote escape them in
    502 # for loops in `config.status'.  Finally, any additional code accumulated
     513# into 'config.status', and then the shell code to quote escape them in
     514# for loops in 'config.status'.  Finally, any additional code accumulated
    503515# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
    504516m4_defun([_LT_CONFIG_COMMANDS],
     
    546558    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    547559    *[[\\\\\\\`\\"\\\$]]*)
    548       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
     560      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    549561      ;;
    550562    *)
     
    559571    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    560572    *[[\\\\\\\`\\"\\\$]]*)
    561       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
     573      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    562574      ;;
    563575    *)
     
    575587# reuse the environment learned by the parent script, and make the
    576588# file executable.  If COMMENT is supplied, it is inserted after the
    577 # `#!' sequence but before initialization text begins.  After this
     589# '#!' sequence but before initialization text begins.  After this
    578590# macro, additional text can be appended to FILE to form the body of
    579591# the child script.  The macro ends with non-zero status if the
     
    597609exec AS_MESSAGE_FD>&1
    598610_ASEOF
    599 test $lt_write_fail = 0 && chmod +x $1[]dnl
     611test 0 = "$lt_write_fail" && chmod +x $1[]dnl
    600612m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
    601613
     
    620632
    621633lt_cl_help="\
    622 \`$as_me' creates a local libtool stub from the current configuration,
     634'$as_me' creates a local libtool stub from the current configuration,
    623635for use in further configure time tests before the real libtool is
    624636generated.
     
    638650configured by $[0], generated by m4_PACKAGE_STRING.
    639651
    640 Copyright (C) 2010 Free Software Foundation, Inc.
     652Copyright (C) 2011 Free Software Foundation, Inc.
    641653This config.lt script is free software; the Free Software Foundation
    642654gives unlimited permision to copy, distribute and modify it."
    643655
    644 while test $[#] != 0
     656while test 0 != $[#]
    645657do
    646658  case $[1] in
     
    655667
    656668    -*) AC_MSG_ERROR([unrecognized option: $[1]
    657 Try \`$[0] --help' for more information.]) ;;
     669Try '$[0] --help' for more information.]) ;;
    658670
    659671    *) AC_MSG_ERROR([unrecognized argument: $[1]
    660 Try \`$[0] --help' for more information.]) ;;
     672Try '$[0] --help' for more information.]) ;;
    661673  esac
    662674  shift
     
    684696# config.log, so it can be properly (re)opened and appended to by config.lt.
    685697lt_cl_success=:
    686 test "$silent" = yes &&
     698test yes = "$silent" &&
    687699  lt_config_lt_args="$lt_config_lt_args --quiet"
    688700exec AS_MESSAGE_LOG_FD>/dev/null
     
    704716  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
    705717  m4_if(_LT_TAG, [C], [
    706     # See if we are running on zsh, and set the options which allow our
     718    # See if we are running on zsh, and set the options that allow our
    707719    # commands through without removal of \ escapes.
    708     if test -n "${ZSH_VERSION+set}" ; then
     720    if test -n "${ZSH_VERSION+set}"; then
    709721      setopt NO_GLOB_SUBST
    710722    fi
    711723
    712     cfgfile="${ofile}T"
     724    cfgfile=${ofile}T
    713725    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
    714726    $RM "$cfgfile"
     
    716728    cat <<_LT_EOF >> "$cfgfile"
    717729#! $SHELL
    718 
    719 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
    720 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
     730# Generated automatically by $as_me ($PACKAGE) $VERSION
    721731# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    722732# NOTE: Changes made to this file will be lost: look at ltmain.sh.
    723 #
     733
     734# Provide generalized library-building support services.
     735# Written by Gordon Matzigkeit, 1996
     736
    724737_LT_COPYING
    725738_LT_LIBTOOL_TAGS
     739
     740# Configured defaults for sys_lib_dlsearch_path munging.
     741: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
    726742
    727743# ### BEGIN LIBTOOL CONFIG
     
    729745_LT_LIBTOOL_TAG_VARS
    730746# ### END LIBTOOL CONFIG
     747
     748_LT_EOF
     749
     750    cat <<'_LT_EOF' >> "$cfgfile"
     751
     752# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
     753
     754_LT_PREPARE_MUNGE_PATH_LIST
     755_LT_PREPARE_CC_BASENAME
     756
     757# ### END FUNCTIONS SHARED WITH CONFIGURE
    731758
    732759_LT_EOF
     
    738765# reason, if we set the COLLECT_NAMES environment variable, the problems
    739766# vanish in a puff of smoke.
    740 if test "X${COLLECT_NAMES+set}" != Xset; then
     767if test set != "${COLLECT_NAMES+set}"; then
    741768  COLLECT_NAMES=
    742769  export COLLECT_NAMES
     
    754781  sed '$q' "$ltmain" >> "$cfgfile" \
    755782     || (rm -f "$cfgfile"; exit 1)
    756 
    757   _LT_PROG_REPLACE_SHELLFNS
    758783
    759784   mv -f "$cfgfile" "$ofile" ||
     
    774799    PACKAGE='$PACKAGE'
    775800    VERSION='$VERSION'
    776     TIMESTAMP='$TIMESTAMP'
    777801    RM='$RM'
    778802    ofile='$ofile'], [])
     
    802826  [C],                  [_LT_LANG(C)],
    803827  [C++],                [_LT_LANG(CXX)],
     828  [Go],                 [_LT_LANG(GO)],
    804829  [Java],               [_LT_LANG(GCJ)],
    805830  [Fortran 77],         [_LT_LANG(F77)],
     
    821846  _LT_LANG_$1_CONFIG($1)])dnl
    822847])# _LT_LANG
     848
     849
     850m4_ifndef([AC_PROG_GO], [
     851############################################################
     852# NOTE: This macro has been submitted for inclusion into   #
     853#  GNU Autoconf as AC_PROG_GO.  When it is available in    #
     854#  a released version of Autoconf we should remove this    #
     855#  macro and use it instead.                               #
     856############################################################
     857m4_defun([AC_PROG_GO],
     858[AC_LANG_PUSH(Go)dnl
     859AC_ARG_VAR([GOC],     [Go compiler command])dnl
     860AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
     861_AC_ARG_VAR_LDFLAGS()dnl
     862AC_CHECK_TOOL(GOC, gccgo)
     863if test -z "$GOC"; then
     864  if test -n "$ac_tool_prefix"; then
     865    AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
     866  fi
     867fi
     868if test -z "$GOC"; then
     869  AC_CHECK_PROG(GOC, gccgo, gccgo, false)
     870fi
     871])#m4_defun
     872])#m4_ifndef
    823873
    824874
     
    852902       m4_ifdef([LT_PROG_GCJ],
    853903        [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
     904
     905AC_PROVIDE_IFELSE([AC_PROG_GO],
     906  [LT_LANG(GO)],
     907  [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
    854908
    855909AC_PROVIDE_IFELSE([LT_PROG_RC],
     
    943997    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
    944998      [lt_cv_apple_cc_single_mod=no
    945       if test -z "${LT_MULTI_MODULE}"; then
     999      if test -z "$LT_MULTI_MODULE"; then
    9461000        # By default we will add the -single_module flag. You can override
    9471001        # by either setting the environment variable LT_MULTI_MODULE
     
    9551009          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
    9561010        _lt_result=$?
    957         if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
     1011        # If there is a non-empty error log, and "single_module"
     1012        # appears in it, assume the flag caused a linker warning
     1013        if test -s conftest.err && $GREP single_module conftest.err; then
     1014          cat conftest.err >&AS_MESSAGE_LOG_FD
     1015        # Otherwise, if the output was created with a 0 exit code from
     1016        # the compiler, it worked.
     1017        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
    9581018          lt_cv_apple_cc_single_mod=yes
    9591019        else
     
    9631023        rm -f conftest.*
    9641024      fi])
     1025
    9651026    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
    9661027      [lt_cv_ld_exported_symbols_list],
     
    9721033        [lt_cv_ld_exported_symbols_list=yes],
    9731034        [lt_cv_ld_exported_symbols_list=no])
    974         LDFLAGS="$save_LDFLAGS"
     1035        LDFLAGS=$save_LDFLAGS
    9751036    ])
     1037
    9761038    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
    9771039      [lt_cv_ld_force_load=no
     
    9911053      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
    9921054      _lt_result=$?
    993       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
     1055      if test -s conftest.err && $GREP force_load conftest.err; then
     1056        cat conftest.err >&AS_MESSAGE_LOG_FD
     1057      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
    9941058        lt_cv_ld_force_load=yes
    9951059      else
     
    10011065    case $host_os in
    10021066    rhapsody* | darwin1.[[012]])
    1003       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
     1067      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
    10041068    darwin1.*)
    1005       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     1069      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    10061070    darwin*) # darwin 5.x on
    10071071      # if running on 10.5 or later, the deployment target defaults
     
    10101074      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
    10111075        10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
    1012           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
    1013         10.[[012]]*)
    1014           _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     1076          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     1077        10.[[012]][[,.]]*)
     1078          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    10151079        10.*)
    1016           _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     1080          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
    10171081      esac
    10181082    ;;
    10191083  esac
    1020     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
     1084    if test yes = "$lt_cv_apple_cc_single_mod"; then
    10211085      _lt_dar_single_mod='$single_module'
    10221086    fi
    1023     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
    1024       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
     1087    if test yes = "$lt_cv_ld_exported_symbols_list"; then
     1088      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
    10251089    else
    1026       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
     1090      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
    10271091    fi
    1028     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
     1092    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
    10291093      _lt_dsymutil='~$DSYMUTIL $lib || :'
    10301094    else
     
    10361100
    10371101
    1038 # _LT_DARWIN_LINKER_FEATURES
    1039 # --------------------------
     1102# _LT_DARWIN_LINKER_FEATURES([TAG])
     1103# ---------------------------------
    10401104# Checks for linker and compiler features on darwin
    10411105m4_defun([_LT_DARWIN_LINKER_FEATURES],
     
    10461110  _LT_TAGVAR(hardcode_automatic, $1)=yes
    10471111  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
    1048   if test "$lt_cv_ld_force_load" = "yes"; then
    1049     _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
     1112  if test yes = "$lt_cv_ld_force_load"; then
     1113    _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
     1114    m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
     1115                  [FC],  [_LT_TAGVAR(compiler_needs_object, $1)=yes])
    10501116  else
    10511117    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
    10521118  fi
    10531119  _LT_TAGVAR(link_all_deplibs, $1)=yes
    1054   _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
     1120  _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
    10551121  case $cc_basename in
    1056      ifort*) _lt_dar_can_shared=yes ;;
     1122     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
    10571123     *) _lt_dar_can_shared=$GCC ;;
    10581124  esac
    1059   if test "$_lt_dar_can_shared" = "yes"; then
     1125  if test yes = "$_lt_dar_can_shared"; then
    10601126    output_verbose_link_cmd=func_echo_all
    1061     _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
    1062     _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
    1063     _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
    1064     _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
     1127    _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
     1128    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
     1129    _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil"
     1130    _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil"
    10651131    m4_if([$1], [CXX],
    1066 [   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
    1067       _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
    1068       _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
     1132[   if test yes != "$lt_cv_apple_cc_single_mod"; then
     1133      _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
     1134      _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
    10691135    fi
    10701136],[])
     
    10861152m4_defun([_LT_SYS_MODULE_PATH_AIX],
    10871153[m4_require([_LT_DECL_SED])dnl
    1088 if test "${lt_cv_aix_libpath+set}" = set; then
     1154if test set = "${lt_cv_aix_libpath+set}"; then
    10891155  aix_libpath=$lt_cv_aix_libpath
    10901156else
     
    11041170  fi],[])
    11051171  if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
    1106     _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
     1172    _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
    11071173  fi
    11081174  ])
     
    11241190# Find how we can fake an echo command that does not interpret backslash.
    11251191# In particular, with Autoconf 2.60 or later we add some code to the start
    1126 # of the generated configure script which will find a shell with a builtin
    1127 # printf (which we can use as an echo command).
     1192# of the generated configure script that will find a shell with a builtin
     1193# printf (that we can use as an echo command).
    11281194m4_defun([_LT_PROG_ECHO_BACKSLASH],
    11291195[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     
    11531219func_echo_all ()
    11541220{
    1155     $ECHO "$*" 
     1221    $ECHO "$*"
    11561222}
    11571223
    1158 case "$ECHO" in
     1224case $ECHO in
    11591225  printf*) AC_MSG_RESULT([printf]) ;;
    11601226  print*) AC_MSG_RESULT([print -r]) ;;
     
    11821248[AC_MSG_CHECKING([for sysroot])
    11831249AC_ARG_WITH([sysroot],
    1184 [  --with-sysroot[=DIR] Search for dependent libraries within DIR
    1185                         (or the compiler's sysroot if not specified).],
     1250[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
     1251  [Search for dependent libraries within DIR (or the compiler's sysroot
     1252   if not specified).])],
    11861253[], [with_sysroot=no])
    11871254
     
    11891256dnl in case the user passed a directory name.
    11901257lt_sysroot=
    1191 case ${with_sysroot} in #(
     1258case $with_sysroot in #(
    11921259 yes)
    1193    if test "$GCC" = yes; then
     1260   if test yes = "$GCC"; then
    11941261     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
    11951262   fi
     
    12011268   ;; #(
    12021269 *)
    1203    AC_MSG_RESULT([${with_sysroot}])
     1270   AC_MSG_RESULT([$with_sysroot])
    12041271   AC_MSG_ERROR([The sysroot must be an absolute path.])
    12051272   ;;
     
    12081275 AC_MSG_RESULT([${lt_sysroot:-no}])
    12091276_LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
    1210 [dependent libraries, and in which our libraries should be installed.])])
     1277[dependent libraries, and where our libraries should be installed.])])
    12111278
    12121279# _LT_ENABLE_LOCK
     
    12161283  [AS_HELP_STRING([--disable-libtool-lock],
    12171284    [avoid locking (might break parallel builds)])])
    1218 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
     1285test no = "$enable_libtool_lock" || enable_libtool_lock=yes
    12191286
    12201287# Some flags need to be propagated to the compiler or linker for good
     
    12221289case $host in
    12231290ia64-*-hpux*)
    1224   # Find out which ABI we are using.
     1291  # Find out what ABI is being produced by ac_compile, and set mode
     1292  # options accordingly.
    12251293  echo 'int i;' > conftest.$ac_ext
    12261294  if AC_TRY_EVAL(ac_compile); then
    12271295    case `/usr/bin/file conftest.$ac_objext` in
    12281296      *ELF-32*)
    1229         HPUX_IA64_MODE="32"
     1297        HPUX_IA64_MODE=32
    12301298        ;;
    12311299      *ELF-64*)
    1232         HPUX_IA64_MODE="64"
     1300        HPUX_IA64_MODE=64
    12331301        ;;
    12341302    esac
     
    12371305  ;;
    12381306*-*-irix6*)
    1239   # Find out which ABI we are using.
     1307  # Find out what ABI is being produced by ac_compile, and set linker
     1308  # options accordingly.
    12401309  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
    12411310  if AC_TRY_EVAL(ac_compile); then
    1242     if test "$lt_cv_prog_gnu_ld" = yes; then
     1311    if test yes = "$lt_cv_prog_gnu_ld"; then
    12431312      case `/usr/bin/file conftest.$ac_objext` in
    12441313        *32-bit*)
     
    12691338  ;;
    12701339
    1271 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
     1340mips64*-*linux*)
     1341  # Find out what ABI is being produced by ac_compile, and set linker
     1342  # options accordingly.
     1343  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
     1344  if AC_TRY_EVAL(ac_compile); then
     1345    emul=elf
     1346    case `/usr/bin/file conftest.$ac_objext` in
     1347      *32-bit*)
     1348        emul="${emul}32"
     1349        ;;
     1350      *64-bit*)
     1351        emul="${emul}64"
     1352        ;;
     1353    esac
     1354    case `/usr/bin/file conftest.$ac_objext` in
     1355      *MSB*)
     1356        emul="${emul}btsmip"
     1357        ;;
     1358      *LSB*)
     1359        emul="${emul}ltsmip"
     1360        ;;
     1361    esac
     1362    case `/usr/bin/file conftest.$ac_objext` in
     1363      *N32*)
     1364        emul="${emul}n32"
     1365        ;;
     1366    esac
     1367    LD="${LD-ld} -m $emul"
     1368  fi
     1369  rm -rf conftest*
     1370  ;;
     1371
     1372x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
    12721373s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
    1273   # Find out which ABI we are using.
     1374  # Find out what ABI is being produced by ac_compile, and set linker
     1375  # options accordingly.  Note that the listed cases only cover the
     1376  # situations where additional linker options are needed (such as when
     1377  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
     1378  # vice versa); the common cases where no linker options are needed do
     1379  # not appear in the list.
    12741380  echo 'int i;' > conftest.$ac_ext
    12751381  if AC_TRY_EVAL(ac_compile); then
     
    12811387            ;;
    12821388          x86_64-*linux*)
    1283             LD="${LD-ld} -m elf_i386"
     1389            case `/usr/bin/file conftest.o` in
     1390              *x86-64*)
     1391                LD="${LD-ld} -m elf32_x86_64"
     1392                ;;
     1393              *)
     1394                LD="${LD-ld} -m elf_i386"
     1395                ;;
     1396            esac
    12841397            ;;
    1285           ppc64-*linux*|powerpc64-*linux*)
     1398          powerpc64le-*linux*)
     1399            LD="${LD-ld} -m elf32lppclinux"
     1400            ;;
     1401          powerpc64-*linux*)
    12861402            LD="${LD-ld} -m elf32ppclinux"
    12871403            ;;
     
    13021418            LD="${LD-ld} -m elf_x86_64"
    13031419            ;;
    1304           ppc*-*linux*|powerpc*-*linux*)
     1420          powerpcle-*linux*)
     1421            LD="${LD-ld} -m elf64lppc"
     1422            ;;
     1423          powerpc-*linux*)
    13051424            LD="${LD-ld} -m elf64ppc"
    13061425            ;;
     
    13201439*-*-sco3.2v5*)
    13211440  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    1322   SAVE_CFLAGS="$CFLAGS"
     1441  SAVE_CFLAGS=$CFLAGS
    13231442  CFLAGS="$CFLAGS -belf"
    13241443  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
     
    13261445     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
    13271446     AC_LANG_POP])
    1328   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
     1447  if test yes != "$lt_cv_cc_needs_belf"; then
    13291448    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    1330     CFLAGS="$SAVE_CFLAGS"
     1449    CFLAGS=$SAVE_CFLAGS
    13311450  fi
    13321451  ;;
    1333 sparc*-*solaris*)
    1334   # Find out which ABI we are using.
     1452*-*solaris*)
     1453  # Find out what ABI is being produced by ac_compile, and set linker
     1454  # options accordingly.
    13351455  echo 'int i;' > conftest.$ac_ext
    13361456  if AC_TRY_EVAL(ac_compile); then
     
    13381458    *64-bit*)
    13391459      case $lt_cv_prog_gnu_ld in
    1340       yes*) LD="${LD-ld} -m elf64_sparc" ;;
     1460      yes*)
     1461        case $host in
     1462        i?86-*-solaris*|x86_64-*-solaris*)
     1463          LD="${LD-ld} -m elf_x86_64"
     1464          ;;
     1465        sparc*-*-solaris*)
     1466          LD="${LD-ld} -m elf64_sparc"
     1467          ;;
     1468        esac
     1469        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
     1470        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
     1471          LD=${LD-ld}_sol2
     1472        fi
     1473        ;;
    13411474      *)
    13421475        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
     
    13521485esac
    13531486
    1354 need_locks="$enable_libtool_lock"
     1487need_locks=$enable_libtool_lock
    13551488])# _LT_ENABLE_LOCK
    13561489
     
    13711504      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
    13721505      AC_TRY_EVAL([lt_ar_try])
    1373       if test "$ac_status" -eq 0; then
     1506      if test 0 -eq "$ac_status"; then
    13741507        # Ensure the archiver fails upon bogus file names.
    13751508        rm -f conftest.$ac_objext libconftest.a
    13761509        AC_TRY_EVAL([lt_ar_try])
    1377         if test "$ac_status" -ne 0; then
     1510        if test 0 -ne "$ac_status"; then
    13781511          lt_cv_ar_at_file=@
    13791512        fi
     
    13831516  ])
    13841517
    1385 if test "x$lt_cv_ar_at_file" = xno; then
     1518if test no = "$lt_cv_ar_at_file"; then
    13861519  archiver_list_spec=
    13871520else
     
    14141547if test -n "$RANLIB"; then
    14151548  case $host_os in
    1416   openbsd*)
    1417     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
     1549  bitrig* | openbsd*)
     1550    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
    14181551    ;;
    14191552  *)
    1420     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
     1553    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
    14211554    ;;
    14221555  esac
    1423   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
     1556  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
    14241557fi
    14251558
     
    14501583   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
    14511584   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    1452    lt_compiler_flag="$3"
     1585   lt_compiler_flag="$3"  ## exclude from sc_useless_quotes_in_assignment
    14531586   # Insert the option either (1) after the last *FLAGS variable, or
    14541587   # (2) before a word containing "conftest.", or (3) at the end.
     
    14771610])
    14781611
    1479 if test x"[$]$2" = xyes; then
     1612if test yes = "[$]$2"; then
    14801613    m4_if([$5], , :, [$5])
    14811614else
     
    14991632AC_CACHE_CHECK([$1], [$2],
    15001633  [$2=no
    1501    save_LDFLAGS="$LDFLAGS"
     1634   save_LDFLAGS=$LDFLAGS
    15021635   LDFLAGS="$LDFLAGS $3"
    15031636   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     
    15181651   fi
    15191652   $RM -r conftest*
    1520    LDFLAGS="$save_LDFLAGS"
     1653   LDFLAGS=$save_LDFLAGS
    15211654])
    15221655
    1523 if test x"[$]$2" = xyes; then
     1656if test yes = "[$]$2"; then
    15241657    m4_if([$4], , :, [$4])
    15251658else
     
    15421675AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
    15431676  i=0
    1544   teststring="ABCD"
     1677  teststring=ABCD
    15451678
    15461679  case $build_os in
     
    15821715    ;;
    15831716
    1584   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
     1717  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
    15851718    # This has been around since 386BSD, at least.  Likely further.
    15861719    if test -x /sbin/sysctl; then
     
    15991732    # We know the value 262144 and hardcode it with a safety zone (like BSD)
    16001733    lt_cv_sys_max_cmd_len=196608
     1734    ;;
     1735
     1736  os2*)
     1737    # The test takes a long time on OS/2.
     1738    lt_cv_sys_max_cmd_len=8192
    16011739    ;;
    16021740
     
    16271765  *)
    16281766    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
    1629     if test -n "$lt_cv_sys_max_cmd_len"; then
     1767    if test -n "$lt_cv_sys_max_cmd_len" && \
     1768       test undefined != "$lt_cv_sys_max_cmd_len"; then
    16301769      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    16311770      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     
    16331772      # Make teststring a little bigger before we do anything with it.
    16341773      # a 1K string should be a reasonable start.
    1635       for i in 1 2 3 4 5 6 7 8 ; do
     1774      for i in 1 2 3 4 5 6 7 8; do
    16361775        teststring=$teststring$teststring
    16371776      done
     
    16401779      # maximum length that is only half of the actual maximum length, but
    16411780      # we can't tell.
    1642       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
     1781      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
    16431782                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
    1644               test $i != 17 # 1/2 MB should be enough
     1783              test 17 != "$i" # 1/2 MB should be enough
    16451784      do
    16461785        i=`expr $i + 1`
     
    16581797  esac
    16591798])
    1660 if test -n $lt_cv_sys_max_cmd_len ; then
     1799if test -n "$lt_cv_sys_max_cmd_len"; then
    16611800  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
    16621801else
     
    16861825m4_defun([_LT_TRY_DLOPEN_SELF],
    16871826[m4_require([_LT_HEADER_DLFCN])dnl
    1688 if test "$cross_compiling" = yes; then :
     1827if test yes = "$cross_compiling"; then :
    16891828  [$4]
    16901829else
     
    17331872#endif
    17341873
    1735 /* When -fvisbility=hidden is used, assume the code has been annotated
     1874/* When -fvisibility=hidden is used, assume the code has been annotated
    17361875   correspondingly for the symbols needed.  */
    1737 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     1876#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    17381877int fnord () __attribute__((visibility("default")));
    17391878#endif
     
    17611900}]
    17621901_LT_EOF
    1763   if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
     1902  if AC_TRY_EVAL(ac_link) && test -s "conftest$ac_exeext" 2>/dev/null; then
    17641903    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
    17651904    lt_status=$?
     
    17821921AC_DEFUN([LT_SYS_DLOPEN_SELF],
    17831922[m4_require([_LT_HEADER_DLFCN])dnl
    1784 if test "x$enable_dlopen" != xyes; then
     1923if test yes != "$enable_dlopen"; then
    17851924  enable_dlopen=unknown
    17861925  enable_dlopen_self=unknown
     
    17921931  case $host_os in
    17931932  beos*)
    1794     lt_cv_dlopen="load_add_on"
     1933    lt_cv_dlopen=load_add_on
    17951934    lt_cv_dlopen_libs=
    17961935    lt_cv_dlopen_self=yes
     
    17981937
    17991938  mingw* | pw32* | cegcc*)
    1800     lt_cv_dlopen="LoadLibrary"
     1939    lt_cv_dlopen=LoadLibrary
    18011940    lt_cv_dlopen_libs=
    18021941    ;;
    18031942
    18041943  cygwin*)
    1805     lt_cv_dlopen="dlopen"
     1944    lt_cv_dlopen=dlopen
    18061945    lt_cv_dlopen_libs=
    18071946    ;;
    18081947
    18091948  darwin*)
    1810   # if libdl is installed we need to link against it
     1949    # if libdl is installed we need to link against it
    18111950    AC_CHECK_LIB([dl], [dlopen],
    1812                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
    1813     lt_cv_dlopen="dyld"
     1951                [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],[
     1952    lt_cv_dlopen=dyld
    18141953    lt_cv_dlopen_libs=
    18151954    lt_cv_dlopen_self=yes
     
    18171956    ;;
    18181957
     1958  tpf*)
     1959    # Don't try to run any link tests for TPF.  We know it's impossible
     1960    # because TPF is a cross-compiler, and we know how we open DSOs.
     1961    lt_cv_dlopen=dlopen
     1962    lt_cv_dlopen_libs=
     1963    lt_cv_dlopen_self=no
     1964    ;;
     1965
    18191966  *)
    18201967    AC_CHECK_FUNC([shl_load],
    1821           [lt_cv_dlopen="shl_load"],
     1968          [lt_cv_dlopen=shl_load],
    18221969      [AC_CHECK_LIB([dld], [shl_load],
    1823             [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
     1970            [lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld],
    18241971        [AC_CHECK_FUNC([dlopen],
    1825               [lt_cv_dlopen="dlopen"],
     1972              [lt_cv_dlopen=dlopen],
    18261973          [AC_CHECK_LIB([dl], [dlopen],
    1827                 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
     1974                [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl],
    18281975            [AC_CHECK_LIB([svld], [dlopen],
    1829                   [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
     1976                  [lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld],
    18301977              [AC_CHECK_LIB([dld], [dld_link],
    1831                     [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
     1978                    [lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld])
    18321979              ])
    18331980            ])
     
    18381985  esac
    18391986
    1840   if test "x$lt_cv_dlopen" != xno; then
     1987  if test no = "$lt_cv_dlopen"; then
     1988    enable_dlopen=no
     1989  else
    18411990    enable_dlopen=yes
    1842   else
    1843     enable_dlopen=no
    18441991  fi
    18451992
    18461993  case $lt_cv_dlopen in
    18471994  dlopen)
    1848     save_CPPFLAGS="$CPPFLAGS"
    1849     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    1850 
    1851     save_LDFLAGS="$LDFLAGS"
     1995    save_CPPFLAGS=$CPPFLAGS
     1996    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
     1997
     1998    save_LDFLAGS=$LDFLAGS
    18521999    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
    18532000
    1854     save_LIBS="$LIBS"
     2001    save_LIBS=$LIBS
    18552002    LIBS="$lt_cv_dlopen_libs $LIBS"
    18562003
     
    18622009    ])
    18632010
    1864     if test "x$lt_cv_dlopen_self" = xyes; then
     2011    if test yes = "$lt_cv_dlopen_self"; then
    18652012      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
    18662013      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
     
    18722019    fi
    18732020
    1874     CPPFLAGS="$save_CPPFLAGS"
    1875     LDFLAGS="$save_LDFLAGS"
    1876     LIBS="$save_LIBS"
     2021    CPPFLAGS=$save_CPPFLAGS
     2022    LDFLAGS=$save_LDFLAGS
     2023    LIBS=$save_LIBS
    18772024    ;;
    18782025  esac
     
    19662113_LT_COMPILER_C_O([$1])
    19672114
    1968 hard_links="nottested"
    1969 if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
     2115hard_links=nottested
     2116if test no = "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" && test no != "$need_locks"; then
    19702117  # do not overwrite the value of need_locks provided by the user
    19712118  AC_MSG_CHECKING([if we can lock with hard links])
     
    19772124  ln conftest.a conftest.b 2>/dev/null && hard_links=no
    19782125  AC_MSG_RESULT([$hard_links])
    1979   if test "$hard_links" = no; then
    1980     AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
     2126  if test no = "$hard_links"; then
     2127    AC_MSG_WARN(['$CC' does not support '-c -o', so 'make -j' may be unsafe])
    19812128    need_locks=warn
    19822129  fi
     
    20052152         [The name of the directory that contains temporary libtool files])dnl
    20062153m4_pattern_allow([LT_OBJDIR])dnl
    2007 AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
    2008   [Define to the sub-directory in which libtool stores uninstalled libraries.])
     2154AC_DEFINE_UNQUOTED([LT_OBJDIR], "$lt_cv_objdir/",
     2155  [Define to the sub-directory where libtool stores uninstalled libraries.])
    20092156])# _LT_CHECK_OBJDIR
    20102157
     
    20182165if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
    20192166   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
    2020    test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
     2167   test yes = "$_LT_TAGVAR(hardcode_automatic, $1)"; then
    20212168
    20222169  # We can hardcode non-existent directories.
    2023   if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
     2170  if test no != "$_LT_TAGVAR(hardcode_direct, $1)" &&
    20242171     # If the only mechanism to avoid hardcoding is shlibpath_var, we
    20252172     # have to relink, otherwise we might link with an installed library
    20262173     # when we should be linking with a yet-to-be-installed one
    2027      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
    2028      test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
     2174     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" &&
     2175     test no != "$_LT_TAGVAR(hardcode_minus_L, $1)"; then
    20292176    # Linking always hardcodes the temporary library directory.
    20302177    _LT_TAGVAR(hardcode_action, $1)=relink
     
    20402187AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
    20412188
    2042 if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
    2043    test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
     2189if test relink = "$_LT_TAGVAR(hardcode_action, $1)" ||
     2190   test yes = "$_LT_TAGVAR(inherit_rpath, $1)"; then
    20442191  # Fast installation is not supported
    20452192  enable_fast_install=no
    2046 elif test "$shlibpath_overrides_runpath" = yes ||
    2047      test "$enable_shared" = no; then
     2193elif test yes = "$shlibpath_overrides_runpath" ||
     2194     test no = "$enable_shared"; then
    20482195  # Fast installation is not necessary
    20492196  enable_fast_install=needless
     
    20692216  case $host_os in
    20702217  darwin*)
    2071     if test -n "$STRIP" ; then
     2218    if test -n "$STRIP"; then
    20722219      striplib="$STRIP -x"
    20732220      old_striplib="$STRIP -S"
     
    20872234
    20882235
     2236# _LT_PREPARE_MUNGE_PATH_LIST
     2237# ---------------------------
     2238# Make sure func_munge_path_list() is defined correctly.
     2239m4_defun([_LT_PREPARE_MUNGE_PATH_LIST],
     2240[[# func_munge_path_list VARIABLE PATH
     2241# -----------------------------------
     2242# VARIABLE is name of variable containing _space_ separated list of
     2243# directories to be munged by the contents of PATH, which is string
     2244# having a format:
     2245# "DIR[:DIR]:"
     2246#       string "DIR[ DIR]" will be prepended to VARIABLE
     2247# ":DIR[:DIR]"
     2248#       string "DIR[ DIR]" will be appended to VARIABLE
     2249# "DIRP[:DIRP]::[DIRA:]DIRA"
     2250#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     2251#       "DIRA[ DIRA]" will be appended to VARIABLE
     2252# "DIR[:DIR]"
     2253#       VARIABLE will be replaced by "DIR[ DIR]"
     2254func_munge_path_list ()
     2255{
     2256    case x@S|@2 in
     2257    x)
     2258        ;;
     2259    *:)
     2260        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'` \@S|@@S|@1\"
     2261        ;;
     2262    x:*)
     2263        eval @S|@1=\"\@S|@@S|@1 `$ECHO @S|@2 | $SED 's/:/ /g'`\"
     2264        ;;
     2265    *::*)
     2266        eval @S|@1=\"\@S|@@S|@1\ `$ECHO @S|@2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     2267        eval @S|@1=\"`$ECHO @S|@2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \@S|@@S|@1\"
     2268        ;;
     2269    *)
     2270        eval @S|@1=\"`$ECHO @S|@2 | $SED 's/:/ /g'`\"
     2271        ;;
     2272    esac
     2273}
     2274]])# _LT_PREPARE_PATH_LIST
     2275
     2276
    20892277# _LT_SYS_DYNAMIC_LINKER([TAG])
    20902278# -----------------------------
     
    20972285m4_require([_LT_DECL_SED])dnl
    20982286m4_require([_LT_CHECK_SHELL_FEATURES])dnl
     2287m4_require([_LT_PREPARE_MUNGE_PATH_LIST])dnl
    20992288AC_MSG_CHECKING([dynamic linker characteristics])
    21002289m4_if([$1],
    21012290        [], [
    2102 if test "$GCC" = yes; then
     2291if test yes = "$GCC"; then
    21032292  case $host_os in
    2104     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
    2105     *) lt_awk_arg="/^libraries:/" ;;
     2293    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
     2294    *) lt_awk_arg='/^libraries:/' ;;
    21062295  esac
    21072296  case $host_os in
    2108     mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
    2109     *) lt_sed_strip_eq="s,=/,/,g" ;;
     2297    mingw* | cegcc*) lt_sed_strip_eq='s|=\([[A-Za-z]]:\)|\1|g' ;;
     2298    *) lt_sed_strip_eq='s|=/|/|g' ;;
    21102299  esac
    21112300  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
     
    21232312  esac
    21242313  # Ok, now we have the path, separated by spaces, we can step through it
    2125   # and add multilib dir if necessary.
     2314  # and add multilib dir if necessary...
    21262315  lt_tmp_lt_search_path_spec=
    2127   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     2316  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     2317  # ...but if some path component already ends with the multilib dir we assume
     2318  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
     2319  case "$lt_multi_os_dir; $lt_search_path_spec " in
     2320  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
     2321    lt_multi_os_dir=
     2322    ;;
     2323  esac
    21282324  for lt_sys_path in $lt_search_path_spec; do
    2129     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
    2130       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
    2131     else
     2325    if test -d "$lt_sys_path$lt_multi_os_dir"; then
     2326      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
     2327    elif test -n "$lt_multi_os_dir"; then
    21322328      test -d "$lt_sys_path" && \
    21332329        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     
    21352331  done
    21362332  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
    2137 BEGIN {RS=" "; FS="/|\n";} {
    2138   lt_foo="";
    2139   lt_count=0;
     2333BEGIN {RS = " "; FS = "/|\n";} {
     2334  lt_foo = "";
     2335  lt_count = 0;
    21402336  for (lt_i = NF; lt_i > 0; lt_i--) {
    21412337    if ($lt_i != "" && $lt_i != ".") {
     
    21442340      } else {
    21452341        if (lt_count == 0) {
    2146           lt_foo="/" $lt_i lt_foo;
     2342          lt_foo = "/" $lt_i lt_foo;
    21472343        } else {
    21482344          lt_count--;
     
    21582354  case $host_os in
    21592355    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
    2160       $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
     2356      $SED 's|/\([[A-Za-z]]:\)|\1|g'` ;;
    21612357  esac
    21622358  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
     
    21672363libname_spec='lib$name'
    21682364soname_spec=
    2169 shrext_cmds=".so"
     2365shrext_cmds=.so
    21702366postinstall_cmds=
    21712367postuninstall_cmds=
     
    21842380need_version=unknown
    21852381
     2382AC_ARG_VAR([LT_SYS_LIBRARY_PATH],
     2383[User-defined run-time library search path.])
     2384
    21862385case $host_os in
    21872386aix3*)
    2188   version_type=linux
    2189   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
     2387  version_type=linux # correct to gnu/linux during the next big refactor
     2388  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
    21902389  shlibpath_var=LIBPATH
    21912390
    21922391  # AIX 3 has no versioning support, so we append a major version to the name.
    2193   soname_spec='${libname}${release}${shared_ext}$major'
     2392  soname_spec='$libname$release$shared_ext$major'
    21942393  ;;
    21952394
    21962395aix[[4-9]]*)
    2197   version_type=linux
     2396  version_type=linux # correct to gnu/linux during the next big refactor
    21982397  need_lib_prefix=no
    21992398  need_version=no
    22002399  hardcode_into_libs=yes
    2201   if test "$host_cpu" = ia64; then
     2400  if test ia64 = "$host_cpu"; then
    22022401    # AIX 5 supports IA64
    2203     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
     2402    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
    22042403    shlibpath_var=LD_LIBRARY_PATH
    22052404  else
    22062405    # With GCC up to 2.95.x, collect2 would create an import file
    22072406    # for dependence libraries.  The import file would start with
    2208     # the line `#! .'.  This would cause the generated library to
    2209     # depend on `.', always an invalid library.  This was fixed in
     2407    # the line '#! .'.  This would cause the generated library to
     2408    # depend on '.', always an invalid library.  This was fixed in
    22102409    # development snapshots of GCC prior to 3.0.
    22112410    case $host_os in
     
    22132412      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    22142413           echo ' yes '
    2215            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
     2414           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
    22162415        :
    22172416      else
     
    22202419      ;;
    22212420    esac
    2222     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
     2421    # Using Import Files as archive members, it is possible to support
     2422    # filename-based versioning of shared library archives on AIX. While
     2423    # this would work for both with and without runtime linking, it will
     2424    # prevent static linking of such archives. So we do filename-based
     2425    # shared library versioning with .so extension only, which is used
     2426    # when both runtime linking and shared linking is enabled.
     2427    # Unfortunately, runtime linking may impact performance, so we do
     2428    # not want this to be the default eventually. Also, we use the
     2429    # versioned .so libs for executables only if there is the -brtl
     2430    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
     2431    # To allow for filename-based versioning support, we need to create
     2432    # libNAME.so.V as an archive file, containing:
     2433    # *) an Import File, referring to the versioned filename of the
     2434    #    archive as well as the shared archive member, telling the
     2435    #    bitwidth (32 or 64) of that shared object, and providing the
     2436    #    list of exported symbols of that shared object, eventually
     2437    #    decorated with the 'weak' keyword
     2438    # *) the shared object with the F_LOADONLY flag set, to really avoid
     2439    #    it being seen by the linker.
     2440    # At run time we better use the real file rather than another symlink,
     2441    # but for link time we create the symlink libNAME.so -> libNAME.so.V
     2442
     2443    case $with_aix_soname,$aix_use_runtimelinking in
     2444    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
    22232445    # soname into executable. Probably we can add versioning support to
    22242446    # collect2, so additional links can be useful in future.
    2225     if test "$aix_use_runtimelinking" = yes; then
     2447    aix,yes) # traditional libtool
     2448      dynamic_linker='AIX unversionable lib.so'
    22262449      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    22272450      # instead of lib<name>.a to let people know that these are not
    22282451      # typical AIX shared libraries.
    2229       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2230     else
     2452      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2453      ;;
     2454    aix,no) # traditional AIX only
     2455      dynamic_linker='AIX lib.a[(]lib.so.V[)]'
    22312456      # We preserve .a as extension for shared libraries through AIX4.2
    22322457      # and later when we are not doing run time linking.
    2233       library_names_spec='${libname}${release}.a $libname.a'
    2234       soname_spec='${libname}${release}${shared_ext}$major'
    2235     fi
     2458      library_names_spec='$libname$release.a $libname.a'
     2459      soname_spec='$libname$release$shared_ext$major'
     2460      ;;
     2461    svr4,*) # full svr4 only
     2462      dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)]"
     2463      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     2464      # We do not specify a path in Import Files, so LIBPATH fires.
     2465      shlibpath_overrides_runpath=yes
     2466      ;;
     2467    *,yes) # both, prefer svr4
     2468      dynamic_linker="AIX lib.so.V[(]$shared_archive_member_spec.o[)], lib.a[(]lib.so.V[)]"
     2469      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     2470      # unpreferred sharedlib libNAME.a needs extra handling
     2471      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
     2472      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
     2473      # We do not specify a path in Import Files, so LIBPATH fires.
     2474      shlibpath_overrides_runpath=yes
     2475      ;;
     2476    *,no) # both, prefer aix
     2477      dynamic_linker="AIX lib.a[(]lib.so.V[)], lib.so.V[(]$shared_archive_member_spec.o[)]"
     2478      library_names_spec='$libname$release.a $libname.a'
     2479      soname_spec='$libname$release$shared_ext$major'
     2480      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
     2481      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
     2482      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
     2483      ;;
     2484    esac
    22362485    shlibpath_var=LIBPATH
    22372486  fi
     
    22432492    # Since July 2007 AmigaOS4 officially supports .so libraries.
    22442493    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    2245     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2494    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    22462495    ;;
    22472496  m68k)
    22482497    library_names_spec='$libname.ixlibrary $libname.a'
    22492498    # Create ${libname}_ixlibrary.a entries in /sys/libs.
    2250     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
     2499    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
    22512500    ;;
    22522501  esac
     
    22542503
    22552504beos*)
    2256   library_names_spec='${libname}${shared_ext}'
     2505  library_names_spec='$libname$shared_ext'
    22572506  dynamic_linker="$host_os ld.so"
    22582507  shlibpath_var=LIBRARY_PATH
     
    22602509
    22612510bsdi[[45]]*)
    2262   version_type=linux
     2511  version_type=linux # correct to gnu/linux during the next big refactor
    22632512  need_version=no
    2264   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2265   soname_spec='${libname}${release}${shared_ext}$major'
     2513  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2514  soname_spec='$libname$release$shared_ext$major'
    22662515  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    22672516  shlibpath_var=LD_LIBRARY_PATH
     
    22752524cygwin* | mingw* | pw32* | cegcc*)
    22762525  version_type=windows
    2277   shrext_cmds=".dll"
     2526  shrext_cmds=.dll
    22782527  need_version=no
    22792528  need_lib_prefix=no
     
    22842533    library_names_spec='$libname.dll.a'
    22852534    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    2286     postinstall_cmds='base_file=`basename \${file}`~
    2287       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     2535    postinstall_cmds='base_file=`basename \$file`~
     2536      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    22882537      dldir=$destdir/`dirname \$dlpath`~
    22892538      test -d \$dldir || mkdir -p \$dldir~
     
    23012550    cygwin*)
    23022551      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    2303       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
     2552      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
    23042553m4_if([$1], [],[
    23052554      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
     
    23072556    mingw* | cegcc*)
    23082557      # MinGW DLLs use traditional 'lib' prefix
    2309       soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
     2558      soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
    23102559      ;;
    23112560    pw32*)
    23122561      # pw32 DLLs use 'pw' prefix rather than 'lib'
    2313       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
     2562      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
    23142563      ;;
    23152564    esac
     
    23202569    # Native MSVC
    23212570    libname_spec='$name'
    2322     soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
    2323     library_names_spec='${libname}.dll.lib'
     2571    soname_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext'
     2572    library_names_spec='$libname.dll.lib'
    23242573
    23252574    case $build_os in
     
    23482597      ;;
    23492598    *)
    2350       sys_lib_search_path_spec="$LIB"
     2599      sys_lib_search_path_spec=$LIB
    23512600      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
    23522601        # It is most probably a Windows format PATH.
     
    23612610
    23622611    # DLL is installed to $(libdir)/../bin by postinstall_cmds
    2363     postinstall_cmds='base_file=`basename \${file}`~
    2364       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
     2612    postinstall_cmds='base_file=`basename \$file`~
     2613      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    23652614      dldir=$destdir/`dirname \$dlpath`~
    23662615      test -d \$dldir || mkdir -p \$dldir~
     
    23752624  *)
    23762625    # Assume MSVC wrapper
    2377     library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
     2626    library_names_spec='$libname`echo $release | $SED -e 's/[[.]]/-/g'`$versuffix$shared_ext $libname.lib'
    23782627    dynamic_linker='Win32 ld.exe'
    23792628    ;;
     
    23882637  need_lib_prefix=no
    23892638  need_version=no
    2390   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
    2391   soname_spec='${libname}${release}${major}$shared_ext'
     2639  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
     2640  soname_spec='$libname$release$major$shared_ext'
    23922641  shlibpath_overrides_runpath=yes
    23932642  shlibpath_var=DYLD_LIBRARY_PATH
     
    23992648
    24002649dgux*)
    2401   version_type=linux
     2650  version_type=linux # correct to gnu/linux during the next big refactor
    24022651  need_lib_prefix=no
    24032652  need_version=no
    2404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
    2405   soname_spec='${libname}${release}${shared_ext}$major'
     2653  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2654  soname_spec='$libname$release$shared_ext$major'
    24062655  shlibpath_var=LD_LIBRARY_PATH
    2407   ;;
    2408 
    2409 freebsd1*)
    2410   dynamic_linker=no
    24112656  ;;
    24122657
     
    24182663  else
    24192664    case $host_os in
    2420     freebsd[[123]]*) objformat=aout ;;
     2665    freebsd[[23]].*) objformat=aout ;;
    24212666    *) objformat=elf ;;
    24222667    esac
     
    24252670  case $version_type in
    24262671    freebsd-elf*)
    2427       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
     2672      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2673      soname_spec='$libname$release$shared_ext$major'
    24282674      need_version=no
    24292675      need_lib_prefix=no
    24302676      ;;
    24312677    freebsd-*)
    2432       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
     2678      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    24332679      need_version=yes
    24342680      ;;
     
    24362682  shlibpath_var=LD_LIBRARY_PATH
    24372683  case $host_os in
    2438   freebsd2*)
     2684  freebsd2.*)
    24392685    shlibpath_overrides_runpath=yes
    24402686    ;;
     
    24552701  ;;
    24562702
    2457 gnu*)
    2458   version_type=linux
    2459   need_lib_prefix=no
    2460   need_version=no
    2461   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    2462   soname_spec='${libname}${release}${shared_ext}$major'
    2463   shlibpath_var=LD_LIBRARY_PATH
    2464   shlibpath_overrides_runpath=no
    2465   hardcode_into_libs=yes
    2466   ;;
    2467 
    24682703haiku*)
    2469   version_type=linux
     2704  version_type=linux # correct to gnu/linux during the next big refactor
    24702705  need_lib_prefix=no
    24712706  need_version=no
    24722707  dynamic_linker="$host_os runtime_loader"
    2473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
    2474   soname_spec='${libname}${release}${shared_ext}$major'
     2708  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2709  soname_spec='$libname$release$shared_ext$major'
    24752710  shlibpath_var=LIBRARY_PATH
    2476   shlibpath_overrides_runpath=yes
     2711  shlibpath_overrides_runpath=no
    24772712  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    24782713  hardcode_into_libs=yes
     
    24922727    shlibpath_var=LD_LIBRARY_PATH
    24932728    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    2494     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2495     soname_spec='${libname}${release}${shared_ext}$major'
    2496     if test "X$HPUX_IA64_MODE" = X32; then
     2729    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2730    soname_spec='$libname$release$shared_ext$major'
     2731    if test 32 = "$HPUX_IA64_MODE"; then
    24972732      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
     2733      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    24982734    else
    24992735      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
     2736      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    25002737    fi
    2501     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    25022738    ;;
    25032739  hppa*64*)
     
    25072743    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    25082744    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    2509     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2510     soname_spec='${libname}${release}${shared_ext}$major'
     2745    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2746    soname_spec='$libname$release$shared_ext$major'
    25112747    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    25122748    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     
    25172753    shlibpath_var=SHLIB_PATH
    25182754    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    2519     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2520     soname_spec='${libname}${release}${shared_ext}$major'
     2755    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2756    soname_spec='$libname$release$shared_ext$major'
    25212757    ;;
    25222758  esac
     
    25282764
    25292765interix[[3-9]]*)
    2530   version_type=linux
     2766  version_type=linux # correct to gnu/linux during the next big refactor
    25312767  need_lib_prefix=no
    25322768  need_version=no
    2533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    2534   soname_spec='${libname}${release}${shared_ext}$major'
     2769  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2770  soname_spec='$libname$release$shared_ext$major'
    25352771  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    25362772  shlibpath_var=LD_LIBRARY_PATH
     
    25432779    nonstopux*) version_type=nonstopux ;;
    25442780    *)
    2545         if test "$lt_cv_prog_gnu_ld" = yes; then
    2546                 version_type=linux
     2781        if test yes = "$lt_cv_prog_gnu_ld"; then
     2782                version_type=linux # correct to gnu/linux during the next big refactor
    25472783        else
    25482784                version_type=irix
     
    25512787  need_lib_prefix=no
    25522788  need_version=no
    2553   soname_spec='${libname}${release}${shared_ext}$major'
    2554   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
     2789  soname_spec='$libname$release$shared_ext$major'
     2790  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
    25552791  case $host_os in
    25562792  irix5* | nonstopux*)
     
    25712807  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    25722808  shlibpath_overrides_runpath=no
    2573   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
    2574   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
     2809  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
     2810  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
    25752811  hardcode_into_libs=yes
    25762812  ;;
     
    25812817  ;;
    25822818
    2583 # This must be Linux ELF.
    2584 linux* | k*bsd*-gnu | kopensolaris*-gnu)
    2585   version_type=linux
     2819linux*android*)
     2820  version_type=none # Android doesn't support versioned libraries.
    25862821  need_lib_prefix=no
    25872822  need_version=no
    2588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2589   soname_spec='${libname}${release}${shared_ext}$major'
     2823  library_names_spec='$libname$release$shared_ext'
     2824  soname_spec='$libname$release$shared_ext'
     2825  finish_cmds=
     2826  shlibpath_var=LD_LIBRARY_PATH
     2827  shlibpath_overrides_runpath=yes
     2828
     2829  # This implies no fast_install, which is unacceptable.
     2830  # Some rework will be needed to allow for fast_install
     2831  # before this can be enabled.
     2832  hardcode_into_libs=yes
     2833
     2834  dynamic_linker='Android linker'
     2835  # Don't embed -rpath directories since the linker doesn't support them.
     2836  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
     2837  ;;
     2838
     2839# This must be glibc/ELF.
     2840linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     2841  version_type=linux # correct to gnu/linux during the next big refactor
     2842  need_lib_prefix=no
     2843  need_version=no
     2844  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2845  soname_spec='$libname$release$shared_ext$major'
    25902846  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    25912847  shlibpath_var=LD_LIBRARY_PATH
     
    26122868  hardcode_into_libs=yes
    26132869
    2614   # Append ld.so.conf contents to the search path
     2870  # Ideally, we could use ldconfig to report *all* directores which are
     2871  # searched for libraries, however this is still not possible.  Aside from not
     2872  # being certain /sbin/ldconfig is available, command
     2873  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
     2874  # even though it is searched at run-time.  Try to do the best guess by
     2875  # appending ld.so.conf contents (and includes) to the search path.
    26152876  if test -f /etc/ld.so.conf; then
    26162877    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' ' '`
     
    26442905  need_version=no
    26452906  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    2646     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     2907    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    26472908    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    26482909    dynamic_linker='NetBSD (a.out) ld.so'
    26492910  else
    2650     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    2651     soname_spec='${libname}${release}${shared_ext}$major'
     2911    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2912    soname_spec='$libname$release$shared_ext$major'
    26522913    dynamic_linker='NetBSD ld.elf_so'
    26532914  fi
     
    26582919
    26592920newsos6)
    2660   version_type=linux
    2661   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2921  version_type=linux # correct to gnu/linux during the next big refactor
     2922  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    26622923  shlibpath_var=LD_LIBRARY_PATH
    26632924  shlibpath_overrides_runpath=yes
     
    26682929  need_lib_prefix=no
    26692930  need_version=no
    2670   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2671   soname_spec='${libname}${release}${shared_ext}$major'
     2931  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     2932  soname_spec='$libname$release$shared_ext$major'
    26722933  shlibpath_var=LD_LIBRARY_PATH
    26732934  shlibpath_overrides_runpath=no
     
    26762937  ;;
    26772938
    2678 openbsd*)
     2939openbsd* | bitrig*)
    26792940  version_type=sunos
    2680   sys_lib_dlsearch_path_spec="/usr/lib"
     2941  sys_lib_dlsearch_path_spec=/usr/lib
    26812942  need_lib_prefix=no
    2682   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
    2683   case $host_os in
    2684     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
    2685     *)                          need_version=no  ;;
    2686   esac
    2687   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     2943  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     2944    need_version=no
     2945  else
     2946    need_version=yes
     2947  fi
     2948  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    26882949  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    26892950  shlibpath_var=LD_LIBRARY_PATH
    2690   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    2691     case $host_os in
    2692       openbsd2.[[89]] | openbsd2.[[89]].*)
    2693         shlibpath_overrides_runpath=no
    2694         ;;
    2695       *)
    2696         shlibpath_overrides_runpath=yes
    2697         ;;
    2698       esac
    2699   else
    2700     shlibpath_overrides_runpath=yes
    2701   fi
     2951  shlibpath_overrides_runpath=yes
    27022952  ;;
    27032953
    27042954os2*)
    27052955  libname_spec='$name'
    2706   shrext_cmds=".dll"
     2956  version_type=windows
     2957  shrext_cmds=.dll
     2958  need_version=no
    27072959  need_lib_prefix=no
    2708   library_names_spec='$libname${shared_ext} $libname.a'
     2960  # OS/2 can only load a DLL with a base name of 8 characters or less.
     2961  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
     2962    v=$($ECHO $release$versuffix | tr -d .-);
     2963    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
     2964    $ECHO $n$v`$shared_ext'
     2965  library_names_spec='${libname}_dll.$libext'
    27092966  dynamic_linker='OS/2 ld.exe'
    2710   shlibpath_var=LIBPATH
     2967  shlibpath_var=BEGINLIBPATH
     2968  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     2969  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     2970  postinstall_cmds='base_file=`basename \$file`~
     2971    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
     2972    dldir=$destdir/`dirname \$dlpath`~
     2973    test -d \$dldir || mkdir -p \$dldir~
     2974    $install_prog $dir/$dlname \$dldir/$dlname~
     2975    chmod a+x \$dldir/$dlname~
     2976    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     2977      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     2978    fi'
     2979  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
     2980    dlpath=$dir/\$dldll~
     2981    $RM \$dlpath'
    27112982  ;;
    27122983
     
    27152986  need_lib_prefix=no
    27162987  need_version=no
    2717   soname_spec='${libname}${release}${shared_ext}$major'
    2718   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     2988  soname_spec='$libname$release$shared_ext$major'
     2989  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    27192990  shlibpath_var=LD_LIBRARY_PATH
    27202991  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    2721   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
     2992  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    27222993  ;;
    27232994
     
    27272998
    27282999solaris*)
    2729   version_type=linux
     3000  version_type=linux # correct to gnu/linux during the next big refactor
    27303001  need_lib_prefix=no
    27313002  need_version=no
    2732   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2733   soname_spec='${libname}${release}${shared_ext}$major'
     3003  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     3004  soname_spec='$libname$release$shared_ext$major'
    27343005  shlibpath_var=LD_LIBRARY_PATH
    27353006  shlibpath_overrides_runpath=yes
     
    27413012sunos4*)
    27423013  version_type=sunos
    2743   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
     3014  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    27443015  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    27453016  shlibpath_var=LD_LIBRARY_PATH
    27463017  shlibpath_overrides_runpath=yes
    2747   if test "$with_gnu_ld" = yes; then
     3018  if test yes = "$with_gnu_ld"; then
    27483019    need_lib_prefix=no
    27493020  fi
     
    27523023
    27533024sysv4 | sysv4.3*)
    2754   version_type=linux
    2755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2756   soname_spec='${libname}${release}${shared_ext}$major'
     3025  version_type=linux # correct to gnu/linux during the next big refactor
     3026  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     3027  soname_spec='$libname$release$shared_ext$major'
    27573028  shlibpath_var=LD_LIBRARY_PATH
    27583029  case $host_vendor in
     
    27753046
    27763047sysv4*MP*)
    2777   if test -d /usr/nec ;then
    2778     version_type=linux
    2779     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
    2780     soname_spec='$libname${shared_ext}.$major'
     3048  if test -d /usr/nec; then
     3049    version_type=linux # correct to gnu/linux during the next big refactor
     3050    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
     3051    soname_spec='$libname$shared_ext.$major'
    27813052    shlibpath_var=LD_LIBRARY_PATH
    27823053  fi
     
    27843055
    27853056sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    2786   version_type=freebsd-elf
     3057  version_type=sco
    27873058  need_lib_prefix=no
    27883059  need_version=no
    2789   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
    2790   soname_spec='${libname}${release}${shared_ext}$major'
     3060  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
     3061  soname_spec='$libname$release$shared_ext$major'
    27913062  shlibpath_var=LD_LIBRARY_PATH
    27923063  shlibpath_overrides_runpath=yes
    27933064  hardcode_into_libs=yes
    2794   if test "$with_gnu_ld" = yes; then
     3065  if test yes = "$with_gnu_ld"; then
    27953066    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    27963067  else
     
    28073078tpf*)
    28083079  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
    2809   version_type=linux
     3080  version_type=linux # correct to gnu/linux during the next big refactor
    28103081  need_lib_prefix=no
    28113082  need_version=no
    2812   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
     3083  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    28133084  shlibpath_var=LD_LIBRARY_PATH
    28143085  shlibpath_overrides_runpath=no
     
    28173088
    28183089uts4*)
    2819   version_type=linux
    2820   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
    2821   soname_spec='${libname}${release}${shared_ext}$major'
     3090  version_type=linux # correct to gnu/linux during the next big refactor
     3091  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     3092  soname_spec='$libname$release$shared_ext$major'
    28223093  shlibpath_var=LD_LIBRARY_PATH
    28233094  ;;
     
    28283099esac
    28293100AC_MSG_RESULT([$dynamic_linker])
    2830 test "$dynamic_linker" = no && can_build_shared=no
     3101test no = "$dynamic_linker" && can_build_shared=no
    28313102
    28323103variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    2833 if test "$GCC" = yes; then
     3104if test yes = "$GCC"; then
    28343105  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    28353106fi
    28363107
    2837 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
    2838   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
     3108if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
     3109  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
    28393110fi
    2840 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
    2841   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
     3111
     3112if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
     3113  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
    28423114fi
     3115
     3116# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
     3117configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
     3118
     3119# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
     3120func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
     3121
     3122# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
     3123configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
    28433124
    28443125_LT_DECL([], [variables_saved_for_relink], [1],
     
    28743155_LT_DECL([], [sys_lib_search_path_spec], [2],
    28753156    [Compile-time system search path for libraries])
    2876 _LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
    2877     [Run-time system search path for libraries])
     3157_LT_DECL([sys_lib_dlsearch_path_spec], [configure_time_dlsearch_path], [2],
     3158    [Detected run-time system search path for libraries])
     3159_LT_DECL([], [configure_time_lt_sys_library_path], [2],
     3160    [Explicit LT_SYS_LIBRARY_PATH set during ./configure time])
    28783161])# _LT_SYS_DYNAMIC_LINKER
    28793162
     
    28813164# _LT_PATH_TOOL_PREFIX(TOOL)
    28823165# --------------------------
    2883 # find a file program which can recognize shared library
     3166# find a file program that can recognize shared library
    28843167AC_DEFUN([_LT_PATH_TOOL_PREFIX],
    28853168[m4_require([_LT_DECL_EGREP])dnl
     
    28883171[case $MAGIC_CMD in
    28893172[[\\/*] |  ?:[\\/]*])
    2890   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
     3173  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
    28913174  ;;
    28923175*)
    2893   lt_save_MAGIC_CMD="$MAGIC_CMD"
    2894   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3176  lt_save_MAGIC_CMD=$MAGIC_CMD
     3177  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    28953178dnl $ac_dummy forces splitting on constant user-supplied paths.
    28963179dnl POSIX.2 word splitting is done only on the output of word expansions,
     
    28983181  ac_dummy="m4_if([$2], , $PATH, [$2])"
    28993182  for ac_dir in $ac_dummy; do
    2900     IFS="$lt_save_ifs"
     3183    IFS=$lt_save_ifs
    29013184    test -z "$ac_dir" && ac_dir=.
    2902     if test -f $ac_dir/$1; then
    2903       lt_cv_path_MAGIC_CMD="$ac_dir/$1"
     3185    if test -f "$ac_dir/$1"; then
     3186      lt_cv_path_MAGIC_CMD=$ac_dir/"$1"
    29043187      if test -n "$file_magic_test_file"; then
    29053188        case $deplibs_check_method in
    29063189        "file_magic "*)
    29073190          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    2908           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     3191          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    29093192          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    29103193            $EGREP "$file_magic_regex" > /dev/null; then
     
    29293212    fi
    29303213  done
    2931   IFS="$lt_save_ifs"
    2932   MAGIC_CMD="$lt_save_MAGIC_CMD"
     3214  IFS=$lt_save_ifs
     3215  MAGIC_CMD=$lt_save_MAGIC_CMD
    29333216  ;;
    29343217esac])
    2935 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
     3218MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    29363219if test -n "$MAGIC_CMD"; then
    29373220  AC_MSG_RESULT($MAGIC_CMD)
     
    29513234# _LT_PATH_MAGIC
    29523235# --------------
    2953 # find a file program which can recognize a shared library
     3236# find a file program that can recognize a shared library
    29543237m4_defun([_LT_PATH_MAGIC],
    29553238[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
     
    29783261    [AS_HELP_STRING([--with-gnu-ld],
    29793262        [assume the C compiler uses GNU ld @<:@default=no@:>@])],
    2980     [test "$withval" = no || with_gnu_ld=yes],
     3263    [test no = "$withval" || with_gnu_ld=yes],
    29813264    [with_gnu_ld=no])dnl
    29823265
    29833266ac_prog=ld
    2984 if test "$GCC" = yes; then
     3267if test yes = "$GCC"; then
    29853268  # Check if gcc -print-prog-name=ld gives a path.
    29863269  AC_MSG_CHECKING([for ld used by $CC])
    29873270  case $host in
    29883271  *-*-mingw*)
    2989     # gcc leaves a trailing carriage return which upsets mingw
     3272    # gcc leaves a trailing carriage return, which upsets mingw
    29903273    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    29913274  *)
     
    30013284        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    30023285      done
    3003       test -z "$LD" && LD="$ac_prog"
     3286      test -z "$LD" && LD=$ac_prog
    30043287      ;;
    30053288  "")
     
    30123295    ;;
    30133296  esac
    3014 elif test "$with_gnu_ld" = yes; then
     3297elif test yes = "$with_gnu_ld"; then
    30153298  AC_MSG_CHECKING([for GNU ld])
    30163299else
     
    30193302AC_CACHE_VAL(lt_cv_path_LD,
    30203303[if test -z "$LD"; then
    3021   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3304  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    30223305  for ac_dir in $PATH; do
    3023     IFS="$lt_save_ifs"
     3306    IFS=$lt_save_ifs
    30243307    test -z "$ac_dir" && ac_dir=.
    30253308    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    3026       lt_cv_path_LD="$ac_dir/$ac_prog"
     3309      lt_cv_path_LD=$ac_dir/$ac_prog
    30273310      # Check to see if the program is GNU ld.  I'd rather use --version,
    30283311      # but apparently some variants of GNU ld only accept -v.
     
    30303313      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    30313314      *GNU* | *'with BFD'*)
    3032         test "$with_gnu_ld" != no && break
     3315        test no != "$with_gnu_ld" && break
    30333316        ;;
    30343317      *)
    3035         test "$with_gnu_ld" != yes && break
     3318        test yes != "$with_gnu_ld" && break
    30363319        ;;
    30373320      esac
    30383321    fi
    30393322  done
    3040   IFS="$lt_save_ifs"
     3323  IFS=$lt_save_ifs
    30413324else
    3042   lt_cv_path_LD="$LD" # Let the user override the test with a path.
     3325  lt_cv_path_LD=$LD # Let the user override the test with a path.
    30433326fi])
    3044 LD="$lt_cv_path_LD"
     3327LD=$lt_cv_path_LD
    30453328if test -n "$LD"; then
    30463329  AC_MSG_RESULT($LD)
     
    30963379case $host_os in
    30973380  cygwin* | mingw* | pw32* | cegcc*)
    3098     if test "$GCC" != yes; then
     3381    if test yes != "$GCC"; then
    30993382      reload_cmds=false
    31003383    fi
    31013384    ;;
    31023385  darwin*)
    3103     if test "$GCC" = yes; then
    3104       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
     3386    if test yes = "$GCC"; then
     3387      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
    31053388    else
    31063389      reload_cmds='$LD$reload_flag -o $output$reload_objs'
     
    31113394_LT_TAGDECL([], [reload_cmds], [2])dnl
    31123395])# _LT_CMD_RELOAD
     3396
     3397
     3398# _LT_PATH_DD
     3399# -----------
     3400# find a working dd
     3401m4_defun([_LT_PATH_DD],
     3402[AC_CACHE_CHECK([for a working dd], [ac_cv_path_lt_DD],
     3403[printf 0123456789abcdef0123456789abcdef >conftest.i
     3404cat conftest.i conftest.i >conftest2.i
     3405: ${lt_DD:=$DD}
     3406AC_PATH_PROGS_FEATURE_CHECK([lt_DD], [dd],
     3407[if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     3408  cmp -s conftest.i conftest.out \
     3409  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
     3410fi])
     3411rm -f conftest.i conftest2.i conftest.out])
     3412])# _LT_PATH_DD
     3413
     3414
     3415# _LT_CMD_TRUNCATE
     3416# ----------------
     3417# find command to truncate a binary pipe
     3418m4_defun([_LT_CMD_TRUNCATE],
     3419[m4_require([_LT_PATH_DD])
     3420AC_CACHE_CHECK([how to truncate binary pipes], [lt_cv_truncate_bin],
     3421[printf 0123456789abcdef0123456789abcdef >conftest.i
     3422cat conftest.i conftest.i >conftest2.i
     3423lt_cv_truncate_bin=
     3424if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     3425  cmp -s conftest.i conftest.out \
     3426  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
     3427fi
     3428rm -f conftest.i conftest2.i conftest.out
     3429test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"])
     3430_LT_DECL([lt_truncate_bin], [lt_cv_truncate_bin], [1],
     3431  [Command to truncate a binary pipe])
     3432])# _LT_CMD_TRUNCATE
    31133433
    31143434
     
    31283448# interlibrary dependencies.
    31293449# 'none' -- dependencies not supported.
    3130 # `unknown' -- same as none, but documents that we really don't know.
     3450# 'unknown' -- same as none, but documents that we really don't know.
    31313451# 'pass_all' -- all dependencies passed with no checks.
    31323452# 'test_compile' -- check by making test program.
    31333453# 'file_magic [[regex]]' -- check by looking for files in library path
    3134 # which responds to the $file_magic_cmd with a given extended regex.
    3135 # If you have `file' or equivalent on your system and you're not sure
    3136 # whether `pass_all' will *always* work, you probably want this one.
     3454# that responds to the $file_magic_cmd with a given extended regex.
     3455# If you have 'file' or equivalent on your system and you're not sure
     3456# whether 'pass_all' will *always* work, you probably want this one.
    31373457
    31383458case $host_os in
     
    31613481  # func_win32_libid shell function, so use a weaker test based on 'objdump',
    31623482  # unless we find 'file', for example because we are cross-compiling.
    3163   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
    3164   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
     3483  if ( file / ) >/dev/null 2>&1; then
    31653484    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    31663485    lt_cv_file_magic_cmd='func_win32_libid'
     
    31963515    lt_cv_deplibs_check_method=pass_all
    31973516  fi
    3198   ;;
    3199 
    3200 gnu*)
    3201   lt_cv_deplibs_check_method=pass_all
    32023517  ;;
    32033518
     
    32393554  ;;
    32403555
    3241 # This must be Linux ELF.
    3242 linux* | k*bsd*-gnu | kopensolaris*-gnu)
     3556# This must be glibc/ELF.
     3557linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    32433558  lt_cv_deplibs_check_method=pass_all
    32443559  ;;
     
    32623577  ;;
    32633578
    3264 openbsd*)
    3265   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     3579openbsd* | bitrig*)
     3580  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    32663581    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
    32673582  else
     
    33163631  lt_cv_deplibs_check_method=pass_all
    33173632  ;;
     3633os2*)
     3634  lt_cv_deplibs_check_method=pass_all
     3635  ;;
    33183636esac
    33193637])
     
    33563674[if test -n "$NM"; then
    33573675  # Let the user override the test.
    3358   lt_cv_path_NM="$NM"
     3676  lt_cv_path_NM=$NM
    33593677else
    3360   lt_nm_to_check="${ac_tool_prefix}nm"
     3678  lt_nm_to_check=${ac_tool_prefix}nm
    33613679  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
    33623680    lt_nm_to_check="$lt_nm_to_check nm"
    33633681  fi
    33643682  for lt_tmp_nm in $lt_nm_to_check; do
    3365     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
     3683    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    33663684    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
    3367       IFS="$lt_save_ifs"
     3685      IFS=$lt_save_ifs
    33683686      test -z "$ac_dir" && ac_dir=.
    3369       tmp_nm="$ac_dir/$lt_tmp_nm"
    3370       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
     3687      tmp_nm=$ac_dir/$lt_tmp_nm
     3688      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
    33713689        # Check to see if the nm accepts a BSD-compat flag.
    3372         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
     3690        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
    33733691        #   nm: unknown option "B" ignored
    33743692        # Tru64's nm complains that /dev/null is an invalid object file
    3375         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
    3376         */dev/null* | *'Invalid file or object type'*)
     3693        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
     3694        case $build_os in
     3695        mingw*) lt_bad_file=conftest.nm/nofile ;;
     3696        *) lt_bad_file=/dev/null ;;
     3697        esac
     3698        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
     3699        *$lt_bad_file* | *'Invalid file or object type'*)
    33773700          lt_cv_path_NM="$tmp_nm -B"
    3378           break
     3701          break 2
    33793702          ;;
    33803703        *)
     
    33823705          */dev/null*)
    33833706            lt_cv_path_NM="$tmp_nm -p"
    3384             break
     3707            break 2
    33853708            ;;
    33863709          *)
     
    33933716      fi
    33943717    done
    3395     IFS="$lt_save_ifs"
     3718    IFS=$lt_save_ifs
    33963719  done
    33973720  : ${lt_cv_path_NM=no}
    33983721fi])
    3399 if test "$lt_cv_path_NM" != "no"; then
    3400   NM="$lt_cv_path_NM"
     3722if test no != "$lt_cv_path_NM"; then
     3723  NM=$lt_cv_path_NM
    34013724else
    34023725  # Didn't find any BSD compatible name lister, look for dumpbin.
     
    34053728  else
    34063729    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
    3407     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
     3730    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
    34083731    *COFF*)
    3409       DUMPBIN="$DUMPBIN -symbols"
     3732      DUMPBIN="$DUMPBIN -symbols -headers"
    34103733      ;;
    34113734    *)
     
    34153738  fi
    34163739  AC_SUBST([DUMPBIN])
    3417   if test "$DUMPBIN" != ":"; then
    3418     NM="$DUMPBIN"
     3740  if test : != "$DUMPBIN"; then
     3741    NM=$DUMPBIN
    34193742  fi
    34203743fi
     
    34623785case $host_os in
    34633786cygwin* | mingw* | pw32* | cegcc*)
    3464   # two different shell functions defined in ltmain.sh
    3465   # decide which to use based on capabilities of $DLLTOOL
     3787  # two different shell functions defined in ltmain.sh;
     3788  # decide which one to use based on capabilities of $DLLTOOL
    34663789  case `$DLLTOOL --help 2>&1` in
    34673790  *--identify-strict*)
     
    34753798*)
    34763799  # fallback: assume linklib IS sharedlib
    3477   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
     3800  lt_cv_sharedlib_from_linklib_cmd=$ECHO
    34783801  ;;
    34793802esac
     
    35023825  fi
    35033826  rm -f conftest*])
    3504 if test "x$lt_cv_path_mainfest_tool" != xyes; then
     3827if test yes != "$lt_cv_path_mainfest_tool"; then
    35053828  MANIFEST_TOOL=:
    35063829fi
    35073830_LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl
    35083831])# _LT_PATH_MANIFEST_TOOL
     3832
     3833
     3834# _LT_DLL_DEF_P([FILE])
     3835# ---------------------
     3836# True iff FILE is a Windows DLL '.def' file.
     3837# Keep in sync with func_dll_def_p in the libtool script
     3838AC_DEFUN([_LT_DLL_DEF_P],
     3839[dnl
     3840  test DEF = "`$SED -n dnl
     3841    -e '\''s/^[[         ]]*//'\'' dnl Strip leading whitespace
     3842    -e '\''/^\(;.*\)*$/d'\'' dnl      Delete empty lines and comments
     3843    -e '\''s/^\(EXPORTS\|LIBRARY\)\([[   ]].*\)*$/DEF/p'\'' dnl
     3844    -e q dnl                          Only consider the first "real" line
     3845    $1`" dnl
     3846])# _LT_DLL_DEF_P
    35093847
    35103848
     
    35203858  ;;
    35213859*-ncr-sysv4.3*)
    3522   AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
     3860  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM=-lmw)
    35233861  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
    35243862  ;;
    35253863*)
    3526   AC_CHECK_LIB(m, cos, LIBM="-lm")
     3864  AC_CHECK_LIB(m, cos, LIBM=-lm)
    35273865  ;;
    35283866esac
     
    35433881_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
    35443882
    3545 if test "$GCC" = yes; then
     3883if test yes = "$GCC"; then
    35463884  case $cc_basename in
    35473885  nvcc*)
     
    35953933  ;;
    35963934hpux*)
    3597   if test "$host_cpu" = ia64; then
     3935  if test ia64 = "$host_cpu"; then
    35983936    symcode='[[ABCDEGRST]]'
    35993937  fi
     
    36283966esac
    36293967
     3968if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     3969  # Gets list of data symbols to import.
     3970  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
     3971  # Adjust the below global symbol transforms to fixup imported variables.
     3972  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
     3973  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
     3974  lt_c_name_lib_hook="\
     3975  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
     3976  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
     3977else
     3978  # Disable hooks by default.
     3979  lt_cv_sys_global_symbol_to_import=
     3980  lt_cdecl_hook=
     3981  lt_c_name_hook=
     3982  lt_c_name_lib_hook=
     3983fi
     3984
    36303985# Transform an extracted symbol line into a proper C declaration.
    36313986# Some systems (esp. on ia64) link data and code symbols differently,
    36323987# so use this general approach.
    3633 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
     3988lt_cv_sys_global_symbol_to_cdecl="sed -n"\
     3989$lt_cdecl_hook\
     3990" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
     3991" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
    36343992
    36353993# Transform an extracted symbol line into symbol name and symbol address
    3636 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
    3637 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
     3994lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
     3995$lt_c_name_hook\
     3996" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     3997" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
     3998
     3999# Transform an extracted symbol line into symbol name with lib prefix and
     4000# symbol address.
     4001lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
     4002$lt_c_name_lib_hook\
     4003" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     4004" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
     4005" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
    36384006
    36394007# Handle CRLF in mingw tool chain
     
    36534021  # Write the raw and C identifiers.
    36544022  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    3655     # Fake it for dumpbin and say T for any non-static function
    3656     # and D for any global variable.
     4023    # Fake it for dumpbin and say T for any non-static function,
     4024    # D for any global variable and I for any imported variable.
    36574025    # Also find C++ and __fastcall symbols from MSVC++,
    36584026    # which start with @ or ?.
    36594027    lt_cv_sys_global_symbol_pipe="$AWK ['"\
    36604028"     {last_section=section; section=\$ 3};"\
     4029"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
    36614030"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
     4031"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
     4032"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
     4033"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
    36624034"     \$ 0!~/External *\|/{next};"\
    36634035"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
    36644036"     {if(hide[section]) next};"\
    3665 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
    3666 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
    3667 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
    3668 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
     4037"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
     4038"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
     4039"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
     4040"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
    36694041"     ' prfx=^$ac_symprfx]"
    36704042  else
     
    37064078          cat <<_LT_EOF > conftest.$ac_ext
    37074079/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
    3708 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
    3709 /* DATA imports from DLLs on WIN32 con't be const, because runtime
     4080#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
     4081/* DATA imports from DLLs on WIN32 can't be const, because runtime
    37104082   relocations are performed -- see ld's documentation on pseudo-relocs.  */
    37114083# define LT@&t@_DLSYM_CONST
    3712 #elif defined(__osf__)
     4084#elif defined __osf__
    37134085/* This system does not cope well with relocations in const data.  */
    37144086# define LT@&t@_DLSYM_CONST
     
    37364108  { "@PROGRAM@", (void *) 0 },
    37374109_LT_EOF
    3738           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
     4110          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
    37394111          cat <<\_LT_EOF >> conftest.$ac_ext
    37404112  {0, (void *) 0}
     
    37564128          lt_globsym_save_LIBS=$LIBS
    37574129          lt_globsym_save_CFLAGS=$CFLAGS
    3758           LIBS="conftstm.$ac_objext"
     4130          LIBS=conftstm.$ac_objext
    37594131          CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
    3760           if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
     4132          if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
    37614133            pipe_works=yes
    37624134          fi
     
    37794151
    37804152  # Do not use the global_symbol_pipe unless it works.
    3781   if test "$pipe_works" = yes; then
     4153  if test yes = "$pipe_works"; then
    37824154    break
    37834155  else
     
    38064178_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
    38074179    [Transform the output of nm in a proper C declaration])
     4180_LT_DECL([global_symbol_to_import], [lt_cv_sys_global_symbol_to_import], [1],
     4181    [Transform the output of nm into a list of symbols to manually relocate])
    38084182_LT_DECL([global_symbol_to_c_name_address],
    38094183    [lt_cv_sys_global_symbol_to_c_name_address], [1],
     
    38124186    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
    38134187    [Transform the output of nm in a C name address pair when lib prefix is needed])
     4188_LT_DECL([nm_interface], [lt_cv_nm_interface], [1],
     4189    [The name lister interface])
    38144190_LT_DECL([], [nm_file_list_spec], [1],
    38154191    [Specify filename containing input files for $NM])
     
    38274203m4_if([$1], [CXX], [
    38284204  # C++ specific cases for pic, static, wl, etc.
    3829   if test "$GXX" = yes; then
     4205  if test yes = "$GXX"; then
    38304206    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    38314207    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
     
    38344210    aix*)
    38354211      # All AIX code is PIC.
    3836       if test "$host_cpu" = ia64; then
     4212      if test ia64 = "$host_cpu"; then
    38374213        # AIX 5 now supports IA64 processor
    38384214        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    38394215      fi
     4216      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
    38404217      ;;
    38414218
     
    38484225      m68k)
    38494226            # FIXME: we need at least 68020 code to build shared libraries, but
    3850             # adding the `-m68020' flag to GCC prevents building anything better,
    3851             # like `-m68040'.
     4227            # adding the '-m68020' flag to GCC prevents building anything better,
     4228            # like '-m68040'.
    38524229            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
    38534230        ;;
     
    38654242      m4_if([$1], [GCJ], [],
    38664243        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
     4244      case $host_os in
     4245      os2*)
     4246        _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
     4247        ;;
     4248      esac
    38674249      ;;
    38684250    darwin* | rhapsody*)
     
    39144296      aix[[4-9]]*)
    39154297        # All AIX code is PIC.
    3916         if test "$host_cpu" = ia64; then
     4298        if test ia64 = "$host_cpu"; then
    39174299          # AIX 5 now supports IA64 processor
    39184300          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     
    39554337          CC*)
    39564338            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    3957             _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
    3958             if test "$host_cpu" != ia64; then
     4339            _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
     4340            if test ia64 != "$host_cpu"; then
    39594341              _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
    39604342            fi
     
    39624344          aCC*)
    39634345            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    3964             _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
     4346            _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
    39654347            case $host_cpu in
    39664348            hppa*64*|ia64*)
     
    39914373        esac
    39924374        ;;
    3993       linux* | k*bsd*-gnu | kopensolaris*-gnu)
     4375      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    39944376        case $cc_basename in
    39954377          KCC*)
     
    39994381            ;;
    40004382          ecpc* )
    4001             # old Intel C++ for x86_64 which still supported -KPIC.
     4383            # old Intel C++ for x86_64, which still supported -KPIC.
    40024384            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    40034385            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
     
    41444526],
    41454527[
    4146   if test "$GCC" = yes; then
     4528  if test yes = "$GCC"; then
    41474529    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    41484530    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
     
    41514533      aix*)
    41524534      # All AIX code is PIC.
    4153       if test "$host_cpu" = ia64; then
     4535      if test ia64 = "$host_cpu"; then
    41544536        # AIX 5 now supports IA64 processor
    41554537        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    41564538      fi
     4539      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
    41574540      ;;
    41584541
     
    41654548      m68k)
    41664549            # FIXME: we need at least 68020 code to build shared libraries, but
    4167             # adding the `-m68020' flag to GCC prevents building anything better,
    4168             # like `-m68040'.
     4550            # adding the '-m68020' flag to GCC prevents building anything better,
     4551            # like '-m68040'.
    41694552            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
    41704553        ;;
     
    41834566      m4_if([$1], [GCJ], [],
    41844567        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
     4568      case $host_os in
     4569      os2*)
     4570        _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
     4571        ;;
     4572      esac
    41854573      ;;
    41864574
     
    42434631    nvcc*) # Cuda Compiler Driver 2.2
    42444632      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
    4245       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
     4633      if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
     4634        _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
     4635      fi
    42464636      ;;
    42474637    esac
     
    42514641    aix*)
    42524642      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
    4253       if test "$host_cpu" = ia64; then
     4643      if test ia64 = "$host_cpu"; then
    42544644        # AIX 5 now supports IA64 processor
    42554645        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     
    42594649      ;;
    42604650
     4651    darwin* | rhapsody*)
     4652      # PIC is the default on this platform
     4653      # Common symbols not allowed in MH_DYLIB files
     4654      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
     4655      case $cc_basename in
     4656      nagfor*)
     4657        # NAG Fortran compiler
     4658        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,'
     4659        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
     4660        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     4661        ;;
     4662      esac
     4663      ;;
     4664
    42614665    mingw* | cygwin* | pw32* | os2* | cegcc*)
    42624666      # This hack is so that the source file can tell whether it is being
     
    42644668      m4_if([$1], [GCJ], [],
    42654669        [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
     4670      case $host_os in
     4671      os2*)
     4672        _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-static'
     4673        ;;
     4674      esac
    42664675      ;;
    42674676
     
    42794688      esac
    42804689      # Is there a better lt_prog_compiler_static that works with the bundled CC?
    4281       _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
     4690      _LT_TAGVAR(lt_prog_compiler_static, $1)='$wl-a ${wl}archive'
    42824691      ;;
    42834692
     
    42884697      ;;
    42894698
    4290     linux* | k*bsd*-gnu | kopensolaris*-gnu)
     4699    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    42914700      case $cc_basename in
    4292       # old Intel for x86_64 which still supported -KPIC.
     4701      # old Intel for x86_64, which still supported -KPIC.
    42934702      ecc*)
    42944703        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     
    43154724        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    43164725        ;;
     4726      tcc*)
     4727        # Fabrice Bellard et al's Tiny C Compiler
     4728        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     4729        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
     4730        _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
     4731        ;;
    43174732      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
    43184733        # Portland Group compilers (*not* the Pentium gcc compiler,
     
    43354750      *)
    43364751        case `$CC -V 2>&1 | sed 5q` in
    4337         *Sun\ F* | *Sun*Fortran*)
     4752        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
    43384753          # Sun Fortran 8.3 passes all unrecognized flags to the linker
    43394754          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
    43404755          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    43414756          _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
     4757          ;;
     4758        *Sun\ F* | *Sun*Fortran*)
     4759          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
     4760          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     4761          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
    43424762          ;;
    43434763        *Sun\ C*)
     
    43464766          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    43474767          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     4768          ;;
     4769        *Intel*\ [[CF]]*Compiler*)
     4770          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     4771          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
     4772          _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
     4773          ;;
     4774        *Portland\ Group*)
     4775          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
     4776          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
     4777          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
    43484778          ;;
    43494779        esac
     
    43974827
    43984828    sysv4*MP*)
    4399       if test -d /usr/nec ;then
     4829      if test -d /usr/nec; then
    44004830        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
    44014831        _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
     
    44264856])
    44274857case $host_os in
    4428   # For platforms which do not support PIC, -DPIC is meaningless:
     4858  # For platforms that do not support PIC, -DPIC is meaningless:
    44294859  *djgpp*)
    44304860    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
     
    44924922  aix[[4-9]]*)
    44934923    # If we're using GNU nm, then we don't want the "-C" option.
    4494     # -C means demangle to AIX nm, but means don't demangle with GNU nm
    4495     # Also, AIX nm treats weak defined symbols like other global defined
    4496     # symbols, whereas GNU nm marks them as "W".
     4924    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     4925    # Without the "-l" option, or with the "-B" option, AIX nm treats
     4926    # weak defined symbols like other global defined symbols, whereas
     4927    # GNU nm marks them as "W".
     4928    # While the 'weak' keyword is ignored in the Export File, we need
     4929    # it in the Import File for the 'aix-soname' feature, so we have
     4930    # to replace the "-B" option with "-P" for AIX nm.
    44974931    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    4498       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     4932      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
    44994933    else
    4500       _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     4934      _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
    45014935    fi
    45024936    ;;
    45034937  pw32*)
    4504     _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
     4938    _LT_TAGVAR(export_symbols_cmds, $1)=$ltdll_cmds
    45054939    ;;
    45064940  cygwin* | mingw* | cegcc*)
    45074941    case $cc_basename in
    4508     cl*) ;;
     4942    cl*)
     4943      _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
     4944      ;;
    45094945    *)
    45104946      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
     
    45344970  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
    45354971  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
    4536   _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
    45374972  _LT_TAGVAR(hardcode_libdir_separator, $1)=
    45384973  _LT_TAGVAR(hardcode_minus_L, $1)=no
     
    45504985  _LT_TAGVAR(include_expsyms, $1)=
    45514986  # exclude_expsyms can be an extended regexp of symbols to exclude
    4552   # it will be wrapped by ` (' and `)$', so one must not match beginning or
    4553   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
    4554   # as well as any symbol that contains `d'.
     4987  # it will be wrapped by ' (' and ')$', so one must not match beginning or
     4988  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
     4989  # as well as any symbol that contains 'd'.
    45554990  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
    45564991  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     
    45685003    # When not using gcc, we currently assume that we are using
    45695004    # Microsoft Visual C++.
    4570     if test "$GCC" != yes; then
     5005    if test yes != "$GCC"; then
    45715006      with_gnu_ld=no
    45725007    fi
     
    45765011    with_gnu_ld=yes
    45775012    ;;
    4578   openbsd*)
     5013  openbsd* | bitrig*)
    45795014    with_gnu_ld=no
    45805015    ;;
     
    45895024  # that we're better off using the native interface for both.
    45905025  lt_use_gnu_ld_interface=no
    4591   if test "$with_gnu_ld" = yes; then
     5026  if test yes = "$with_gnu_ld"; then
    45925027    case $host_os in
    45935028      aix*)
     
    46115046  fi
    46125047
    4613   if test "$lt_use_gnu_ld_interface" = yes; then
     5048  if test yes = "$lt_use_gnu_ld_interface"; then
    46145049    # If archive_cmds runs LD, not CC, wlarc should be empty
    4615     wlarc='${wl}'
     5050    wlarc='$wl'
    46165051
    46175052    # Set some defaults for GNU ld with shared library support. These
     
    46195054    # here allows them to be overridden if necessary.
    46205055    runpath_var=LD_RUN_PATH
    4621     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    4622     _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
     5056    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     5057    _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
    46235058    # ancient GNU ld didn't support --whole-archive et. al.
    46245059    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
    4625       _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     5060      _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    46265061    else
    46275062      _LT_TAGVAR(whole_archive_flag_spec, $1)=
    46285063    fi
    46295064    supports_anon_versioning=no
    4630     case `$LD -v 2>&1` in
     5065    case `$LD -v | $SED -e 's/([^)]\+)\s\+//' 2>&1` in
    46315066      *GNU\ gold*) supports_anon_versioning=yes ;;
    46325067      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
     
    46415076    aix[[3-9]]*)
    46425077      # On AIX/PPC, the GNU linker is very broken
    4643       if test "$host_cpu" != ia64; then
     5078      if test ia64 != "$host_cpu"; then
    46445079        _LT_TAGVAR(ld_shlibs, $1)=no
    46455080        cat <<_LT_EOF 1>&2
     
    46605095      powerpc)
    46615096            # see comment about AmigaOS4 .so support
    4662             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5097            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    46635098            _LT_TAGVAR(archive_expsym_cmds, $1)=''
    46645099        ;;
     
    46765111        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    46775112        # support --undefined.  This deserves some investigation.  FIXME
    4678         _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5113        _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    46795114      else
    46805115        _LT_TAGVAR(ld_shlibs, $1)=no
     
    46865121      # as there is no search path for DLLs.
    46875122      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
    4688       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
     5123      _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
    46895124      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    46905125      _LT_TAGVAR(always_export_symbols, $1)=no
     
    46945129
    46955130      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    4696         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    4697         # If the export-symbols file already is a .def file (1st line
    4698         # is EXPORTS), use it as is; otherwise, prepend...
    4699         _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    4700           cp $export_symbols $output_objdir/$soname.def;
    4701         else
    4702           echo EXPORTS > $output_objdir/$soname.def;
    4703           cat $export_symbols >> $output_objdir/$soname.def;
    4704         fi~
    4705         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     5131        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     5132        # If the export-symbols file already is a .def file, use it as
     5133        # is; otherwise, prepend EXPORTS...
     5134        _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
     5135          cp $export_symbols $output_objdir/$soname.def;
     5136        else
     5137          echo EXPORTS > $output_objdir/$soname.def;
     5138          cat $export_symbols >> $output_objdir/$soname.def;
     5139        fi~
     5140        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    47065141      else
    47075142        _LT_TAGVAR(ld_shlibs, $1)=no
     
    47105145
    47115146    haiku*)
    4712       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5147      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    47135148      _LT_TAGVAR(link_all_deplibs, $1)=yes
     5149      ;;
     5150
     5151    os2*)
     5152      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
     5153      _LT_TAGVAR(hardcode_minus_L, $1)=yes
     5154      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
     5155      shrext_cmds=.dll
     5156      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     5157        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     5158        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     5159        $ECHO EXPORTS >> $output_objdir/$libname.def~
     5160        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     5161        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     5162        emximp -o $lib $output_objdir/$libname.def'
     5163      _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     5164        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     5165        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     5166        $ECHO EXPORTS >> $output_objdir/$libname.def~
     5167        prefix_cmds="$SED"~
     5168        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     5169          prefix_cmds="$prefix_cmds -e 1d";
     5170        fi~
     5171        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     5172        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     5173        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     5174        emximp -o $lib $output_objdir/$libname.def'
     5175      _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     5176      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
    47145177      ;;
    47155178
     
    47175180      _LT_TAGVAR(hardcode_direct, $1)=no
    47185181      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    4719       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    4720       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     5182      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     5183      _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    47215184      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    47225185      # Instead, shared libraries are loaded at an image base (0x10000000 by
     
    47255188      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    47265189      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    4727       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    4728       _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     5190      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     5191      _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    47295192      ;;
    47305193
    47315194    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
    47325195      tmp_diet=no
    4733       if test "$host_os" = linux-dietlibc; then
     5196      if test linux-dietlibc = "$host_os"; then
    47345197        case $cc_basename in
    47355198          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
     
    47375200      fi
    47385201      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
    4739          && test "$tmp_diet" = no
     5202         && test no = "$tmp_diet"
    47405203      then
    47415204        tmp_addflag=' $pic_flag'
     
    47435206        case $cc_basename,$host_cpu in
    47445207        pgcc*)                          # Portland Group C compiler
    4745           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     5208          _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    47465209          tmp_addflag=' $pic_flag'
    47475210          ;;
    47485211        pgf77* | pgf90* | pgf95* | pgfortran*)
    47495212                                        # Portland Group f77 and f90 compilers
    4750           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     5213          _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    47515214          tmp_addflag=' $pic_flag -Mnomain' ;;
    47525215        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
     
    47595222          _LT_TAGVAR(whole_archive_flag_spec, $1)=
    47605223          tmp_sharedflag='--shared' ;;
     5224        nagfor*)                        # NAGFOR 5.3
     5225          tmp_sharedflag='-Wl,-shared' ;;
    47615226        xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
    47625227          tmp_sharedflag='-qmkshrobj'
    47635228          tmp_addflag= ;;
    47645229        nvcc*)  # Cuda Compiler Driver 2.2
    4765           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     5230          _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    47665231          _LT_TAGVAR(compiler_needs_object, $1)=yes
    47675232          ;;
     
    47695234        case `$CC -V 2>&1 | sed 5q` in
    47705235        *Sun\ C*)                       # Sun C 5.9
    4771           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     5236          _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    47725237          _LT_TAGVAR(compiler_needs_object, $1)=yes
    47735238          tmp_sharedflag='-G' ;;
     
    47755240          tmp_sharedflag='-G' ;;
    47765241        esac
    4777         _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4778 
    4779         if test "x$supports_anon_versioning" = xyes; then
     5242        _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5243
     5244        if test yes = "$supports_anon_versioning"; then
    47805245          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
    4781             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    4782             echo "local: *; };" >> $output_objdir/$libname.ver~
    4783             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     5246            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     5247            echo "local: *; };" >> $output_objdir/$libname.ver~
     5248            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    47845249        fi
    47855250
    47865251        case $cc_basename in
     5252        tcc*)
     5253          _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic'
     5254          ;;
    47875255        xlf* | bgf* | bgxlf* | mpixlf*)
    47885256          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
    47895257          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
    4790           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
    4791           _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
     5258          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    47925259          _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
    4793           if test "x$supports_anon_versioning" = xyes; then
     5260          if test yes = "$supports_anon_versioning"; then
    47945261            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
    4795               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    4796               echo "local: *; };" >> $output_objdir/$libname.ver~
    4797               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
     5262              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     5263              echo "local: *; };" >> $output_objdir/$libname.ver~
     5264              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
    47985265          fi
    47995266          ;;
     
    48095276        wlarc=
    48105277      else
    4811         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4812         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     5278        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5279        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    48135280      fi
    48145281      ;;
     
    48285295_LT_EOF
    48295296      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    4830         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4831         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     5297        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5298        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    48325299      else
    48335300        _LT_TAGVAR(ld_shlibs, $1)=no
     
    48415308        cat <<_LT_EOF 1>&2
    48425309
    4843 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
     5310*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
    48445311*** reliably create shared libraries on SCO systems.  Therefore, libtool
    48455312*** is disabling shared libraries support.  We urge you to upgrade GNU
     
    48565323          # requires that you compile everything twice, which is a pain.
    48575324          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    4858             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    4859             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4860             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     5325            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     5326            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5327            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    48615328          else
    48625329            _LT_TAGVAR(ld_shlibs, $1)=no
     
    48755342    *)
    48765343      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    4877         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    4878         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     5344        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     5345        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    48795346      else
    48805347        _LT_TAGVAR(ld_shlibs, $1)=no
     
    48835350    esac
    48845351
    4885     if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
     5352    if test no = "$_LT_TAGVAR(ld_shlibs, $1)"; then
    48865353      runpath_var=
    48875354      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
     
    48995366      # are no directories specified by -L.
    49005367      _LT_TAGVAR(hardcode_minus_L, $1)=yes
    4901       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
     5368      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
    49025369        # Neither direct hardcoding nor static linking is supported with a
    49035370        # broken collect2.
     
    49075374
    49085375    aix[[4-9]]*)
    4909       if test "$host_cpu" = ia64; then
     5376      if test ia64 = "$host_cpu"; then
    49105377        # On IA64, the linker does run time linking by default, so we don't
    49115378        # have to do anything special.
    49125379        aix_use_runtimelinking=no
    49135380        exp_sym_flag='-Bexport'
    4914         no_entry_flag=""
     5381        no_entry_flag=
    49155382      else
    49165383        # If we're using GNU nm, then we don't want the "-C" option.
    4917         # -C means demangle to AIX nm, but means don't demangle with GNU nm
    4918         # Also, AIX nm treats weak defined symbols like other global
    4919         # defined symbols, whereas GNU nm marks them as "W".
     5384        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     5385        # Without the "-l" option, or with the "-B" option, AIX nm treats
     5386        # weak defined symbols like other global defined symbols, whereas
     5387        # GNU nm marks them as "W".
     5388        # While the 'weak' keyword is ignored in the Export File, we need
     5389        # it in the Import File for the 'aix-soname' feature, so we have
     5390        # to replace the "-B" option with "-P" for AIX nm.
    49205391        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    4921           _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     5392          _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
    49225393        else
    4923           _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     5394          _LT_TAGVAR(export_symbols_cmds, $1)='`func_echo_all $NM | $SED -e '\''s/B\([[^B]]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && ([substr](\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
    49245395        fi
    49255396        aix_use_runtimelinking=no
     
    49275398        # Test if we are trying to use run time linking or normal
    49285399        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    4929         # need to do runtime linking.
     5400        # have runtime linking enabled, and use it for executables.
     5401        # For shared libraries, we enable/disable runtime linking
     5402        # depending on the kind of the shared library created -
     5403        # when "with_aix_soname,aix_use_runtimelinking" is:
     5404        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
     5405        # "aix,yes"  lib.so          shared, rtl:yes, for executables
     5406        #            lib.a           static archive
     5407        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
     5408        #            lib.a(lib.so.V) shared, rtl:no,  for executables
     5409        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
     5410        #            lib.a(lib.so.V) shared, rtl:no
     5411        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
     5412        #            lib.a           static archive
    49305413        case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
    49315414          for ld_flag in $LDFLAGS; do
    4932           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
     5415          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
    49335416            aix_use_runtimelinking=yes
    49345417            break
    49355418          fi
    49365419          done
     5420          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
     5421            # With aix-soname=svr4, we create the lib.so.V shared archives only,
     5422            # so we don't have lib.a shared libs to link our executables.
     5423            # We have to force runtime linking in this case.
     5424            aix_use_runtimelinking=yes
     5425            LDFLAGS="$LDFLAGS -Wl,-brtl"
     5426          fi
    49375427          ;;
    49385428        esac
     
    49535443      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
    49545444      _LT_TAGVAR(link_all_deplibs, $1)=yes
    4955       _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
    4956 
    4957       if test "$GCC" = yes; then
     5445      _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
     5446      case $with_aix_soname,$aix_use_runtimelinking in
     5447      aix,*) ;; # traditional, no import file
     5448      svr4,* | *,yes) # use import file
     5449        # The Import File defines what to hardcode.
     5450        _LT_TAGVAR(hardcode_direct, $1)=no
     5451        _LT_TAGVAR(hardcode_direct_absolute, $1)=no
     5452        ;;
     5453      esac
     5454
     5455      if test yes = "$GCC"; then
    49585456        case $host_os in aix4.[[012]]|aix4.[[012]].*)
    49595457        # We only want to do this on AIX 4.2 and lower, the check
    49605458        # below for broken collect2 doesn't work under 4.3+
    4961           collect2name=`${CC} -print-prog-name=collect2`
     5459          collect2name=`$CC -print-prog-name=collect2`
    49625460          if test -f "$collect2name" &&
    49635461           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     
    49785476        esac
    49795477        shared_flag='-shared'
    4980         if test "$aix_use_runtimelinking" = yes; then
    4981           shared_flag="$shared_flag "'${wl}-G'
     5478        if test yes = "$aix_use_runtimelinking"; then
     5479          shared_flag="$shared_flag "'$wl-G'
    49825480        fi
    4983         _LT_TAGVAR(link_all_deplibs, $1)=no
     5481        # Need to ensure runtime linking is disabled for the traditional
     5482        # shared library, or the linker may eventually find shared libraries
     5483        # /with/ Import File - we do not want to mix them.
     5484        shared_flag_aix='-shared'
     5485        shared_flag_svr4='-shared $wl-G'
    49845486      else
    49855487        # not using gcc
    4986         if test "$host_cpu" = ia64; then
     5488        if test ia64 = "$host_cpu"; then
    49875489        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    49885490        # chokes on -Wl,-G. The following line is correct:
    49895491          shared_flag='-G'
    49905492        else
    4991           if test "$aix_use_runtimelinking" = yes; then
    4992             shared_flag='${wl}-G'
     5493          if test yes = "$aix_use_runtimelinking"; then
     5494            shared_flag='$wl-G'
    49935495          else
    4994             shared_flag='${wl}-bM:SRE'
     5496            shared_flag='$wl-bM:SRE'
    49955497          fi
     5498          shared_flag_aix='$wl-bM:SRE'
     5499          shared_flag_svr4='$wl-G'
    49965500        fi
    49975501      fi
    49985502
    4999       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
     5503      _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
    50005504      # It seems that -bexpall does not export symbols beginning with
    50015505      # underscore (_), so it is better to generate a list of symbols to export.
    50025506      _LT_TAGVAR(always_export_symbols, $1)=yes
    5003       if test "$aix_use_runtimelinking" = yes; then
     5507      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
    50045508        # Warning - without using the other runtime loading flags (-brtl),
    50055509        # -berok will link without error, but may produce a broken library.
     
    50085512        # empty executable.
    50095513        _LT_SYS_MODULE_PATH_AIX([$1])
    5010         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
    5011         _LT_TAGVAR(archive_expsym_cmds, $1)='$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"
     5514        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
     5515        _LT_TAGVAR(archive_expsym_cmds, $1)='$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
    50125516      else
    5013         if test "$host_cpu" = ia64; then
    5014           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
     5517        if test ia64 = "$host_cpu"; then
     5518          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
    50155519          _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
    5016           _LT_TAGVAR(archive_expsym_cmds, $1)="\$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"
     5520          _LT_TAGVAR(archive_expsym_cmds, $1)="\$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"
    50175521        else
    50185522         # Determine the default libpath from the value encoded in an
    50195523         # empty executable.
    50205524         _LT_SYS_MODULE_PATH_AIX([$1])
    5021          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
     5525         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
    50225526          # Warning - without using the other run time loading flags,
    50235527          # -berok will link without error, but may produce a broken library.
    5024           _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
    5025           _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
    5026           if test "$with_gnu_ld" = yes; then
     5528          _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
     5529          _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
     5530          if test yes = "$with_gnu_ld"; then
    50275531            # We only use this code for GNU lds that support --whole-archive.
    5028             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     5532            _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
    50295533          else
    50305534            # Exported symbols can be pulled into shared objects from archives
     
    50325536          fi
    50335537          _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
    5034           # This is similar to how AIX traditionally builds its shared libraries.
    5035           _LT_TAGVAR(archive_expsym_cmds, $1)="\$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'
     5538          _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
     5539          # -brtl affects multiple linker settings, -berok does not and is overridden later
     5540          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
     5541          if test svr4 != "$with_aix_soname"; then
     5542            # This is similar to how AIX traditionally builds its shared libraries.
     5543            _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$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'
     5544          fi
     5545          if test aix != "$with_aix_soname"; then
     5546            _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$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'
     5547          else
     5548            # used by -dlpreopen to get the symbols
     5549            _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
     5550          fi
     5551          _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
    50365552        fi
    50375553      fi
     
    50425558      powerpc)
    50435559            # see comment about AmigaOS4 .so support
    5044             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     5560            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    50455561            _LT_TAGVAR(archive_expsym_cmds, $1)=''
    50465562        ;;
     
    50725588        libext=lib
    50735589        # Tell ltmain to make .dll files, not .so files.
    5074         shrext_cmds=".dll"
     5590        shrext_cmds=.dll
    50755591        # FIXME: Setting linknames here is a bad hack.
    5076         _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
    5077         _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    5078             sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
    5079           else
    5080             sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
    5081           fi~
    5082           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    5083           linknames='
     5592        _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
     5593        _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
     5594            cp "$export_symbols" "$output_objdir/$soname.def";
     5595            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
     5596          else
     5597            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
     5598          fi~
     5599          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     5600          linknames='
    50845601        # The linker will not automatically build a static lib if we build a DLL.
    50855602        # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
    50865603        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
     5604        _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
    50875605        _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
    50885606        # Don't use ranlib
    50895607        _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
    50905608        _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
    5091           lt_tool_outputfile="@TOOL_OUTPUT@"~
    5092           case $lt_outputfile in
    5093             *.exe|*.EXE) ;;
    5094             *)
    5095               lt_outputfile="$lt_outputfile.exe"
    5096               lt_tool_outputfile="$lt_tool_outputfile.exe"
    5097               ;;
    5098           esac~
    5099           if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
    5100             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    5101             $RM "$lt_outputfile.manifest";
    5102           fi'
     5609          lt_tool_outputfile="@TOOL_OUTPUT@"~
     5610          case $lt_outputfile in
     5611            *.exe|*.EXE) ;;
     5612            *)
     5613              lt_outputfile=$lt_outputfile.exe
     5614              lt_tool_outputfile=$lt_tool_outputfile.exe
     5615              ;;
     5616          esac~
     5617          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
     5618            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     5619            $RM "$lt_outputfile.manifest";
     5620          fi'
    51035621        ;;
    51045622      *)
     
    51095627        libext=lib
    51105628        # Tell ltmain to make .dll files, not .so files.
    5111         shrext_cmds=".dll"
     5629        shrext_cmds=.dll
    51125630        # FIXME: Setting linknames here is a bad hack.
    51135631        _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
     
    51315649      ;;
    51325650
    5133     freebsd1*)
    5134       _LT_TAGVAR(ld_shlibs, $1)=no
    5135       ;;
    5136 
    51375651    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
    51385652    # support.  Future versions do this automatically, but an explicit c++rt0.o
     
    51475661
    51485662    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    5149     freebsd2*)
     5663    freebsd2.*)
    51505664      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    51515665      _LT_TAGVAR(hardcode_direct, $1)=yes
     
    51635677
    51645678    hpux9*)
    5165       if test "$GCC" = yes; then
    5166         _LT_TAGVAR(archive_cmds, $1)='$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'
     5679      if test yes = "$GCC"; then
     5680        _LT_TAGVAR(archive_cmds, $1)='$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'
    51675681      else
    5168         _LT_TAGVAR(archive_cmds, $1)='$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'
     5682        _LT_TAGVAR(archive_cmds, $1)='$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'
    51695683      fi
    5170       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
     5684      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
    51715685      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    51725686      _LT_TAGVAR(hardcode_direct, $1)=yes
     
    51755689      # but as the default location of the library.
    51765690      _LT_TAGVAR(hardcode_minus_L, $1)=yes
    5177       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     5691      _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    51785692      ;;
    51795693
    51805694    hpux10*)
    5181       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
    5182         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     5695      if test yes,no = "$GCC,$with_gnu_ld"; then
     5696        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    51835697      else
    51845698        _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    51855699      fi
    5186       if test "$with_gnu_ld" = no; then
    5187         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
    5188         _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
     5700      if test no = "$with_gnu_ld"; then
     5701        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
    51895702        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    51905703        _LT_TAGVAR(hardcode_direct, $1)=yes
    51915704        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
    5192         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     5705        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    51935706        # hardcode_minus_L: Not really in the search PATH,
    51945707        # but as the default location of the library.
     
    51985711
    51995712    hpux11*)
    5200       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
     5713      if test yes,no = "$GCC,$with_gnu_ld"; then
    52015714        case $host_cpu in
    52025715        hppa*64*)
    5203           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     5716          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    52045717          ;;
    52055718        ia64*)
    5206           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     5719          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    52075720          ;;
    52085721        *)
    5209           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     5722          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    52105723          ;;
    52115724        esac
     
    52135726        case $host_cpu in
    52145727        hppa*64*)
    5215           _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     5728          _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    52165729          ;;
    52175730        ia64*)
    5218           _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     5731          _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    52195732          ;;
    52205733        *)
     
    52245737          _LT_LINKER_OPTION([if $CC understands -b],
    52255738            _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
    5226             [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
     5739            [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
    52275740            [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
    5228           [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
     5741          [_LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
    52295742          ;;
    52305743        esac
    52315744      fi
    5232       if test "$with_gnu_ld" = no; then
    5233         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
     5745      if test no = "$with_gnu_ld"; then
     5746        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
    52345747        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    52355748
     
    52425755          _LT_TAGVAR(hardcode_direct, $1)=yes
    52435756          _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
    5244           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     5757          _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    52455758
    52465759          # hardcode_minus_L: Not really in the search PATH,
     
    52535766
    52545767    irix5* | irix6* | nonstopux*)
    5255       if test "$GCC" = yes; then
    5256         _LT_TAGVAR(archive_cmds, $1)='$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'
     5768      if test yes = "$GCC"; then
     5769        _LT_TAGVAR(archive_cmds, $1)='$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'
    52575770        # Try to use the -exported_symbol ld option, if it does not
    52585771        # work, assume that -exports_file does not work either and
     
    52615774        AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol],
    52625775          [lt_cv_irix_exported_symbol],
    5263           [save_LDFLAGS="$LDFLAGS"
    5264            LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
     5776          [save_LDFLAGS=$LDFLAGS
     5777           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
    52655778           AC_LINK_IFELSE(
    52665779             [AC_LANG_SOURCE(
     
    52755788              [lt_cv_irix_exported_symbol=yes],
    52765789              [lt_cv_irix_exported_symbol=no])
    5277            LDFLAGS="$save_LDFLAGS"])
    5278         if test "$lt_cv_irix_exported_symbol" = yes; then
    5279           _LT_TAGVAR(archive_expsym_cmds, $1)='$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'
     5790           LDFLAGS=$save_LDFLAGS])
     5791        if test yes = "$lt_cv_irix_exported_symbol"; then
     5792          _LT_TAGVAR(archive_expsym_cmds, $1)='$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'
    52805793        fi
     5794        _LT_TAGVAR(link_all_deplibs, $1)=no
    52815795      else
    5282         _LT_TAGVAR(archive_cmds, $1)='$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'
    5283         _LT_TAGVAR(archive_expsym_cmds, $1)='$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'
     5796        _LT_TAGVAR(archive_cmds, $1)='$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'
     5797        _LT_TAGVAR(archive_expsym_cmds, $1)='$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'
    52845798      fi
    52855799      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
    5286       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     5800      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    52875801      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    52885802      _LT_TAGVAR(inherit_rpath, $1)=yes
    52895803      _LT_TAGVAR(link_all_deplibs, $1)=yes
     5804      ;;
     5805
     5806    linux*)
     5807      case $cc_basename in
     5808      tcc*)
     5809        # Fabrice Bellard et al's Tiny C Compiler
     5810        _LT_TAGVAR(ld_shlibs, $1)=yes
     5811        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     5812        ;;
     5813      esac
    52905814      ;;
    52915815
     
    53045828      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    53055829      _LT_TAGVAR(hardcode_direct, $1)=yes
    5306       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     5830      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    53075831      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    53085832      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
     
    53125836      ;;
    53135837
    5314     openbsd*)
     5838    openbsd* | bitrig*)
    53155839      if test -f /usr/libexec/ld.so; then
    53165840        _LT_TAGVAR(hardcode_direct, $1)=yes
    53175841        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    53185842        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
    5319         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
     5843        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    53205844          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    5321           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
    5322           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    5323           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     5845          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
     5846          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     5847          _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    53245848        else
    5325           case $host_os in
    5326            openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
    5327              _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    5328              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
    5329              ;;
    5330            *)
    5331              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    5332              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    5333              ;;
    5334           esac
     5849          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     5850          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
    53355851        fi
    53365852      else
     
    53435859      _LT_TAGVAR(hardcode_minus_L, $1)=yes
    53445860      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    5345       _LT_TAGVAR(archive_cmds, $1)='$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'
    5346       _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
     5861      shrext_cmds=.dll
     5862      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     5863        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     5864        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     5865        $ECHO EXPORTS >> $output_objdir/$libname.def~
     5866        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     5867        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     5868        emximp -o $lib $output_objdir/$libname.def'
     5869      _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     5870        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     5871        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     5872        $ECHO EXPORTS >> $output_objdir/$libname.def~
     5873        prefix_cmds="$SED"~
     5874        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     5875          prefix_cmds="$prefix_cmds -e 1d";
     5876        fi~
     5877        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     5878        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     5879        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     5880        emximp -o $lib $output_objdir/$libname.def'
     5881      _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     5882      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
    53475883      ;;
    53485884
    53495885    osf3*)
    5350       if test "$GCC" = yes; then
    5351         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
    5352         _LT_TAGVAR(archive_cmds, $1)='$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'
     5886      if test yes = "$GCC"; then
     5887        _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
     5888        _LT_TAGVAR(archive_cmds, $1)='$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'
    53535889      else
    53545890        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    5355         _LT_TAGVAR(archive_cmds, $1)='$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'
     5891        _LT_TAGVAR(archive_cmds, $1)='$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'
    53565892      fi
    53575893      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
    5358       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     5894      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    53595895      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    53605896      ;;
    53615897
    53625898    osf4* | osf5*)      # as osf3* with the addition of -msym flag
    5363       if test "$GCC" = yes; then
    5364         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
    5365         _LT_TAGVAR(archive_cmds, $1)='$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'
    5366         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     5899      if test yes = "$GCC"; then
     5900        _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
     5901        _LT_TAGVAR(archive_cmds, $1)='$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'
     5902        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    53675903      else
    53685904        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    5369         _LT_TAGVAR(archive_cmds, $1)='$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'
     5905        _LT_TAGVAR(archive_cmds, $1)='$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'
    53705906        _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
    5371         $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'
     5907          $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'
    53725908
    53735909        # Both c and cxx compiler support -rpath directly
     
    53805916    solaris*)
    53815917      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
    5382       if test "$GCC" = yes; then
    5383         wlarc='${wl}'
    5384         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
     5918      if test yes = "$GCC"; then
     5919        wlarc='$wl'
     5920        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    53855921        _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    5386           $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'
     5922          $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'
    53875923      else
    53885924        case `$CC -V 2>&1` in
    53895925        *"Compilers 5.0"*)
    53905926          wlarc=''
    5391           _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
     5927          _LT_TAGVAR(archive_cmds, $1)='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
    53925928          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    5393           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
     5929            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
    53945930          ;;
    53955931        *)
    5396           wlarc='${wl}'
    5397           _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
     5932          wlarc='$wl'
     5933          _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
    53985934          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    5399           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
     5935            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
    54005936          ;;
    54015937        esac
     
    54075943      *)
    54085944        # The compiler driver will combine and reorder linker options,
    5409         # but understands `-z linker_flag'.  GCC discards it without `$wl',
     5945        # but understands '-z linker_flag'.  GCC discards it without '$wl',
    54105946        # but is careful enough not to reorder.
    54115947        # Supported since Solaris 2.6 (maybe 2.5.1?)
    5412         if test "$GCC" = yes; then
    5413           _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     5948        if test yes = "$GCC"; then
     5949          _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
    54145950        else
    54155951          _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
     
    54215957
    54225958    sunos4*)
    5423       if test "x$host_vendor" = xsequent; then
     5959      if test sequent = "$host_vendor"; then
    54245960        # Use $CC to link under sequent, because it throws in some extra .o
    54255961        # files that make .init and .fini sections work.
    5426         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
     5962        _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    54275963      else
    54285964        _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
     
    54736009
    54746010    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
    5475       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
     6011      _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
    54766012      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    54776013      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    54786014      runpath_var='LD_RUN_PATH'
    54796015
    5480       if test "$GCC" = yes; then
    5481         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    5482         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6016      if test yes = "$GCC"; then
     6017        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6018        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    54836019      else
    5484         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    5485         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6020        _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6021        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    54866022      fi
    54876023      ;;
    54886024
    54896025    sysv5* | sco3.2v5* | sco5v6*)
    5490       # Note: We can NOT use -z defs as we might desire, because we do not
     6026      # Note: We CANNOT use -z defs as we might desire, because we do not
    54916027      # link with -lc, and that would cause any symbols used from libc to
    54926028      # always be unresolved, which means just about no library would
     
    54946030      # though, which does catch some bad symbols but isn't as heavy-handed
    54956031      # as -z defs.
    5496       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
    5497       _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
     6032      _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
     6033      _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
    54986034      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    54996035      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    5500       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
     6036      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
    55016037      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
    55026038      _LT_TAGVAR(link_all_deplibs, $1)=yes
    5503       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
     6039      _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
    55046040      runpath_var='LD_RUN_PATH'
    55056041
    5506       if test "$GCC" = yes; then
    5507         _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    5508         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6042      if test yes = "$GCC"; then
     6043        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6044        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    55096045      else
    5510         _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    5511         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6046        _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     6047        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    55126048      fi
    55136049      ;;
     
    55246060    esac
    55256061
    5526     if test x$host_vendor = xsni; then
     6062    if test sni = "$host_vendor"; then
    55276063      case $host in
    55286064      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    5529         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
     6065        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Blargedynsym'
    55306066        ;;
    55316067      esac
     
    55346070])
    55356071AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
    5536 test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
     6072test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
    55376073
    55386074_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
     
    55516087  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
    55526088
    5553   if test "$enable_shared" = yes && test "$GCC" = yes; then
     6089  if test yes,yes = "$GCC,$enable_shared"; then
    55546090    case $_LT_TAGVAR(archive_cmds, $1) in
    55556091    *'~'*)
     
    56286164    [Flag to hardcode $libdir into a binary during linking.
    56296165    This must work even if $libdir does not exist])
    5630 _LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
    5631     [[If ld is used when linking, flag to hardcode $libdir into a binary
    5632     during linking.  This must work even if $libdir does not exist]])
    56336166_LT_TAGDECL([], [hardcode_libdir_separator], [1],
    56346167    [Whether we need a single "-rpath" flag with a separated argument])
    56356168_LT_TAGDECL([], [hardcode_direct], [0],
    5636     [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
     6169    [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
    56376170    DIR into the resulting binary])
    56386171_LT_TAGDECL([], [hardcode_direct_absolute], [0],
    5639     [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
     6172    [Set to "yes" if using DIR/libNAME$shared_ext during linking hardcodes
    56406173    DIR into the resulting binary and the resulting library dependency is
    5641     "absolute", i.e impossible to change by setting ${shlibpath_var} if the
     6174    "absolute", i.e impossible to change by setting $shlibpath_var if the
    56426175    library is relocated])
    56436176_LT_TAGDECL([], [hardcode_minus_L], [0],
     
    56806213# Ensure that the configuration variables for a C compiler are suitably
    56816214# defined.  These variables are subsequently used by _LT_CONFIG to write
    5682 # the compiler configuration to `libtool'.
     6215# the compiler configuration to 'libtool'.
    56836216m4_defun([_LT_LANG_C_CONFIG],
    56846217[m4_require([_LT_DECL_EGREP])dnl
    5685 lt_save_CC="$CC"
     6218lt_save_CC=$CC
    56866219AC_LANG_PUSH(C)
    56876220
     
    57236256  _LT_CMD_STRIPLIB
    57246257
    5725   # Report which library types will actually be built
     6258  # Report what library types will actually be built
    57266259  AC_MSG_CHECKING([if libtool supports shared libraries])
    57276260  AC_MSG_RESULT([$can_build_shared])
    57286261
    57296262  AC_MSG_CHECKING([whether to build shared libraries])
    5730   test "$can_build_shared" = "no" && enable_shared=no
     6263  test no = "$can_build_shared" && enable_shared=no
    57316264
    57326265  # On AIX, shared libraries and static libraries use the same namespace, and
     
    57346267  case $host_os in
    57356268  aix3*)
    5736     test "$enable_shared" = yes && enable_static=no
     6269    test yes = "$enable_shared" && enable_static=no
    57376270    if test -n "$RANLIB"; then
    57386271      archive_cmds="$archive_cmds~\$RANLIB \$lib"
     
    57426275
    57436276  aix[[4-9]]*)
    5744     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    5745       test "$enable_shared" = yes && enable_static=no
     6277    if test ia64 != "$host_cpu"; then
     6278      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
     6279      yes,aix,yes) ;;                   # shared object as lib.so file only
     6280      yes,svr4,*) ;;                    # shared object as lib.so archive member only
     6281      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
     6282      esac
    57466283    fi
    57476284    ;;
     
    57516288  AC_MSG_CHECKING([whether to build static libraries])
    57526289  # Make sure either enable_shared or enable_static is yes.
    5753   test "$enable_shared" = yes || enable_static=yes
     6290  test yes = "$enable_shared" || enable_static=yes
    57546291  AC_MSG_RESULT([$enable_static])
    57556292
     
    57576294fi
    57586295AC_LANG_POP
    5759 CC="$lt_save_CC"
     6296CC=$lt_save_CC
    57606297])# _LT_LANG_C_CONFIG
    57616298
     
    57656302# Ensure that the configuration variables for a C++ compiler are suitably
    57666303# defined.  These variables are subsequently used by _LT_CONFIG to write
    5767 # the compiler configuration to `libtool'.
     6304# the compiler configuration to 'libtool'.
    57686305m4_defun([_LT_LANG_CXX_CONFIG],
    57696306[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
    57706307m4_require([_LT_DECL_EGREP])dnl
    57716308m4_require([_LT_PATH_MANIFEST_TOOL])dnl
    5772 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
    5773     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
    5774     (test "X$CXX" != "Xg++"))) ; then
     6309if test -n "$CXX" && ( test no != "$CXX" &&
     6310    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
     6311    (test g++ != "$CXX"))); then
    57756312  AC_PROG_CXXCPP
    57766313else
     
    57886325_LT_TAGVAR(hardcode_direct_absolute, $1)=no
    57896326_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
    5790 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
    57916327_LT_TAGVAR(hardcode_libdir_separator, $1)=
    57926328_LT_TAGVAR(hardcode_minus_L, $1)=no
     
    58156351# are currently assumed to apply to all compilers on this platform,
    58166352# and will be corrupted by setting them based on a non-working compiler.
    5817 if test "$_lt_caught_CXX_error" != yes; then
     6353if test yes != "$_lt_caught_CXX_error"; then
    58186354  # Code to be used in simple compile tests
    58196355  lt_simple_compile_test_code="int some_variable = 0;"
     
    58576393    # We don't want -fno-exception when compiling C++ code, so set the
    58586394    # no_builtin_flag separately
    5859     if test "$GXX" = yes; then
     6395    if test yes = "$GXX"; then
    58606396      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
    58616397    else
     
    58636399    fi
    58646400
    5865     if test "$GXX" = yes; then
     6401    if test yes = "$GXX"; then
    58666402      # Set up default GNU C++ configuration
    58676403
     
    58706406      # Check if GNU C++ uses GNU ld as the underlying linker, since the
    58716407      # archiving commands below assume that GNU ld is being used.
    5872       if test "$with_gnu_ld" = yes; then
    5873         _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    5874         _LT_TAGVAR(archive_expsym_cmds, $1)='$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'
    5875 
    5876         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    5877         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
     6408      if test yes = "$with_gnu_ld"; then
     6409        _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     6410        _LT_TAGVAR(archive_expsym_cmds, $1)='$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'
     6411
     6412        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     6413        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
    58786414
    58796415        # If archive_cmds runs LD, not CC, wlarc should be empty
    58806416        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
    58816417        #     investigate it a little bit more. (MM)
    5882         wlarc='${wl}'
     6418        wlarc='$wl'
    58836419
    58846420        # ancient GNU ld didn't support --whole-archive et. al.
    58856421        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
    58866422          $GREP 'no-whole-archive' > /dev/null; then
    5887           _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     6423          _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    58886424        else
    58896425          _LT_TAGVAR(whole_archive_flag_spec, $1)=
     
    59216457        ;;
    59226458      aix[[4-9]]*)
    5923         if test "$host_cpu" = ia64; then
     6459        if test ia64 = "$host_cpu"; then
    59246460          # On IA64, the linker does run time linking by default, so we don't
    59256461          # have to do anything special.
    59266462          aix_use_runtimelinking=no
    59276463          exp_sym_flag='-Bexport'
    5928           no_entry_flag=""
     6464          no_entry_flag=
    59296465        else
    59306466          aix_use_runtimelinking=no
     
    59326468          # Test if we are trying to use run time linking or normal
    59336469          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    5934           # need to do runtime linking.
     6470          # have runtime linking enabled, and use it for executables.
     6471          # For shared libraries, we enable/disable runtime linking
     6472          # depending on the kind of the shared library created -
     6473          # when "with_aix_soname,aix_use_runtimelinking" is:
     6474          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
     6475          # "aix,yes"  lib.so          shared, rtl:yes, for executables
     6476          #            lib.a           static archive
     6477          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
     6478          #            lib.a(lib.so.V) shared, rtl:no,  for executables
     6479          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
     6480          #            lib.a(lib.so.V) shared, rtl:no
     6481          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
     6482          #            lib.a           static archive
    59356483          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
    59366484            for ld_flag in $LDFLAGS; do
     
    59426490              esac
    59436491            done
     6492            if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
     6493              # With aix-soname=svr4, we create the lib.so.V shared archives only,
     6494              # so we don't have lib.a shared libs to link our executables.
     6495              # We have to force runtime linking in this case.
     6496              aix_use_runtimelinking=yes
     6497              LDFLAGS="$LDFLAGS -Wl,-brtl"
     6498            fi
    59446499            ;;
    59456500          esac
     
    59606515        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
    59616516        _LT_TAGVAR(link_all_deplibs, $1)=yes
    5962         _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
    5963 
    5964         if test "$GXX" = yes; then
     6517        _LT_TAGVAR(file_list_spec, $1)='$wl-f,'
     6518        case $with_aix_soname,$aix_use_runtimelinking in
     6519        aix,*) ;;       # no import file
     6520        svr4,* | *,yes) # use import file
     6521          # The Import File defines what to hardcode.
     6522          _LT_TAGVAR(hardcode_direct, $1)=no
     6523          _LT_TAGVAR(hardcode_direct_absolute, $1)=no
     6524          ;;
     6525        esac
     6526
     6527        if test yes = "$GXX"; then
    59656528          case $host_os in aix4.[[012]]|aix4.[[012]].*)
    59666529          # We only want to do this on AIX 4.2 and lower, the check
    59676530          # below for broken collect2 doesn't work under 4.3+
    5968           collect2name=`${CC} -print-prog-name=collect2`
     6531          collect2name=`$CC -print-prog-name=collect2`
    59696532          if test -f "$collect2name" &&
    59706533             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     
    59846547          esac
    59856548          shared_flag='-shared'
    5986           if test "$aix_use_runtimelinking" = yes; then
    5987             shared_flag="$shared_flag "'${wl}-G'
     6549          if test yes = "$aix_use_runtimelinking"; then
     6550            shared_flag=$shared_flag' $wl-G'
    59886551          fi
     6552          # Need to ensure runtime linking is disabled for the traditional
     6553          # shared library, or the linker may eventually find shared libraries
     6554          # /with/ Import File - we do not want to mix them.
     6555          shared_flag_aix='-shared'
     6556          shared_flag_svr4='-shared $wl-G'
    59896557        else
    59906558          # not using gcc
    5991           if test "$host_cpu" = ia64; then
     6559          if test ia64 = "$host_cpu"; then
    59926560          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    59936561          # chokes on -Wl,-G. The following line is correct:
    59946562          shared_flag='-G'
    59956563          else
    5996             if test "$aix_use_runtimelinking" = yes; then
    5997               shared_flag='${wl}-G'
     6564            if test yes = "$aix_use_runtimelinking"; then
     6565              shared_flag='$wl-G'
    59986566            else
    5999               shared_flag='${wl}-bM:SRE'
     6567              shared_flag='$wl-bM:SRE'
    60006568            fi
     6569            shared_flag_aix='$wl-bM:SRE'
     6570            shared_flag_svr4='$wl-G'
    60016571          fi
    60026572        fi
    60036573
    6004         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
     6574        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-bexpall'
    60056575        # It seems that -bexpall does not export symbols beginning with
    60066576        # underscore (_), so it is better to generate a list of symbols to
    60076577        # export.
    60086578        _LT_TAGVAR(always_export_symbols, $1)=yes
    6009         if test "$aix_use_runtimelinking" = yes; then
     6579        if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
    60106580          # Warning - without using the other runtime loading flags (-brtl),
    60116581          # -berok will link without error, but may produce a broken library.
    6012           _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
     6582          # The "-G" linker flag allows undefined symbols.
     6583          _LT_TAGVAR(no_undefined_flag, $1)='-bernotok'
    60136584          # Determine the default libpath from the value encoded in an empty
    60146585          # executable.
    60156586          _LT_SYS_MODULE_PATH_AIX([$1])
    6016           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
    6017 
    6018           _LT_TAGVAR(archive_expsym_cmds, $1)='$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"
     6587          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
     6588
     6589          _LT_TAGVAR(archive_expsym_cmds, $1)='$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
    60196590        else
    6020           if test "$host_cpu" = ia64; then
    6021             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
     6591          if test ia64 = "$host_cpu"; then
     6592            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $libdir:/usr/lib:/lib'
    60226593            _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
    6023             _LT_TAGVAR(archive_expsym_cmds, $1)="\$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"
     6594            _LT_TAGVAR(archive_expsym_cmds, $1)="\$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"
    60246595          else
    60256596            # Determine the default libpath from the value encoded in an
    60266597            # empty executable.
    60276598            _LT_SYS_MODULE_PATH_AIX([$1])
    6028             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
     6599            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-blibpath:$libdir:'"$aix_libpath"
    60296600            # Warning - without using the other run time loading flags,
    60306601            # -berok will link without error, but may produce a broken library.
    6031             _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
    6032             _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
    6033             if test "$with_gnu_ld" = yes; then
     6602            _LT_TAGVAR(no_undefined_flag, $1)=' $wl-bernotok'
     6603            _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-berok'
     6604            if test yes = "$with_gnu_ld"; then
    60346605              # We only use this code for GNU lds that support --whole-archive.
    6035               _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     6606              _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
    60366607            else
    60376608              # Exported symbols can be pulled into shared objects from archives
     
    60396610            fi
    60406611            _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
    6041             # This is similar to how AIX traditionally builds its shared
    6042             # libraries.
    6043             _LT_TAGVAR(archive_expsym_cmds, $1)="\$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'
     6612            _LT_TAGVAR(archive_expsym_cmds, $1)='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
     6613            # -brtl affects multiple linker settings, -berok does not and is overridden later
     6614            compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([[, ]]\\)%-berok\\1%g"`'
     6615            if test svr4 != "$with_aix_soname"; then
     6616              # This is similar to how AIX traditionally builds its shared
     6617              # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
     6618              _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$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'
     6619            fi
     6620            if test aix != "$with_aix_soname"; then
     6621              _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$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'
     6622            else
     6623              # used by -dlpreopen to get the symbols
     6624              _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
     6625            fi
     6626            _LT_TAGVAR(archive_expsym_cmds, $1)="$_LT_TAGVAR(archive_expsym_cmds, $1)"'~$RM -r $output_objdir/$realname.d'
    60446627          fi
    60456628        fi
     
    60516634          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    60526635          # support --undefined.  This deserves some investigation.  FIXME
    6053           _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6636          _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    60546637        else
    60556638          _LT_TAGVAR(ld_shlibs, $1)=no
     
    60796662          libext=lib
    60806663          # Tell ltmain to make .dll files, not .so files.
    6081           shrext_cmds=".dll"
     6664          shrext_cmds=.dll
    60826665          # FIXME: Setting linknames here is a bad hack.
    6083           _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
    6084           _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    6085               $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
    6086             else
    6087               $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
    6088             fi~
    6089             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    6090             linknames='
     6666          _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
     6667          _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
     6668              cp "$export_symbols" "$output_objdir/$soname.def";
     6669              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
     6670            else
     6671              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
     6672            fi~
     6673            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     6674            linknames='
    60916675          # The linker will not automatically build a static lib if we build a DLL.
    60926676          # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
     
    60956679          _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
    60966680          _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~
    6097             lt_tool_outputfile="@TOOL_OUTPUT@"~
    6098             case $lt_outputfile in
    6099               *.exe|*.EXE) ;;
    6100               *)
    6101                 lt_outputfile="$lt_outputfile.exe"
    6102                 lt_tool_outputfile="$lt_tool_outputfile.exe"
    6103                 ;;
    6104             esac~
    6105             func_to_tool_file "$lt_outputfile"~
    6106             if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
    6107               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    6108               $RM "$lt_outputfile.manifest";
    6109             fi'
     6681            lt_tool_outputfile="@TOOL_OUTPUT@"~
     6682            case $lt_outputfile in
     6683              *.exe|*.EXE) ;;
     6684              *)
     6685                lt_outputfile=$lt_outputfile.exe
     6686                lt_tool_outputfile=$lt_tool_outputfile.exe
     6687                ;;
     6688            esac~
     6689            func_to_tool_file "$lt_outputfile"~
     6690            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
     6691              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     6692              $RM "$lt_outputfile.manifest";
     6693            fi'
    61106694          ;;
    61116695        *)
     
    61146698          # as there is no search path for DLLs.
    61156699          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
    6116           _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
     6700          _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-all-symbols'
    61176701          _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
    61186702          _LT_TAGVAR(always_export_symbols, $1)=no
     
    61206704
    61216705          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    6122             _LT_TAGVAR(archive_cmds, $1)='$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'
    6123             # If the export-symbols file already is a .def file (1st line
    6124             # is EXPORTS), use it as is; otherwise, prepend...
    6125             _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
    6126               cp $export_symbols $output_objdir/$soname.def;
    6127             else
    6128               echo EXPORTS > $output_objdir/$soname.def;
    6129               cat $export_symbols >> $output_objdir/$soname.def;
    6130             fi~
    6131             $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'
     6706            _LT_TAGVAR(archive_cmds, $1)='$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'
     6707            # If the export-symbols file already is a .def file, use it as
     6708            # is; otherwise, prepend EXPORTS...
     6709            _LT_TAGVAR(archive_expsym_cmds, $1)='if _LT_DLL_DEF_P([$export_symbols]); then
     6710              cp $export_symbols $output_objdir/$soname.def;
     6711            else
     6712              echo EXPORTS > $output_objdir/$soname.def;
     6713              cat $export_symbols >> $output_objdir/$soname.def;
     6714            fi~
     6715            $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'
    61326716          else
    61336717            _LT_TAGVAR(ld_shlibs, $1)=no
     
    61386722      darwin* | rhapsody*)
    61396723        _LT_DARWIN_LINKER_FEATURES($1)
     6724        ;;
     6725
     6726      os2*)
     6727        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
     6728        _LT_TAGVAR(hardcode_minus_L, $1)=yes
     6729        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
     6730        shrext_cmds=.dll
     6731        _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     6732          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     6733          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     6734          $ECHO EXPORTS >> $output_objdir/$libname.def~
     6735          emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     6736          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     6737          emximp -o $lib $output_objdir/$libname.def'
     6738        _LT_TAGVAR(archive_expsym_cmds, $1)='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     6739          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     6740          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     6741          $ECHO EXPORTS >> $output_objdir/$libname.def~
     6742          prefix_cmds="$SED"~
     6743          if test EXPORTS = "`$SED 1q $export_symbols`"; then
     6744            prefix_cmds="$prefix_cmds -e 1d";
     6745          fi~
     6746          prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     6747          cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     6748          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     6749          emximp -o $lib $output_objdir/$libname.def'
     6750        _LT_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     6751        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
    61406752        ;;
    61416753
     
    61586770        ;;
    61596771
    6160       freebsd[[12]]*)
     6772      freebsd2.*)
    61616773        # C++ shared libraries reported to be fairly broken before
    61626774        # switch to ELF
     
    61746786        ;;
    61756787
    6176       gnu*)
    6177         ;;
    6178 
    61796788      haiku*)
    6180         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
     6789        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    61816790        _LT_TAGVAR(link_all_deplibs, $1)=yes
    61826791        ;;
    61836792
    61846793      hpux9*)
    6185         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
     6794        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
    61866795        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    6187         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     6796        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    61886797        _LT_TAGVAR(hardcode_direct, $1)=yes
    61896798        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
     
    61976806            ;;
    61986807          aCC*)
    6199             _LT_TAGVAR(archive_cmds, $1)='$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'
     6808            _LT_TAGVAR(archive_cmds, $1)='$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'
    62006809            # Commands to make compiler produce verbose output that lists
    62016810            # what "hidden" libraries, object files and flags are used when
     
    62066815            # from the output so that they don't get included in the library
    62076816            # dependencies.
    6208             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"'
     6817            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"'
    62096818            ;;
    62106819          *)
    6211             if test "$GXX" = yes; then
    6212               _LT_TAGVAR(archive_cmds, $1)='$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'
     6820            if test yes = "$GXX"; then
     6821              _LT_TAGVAR(archive_cmds, $1)='$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'
    62136822            else
    62146823              # FIXME: insert proper C++ library support
     
    62206829
    62216830      hpux10*|hpux11*)
    6222         if test $with_gnu_ld = no; then
    6223           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
     6831        if test no = "$with_gnu_ld"; then
     6832          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl+b $wl$libdir'
    62246833          _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    62256834
     
    62286837              ;;
    62296838            *)
    6230               _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     6839              _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    62316840              ;;
    62326841          esac
     
    62546863            case $host_cpu in
    62556864              hppa*64*)
    6256                 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6865                _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    62576866                ;;
    62586867              ia64*)
    6259                 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6868                _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    62606869                ;;
    62616870              *)
    6262                 _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6871                _LT_TAGVAR(archive_cmds, $1)='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    62636872                ;;
    62646873            esac
     
    62716880            # from the output so that they don't get included in the library
    62726881            # dependencies.
    6273             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"'
     6882            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"'
    62746883            ;;
    62756884          *)
    6276             if test "$GXX" = yes; then
    6277               if test $with_gnu_ld = no; then
     6885            if test yes = "$GXX"; then
     6886              if test no = "$with_gnu_ld"; then
    62786887                case $host_cpu in
    62796888                  hppa*64*)
    6280                     _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6889                    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    62816890                    ;;
    62826891                  ia64*)
    6283                     _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6892                    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    62846893                    ;;
    62856894                  *)
    6286                     _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     6895                    _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    62876896                    ;;
    62886897                esac
     
    62996908        _LT_TAGVAR(hardcode_direct, $1)=no
    63006909        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    6301         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    6302         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
     6910        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     6911        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
    63036912        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    63046913        # Instead, shared libraries are loaded at an image base (0x10000000 by
     
    63076916        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    63086917        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    6309         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    6310         _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     6918        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     6919        _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    63116920        ;;
    63126921      irix5* | irix6*)
     
    63146923          CC*)
    63156924            # SGI C++
    6316             _LT_TAGVAR(archive_cmds, $1)='$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'
     6925            _LT_TAGVAR(archive_cmds, $1)='$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'
    63176926
    63186927            # Archives containing C++ object files must be created using
     
    63236932            ;;
    63246933          *)
    6325             if test "$GXX" = yes; then
    6326               if test "$with_gnu_ld" = no; then
    6327                 _LT_TAGVAR(archive_cmds, $1)='$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'
     6934            if test yes = "$GXX"; then
     6935              if test no = "$with_gnu_ld"; then
     6936                _LT_TAGVAR(archive_cmds, $1)='$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'
    63286937              else
    6329                 _LT_TAGVAR(archive_cmds, $1)='$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'
     6938                _LT_TAGVAR(archive_cmds, $1)='$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'
    63306939              fi
    63316940            fi
     
    63336942            ;;
    63346943        esac
    6335         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     6944        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    63366945        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    63376946        _LT_TAGVAR(inherit_rpath, $1)=yes
    63386947        ;;
    63396948
    6340       linux* | k*bsd*-gnu | kopensolaris*-gnu)
     6949      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    63416950        case $cc_basename in
    63426951          KCC*)
     
    63466955            # ends with ".so" (or ".sl" for HP-UX), so rename the library
    63476956            # to its proper name (with version) after linking.
    6348             _LT_TAGVAR(archive_cmds, $1)='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'
    6349             _LT_TAGVAR(archive_expsym_cmds, $1)='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'
     6957            _LT_TAGVAR(archive_cmds, $1)='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'
     6958            _LT_TAGVAR(archive_expsym_cmds, $1)='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'
    63506959            # Commands to make compiler produce verbose output that lists
    63516960            # what "hidden" libraries, object files and flags are used when
     
    63566965            # from the output so that they don't get included in the library
    63576966            # dependencies.
    6358             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"'
    6359 
    6360             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    6361             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
     6967            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"'
     6968
     6969            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     6970            _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
    63626971
    63636972            # Archives containing C++ object files must be created using
     
    63736982            case `$CC -V 2>&1` in
    63746983              *"Version 7."*)
    6375                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6376                 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     6984                _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     6985                _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    63776986                ;;
    63786987              *)  # Version 8.0 or newer
     
    63816990                  ia64*) tmp_idyn=' -i_dynamic';;
    63826991                esac
    6383                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6384                 _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
     6992                _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     6993                _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    63856994                ;;
    63866995            esac
    63876996            _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    6388             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    6389             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
    6390             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
     6997            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     6998            _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
     6999            _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive$convenience $wl--no-whole-archive'
    63917000            ;;
    63927001          pgCC* | pgcpp*)
     
    63957004            *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
    63967005              _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
    6397                 rm -rf $tpldir~
    6398                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
    6399                 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
     7006               rm -rf $tpldir~
     7007               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
     7008               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
    64007009              _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
    6401                 rm -rf $tpldir~
    6402                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
    6403                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
    6404                 $RANLIB $oldlib'
     7010                rm -rf $tpldir~
     7011                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
     7012                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
     7013                $RANLIB $oldlib'
    64057014              _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
    6406                 rm -rf $tpldir~
    6407                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    6408                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
     7015                rm -rf $tpldir~
     7016                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     7017                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    64097018              _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
    6410                 rm -rf $tpldir~
    6411                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    6412                 $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'
     7019                rm -rf $tpldir~
     7020                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     7021                $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'
    64137022              ;;
    64147023            *) # Version 6 and above use weak symbols
    6415               _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
    6416               _LT_TAGVAR(archive_expsym_cmds, $1)='$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'
     7024              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     7025              _LT_TAGVAR(archive_expsym_cmds, $1)='$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'
    64177026              ;;
    64187027            esac
    64197028
    6420             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
    6421             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
    6422             _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     7029            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl--rpath $wl$libdir'
     7030            _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
     7031            _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    64237032            ;;
    64247033          cxx*)
    64257034            # Compaq C++
    6426             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6427             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
     7035            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     7036            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname  -o $lib $wl-retain-symbols-file $wl$export_symbols'
    64287037
    64297038            runpath_var=LD_RUN_PATH
     
    64397048            # from the output so that they don't get included in the library
    64407049            # dependencies.
    6441             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'
     7050            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'
    64427051            ;;
    64437052          xl* | mpixl* | bgxl*)
    64447053            # IBM XL 8.0 on PPC, with GNU ld
    6445             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
    6446             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
    6447             _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
    6448             if test "x$supports_anon_versioning" = xyes; then
     7054            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
     7055            _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl--export-dynamic'
     7056            _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     7057            if test yes = "$supports_anon_versioning"; then
    64497058              _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
    6450                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    6451                 echo "local: *; };" >> $output_objdir/$libname.ver~
    6452                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
     7059                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     7060                echo "local: *; };" >> $output_objdir/$libname.ver~
     7061                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    64537062            fi
    64547063            ;;
     
    64587067              # Sun C++ 5.9
    64597068              _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
    6460               _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    6461               _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
     7069              _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     7070              _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
    64627071              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
    6463               _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
     7072              _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive'
    64647073              _LT_TAGVAR(compiler_needs_object, $1)=yes
    64657074
     
    65197128        ;;
    65207129
    6521       openbsd2*)
    6522         # C++ shared libraries are fairly broken
    6523         _LT_TAGVAR(ld_shlibs, $1)=no
    6524         ;;
    6525 
    6526       openbsd*)
     7130      openbsd* | bitrig*)
    65277131        if test -f /usr/libexec/ld.so; then
    65287132          _LT_TAGVAR(hardcode_direct, $1)=yes
     
    65307134          _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
    65317135          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    6532           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
    6533           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
    6534             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
    6535             _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
    6536             _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
     7136          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
     7137          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
     7138            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
     7139            _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-E'
     7140            _LT_TAGVAR(whole_archive_flag_spec, $1)=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    65377141          fi
    65387142          output_verbose_link_cmd=func_echo_all
     
    65507154            # ends with ".so" (or ".sl" for HP-UX), so rename the library
    65517155            # to its proper name (with version) after linking.
    6552             _LT_TAGVAR(archive_cmds, $1)='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'
    6553 
    6554             _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
     7156            _LT_TAGVAR(archive_cmds, $1)='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'
     7157
     7158            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath,$libdir'
    65557159            _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    65567160
     
    65707174            case $host in
    65717175              osf3*)
    6572                 _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
    6573                 _LT_TAGVAR(archive_cmds, $1)='$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'
    6574                 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     7176                _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
     7177                _LT_TAGVAR(archive_cmds, $1)='$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'
     7178                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    65757179                ;;
    65767180              *)
    65777181                _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
    6578                 _LT_TAGVAR(archive_cmds, $1)='$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'
     7182                _LT_TAGVAR(archive_cmds, $1)='$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'
    65797183                _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
    6580                   echo "-hidden">> $lib.exp~
    6581                   $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~
    6582                   $RM $lib.exp'
     7184                  echo "-hidden">> $lib.exp~
     7185                  $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~
     7186                  $RM $lib.exp'
    65837187                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
    65847188                ;;
     
    65957199            # from the output so that they don't get included in the library
    65967200            # dependencies.
    6597             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"'
     7201            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"'
    65987202            ;;
    65997203          *)
    6600             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    6601               _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
     7204            if test yes,no = "$GXX,$with_gnu_ld"; then
     7205              _LT_TAGVAR(allow_undefined_flag, $1)=' $wl-expect_unresolved $wl\*'
    66027206              case $host in
    66037207                osf3*)
    6604                   _LT_TAGVAR(archive_cmds, $1)='$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'
     7208                  _LT_TAGVAR(archive_cmds, $1)='$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'
    66057209                  ;;
    66067210                *)
    6607                   _LT_TAGVAR(archive_cmds, $1)='$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'
     7211                  _LT_TAGVAR(archive_cmds, $1)='$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'
    66087212                  ;;
    66097213              esac
    66107214
    6611               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
     7215              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-rpath $wl$libdir'
    66127216              _LT_TAGVAR(hardcode_libdir_separator, $1)=:
    66137217
     
    66557259            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
    66567260            _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
    6657             _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     7261            _LT_TAGVAR(archive_cmds, $1)='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    66587262            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    6659               $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'
     7263              $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'
    66607264
    66617265            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
     
    66657269              *)
    66667270                # The compiler driver will combine and reorder linker options,
    6667                 # but understands `-z linker_flag'.
     7271                # but understands '-z linker_flag'.
    66687272                # Supported since Solaris 2.6 (maybe 2.5.1?)
    66697273                _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
     
    66827286          gcx*)
    66837287            # Green Hills C++ Compiler
    6684             _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
     7288            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    66857289
    66867290            # The C++ compiler must be used to create the archive.
     
    66897293          *)
    66907294            # GNU C++ compiler with Solaris linker
    6691             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
    6692               _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
     7295            if test yes,no = "$GXX,$with_gnu_ld"; then
     7296              _LT_TAGVAR(no_undefined_flag, $1)=' $wl-z ${wl}defs'
    66937297              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
    6694                 _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
     7298                _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    66957299                _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    6696                   $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     7300                  $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'
    66977301
    66987302                # Commands to make compiler produce verbose output that lists
     
    67017305                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    67027306              else
    6703                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
     7307                # g++ 2.7 appears to require '-G' NOT '-shared' on this
    67047308                # platform.
    6705                 _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
     7309                _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    67067310                _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    6707                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     7311                  $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'
    67087312
    67097313                # Commands to make compiler produce verbose output that lists
     
    67137317              fi
    67147318
    6715               _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
     7319              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R $wl$libdir'
    67167320              case $host_os in
    67177321                solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
    67187322                *)
    6719                   _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
     7323                  _LT_TAGVAR(whole_archive_flag_spec, $1)='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
    67207324                  ;;
    67217325              esac
     
    67267330
    67277331    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
    6728       _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
     7332      _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
    67297333      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    67307334      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
     
    67337337      case $cc_basename in
    67347338        CC*)
    6735           _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    6736           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7339          _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7340          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    67377341          ;;
    67387342        *)
    6739           _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    6740           _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7343          _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7344          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    67417345          ;;
    67427346      esac
     
    67447348
    67457349      sysv5* | sco3.2v5* | sco5v6*)
    6746         # Note: We can NOT use -z defs as we might desire, because we do not
     7350        # Note: We CANNOT use -z defs as we might desire, because we do not
    67477351        # link with -lc, and that would cause any symbols used from libc to
    67487352        # always be unresolved, which means just about no library would
     
    67507354        # though, which does catch some bad symbols but isn't as heavy-handed
    67517355        # as -z defs.
    6752         _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
    6753         _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
     7356        _LT_TAGVAR(no_undefined_flag, $1)='$wl-z,text'
     7357        _LT_TAGVAR(allow_undefined_flag, $1)='$wl-z,nodefs'
    67547358        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
    67557359        _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
    6756         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
     7360        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='$wl-R,$libdir'
    67577361        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
    67587362        _LT_TAGVAR(link_all_deplibs, $1)=yes
    6759         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
     7363        _LT_TAGVAR(export_dynamic_flag_spec, $1)='$wl-Bexport'
    67607364        runpath_var='LD_RUN_PATH'
    67617365
    67627366        case $cc_basename in
    67637367          CC*)
    6764             _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    6765             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7368            _LT_TAGVAR(archive_cmds, $1)='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7369            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    67667370            _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
    6767               '"$_LT_TAGVAR(old_archive_cmds, $1)"
     7371              '"$_LT_TAGVAR(old_archive_cmds, $1)"
    67687372            _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
    6769               '"$_LT_TAGVAR(reload_cmds, $1)"
     7373              '"$_LT_TAGVAR(reload_cmds, $1)"
    67707374            ;;
    67717375          *)
    6772             _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    6773             _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7376            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     7377            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    67747378            ;;
    67757379        esac
     
    68027406
    68037407    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
    6804     test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
    6805 
    6806     _LT_TAGVAR(GCC, $1)="$GXX"
    6807     _LT_TAGVAR(LD, $1)="$LD"
     7408    test no = "$_LT_TAGVAR(ld_shlibs, $1)" && can_build_shared=no
     7409
     7410    _LT_TAGVAR(GCC, $1)=$GXX
     7411    _LT_TAGVAR(LD, $1)=$LD
    68087412
    68097413    ## CAVEAT EMPTOR:
     
    68327436  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
    68337437  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
    6834 fi # test "$_lt_caught_CXX_error" != yes
     7438fi # test yes != "$_lt_caught_CXX_error"
    68357439
    68367440AC_LANG_POP
     
    68547458func_stripname_cnf ()
    68557459{
    6856   case ${2} in
    6857   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
    6858   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
     7460  case @S|@2 in
     7461  .*) func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%\\\\@S|@2\$%%"`;;
     7462  *)  func_stripname_result=`$ECHO "@S|@3" | $SED "s%^@S|@1%%; s%@S|@2\$%%"`;;
    68597463  esac
    68607464} # func_stripname_cnf
    68617465])# _LT_FUNC_STRIPNAME_CNF
     7466
    68627467
    68637468# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
     
    69197524};
    69207525_LT_EOF
     7526], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
     7527package foo
     7528func foo() {
     7529}
     7530_LT_EOF
    69217531])
    69227532
     
    69257535*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
    69267536*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
     7537*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
    69277538esac
    69287539
     
    69387549
    69397550  for p in `eval "$output_verbose_link_cmd"`; do
    6940     case ${prev}${p} in
     7551    case $prev$p in
    69417552
    69427553    -L* | -R* | -l*)
    69437554       # Some compilers place space between "-{L,R}" and the path.
    69447555       # Remove the space.
    6945        if test $p = "-L" ||
    6946           test $p = "-R"; then
     7556       if test x-L = "$p" ||
     7557          test x-R = "$p"; then
    69477558         prev=$p
    69487559         continue
     
    69607571       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
    69617572       esac
    6962        if test "$pre_test_object_deps_done" = no; then
    6963          case ${prev} in
     7573       if test no = "$pre_test_object_deps_done"; then
     7574         case $prev in
    69647575         -L | -R)
    69657576           # Internal compiler library paths should come after those
     
    69677578           # user supplied libs so there is no need to process them.
    69687579           if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
    6969              _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
     7580             _LT_TAGVAR(compiler_lib_search_path, $1)=$prev$p
    69707581           else
    6971              _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
     7582             _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} $prev$p"
    69727583           fi
    69737584           ;;
     
    69777588       else
    69787589         if test -z "$_LT_TAGVAR(postdeps, $1)"; then
    6979            _LT_TAGVAR(postdeps, $1)="${prev}${p}"
     7590           _LT_TAGVAR(postdeps, $1)=$prev$p
    69807591         else
    6981            _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
     7592           _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} $prev$p"
    69827593         fi
    69837594       fi
     
    69947605       fi
    69957606
    6996        if test "$pre_test_object_deps_done" = no; then
     7607       if test no = "$pre_test_object_deps_done"; then
    69977608         if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
    6998            _LT_TAGVAR(predep_objects, $1)="$p"
     7609           _LT_TAGVAR(predep_objects, $1)=$p
    69997610         else
    70007611           _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
     
    70027613       else
    70037614         if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
    7004            _LT_TAGVAR(postdep_objects, $1)="$p"
     7615           _LT_TAGVAR(postdep_objects, $1)=$p
    70057616         else
    70067617           _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
     
    70337644  _LT_TAGVAR(postdeps,$1)=
    70347645  ;;
    7035 
    7036 linux*)
    7037   case `$CC -V 2>&1 | sed 5q` in
    7038   *Sun\ C*)
    7039     # Sun C++ 5.9
    7040 
    7041     # The more standards-conforming stlport4 library is
    7042     # incompatible with the Cstd library. Avoid specifying
    7043     # it if it's in CXXFLAGS. Ignore libCrun as
    7044     # -library=stlport4 depends on it.
    7045     case " $CXX $CXXFLAGS " in
    7046     *" -library=stlport4 "*)
    7047       solaris_use_stlport4=yes
    7048       ;;
    7049     esac
    7050 
    7051     if test "$solaris_use_stlport4" != yes; then
    7052       _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
    7053     fi
    7054     ;;
    7055   esac
    7056   ;;
    7057 
    7058 solaris*)
    7059   case $cc_basename in
    7060   CC* | sunCC*)
    7061     # The more standards-conforming stlport4 library is
    7062     # incompatible with the Cstd library. Avoid specifying
    7063     # it if it's in CXXFLAGS. Ignore libCrun as
    7064     # -library=stlport4 depends on it.
    7065     case " $CXX $CXXFLAGS " in
    7066     *" -library=stlport4 "*)
    7067       solaris_use_stlport4=yes
    7068       ;;
    7069     esac
    7070 
    7071     # Adding this requires a known-good setup of shared libraries for
    7072     # Sun compiler versions before 5.6, else PIC objects from an old
    7073     # archive will be linked into the output, leading to subtle bugs.
    7074     if test "$solaris_use_stlport4" != yes; then
    7075       _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
    7076     fi
    7077     ;;
    7078   esac
    7079   ;;
    70807646esac
    70817647])
     
    70867652 _LT_TAGVAR(compiler_lib_search_dirs, $1)=
    70877653if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
    7088  _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
     7654 _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | $SED -e 's! -L! !g' -e 's!^ !!'`
    70897655fi
    70907656_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
     
    71067672# Ensure that the configuration variables for a Fortran 77 compiler are
    71077673# suitably defined.  These variables are subsequently used by _LT_CONFIG
    7108 # to write the compiler configuration to `libtool'.
     7674# to write the compiler configuration to 'libtool'.
    71097675m4_defun([_LT_LANG_F77_CONFIG],
    71107676[AC_LANG_PUSH(Fortran 77)
    7111 if test -z "$F77" || test "X$F77" = "Xno"; then
     7677if test -z "$F77" || test no = "$F77"; then
    71127678  _lt_disable_F77=yes
    71137679fi
     
    71217687_LT_TAGVAR(hardcode_direct_absolute, $1)=no
    71227688_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
    7123 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
    71247689_LT_TAGVAR(hardcode_libdir_separator, $1)=
    71257690_LT_TAGVAR(hardcode_minus_L, $1)=no
     
    71477712# are currently assumed to apply to all compilers on this platform,
    71487713# and will be corrupted by setting them based on a non-working compiler.
    7149 if test "$_lt_disable_F77" != yes; then
     7714if test yes != "$_lt_disable_F77"; then
    71507715  # Code to be used in simple compile tests
    71517716  lt_simple_compile_test_code="\
     
    71697734
    71707735  # Allow CC to be a program name with arguments.
    7171   lt_save_CC="$CC"
     7736  lt_save_CC=$CC
    71727737  lt_save_GCC=$GCC
    71737738  lt_save_CFLAGS=$CFLAGS
     
    71837748
    71847749    AC_MSG_CHECKING([whether to build shared libraries])
    7185     test "$can_build_shared" = "no" && enable_shared=no
     7750    test no = "$can_build_shared" && enable_shared=no
    71867751
    71877752    # On AIX, shared libraries and static libraries use the same namespace, and
     
    71897754    case $host_os in
    71907755      aix3*)
    7191         test "$enable_shared" = yes && enable_static=no
     7756        test yes = "$enable_shared" && enable_static=no
    71927757        if test -n "$RANLIB"; then
    71937758          archive_cmds="$archive_cmds~\$RANLIB \$lib"
     
    71967761        ;;
    71977762      aix[[4-9]]*)
    7198         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    7199           test "$enable_shared" = yes && enable_static=no
     7763        if test ia64 != "$host_cpu"; then
     7764          case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
     7765          yes,aix,yes) ;;               # shared object as lib.so file only
     7766          yes,svr4,*) ;;                # shared object as lib.so archive member only
     7767          yes,*) enable_static=no ;;    # shared object in lib.a archive as well
     7768          esac
    72007769        fi
    72017770        ;;
     
    72057774    AC_MSG_CHECKING([whether to build static libraries])
    72067775    # Make sure either enable_shared or enable_static is yes.
    7207     test "$enable_shared" = yes || enable_static=yes
     7776    test yes = "$enable_shared" || enable_static=yes
    72087777    AC_MSG_RESULT([$enable_static])
    72097778
    7210     _LT_TAGVAR(GCC, $1)="$G77"
    7211     _LT_TAGVAR(LD, $1)="$LD"
     7779    _LT_TAGVAR(GCC, $1)=$G77
     7780    _LT_TAGVAR(LD, $1)=$LD
    72127781
    72137782    ## CAVEAT EMPTOR:
     
    72267795
    72277796  GCC=$lt_save_GCC
    7228   CC="$lt_save_CC"
    7229   CFLAGS="$lt_save_CFLAGS"
    7230 fi # test "$_lt_disable_F77" != yes
     7797  CC=$lt_save_CC
     7798  CFLAGS=$lt_save_CFLAGS
     7799fi # test yes != "$_lt_disable_F77"
    72317800
    72327801AC_LANG_POP
     
    72387807# Ensure that the configuration variables for a Fortran compiler are
    72397808# suitably defined.  These variables are subsequently used by _LT_CONFIG
    7240 # to write the compiler configuration to `libtool'.
     7809# to write the compiler configuration to 'libtool'.
    72417810m4_defun([_LT_LANG_FC_CONFIG],
    72427811[AC_LANG_PUSH(Fortran)
    72437812
    7244 if test -z "$FC" || test "X$FC" = "Xno"; then
     7813if test -z "$FC" || test no = "$FC"; then
    72457814  _lt_disable_FC=yes
    72467815fi
     
    72547823_LT_TAGVAR(hardcode_direct_absolute, $1)=no
    72557824_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
    7256 _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
    72577825_LT_TAGVAR(hardcode_libdir_separator, $1)=
    72587826_LT_TAGVAR(hardcode_minus_L, $1)=no
     
    72807848# are currently assumed to apply to all compilers on this platform,
    72817849# and will be corrupted by setting them based on a non-working compiler.
    7282 if test "$_lt_disable_FC" != yes; then
     7850if test yes != "$_lt_disable_FC"; then
    72837851  # Code to be used in simple compile tests
    72847852  lt_simple_compile_test_code="\
     
    73027870
    73037871  # Allow CC to be a program name with arguments.
    7304   lt_save_CC="$CC"
     7872  lt_save_CC=$CC
    73057873  lt_save_GCC=$GCC
    73067874  lt_save_CFLAGS=$CFLAGS
     
    73187886
    73197887    AC_MSG_CHECKING([whether to build shared libraries])
    7320     test "$can_build_shared" = "no" && enable_shared=no
     7888    test no = "$can_build_shared" && enable_shared=no
    73217889
    73227890    # On AIX, shared libraries and static libraries use the same namespace, and
     
    73247892    case $host_os in
    73257893      aix3*)
    7326         test "$enable_shared" = yes && enable_static=no
     7894        test yes = "$enable_shared" && enable_static=no
    73277895        if test -n "$RANLIB"; then
    73287896          archive_cmds="$archive_cmds~\$RANLIB \$lib"
     
    73317899        ;;
    73327900      aix[[4-9]]*)
    7333         if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
    7334           test "$enable_shared" = yes && enable_static=no
     7901        if test ia64 != "$host_cpu"; then
     7902          case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
     7903          yes,aix,yes) ;;               # shared object as lib.so file only
     7904          yes,svr4,*) ;;                # shared object as lib.so archive member only
     7905          yes,*) enable_static=no ;;    # shared object in lib.a archive as well
     7906          esac
    73357907        fi
    73367908        ;;
     
    73407912    AC_MSG_CHECKING([whether to build static libraries])
    73417913    # Make sure either enable_shared or enable_static is yes.
    7342     test "$enable_shared" = yes || enable_static=yes
     7914    test yes = "$enable_shared" || enable_static=yes
    73437915    AC_MSG_RESULT([$enable_static])
    73447916
    7345     _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
    7346     _LT_TAGVAR(LD, $1)="$LD"
     7917    _LT_TAGVAR(GCC, $1)=$ac_cv_fc_compiler_gnu
     7918    _LT_TAGVAR(LD, $1)=$LD
    73477919
    73487920    ## CAVEAT EMPTOR:
     
    73647936  CC=$lt_save_CC
    73657937  CFLAGS=$lt_save_CFLAGS
    7366 fi # test "$_lt_disable_FC" != yes
     7938fi # test yes != "$_lt_disable_FC"
    73677939
    73687940AC_LANG_POP
     
    73747946# Ensure that the configuration variables for the GNU Java Compiler compiler
    73757947# are suitably defined.  These variables are subsequently used by _LT_CONFIG
    7376 # to write the compiler configuration to `libtool'.
     7948# to write the compiler configuration to 'libtool'.
    73777949m4_defun([_LT_LANG_GCJ_CONFIG],
    73787950[AC_REQUIRE([LT_PROG_GCJ])dnl
     
    74087980compiler=$CC
    74097981_LT_TAGVAR(compiler, $1)=$CC
    7410 _LT_TAGVAR(LD, $1)="$LD"
     7982_LT_TAGVAR(LD, $1)=$LD
    74117983_LT_CC_BASENAME([$compiler])
    74127984
     
    74418013
    74428014
     8015# _LT_LANG_GO_CONFIG([TAG])
     8016# --------------------------
     8017# Ensure that the configuration variables for the GNU Go compiler
     8018# are suitably defined.  These variables are subsequently used by _LT_CONFIG
     8019# to write the compiler configuration to 'libtool'.
     8020m4_defun([_LT_LANG_GO_CONFIG],
     8021[AC_REQUIRE([LT_PROG_GO])dnl
     8022AC_LANG_SAVE
     8023
     8024# Source file extension for Go test sources.
     8025ac_ext=go
     8026
     8027# Object file extension for compiled Go test sources.
     8028objext=o
     8029_LT_TAGVAR(objext, $1)=$objext
     8030
     8031# Code to be used in simple compile tests
     8032lt_simple_compile_test_code="package main; func main() { }"
     8033
     8034# Code to be used in simple link tests
     8035lt_simple_link_test_code='package main; func main() { }'
     8036
     8037# ltmain only uses $CC for tagged configurations so make sure $CC is set.
     8038_LT_TAG_COMPILER
     8039
     8040# save warnings/boilerplate of simple test code
     8041_LT_COMPILER_BOILERPLATE
     8042_LT_LINKER_BOILERPLATE
     8043
     8044# Allow CC to be a program name with arguments.
     8045lt_save_CC=$CC
     8046lt_save_CFLAGS=$CFLAGS
     8047lt_save_GCC=$GCC
     8048GCC=yes
     8049CC=${GOC-"gccgo"}
     8050CFLAGS=$GOFLAGS
     8051compiler=$CC
     8052_LT_TAGVAR(compiler, $1)=$CC
     8053_LT_TAGVAR(LD, $1)=$LD
     8054_LT_CC_BASENAME([$compiler])
     8055
     8056# Go did not exist at the time GCC didn't implicitly link libc in.
     8057_LT_TAGVAR(archive_cmds_need_lc, $1)=no
     8058
     8059_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
     8060_LT_TAGVAR(reload_flag, $1)=$reload_flag
     8061_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
     8062
     8063## CAVEAT EMPTOR:
     8064## There is no encapsulation within the following macros, do not change
     8065## the running order or otherwise move them around unless you know exactly
     8066## what you are doing...
     8067if test -n "$compiler"; then
     8068  _LT_COMPILER_NO_RTTI($1)
     8069  _LT_COMPILER_PIC($1)
     8070  _LT_COMPILER_C_O($1)
     8071  _LT_COMPILER_FILE_LOCKS($1)
     8072  _LT_LINKER_SHLIBS($1)
     8073  _LT_LINKER_HARDCODE_LIBPATH($1)
     8074
     8075  _LT_CONFIG($1)
     8076fi
     8077
     8078AC_LANG_RESTORE
     8079
     8080GCC=$lt_save_GCC
     8081CC=$lt_save_CC
     8082CFLAGS=$lt_save_CFLAGS
     8083])# _LT_LANG_GO_CONFIG
     8084
     8085
    74438086# _LT_LANG_RC_CONFIG([TAG])
    74448087# -------------------------
    74458088# Ensure that the configuration variables for the Windows resource compiler
    74468089# are suitably defined.  These variables are subsequently used by _LT_CONFIG
    7447 # to write the compiler configuration to `libtool'.
     8090# to write the compiler configuration to 'libtool'.
    74488091m4_defun([_LT_LANG_RC_CONFIG],
    74498092[AC_REQUIRE([LT_PROG_RC])dnl
     
    74618104
    74628105# Code to be used in simple link tests
    7463 lt_simple_link_test_code="$lt_simple_compile_test_code"
     8106lt_simple_link_test_code=$lt_simple_compile_test_code
    74648107
    74658108# ltmain only uses $CC for tagged configurations so make sure $CC is set.
     
    74718114
    74728115# Allow CC to be a program name with arguments.
    7473 lt_save_CC="$CC"
     8116lt_save_CC=$CC
    74748117lt_save_CFLAGS=$CFLAGS
    74758118lt_save_GCC=$GCC
     
    75008143  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
    75018144    [AC_CHECK_TOOL(GCJ, gcj,)
    7502       test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
     8145      test set = "${GCJFLAGS+set}" || GCJFLAGS="-g -O2"
    75038146      AC_SUBST(GCJFLAGS)])])[]dnl
    75048147])
     
    75088151dnl aclocal-1.4 backwards compatibility:
    75098152dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
     8153
     8154
     8155# LT_PROG_GO
     8156# ----------
     8157AC_DEFUN([LT_PROG_GO],
     8158[AC_CHECK_TOOL(GOC, gccgo,)
     8159])
    75108160
    75118161
     
    76048254# along with /bin/sed that truncates output.
    76058255for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
    7606   test ! -f $lt_ac_sed && continue
     8256  test ! -f "$lt_ac_sed" && continue
    76078257  cat /dev/null > conftest.in
    76088258  lt_ac_count=0
     
    76218271    cmp -s conftest.out conftest.nl || break
    76228272    # 10000 chars as input seems more than enough
    7623     test $lt_ac_count -gt 10 && break
     8273    test 10 -lt "$lt_ac_count" && break
    76248274    lt_ac_count=`expr $lt_ac_count + 1`
    7625     if test $lt_ac_count -gt $lt_ac_max; then
     8275    if test "$lt_ac_count" -gt "$lt_ac_max"; then
    76268276      lt_ac_max=$lt_ac_count
    76278277      lt_cv_path_SED=$lt_ac_sed
     
    76478297# or has some other useful features.
    76488298m4_defun([_LT_CHECK_SHELL_FEATURES],
    7649 [AC_MSG_CHECKING([whether the shell understands some XSI constructs])
    7650 # Try some XSI features
    7651 xsi_shell=no
    7652 ( _lt_dummy="a/b/c"
    7653   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
    7654       = c,a/b,b/c, \
    7655     && eval 'test $(( 1 + 1 )) -eq 2 \
    7656     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
    7657   && xsi_shell=yes
    7658 AC_MSG_RESULT([$xsi_shell])
    7659 _LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
    7660 
    7661 AC_MSG_CHECKING([whether the shell understands "+="])
    7662 lt_shell_append=no
    7663 ( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
    7664     >/dev/null 2>&1 \
    7665   && lt_shell_append=yes
    7666 AC_MSG_RESULT([$lt_shell_append])
    7667 _LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
    7668 
    7669 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     8299[if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    76708300  lt_unset=unset
    76718301else
     
    76918321
    76928322
    7693 # _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY)
    7694 # ------------------------------------------------------
    7695 # In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and
    7696 # '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY.
    7697 m4_defun([_LT_PROG_FUNCTION_REPLACE],
    7698 [dnl {
    7699 sed -e '/^$1 ()$/,/^} # $1 /c\
    7700 $1 ()\
    7701 {\
    7702 m4_bpatsubsts([$2], [$], [\\], [^\([     ]\)], [\\\1])
    7703 } # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \
    7704   && mv -f "$cfgfile.tmp" "$cfgfile" \
    7705     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    7706 test 0 -eq $? || _lt_function_replace_fail=:
    7707 ])
    7708 
    7709 
    7710 # _LT_PROG_REPLACE_SHELLFNS
    7711 # -------------------------
    7712 # Replace existing portable implementations of several shell functions with
    7713 # equivalent extended shell implementations where those features are available..
    7714 m4_defun([_LT_PROG_REPLACE_SHELLFNS],
    7715 [if test x"$xsi_shell" = xyes; then
    7716   _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl
    7717     case ${1} in
    7718       */*) func_dirname_result="${1%/*}${2}" ;;
    7719       *  ) func_dirname_result="${3}" ;;
    7720     esac])
    7721 
    7722   _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl
    7723     func_basename_result="${1##*/}"])
    7724 
    7725   _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl
    7726     case ${1} in
    7727       */*) func_dirname_result="${1%/*}${2}" ;;
    7728       *  ) func_dirname_result="${3}" ;;
    7729     esac
    7730     func_basename_result="${1##*/}"])
    7731 
    7732   _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl
    7733     # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
    7734     # positional parameters, so assign one to ordinary parameter first.
    7735     func_stripname_result=${3}
    7736     func_stripname_result=${func_stripname_result#"${1}"}
    7737     func_stripname_result=${func_stripname_result%"${2}"}])
    7738 
    7739   _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl
    7740     func_split_long_opt_name=${1%%=*}
    7741     func_split_long_opt_arg=${1#*=}])
    7742 
    7743   _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl
    7744     func_split_short_opt_arg=${1#??}
    7745     func_split_short_opt_name=${1%"$func_split_short_opt_arg"}])
    7746 
    7747   _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl
    7748     case ${1} in
    7749       *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
    7750       *)    func_lo2o_result=${1} ;;
    7751     esac])
    7752 
    7753   _LT_PROG_FUNCTION_REPLACE([func_xform], [    func_xform_result=${1%.*}.lo])
    7754 
    7755   _LT_PROG_FUNCTION_REPLACE([func_arith], [    func_arith_result=$(( $[*] ))])
    7756 
    7757   _LT_PROG_FUNCTION_REPLACE([func_len], [    func_len_result=${#1}])
    7758 fi
    7759 
    7760 if test x"$lt_shell_append" = xyes; then
    7761   _LT_PROG_FUNCTION_REPLACE([func_append], [    eval "${1}+=\\${2}"])
    7762 
    7763   _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl
    7764     func_quote_for_eval "${2}"
    7765 dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \
    7766     eval "${1}+=\\\\ \\$func_quote_for_eval_result"])
    7767 
    7768   # Save a `func_append' function call where possible by direct use of '+='
    7769   sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
    7770     && mv -f "$cfgfile.tmp" "$cfgfile" \
    7771       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    7772   test 0 -eq $? || _lt_function_replace_fail=:
    7773 else
    7774   # Save a `func_append' function call even when '+=' is not available
    7775   sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
    7776     && mv -f "$cfgfile.tmp" "$cfgfile" \
    7777       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
    7778   test 0 -eq $? || _lt_function_replace_fail=:
    7779 fi
    7780 
    7781 if test x"$_lt_function_replace_fail" = x":"; then
    7782   AC_MSG_WARN([Unable to substitute extended shell functions in $ofile])
    7783 fi
    7784 ])
    7785 
    77868323# _LT_PATH_CONVERSION_FUNCTIONS
    77878324# -----------------------------
    7788 # Determine which file name conversion functions should be used by
     8325# Determine what file name conversion functions should be used by
    77898326# func_to_host_file (and, implicitly, by func_to_host_path).  These are needed
    77908327# for certain cross-compile configurations and native mingw.
  • trunk/FACT++/.macro_dir/ltoptions.m4

    r12832 r18603  
    11# Helper functions for option handling.                    -*- Autoconf -*-
    22#
    3 #   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
    4 #   Inc.
     3#   Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
     4#   Foundation, Inc.
    55#   Written by Gary V. Vaughan, 2004
    66#
     
    99# modifications, as long as this notice is preserved.
    1010
    11 # serial 7 ltoptions.m4
     11# serial 8 ltoptions.m4
    1212
    1313# This is to help aclocal find these macros, as it can't see m4_define.
     
    3030m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
    3131        _LT_MANGLE_DEFUN([$1], [$2]),
    32     [m4_warning([Unknown $1 option `$2'])])[]dnl
     32    [m4_warning([Unknown $1 option '$2'])])[]dnl
    3333])
    3434
     
    7676  dnl If no reference was made to various pairs of opposing options, then
    7777  dnl we run the default mode handler for the pair.  For example, if neither
    78   dnl `shared' nor `disable-shared' was passed, we enable building of shared
     78  dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
    7979  dnl archives by default:
    8080  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
     
    8282  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
    8383  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
    84                    [_LT_ENABLE_FAST_INSTALL])
     84                   [_LT_ENABLE_FAST_INSTALL])
     85  _LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
     86                   [_LT_WITH_AIX_SONAME([aix])])
    8587  ])
    8688])# _LT_SET_OPTIONS
     
    113115AC_DIAGNOSE([obsolete],
    114116[$0: Remove this warning and the call to _LT_SET_OPTION when you
    115 put the `dlopen' option into LT_INIT's first parameter.])
     117put the 'dlopen' option into LT_INIT's first parameter.])
    116118])
    117119
     
    149151AC_DIAGNOSE([obsolete],
    150152[$0: Remove this warning and the call to _LT_SET_OPTION when you
    151 put the `win32-dll' option into LT_INIT's first parameter.])
     153put the 'win32-dll' option into LT_INIT's first parameter.])
    152154])
    153155
     
    158160# _LT_ENABLE_SHARED([DEFAULT])
    159161# ----------------------------
    160 # implement the --enable-shared flag, and supports the `shared' and
    161 # `disable-shared' LT_INIT options.
    162 # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
     162# implement the --enable-shared flag, and supports the 'shared' and
     163# 'disable-shared' LT_INIT options.
     164# DEFAULT is either 'yes' or 'no'.  If omitted, it defaults to 'yes'.
    163165m4_define([_LT_ENABLE_SHARED],
    164166[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
     
    173175      enable_shared=no
    174176      # Look at the argument we got.  We use all the common list separators.
    175       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     177      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    176178      for pkg in $enableval; do
    177         IFS="$lt_save_ifs"
     179        IFS=$lt_save_ifs
    178180        if test "X$pkg" = "X$p"; then
    179181          enable_shared=yes
    180182        fi
    181183      done
    182       IFS="$lt_save_ifs"
     184      IFS=$lt_save_ifs
    183185      ;;
    184186    esac],
     
    212214# _LT_ENABLE_STATIC([DEFAULT])
    213215# ----------------------------
    214 # implement the --enable-static flag, and support the `static' and
    215 # `disable-static' LT_INIT options.
    216 # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
     216# implement the --enable-static flag, and support the 'static' and
     217# 'disable-static' LT_INIT options.
     218# DEFAULT is either 'yes' or 'no'.  If omitted, it defaults to 'yes'.
    217219m4_define([_LT_ENABLE_STATIC],
    218220[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
     
    227229     enable_static=no
    228230      # Look at the argument we got.  We use all the common list separators.
    229       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     231      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    230232      for pkg in $enableval; do
    231         IFS="$lt_save_ifs"
     233        IFS=$lt_save_ifs
    232234        if test "X$pkg" = "X$p"; then
    233235          enable_static=yes
    234236        fi
    235237      done
    236       IFS="$lt_save_ifs"
     238      IFS=$lt_save_ifs
    237239      ;;
    238240    esac],
     
    266268# _LT_ENABLE_FAST_INSTALL([DEFAULT])
    267269# ----------------------------------
    268 # implement the --enable-fast-install flag, and support the `fast-install'
    269 # and `disable-fast-install' LT_INIT options.
    270 # DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
     270# implement the --enable-fast-install flag, and support the 'fast-install'
     271# and 'disable-fast-install' LT_INIT options.
     272# DEFAULT is either 'yes' or 'no'.  If omitted, it defaults to 'yes'.
    271273m4_define([_LT_ENABLE_FAST_INSTALL],
    272274[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
     
    281283      enable_fast_install=no
    282284      # Look at the argument we got.  We use all the common list separators.
    283       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
     285      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    284286      for pkg in $enableval; do
    285         IFS="$lt_save_ifs"
     287        IFS=$lt_save_ifs
    286288        if test "X$pkg" = "X$p"; then
    287289          enable_fast_install=yes
    288290        fi
    289291      done
    290       IFS="$lt_save_ifs"
     292      IFS=$lt_save_ifs
    291293      ;;
    292294    esac],
     
    305307AC_DIAGNOSE([obsolete],
    306308[$0: Remove this warning and the call to _LT_SET_OPTION when you put
    307 the `fast-install' option into LT_INIT's first parameter.])
     309the 'fast-install' option into LT_INIT's first parameter.])
    308310])
    309311
     
    312314AC_DIAGNOSE([obsolete],
    313315[$0: Remove this warning and the call to _LT_SET_OPTION when you put
    314 the `disable-fast-install' option into LT_INIT's first parameter.])
     316the 'disable-fast-install' option into LT_INIT's first parameter.])
    315317])
    316318
     
    320322
    321323
     324# _LT_WITH_AIX_SONAME([DEFAULT])
     325# ----------------------------------
     326# implement the --with-aix-soname flag, and support the `aix-soname=aix'
     327# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
     328# is either `aix', `both' or `svr4'.  If omitted, it defaults to `aix'.
     329m4_define([_LT_WITH_AIX_SONAME],
     330[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
     331shared_archive_member_spec=
     332case $host,$enable_shared in
     333power*-*-aix[[5-9]]*,yes)
     334  AC_MSG_CHECKING([which variant of shared library versioning to provide])
     335  AC_ARG_WITH([aix-soname],
     336    [AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
     337      [shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
     338    [case $withval in
     339    aix|svr4|both)
     340      ;;
     341    *)
     342      AC_MSG_ERROR([Unknown argument to --with-aix-soname])
     343      ;;
     344    esac
     345    lt_cv_with_aix_soname=$with_aix_soname],
     346    [AC_CACHE_VAL([lt_cv_with_aix_soname],
     347      [lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
     348    with_aix_soname=$lt_cv_with_aix_soname])
     349  AC_MSG_RESULT([$with_aix_soname])
     350  if test aix != "$with_aix_soname"; then
     351    # For the AIX way of multilib, we name the shared archive member
     352    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
     353    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
     354    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
     355    # the AIX toolchain works better with OBJECT_MODE set (default 32).
     356    if test 64 = "${OBJECT_MODE-32}"; then
     357      shared_archive_member_spec=shr_64
     358    else
     359      shared_archive_member_spec=shr
     360    fi
     361  fi
     362  ;;
     363*)
     364  with_aix_soname=aix
     365  ;;
     366esac
     367
     368_LT_DECL([], [shared_archive_member_spec], [0],
     369    [Shared archive member basename, for filename based shared library versioning on AIX])dnl
     370])# _LT_WITH_AIX_SONAME
     371
     372LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
     373LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
     374LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
     375
     376
    322377# _LT_WITH_PIC([MODE])
    323378# --------------------
    324 # implement the --with-pic flag, and support the `pic-only' and `no-pic'
     379# implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
    325380# LT_INIT options.
    326 # MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
     381# MODE is either 'yes' or 'no'.  If omitted, it defaults to 'both'.
    327382m4_define([_LT_WITH_PIC],
    328383[AC_ARG_WITH([pic],
    329     [AS_HELP_STRING([--with-pic],
     384    [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
    330385        [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
    331     [pic_mode="$withval"],
    332     [pic_mode=default])
    333 
    334 test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
     386    [lt_p=${PACKAGE-default}
     387    case $withval in
     388    yes|no) pic_mode=$withval ;;
     389    *)
     390      pic_mode=default
     391      # Look at the argument we got.  We use all the common list separators.
     392      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     393      for lt_pkg in $withval; do
     394        IFS=$lt_save_ifs
     395        if test "X$lt_pkg" = "X$lt_p"; then
     396          pic_mode=yes
     397        fi
     398      done
     399      IFS=$lt_save_ifs
     400      ;;
     401    esac],
     402    [pic_mode=m4_default([$1], [default])])
    335403
    336404_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
     
    345413AC_DIAGNOSE([obsolete],
    346414[$0: Remove this warning and the call to _LT_SET_OPTION when you
    347 put the `pic-only' option into LT_INIT's first parameter.])
     415put the 'pic-only' option into LT_INIT's first parameter.])
    348416])
    349417
  • trunk/FACT++/.macro_dir/ltversion.m4

    r14328 r18603  
    11# ltversion.m4 -- version numbers                       -*- Autoconf -*-
    22#
    3 #   Copyright (C) 2004 Free Software Foundation, Inc.
     3#   Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
    44#   Written by Scott James Remnant, 2004
    55#
     
    1010# @configure_input@
    1111
    12 # serial 3337 ltversion.m4
     12# serial 4179 ltversion.m4
    1313# This file is part of GNU Libtool
    1414
    15 m4_define([LT_PACKAGE_VERSION], [2.4.2])
    16 m4_define([LT_PACKAGE_REVISION], [1.3337])
     15m4_define([LT_PACKAGE_VERSION], [2.4.6])
     16m4_define([LT_PACKAGE_REVISION], [2.4.6])
    1717
    1818AC_DEFUN([LTVERSION_VERSION],
    19 [macro_version='2.4.2'
    20 macro_revision='1.3337'
     19[macro_version='2.4.6'
     20macro_revision='2.4.6'
    2121_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
    2222_LT_DECL(, macro_revision, 0)
  • trunk/FACT++/Makefile.in

    r18509 r18603  
    1 # Makefile.in generated by automake 1.11.3 from Makefile.am.
     1# Makefile.in generated by automake 1.15 from Makefile.am.
    22# @configure_input@
    33
    4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
    5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
    6 # Foundation, Inc.
     4# Copyright (C) 1994-2014 Free Software Foundation, Inc.
     5
    76# This Makefile.in is free software; the Free Software Foundation
    87# gives unlimited permission to copy and/or distribute it,
     
    2019
    2120VPATH = @srcdir@
     21am__is_gnu_make = { \
     22  if test -z '$(MAKELEVEL)'; then \
     23    false; \
     24  elif test -n '$(MAKE_HOST)'; then \
     25    true; \
     26  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
     27    true; \
     28  else \
     29    false; \
     30  fi; \
     31}
     32am__make_running_with_option = \
     33  case $${target_option-} in \
     34      ?) ;; \
     35      *) echo "am__make_running_with_option: internal error: invalid" \
     36              "target option '$${target_option-}' specified" >&2; \
     37         exit 1;; \
     38  esac; \
     39  has_opt=no; \
     40  sane_makeflags=$$MAKEFLAGS; \
     41  if $(am__is_gnu_make); then \
     42    sane_makeflags=$$MFLAGS; \
     43  else \
     44    case $$MAKEFLAGS in \
     45      *\\[\ \   ]*) \
     46        bs=\\; \
     47        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
     48          | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
     49    esac; \
     50  fi; \
     51  skip_next=no; \
     52  strip_trailopt () \
     53  { \
     54    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
     55  }; \
     56  for flg in $$sane_makeflags; do \
     57    test $$skip_next = yes && { skip_next=no; continue; }; \
     58    case $$flg in \
     59      *=*|--*) continue;; \
     60        -*I) strip_trailopt 'I'; skip_next=yes;; \
     61      -*I?*) strip_trailopt 'I';; \
     62        -*O) strip_trailopt 'O'; skip_next=yes;; \
     63      -*O?*) strip_trailopt 'O';; \
     64        -*l) strip_trailopt 'l'; skip_next=yes;; \
     65      -*l?*) strip_trailopt 'l';; \
     66      -[dEDm]) skip_next=yes;; \
     67      -[JT]) skip_next=yes;; \
     68    esac; \
     69    case $$flg in \
     70      *$$target_option*) has_opt=yes; break;; \
     71    esac; \
     72  done; \
     73  test $$has_opt = yes
     74am__make_dryrun = (target_option=n; $(am__make_running_with_option))
     75am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
    2276pkgdatadir = $(datadir)/@PACKAGE@
    2377pkgincludedir = $(includedir)/@PACKAGE@
     
    3892build_triplet = @build@
    3993host_triplet = @host@
    40 DIST_COMMON = README $(am__configure_deps) $(dist_man1_MANS) \
    41         $(dist_noinst_SCRIPTS) $(libDim___la_HEADERS) \
    42         $(libDim_la_HEADERS) $(srcdir)/Makefile.am \
    43         $(srcdir)/Makefile.in $(srcdir)/aminclude.am \
    44         $(top_srcdir)/configure .aux_dir/ar-lib .aux_dir/compile \
    45         .aux_dir/config.guess .aux_dir/config.sub .aux_dir/depcomp \
    46         .aux_dir/install-sh .aux_dir/ltmain.sh .aux_dir/missing \
    47         AUTHORS COPYING ChangeLog INSTALL NEWS
    4894bin_PROGRAMS = dns$(EXEEXT) log$(EXEEXT) logtime$(EXEEXT) \
    4995        time$(EXEEXT) argv$(EXEEXT) ftmctrl$(EXEEXT) fadctrl$(EXEEXT) \
     
    112158am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    113159        $(ACLOCAL_M4)
     160DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
     161        $(am__configure_deps) $(dist_noinst_SCRIPTS) \
     162        $(libDim___la_HEADERS) $(libDim_la_HEADERS) $(am__DIST_COMMON)
    114163am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
    115164 configure.lineno config.status.lineno
     
    155204am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
    156205am__v_lt_0 = --silent
     206am__v_lt_1 =
    157207libDim___la_LIBADD =
    158208am_libDim___la_OBJECTS = dim/src/diccpp.lo dim/src/dimcpp.lo \
     
    557607zfits_DEPENDENCIES = libTime.la libConfiguration.la
    558608SCRIPTS = $(dist_noinst_SCRIPTS)
     609AM_V_P = $(am__v_P_@AM_V@)
     610am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
     611am__v_P_0 = false
     612am__v_P_1 = :
     613AM_V_GEN = $(am__v_GEN_@AM_V@)
     614am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
     615am__v_GEN_0 = @echo "  GEN     " $@;
     616am__v_GEN_1 =
     617AM_V_at = $(am__v_at_@AM_V@)
     618am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
     619am__v_at_0 = @
     620am__v_at_1 =
    559621DEFAULT_INCLUDES = -I.@am__isrc@
    560622depcomp = $(SHELL) $(top_srcdir)/.aux_dir/depcomp
     
    569631AM_V_CC = $(am__v_CC_@AM_V@)
    570632am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
    571 am__v_CC_0 = @echo "  CC    " $@;
    572 AM_V_at = $(am__v_at_@AM_V@)
    573 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
    574 am__v_at_0 = @
     633am__v_CC_0 = @echo "  CC      " $@;
     634am__v_CC_1 =
    575635CCLD = $(CC)
    576636LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
     
    579639AM_V_CCLD = $(am__v_CCLD_@AM_V@)
    580640am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
    581 am__v_CCLD_0 = @echo "  CCLD  " $@;
     641am__v_CCLD_0 = @echo "  CCLD    " $@;
     642am__v_CCLD_1 =
    582643CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
    583644        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     
    588649AM_V_CXX = $(am__v_CXX_@AM_V@)
    589650am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
    590 am__v_CXX_0 = @echo "  CXX   " $@;
     651am__v_CXX_0 = @echo "  CXX     " $@;
     652am__v_CXX_1 =
    591653CXXLD = $(CXX)
    592654CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
     
    595657AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
    596658am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
    597 am__v_CXXLD_0 = @echo "  CXXLD " $@;
    598 AM_V_GEN = $(am__v_GEN_@AM_V@)
    599 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
    600 am__v_GEN_0 = @echo "  GEN   " $@;
     659am__v_CXXLD_0 = @echo "  CXXLD   " $@;
     660am__v_CXXLD_1 =
    601661SOURCES = $(libConfiguration_la_SOURCES) $(libDim___la_SOURCES) \
    602662        $(libDim_la_SOURCES) $(libDimExtension_la_SOURCES) \
     
    653713        $(triggerschedule_SOURCES) $(am__viewer_SOURCES_DIST) \
    654714        $(webDid_SOURCES) $(zfits_SOURCES)
     715am__can_run_installinfo = \
     716  case $$AM_UPDATE_INFO_DIR in \
     717    n|no|NO) false;; \
     718    *) (install-info --version) >/dev/null 2>&1;; \
     719  esac
    655720man1dir = $(mandir)/man1
    656721NROFF = nroff
    657722MANS = $(dist_man1_MANS)
    658723HEADERS = $(libDim___la_HEADERS) $(libDim_la_HEADERS)
     724am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
     725# Read a list of newline-separated strings from the standard input,
     726# and print each of them once, without duplicates.  Input order is
     727# *not* preserved.
     728am__uniquify_input = $(AWK) '\
     729  BEGIN { nonempty = 0; } \
     730  { items[$$0] = 1; nonempty = 1; } \
     731  END { if (nonempty) { for (i in items) print i; }; } \
     732'
     733# Make sure the list of sources is unique.  This is necessary because,
     734# e.g., the same source file might be shared among _SOURCES variables
     735# for different programs/libraries.
     736am__define_uniq_tagged_files = \
     737  list='$(am__tagged_files)'; \
     738  unique=`for i in $$list; do \
     739    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     740  done | $(am__uniquify_input)`
    659741ETAGS = etags
    660742CTAGS = ctags
     743CSCOPE = cscope
     744AM_RECURSIVE_TARGETS = cscope
     745am__DIST_COMMON = $(dist_man1_MANS) $(srcdir)/Makefile.in \
     746        $(srcdir)/aminclude.am $(top_srcdir)/.aux_dir/ar-lib \
     747        $(top_srcdir)/.aux_dir/compile \
     748        $(top_srcdir)/.aux_dir/config.guess \
     749        $(top_srcdir)/.aux_dir/config.sub \
     750        $(top_srcdir)/.aux_dir/depcomp \
     751        $(top_srcdir)/.aux_dir/install-sh \
     752        $(top_srcdir)/.aux_dir/ltmain.sh \
     753        $(top_srcdir)/.aux_dir/missing .aux_dir/ar-lib \
     754        .aux_dir/compile .aux_dir/config.guess .aux_dir/config.sub \
     755        .aux_dir/depcomp .aux_dir/install-sh .aux_dir/ltmain.sh \
     756        .aux_dir/missing AUTHORS COPYING ChangeLog INSTALL NEWS README
    661757DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    662758distdir = $(PACKAGE)-$(VERSION)
     
    668764      || { sleep 5 && rm -rf "$(distdir)"; }; \
    669765  else :; fi
     766am__post_remove_distdir = $(am__remove_distdir)
    670767DIST_ARCHIVES = $(distdir).tar.gz
    671768GZIP_ENV = --best
     769DIST_TARGETS = dist-gzip
    672770distuninstallcheck_listfiles = find . -type f -print
    673771am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
     
    758856LTLIBOBJS = @LTLIBOBJS@
    759857LT_HAVE_XP = @LT_HAVE_XP@
     858LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
    760859MAILX = @MAILX@
    761860MAKEINFO = @MAKEINFO@
     
    813912ROOTCONF = @ROOTCONF@
    814913ROOTCPPFLAGS = @ROOTCPPFLAGS@
     914ROOTCXXFLAGS = @ROOTCXXFLAGS@
    815915ROOTEXEC = @ROOTEXEC@
    816916ROOTGLIBS = @ROOTGLIBS@
     
    879979program_transform_name = @program_transform_name@
    880980psdir = @psdir@
     981runstatedir = @runstatedir@
    881982sbindir = @sbindir@
    882983sharedstatedir = @sharedstatedir@
     
    9201021AM_CPPFLAGS = -Idim/dim -Ipal -Ierfa/src \
    9211022   $(DIM_FLAGS) $(BOOST_FLAGS) $(ROOTCPPFLAGS) \
     1023   $(SVN_REVISION)
     1024
     1025AM_CXXFLAGS = $(ROOTCXXFLAGS) \
    9221026   -Wall -Winit-self -Wpointer-arith -Wcast-align -Wextra -Wformat=2 \
    923    $(SVN_REVISION)
    924 
    925 AM_CXXFLAGS = $(AM_CPPFLAGS) \
    9261027   -Woverloaded-virtual -Wnon-virtual-dtor -Wshadow
    9271028
     
    14221523        $(am__cd) $(top_srcdir) && \
    14231524          $(AUTOMAKE) --gnu Makefile
    1424 .PRECIOUS: Makefile
    14251525Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    14261526        @case '$?' in \
     
    14321532            cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
    14331533        esac;
    1434 $(srcdir)/aminclude.am:
     1534$(srcdir)/aminclude.am $(am__empty):
    14351535
    14361536$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
     
    14421542        $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
    14431543$(am__aclocal_m4_deps):
     1544
    14441545install-libLTLIBRARIES: $(lib_LTLIBRARIES)
    14451546        @$(NORMAL_INSTALL)
    1446         test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
    14471547        @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
    14481548        list2=; for p in $$list; do \
     
    14521552        done; \
    14531553        test -z "$$list2" || { \
     1554          echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
     1555          $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
    14541556          echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
    14551557          $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
     
    14671569clean-libLTLIBRARIES:
    14681570        -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
    1469         @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
    1470           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
    1471           test "$$dir" != "$$p" || dir=.; \
    1472           echo "rm -f \"$${dir}/so_locations\""; \
    1473           rm -f "$${dir}/so_locations"; \
    1474         done
     1571        @list='$(lib_LTLIBRARIES)'; \
     1572        locs=`for p in $$list; do echo $$p; done | \
     1573              sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
     1574              sort -u`; \
     1575        test -z "$$locs" || { \
     1576          echo rm -f $${locs}; \
     1577          rm -f $${locs}; \
     1578        }
    14751579src/$(am__dirstamp):
    14761580        @$(MKDIR_P) src
     
    14821586        src/$(DEPDIR)/$(am__dirstamp)
    14831587src/FACT.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     1588
    14841589libConfiguration.la: $(libConfiguration_la_OBJECTS) $(libConfiguration_la_DEPENDENCIES) $(EXTRA_libConfiguration_la_DEPENDENCIES)
    14851590        $(AM_V_CXXLD)$(CXXLINK) -rpath $(libdir) $(libConfiguration_la_OBJECTS) $(libConfiguration_la_LIBADD) $(LIBS)
     
    14981603dim/src/tokenstring.lo: dim/src/$(am__dirstamp) \
    14991604        dim/src/$(DEPDIR)/$(am__dirstamp)
     1605
    15001606libDim++.la: $(libDim___la_OBJECTS) $(libDim___la_DEPENDENCIES) $(EXTRA_libDim___la_DEPENDENCIES)
    15011607        $(AM_V_CXXLD)$(CXXLINK) -rpath $(libdir) $(libDim___la_OBJECTS) $(libDim___la_LIBADD) $(LIBS)
     
    15281634dim/src/utilities.lo: dim/src/$(am__dirstamp) \
    15291635        dim/src/$(DEPDIR)/$(am__dirstamp)
     1636
    15301637libDim.la: $(libDim_la_OBJECTS) $(libDim_la_DEPENDENCIES) $(EXTRA_libDim_la_DEPENDENCIES)
    15311638        $(AM_V_CCLD)$(LINK) -rpath $(libdir) $(libDim_la_OBJECTS) $(libDim_la_LIBADD) $(LIBS)
    15321639src/DimSetup.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     1640
    15331641libDimExtension.la: $(libDimExtension_la_OBJECTS) $(libDimExtension_la_DEPENDENCIES) $(EXTRA_libDimExtension_la_DEPENDENCIES)
    15341642        $(AM_V_CXXLD)$(CXXLINK) -rpath $(libdir) $(libDimExtension_la_OBJECTS) $(libDimExtension_la_LIBADD) $(LIBS)
     
    17301838erfa/src/falp03.lo: erfa/src/$(am__dirstamp) \
    17311839        erfa/src/$(DEPDIR)/$(am__dirstamp)
     1840
    17321841libPal.la: $(libPal_la_OBJECTS) $(libPal_la_DEPENDENCIES) $(EXTRA_libPal_la_DEPENDENCIES)
    17331842        $(AM_V_CCLD)$(LINK) -rpath $(libdir) $(libPal_la_OBJECTS) $(libPal_la_LIBADD) $(LIBS)
     
    17671876src/DimWriteStatistics.lo: src/$(am__dirstamp) \
    17681877        src/$(DEPDIR)/$(am__dirstamp)
     1878
    17691879libStateMachine.la: $(libStateMachine_la_OBJECTS) $(libStateMachine_la_DEPENDENCIES) $(EXTRA_libStateMachine_la_DEPENDENCIES)
    17701880        $(AM_V_CXXLD)$(CXXLINK) -rpath $(libdir) $(libStateMachine_la_OBJECTS) $(libStateMachine_la_LIBADD) $(LIBS)
    17711881src/Time.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     1882
    17721883libTime.la: $(libTime_la_OBJECTS) $(libTime_la_DEPENDENCIES) $(EXTRA_libTime_la_DEPENDENCIES)
    17731884        $(AM_V_CXXLD)$(CXXLINK) -rpath $(libdir) $(libTime_la_OBJECTS) $(libTime_la_LIBADD) $(LIBS)
    17741885src/tools.lo: src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     1886
    17751887libTools.la: $(libTools_la_OBJECTS) $(libTools_la_DEPENDENCIES) $(EXTRA_libTools_la_DEPENDENCIES)
    17761888        $(AM_V_CXXLD)$(CXXLINK) -rpath $(libdir) $(libTools_la_OBJECTS) $(libTools_la_LIBADD) $(LIBS)
    17771889install-binPROGRAMS: $(bin_PROGRAMS)
    17781890        @$(NORMAL_INSTALL)
    1779         test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
    17801891        @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
     1892        if test -n "$$list"; then \
     1893          echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \
     1894          $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \
     1895        fi; \
    17811896        for p in $$list; do echo "$$p $$p"; done | \
    17821897        sed 's/$(EXEEXT)$$//' | \
    1783         while read p p1; do if test -f $$p || test -f $$p1; \
    1784           then echo "$$p"; echo "$$p"; else :; fi; \
     1898        while read p p1; do if test -f $$p \
     1899         || test -f $$p1 \
     1900          ; then echo "$$p"; echo "$$p"; else :; fi; \
    17851901        done | \
    1786         sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
     1902        sed -e 'p;s,.*/,,;n;h' \
     1903            -e 's|.*|.|' \
    17871904            -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
    17881905        sed 'N;N;N;s,\n, ,g' | \
     
    18051922        files=`for p in $$list; do echo "$$p"; done | \
    18061923          sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
    1807               -e 's/$$/$(EXEEXT)/' `; \
     1924              -e 's/$$/$(EXEEXT)/' \
     1925        `; \
    18081926        test -n "$$list" || exit 0; \
    18091927        echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
     
    18361954src/agilentctrl.$(OBJEXT): src/$(am__dirstamp) \
    18371955        src/$(DEPDIR)/$(am__dirstamp)
     1956
    18381957agilentctrl$(EXEEXT): $(agilentctrl_OBJECTS) $(agilentctrl_DEPENDENCIES) $(EXTRA_agilentctrl_DEPENDENCIES)
    18391958        @rm -f agilentctrl$(EXEEXT)
    18401959        $(AM_V_CXXLD)$(CXXLINK) $(agilentctrl_OBJECTS) $(agilentctrl_LDADD) $(LIBS)
    18411960src/argv.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     1961
    18421962argv$(EXEEXT): $(argv_OBJECTS) $(argv_DEPENDENCIES) $(EXTRA_argv_DEPENDENCIES)
    18431963        @rm -f argv$(EXEEXT)
    18441964        $(AM_V_CXXLD)$(CXXLINK) $(argv_OBJECTS) $(argv_LDADD) $(LIBS)
     1965
    18451966astro$(EXEEXT): $(astro_OBJECTS) $(astro_DEPENDENCIES) $(EXTRA_astro_DEPENDENCIES)
    18461967        @rm -f astro$(EXEEXT)
     
    18501971src/PixelMap.$(OBJEXT): src/$(am__dirstamp) \
    18511972        src/$(DEPDIR)/$(am__dirstamp)
     1973
    18521974biasctrl$(EXEEXT): $(biasctrl_OBJECTS) $(biasctrl_DEPENDENCIES) $(EXTRA_biasctrl_DEPENDENCIES)
    18531975        @rm -f biasctrl$(EXEEXT)
     
    18551977src/chatclient.$(OBJEXT): src/$(am__dirstamp) \
    18561978        src/$(DEPDIR)/$(am__dirstamp)
     1979
    18571980chatclient$(EXEEXT): $(chatclient_OBJECTS) $(chatclient_DEPENDENCIES) $(EXTRA_chatclient_DEPENDENCIES)
    18581981        @rm -f chatclient$(EXEEXT)
     
    18601983src/chatserv.$(OBJEXT): src/$(am__dirstamp) \
    18611984        src/$(DEPDIR)/$(am__dirstamp)
     1985
    18621986chatserv$(EXEEXT): $(chatserv_OBJECTS) $(chatserv_DEPENDENCIES) $(EXTRA_chatserv_DEPENDENCIES)
    18631987        @rm -f chatserv$(EXEEXT)
     
    18671991src/HeadersFTM.$(OBJEXT): src/$(am__dirstamp) \
    18681992        src/$(DEPDIR)/$(am__dirstamp)
     1993
    18691994cosyctrl$(EXEEXT): $(cosyctrl_OBJECTS) $(cosyctrl_DEPENDENCIES) $(EXTRA_cosyctrl_DEPENDENCIES)
    18701995        @rm -f cosyctrl$(EXEEXT)
     
    18772002        src/$(DEPDIR)/$(am__dirstamp)
    18782003src/Fits.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     2004
    18792005datalogger$(EXEEXT): $(datalogger_OBJECTS) $(datalogger_DEPENDENCIES) $(EXTRA_datalogger_DEPENDENCIES)
    18802006        @rm -f datalogger$(EXEEXT)
     
    18822008src/dclient5.$(OBJEXT): src/$(am__dirstamp) \
    18832009        src/$(DEPDIR)/$(am__dirstamp)
     2010
    18842011dclient5$(EXEEXT): $(dclient5_OBJECTS) $(dclient5_DEPENDENCIES) $(EXTRA_dclient5_DEPENDENCIES)
    18852012        @rm -f dclient5$(EXEEXT)
     
    18952022dim/src/did/did-dui_util.$(OBJEXT): dim/src/did/$(am__dirstamp) \
    18962023        dim/src/did/$(DEPDIR)/$(am__dirstamp)
     2024
    18972025did$(EXEEXT): $(did_OBJECTS) $(did_DEPENDENCIES) $(EXTRA_did_DEPENDENCIES)
    18982026        @rm -f did$(EXEEXT)
     
    19062034src/InterpreterV8.$(OBJEXT): src/$(am__dirstamp) \
    19072035        src/$(DEPDIR)/$(am__dirstamp)
     2036
    19082037dimctrl$(EXEEXT): $(dimctrl_OBJECTS) $(dimctrl_DEPENDENCIES) $(EXTRA_dimctrl_DEPENDENCIES)
    19092038        @rm -f dimctrl$(EXEEXT)
    19102039        $(AM_V_CXXLD)$(CXXLINK) $(dimctrl_OBJECTS) $(dimctrl_LDADD) $(LIBS)
     2040
    19112041dimserver$(EXEEXT): $(dimserver_OBJECTS) $(dimserver_DEPENDENCIES) $(EXTRA_dimserver_DEPENDENCIES)
    19122042        @rm -f dimserver$(EXEEXT)
    19132043        $(AM_V_CXXLD)$(CXXLINK) $(dimserver_OBJECTS) $(dimserver_LDADD) $(LIBS)
    19142044src/dns.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     2045
    19152046dns$(EXEEXT): $(dns_OBJECTS) $(dns_DEPENDENCIES) $(EXTRA_dns_DEPENDENCIES)
    19162047        @rm -f dns$(EXEEXT)
     
    19182049src/drivectrl.$(OBJEXT): src/$(am__dirstamp) \
    19192050        src/$(DEPDIR)/$(am__dirstamp)
     2051
    19202052drivectrl$(EXEEXT): $(drivectrl_OBJECTS) $(drivectrl_DEPENDENCIES) $(EXTRA_drivectrl_DEPENDENCIES)
    19212053        @rm -f drivectrl$(EXEEXT)
     
    19232055src/dserver2.$(OBJEXT): src/$(am__dirstamp) \
    19242056        src/$(DEPDIR)/$(am__dirstamp)
     2057
    19252058dserver2$(EXEEXT): $(dserver2_OBJECTS) $(dserver2_DEPENDENCIES) $(EXTRA_dserver2_DEPENDENCIES)
    19262059        @rm -f dserver2$(EXEEXT)
     
    19282061src/evtserver.$(OBJEXT): src/$(am__dirstamp) \
    19292062        src/$(DEPDIR)/$(am__dirstamp)
     2063
    19302064evtserver$(EXEEXT): $(evtserver_OBJECTS) $(evtserver_DEPENDENCIES) $(EXTRA_evtserver_DEPENDENCIES)
    19312065        @rm -f evtserver$(EXEEXT)
     
    19622096gui/FactGui.$(OBJEXT): gui/$(am__dirstamp) \
    19632097        gui/$(DEPDIR)/$(am__dirstamp)
     2098
    19642099fact$(EXEEXT): $(fact_OBJECTS) $(fact_DEPENDENCIES) $(EXTRA_fact_DEPENDENCIES)
    19652100        @rm -f fact$(EXEEXT)
     
    19682103src/HeadersFAD.$(OBJEXT): src/$(am__dirstamp) \
    19692104        src/$(DEPDIR)/$(am__dirstamp)
     2105
    19702106fad$(EXEEXT): $(fad_OBJECTS) $(fad_DEPENDENCIES) $(EXTRA_fad_DEPENDENCIES)
    19712107        @rm -f fad$(EXEEXT)
     
    19852121src/DataWriteFits2.$(OBJEXT): src/$(am__dirstamp) \
    19862122        src/$(DEPDIR)/$(am__dirstamp)
     2123
    19872124fadctrl$(EXEEXT): $(fadctrl_OBJECTS) $(fadctrl_DEPENDENCIES) $(EXTRA_fadctrl_DEPENDENCIES)
    19882125        @rm -f fadctrl$(EXEEXT)
     
    19902127src/feedback.$(OBJEXT): src/$(am__dirstamp) \
    19912128        src/$(DEPDIR)/$(am__dirstamp)
     2129
    19922130feedback$(EXEEXT): $(feedback_OBJECTS) $(feedback_DEPENDENCIES) $(EXTRA_feedback_DEPENDENCIES)
    19932131        @rm -f feedback$(EXEEXT)
     
    19952133src/fitscheck.$(OBJEXT): src/$(am__dirstamp) \
    19962134        src/$(DEPDIR)/$(am__dirstamp)
     2135
    19972136fitscheck$(EXEEXT): $(fitscheck_OBJECTS) $(fitscheck_DEPENDENCIES) $(EXTRA_fitscheck_DEPENDENCIES)
    19982137        @rm -f fitscheck$(EXEEXT)
     
    20002139src/fitsdump.$(OBJEXT): src/$(am__dirstamp) \
    20012140        src/$(DEPDIR)/$(am__dirstamp)
     2141
    20022142fitsdump$(EXEEXT): $(fitsdump_OBJECTS) $(fitsdump_DEPENDENCIES) $(EXTRA_fitsdump_DEPENDENCIES)
    20032143        @rm -f fitsdump$(EXEEXT)
    20042144        $(AM_V_CXXLD)$(CXXLINK) $(fitsdump_OBJECTS) $(fitsdump_LDADD) $(LIBS)
     2145
    20052146fitsgrep$(EXEEXT): $(fitsgrep_OBJECTS) $(fitsgrep_DEPENDENCIES) $(EXTRA_fitsgrep_DEPENDENCIES)
    20062147        @rm -f fitsgrep$(EXEEXT)
     
    20082149src/fitsloader.$(OBJEXT): src/$(am__dirstamp) \
    20092150        src/$(DEPDIR)/$(am__dirstamp)
     2151
    20102152fitsloader$(EXEEXT): $(fitsloader_OBJECTS) $(fitsloader_DEPENDENCIES) $(EXTRA_fitsloader_DEPENDENCIES)
    20112153        @rm -f fitsloader$(EXEEXT)
     
    20132155src/fitsselect.$(OBJEXT): src/$(am__dirstamp) \
    20142156        src/$(DEPDIR)/$(am__dirstamp)
     2157
    20152158fitsselect$(EXEEXT): $(fitsselect_OBJECTS) $(fitsselect_DEPENDENCIES) $(EXTRA_fitsselect_DEPENDENCIES)
    20162159        @rm -f fitsselect$(EXEEXT)
    20172160        $(AM_V_CXXLD)$(CXXLINK) $(fitsselect_OBJECTS) $(fitsselect_LDADD) $(LIBS)
    20182161src/fsc.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     2162
    20192163fsc$(EXEEXT): $(fsc_OBJECTS) $(fsc_DEPENDENCIES) $(EXTRA_fsc_DEPENDENCIES)
    20202164        @rm -f fsc$(EXEEXT)
     
    20222166src/fscctrl.$(OBJEXT): src/$(am__dirstamp) \
    20232167        src/$(DEPDIR)/$(am__dirstamp)
     2168
    20242169fscctrl$(EXEEXT): $(fscctrl_OBJECTS) $(fscctrl_DEPENDENCIES) $(EXTRA_fscctrl_DEPENDENCIES)
    20252170        @rm -f fscctrl$(EXEEXT)
    20262171        $(AM_V_CXXLD)$(CXXLINK) $(fscctrl_OBJECTS) $(fscctrl_LDADD) $(LIBS)
    20272172src/ftm.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     2173
    20282174ftm$(EXEEXT): $(ftm_OBJECTS) $(ftm_DEPENDENCIES) $(EXTRA_ftm_DEPENDENCIES)
    20292175        @rm -f ftm$(EXEEXT)
     
    20312177src/ftmctrl.$(OBJEXT): src/$(am__dirstamp) \
    20322178        src/$(DEPDIR)/$(am__dirstamp)
     2179
    20332180ftmctrl$(EXEEXT): $(ftmctrl_OBJECTS) $(ftmctrl_DEPENDENCIES) $(EXTRA_ftmctrl_DEPENDENCIES)
    20342181        @rm -f ftmctrl$(EXEEXT)
    20352182        $(AM_V_CXXLD)$(CXXLINK) $(ftmctrl_OBJECTS) $(ftmctrl_LDADD) $(LIBS)
    20362183src/gcn.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     2184
    20372185gcn$(EXEEXT): $(gcn_OBJECTS) $(gcn_DEPENDENCIES) $(EXTRA_gcn_DEPENDENCIES)
    20382186        @rm -f gcn$(EXEEXT)
     
    20402188src/getevent.$(OBJEXT): src/$(am__dirstamp) \
    20412189        src/$(DEPDIR)/$(am__dirstamp)
     2190
    20422191getevent$(EXEEXT): $(getevent_OBJECTS) $(getevent_DEPENDENCIES) $(EXTRA_getevent_DEPENDENCIES)
    20432192        @rm -f getevent$(EXEEXT)
     
    20452194src/gpsctrl.$(OBJEXT): src/$(am__dirstamp) \
    20462195        src/$(DEPDIR)/$(am__dirstamp)
     2196
    20472197gpsctrl$(EXEEXT): $(gpsctrl_OBJECTS) $(gpsctrl_DEPENDENCIES) $(EXTRA_gpsctrl_DEPENDENCIES)
    20482198        @rm -f gpsctrl$(EXEEXT)
     
    20502200src/lidctrl.$(OBJEXT): src/$(am__dirstamp) \
    20512201        src/$(DEPDIR)/$(am__dirstamp)
     2202
    20522203lidctrl$(EXEEXT): $(lidctrl_OBJECTS) $(lidctrl_DEPENDENCIES) $(EXTRA_lidctrl_DEPENDENCIES)
    20532204        @rm -f lidctrl$(EXEEXT)
    20542205        $(AM_V_CXXLD)$(CXXLINK) $(lidctrl_OBJECTS) $(lidctrl_LDADD) $(LIBS)
    20552206src/log.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     2207
    20562208log$(EXEEXT): $(log_OBJECTS) $(log_DEPENDENCIES) $(EXTRA_log_DEPENDENCIES)
    20572209        @rm -f log$(EXEEXT)
     
    20592211src/logtime.$(OBJEXT): src/$(am__dirstamp) \
    20602212        src/$(DEPDIR)/$(am__dirstamp)
     2213
    20612214logtime$(EXEEXT): $(logtime_OBJECTS) $(logtime_DEPENDENCIES) $(EXTRA_logtime_DEPENDENCIES)
    20622215        @rm -f logtime$(EXEEXT)
     
    20642217src/magiclidar.$(OBJEXT): src/$(am__dirstamp) \
    20652218        src/$(DEPDIR)/$(am__dirstamp)
     2219
    20662220magiclidar$(EXEEXT): $(magiclidar_OBJECTS) $(magiclidar_DEPENDENCIES) $(EXTRA_magiclidar_DEPENDENCIES)
    20672221        @rm -f magiclidar$(EXEEXT)
     
    20692223src/magicweather.$(OBJEXT): src/$(am__dirstamp) \
    20702224        src/$(DEPDIR)/$(am__dirstamp)
     2225
    20712226magicweather$(EXEEXT): $(magicweather_OBJECTS) $(magicweather_DEPENDENCIES) $(EXTRA_magicweather_DEPENDENCIES)
    20722227        @rm -f magicweather$(EXEEXT)
     
    20742229src/makedata.$(OBJEXT): src/$(am__dirstamp) \
    20752230        src/$(DEPDIR)/$(am__dirstamp)
     2231
    20762232makedata$(EXEEXT): $(makedata_OBJECTS) $(makedata_DEPENDENCIES) $(EXTRA_makedata_DEPENDENCIES)
    20772233        @rm -f makedata$(EXEEXT)
     
    20792235src/makeplots.$(OBJEXT): src/$(am__dirstamp) \
    20802236        src/$(DEPDIR)/$(am__dirstamp)
     2237
    20812238makeplots$(EXEEXT): $(makeplots_OBJECTS) $(makeplots_DEPENDENCIES) $(EXTRA_makeplots_DEPENDENCIES)
    20822239        @rm -f makeplots$(EXEEXT)
     
    20842241src/makeschedule.$(OBJEXT): src/$(am__dirstamp) \
    20852242        src/$(DEPDIR)/$(am__dirstamp)
     2243
    20862244makeschedule$(EXEEXT): $(makeschedule_OBJECTS) $(makeschedule_DEPENDENCIES) $(EXTRA_makeschedule_DEPENDENCIES)
    20872245        @rm -f makeschedule$(EXEEXT)
    20882246        $(AM_V_CXXLD)$(CXXLINK) $(makeschedule_OBJECTS) $(makeschedule_LDADD) $(LIBS)
    20892247src/mcp.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     2248
    20902249mcp$(EXEEXT): $(mcp_OBJECTS) $(mcp_DEPENDENCIES) $(EXTRA_mcp_DEPENDENCIES)
    20912250        @rm -f mcp$(EXEEXT)
    20922251        $(AM_V_CXXLD)$(CXXLINK) $(mcp_OBJECTS) $(mcp_LDADD) $(LIBS)
    20932252src/moon.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     2253
    20942254moon$(EXEEXT): $(moon_OBJECTS) $(moon_DEPENDENCIES) $(EXTRA_moon_DEPENDENCIES)
    20952255        @rm -f moon$(EXEEXT)
     
    20972257src/pfminictrl.$(OBJEXT): src/$(am__dirstamp) \
    20982258        src/$(DEPDIR)/$(am__dirstamp)
     2259
    20992260pfminictrl$(EXEEXT): $(pfminictrl_OBJECTS) $(pfminictrl_DEPENDENCIES) $(EXTRA_pfminictrl_DEPENDENCIES)
    21002261        @rm -f pfminictrl$(EXEEXT)
     
    21042265src/HeadersPower.$(OBJEXT): src/$(am__dirstamp) \
    21052266        src/$(DEPDIR)/$(am__dirstamp)
     2267
    21062268pwrctrl$(EXEEXT): $(pwrctrl_OBJECTS) $(pwrctrl_DEPENDENCIES) $(EXTRA_pwrctrl_DEPENDENCIES)
    21072269        @rm -f pwrctrl$(EXEEXT)
     
    21092271src/ratecontrol.$(OBJEXT): src/$(am__dirstamp) \
    21102272        src/$(DEPDIR)/$(am__dirstamp)
     2273
    21112274ratecontrol$(EXEEXT): $(ratecontrol_OBJECTS) $(ratecontrol_DEPENDENCIES) $(EXTRA_ratecontrol_DEPENDENCIES)
    21122275        @rm -f ratecontrol$(EXEEXT)
     
    21142277src/ratescan.$(OBJEXT): src/$(am__dirstamp) \
    21152278        src/$(DEPDIR)/$(am__dirstamp)
     2279
    21162280ratescan$(EXEEXT): $(ratescan_OBJECTS) $(ratescan_DEPENDENCIES) $(EXTRA_ratescan_DEPENDENCIES)
    21172281        @rm -f ratescan$(EXEEXT)
     
    21192283src/readfits.$(OBJEXT): src/$(am__dirstamp) \
    21202284        src/$(DEPDIR)/$(am__dirstamp)
     2285
    21212286readfits$(EXEEXT): $(readfits_OBJECTS) $(readfits_DEPENDENCIES) $(EXTRA_readfits_DEPENDENCIES)
    21222287        @rm -f readfits$(EXEEXT)
     
    21242289src/rootifysql.$(OBJEXT): src/$(am__dirstamp) \
    21252290        src/$(DEPDIR)/$(am__dirstamp)
     2291
    21262292rootifysql$(EXEEXT): $(rootifysql_OBJECTS) $(rootifysql_DEPENDENCIES) $(EXTRA_rootifysql_DEPENDENCIES)
    21272293        @rm -f rootifysql$(EXEEXT)
    21282294        $(AM_V_CXXLD)$(CXXLINK) $(rootifysql_OBJECTS) $(rootifysql_LDADD) $(LIBS)
     2295
    21292296sched$(EXEEXT): $(sched_OBJECTS) $(sched_DEPENDENCIES) $(EXTRA_sched_DEPENDENCIES)
    21302297        @rm -f sched$(EXEEXT)
     
    21322299src/scheduler.$(OBJEXT): src/$(am__dirstamp) \
    21332300        src/$(DEPDIR)/$(am__dirstamp)
     2301
    21342302scheduler$(EXEEXT): $(scheduler_OBJECTS) $(scheduler_DEPENDENCIES) $(EXTRA_scheduler_DEPENDENCIES)
    21352303        @rm -f scheduler$(EXEEXT)
     
    21372305src/showlog.$(OBJEXT): src/$(am__dirstamp) \
    21382306        src/$(DEPDIR)/$(am__dirstamp)
     2307
    21392308showlog$(EXEEXT): $(showlog_OBJECTS) $(showlog_DEPENDENCIES) $(EXTRA_showlog_DEPENDENCIES)
    21402309        @rm -f showlog$(EXEEXT)
     
    21422311src/skypeclient.$(OBJEXT): src/$(am__dirstamp) \
    21432312        src/$(DEPDIR)/$(am__dirstamp)
     2313
    21442314skypeclient$(EXEEXT): $(skypeclient_OBJECTS) $(skypeclient_DEPENDENCIES) $(EXTRA_skypeclient_DEPENDENCIES)
    21452315        @rm -f skypeclient$(EXEEXT)
     
    21472317src/smartfact.$(OBJEXT): src/$(am__dirstamp) \
    21482318        src/$(DEPDIR)/$(am__dirstamp)
     2319
    21492320smartfact$(EXEEXT): $(smartfact_OBJECTS) $(smartfact_DEPENDENCIES) $(EXTRA_smartfact_DEPENDENCIES)
    21502321        @rm -f smartfact$(EXEEXT)
     
    21522323src/sqmctrl.$(OBJEXT): src/$(am__dirstamp) \
    21532324        src/$(DEPDIR)/$(am__dirstamp)
     2325
    21542326sqmctrl$(EXEEXT): $(sqmctrl_OBJECTS) $(sqmctrl_DEPENDENCIES) $(EXTRA_sqmctrl_DEPENDENCIES)
    21552327        @rm -f sqmctrl$(EXEEXT)
     
    21572329src/temperature.$(OBJEXT): src/$(am__dirstamp) \
    21582330        src/$(DEPDIR)/$(am__dirstamp)
     2331
    21592332temperature$(EXEEXT): $(temperature_OBJECTS) $(temperature_DEPENDENCIES) $(EXTRA_temperature_DEPENDENCIES)
    21602333        @rm -f temperature$(EXEEXT)
    21612334        $(AM_V_CXXLD)$(CXXLINK) $(temperature_OBJECTS) $(temperature_LDADD) $(LIBS)
    21622335src/test.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     2336
    21632337test$(EXEEXT): $(test_OBJECTS) $(test_DEPENDENCIES) $(EXTRA_test_DEPENDENCIES)
    21642338        @rm -f test$(EXEEXT)
    21652339        $(AM_V_CXXLD)$(CXXLINK) $(test_OBJECTS) $(test_LDADD) $(LIBS)
    21662340src/time.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     2341
    21672342time$(EXEEXT): $(time_OBJECTS) $(time_DEPENDENCIES) $(EXTRA_time_DEPENDENCIES)
    21682343        @rm -f time$(EXEEXT)
     
    21702345src/timecheck.$(OBJEXT): src/$(am__dirstamp) \
    21712346        src/$(DEPDIR)/$(am__dirstamp)
     2347
    21722348timecheck$(EXEEXT): $(timecheck_OBJECTS) $(timecheck_DEPENDENCIES) $(EXTRA_timecheck_DEPENDENCIES)
    21732349        @rm -f timecheck$(EXEEXT)
     
    21752351src/tngweather.$(OBJEXT): src/$(am__dirstamp) \
    21762352        src/$(DEPDIR)/$(am__dirstamp)
     2353
    21772354tngweather$(EXEEXT): $(tngweather_OBJECTS) $(tngweather_DEPENDENCIES) $(EXTRA_tngweather_DEPENDENCIES)
    21782355        @rm -f tngweather$(EXEEXT)
     
    21802357src/triggerschedule.$(OBJEXT): src/$(am__dirstamp) \
    21812358        src/$(DEPDIR)/$(am__dirstamp)
     2359
    21822360triggerschedule$(EXEEXT): $(triggerschedule_OBJECTS) $(triggerschedule_DEPENDENCIES) $(EXTRA_triggerschedule_DEPENDENCIES)
    21832361        @rm -f triggerschedule$(EXEEXT)
     
    22152393src/viewer-PixelMap.$(OBJEXT): src/$(am__dirstamp) \
    22162394        src/$(DEPDIR)/$(am__dirstamp)
     2395
    22172396viewer$(EXEEXT): $(viewer_OBJECTS) $(viewer_DEPENDENCIES) $(EXTRA_viewer_DEPENDENCIES)
    22182397        @rm -f viewer$(EXEEXT)
     
    22322411        dim/src/webDid/$(am__dirstamp) \
    22332412        dim/src/webDid/$(DEPDIR)/$(am__dirstamp)
     2413
    22342414webDid$(EXEEXT): $(webDid_OBJECTS) $(webDid_DEPENDENCIES) $(EXTRA_webDid_DEPENDENCIES)
    22352415        @rm -f webDid$(EXEEXT)
    22362416        $(AM_V_CCLD)$(LINK) $(webDid_OBJECTS) $(webDid_LDADD) $(LIBS)
    22372417src/zfits.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp)
     2418
    22382419zfits$(EXEEXT): $(zfits_OBJECTS) $(zfits_DEPENDENCIES) $(EXTRA_zfits_DEPENDENCIES)
    22392420        @rm -f zfits$(EXEEXT)
     
    22422423mostlyclean-compile:
    22432424        -rm -f *.$(OBJEXT)
    2244         -rm -f dim/src/conn_handler.$(OBJEXT)
    2245         -rm -f dim/src/conn_handler.lo
    2246         -rm -f dim/src/copy_swap.$(OBJEXT)
    2247         -rm -f dim/src/copy_swap.lo
    2248         -rm -f dim/src/dic.$(OBJEXT)
    2249         -rm -f dim/src/dic.lo
    2250         -rm -f dim/src/diccpp.$(OBJEXT)
    2251         -rm -f dim/src/diccpp.lo
    2252         -rm -f dim/src/did/did-did.$(OBJEXT)
    2253         -rm -f dim/src/did/did-dui_util.$(OBJEXT)
    2254         -rm -f dim/src/dim_thr.$(OBJEXT)
    2255         -rm -f dim/src/dim_thr.lo
    2256         -rm -f dim/src/dimcpp.$(OBJEXT)
    2257         -rm -f dim/src/dimcpp.lo
    2258         -rm -f dim/src/dis.$(OBJEXT)
    2259         -rm -f dim/src/dis.lo
    2260         -rm -f dim/src/discpp.$(OBJEXT)
    2261         -rm -f dim/src/discpp.lo
    2262         -rm -f dim/src/dll.$(OBJEXT)
    2263         -rm -f dim/src/dll.lo
    2264         -rm -f dim/src/dna.$(OBJEXT)
    2265         -rm -f dim/src/dna.lo
    2266         -rm -f dim/src/dtq.$(OBJEXT)
    2267         -rm -f dim/src/dtq.lo
    2268         -rm -f dim/src/hash.$(OBJEXT)
    2269         -rm -f dim/src/hash.lo
    2270         -rm -f dim/src/open_dns.$(OBJEXT)
    2271         -rm -f dim/src/open_dns.lo
    2272         -rm -f dim/src/sll.$(OBJEXT)
    2273         -rm -f dim/src/sll.lo
    2274         -rm -f dim/src/swap.$(OBJEXT)
    2275         -rm -f dim/src/swap.lo
    2276         -rm -f dim/src/tcpip.$(OBJEXT)
    2277         -rm -f dim/src/tcpip.lo
    2278         -rm -f dim/src/tokenstring.$(OBJEXT)
    2279         -rm -f dim/src/tokenstring.lo
    2280         -rm -f dim/src/utilities.$(OBJEXT)
    2281         -rm -f dim/src/utilities.lo
    2282         -rm -f dim/src/webDid/webDid-webDid.$(OBJEXT)
    2283         -rm -f dim/src/webDid/webDid-webTcpip.$(OBJEXT)
    2284         -rm -f erfa/src/a2af.$(OBJEXT)
    2285         -rm -f erfa/src/a2af.lo
    2286         -rm -f erfa/src/a2tf.$(OBJEXT)
    2287         -rm -f erfa/src/a2tf.lo
    2288         -rm -f erfa/src/af2a.$(OBJEXT)
    2289         -rm -f erfa/src/af2a.lo
    2290         -rm -f erfa/src/anp.$(OBJEXT)
    2291         -rm -f erfa/src/anp.lo
    2292         -rm -f erfa/src/anpm.$(OBJEXT)
    2293         -rm -f erfa/src/anpm.lo
    2294         -rm -f erfa/src/bpn2xy.$(OBJEXT)
    2295         -rm -f erfa/src/bpn2xy.lo
    2296         -rm -f erfa/src/c2s.$(OBJEXT)
    2297         -rm -f erfa/src/c2s.lo
    2298         -rm -f erfa/src/cal2jd.$(OBJEXT)
    2299         -rm -f erfa/src/cal2jd.lo
    2300         -rm -f erfa/src/cp.$(OBJEXT)
    2301         -rm -f erfa/src/cp.lo
    2302         -rm -f erfa/src/cr.$(OBJEXT)
    2303         -rm -f erfa/src/cr.lo
    2304         -rm -f erfa/src/d2tf.$(OBJEXT)
    2305         -rm -f erfa/src/d2tf.lo
    2306         -rm -f erfa/src/dat.$(OBJEXT)
    2307         -rm -f erfa/src/dat.lo
    2308         -rm -f erfa/src/ee06a.$(OBJEXT)
    2309         -rm -f erfa/src/ee06a.lo
    2310         -rm -f erfa/src/eform.$(OBJEXT)
    2311         -rm -f erfa/src/eform.lo
    2312         -rm -f erfa/src/eors.$(OBJEXT)
    2313         -rm -f erfa/src/eors.lo
    2314         -rm -f erfa/src/epb.$(OBJEXT)
    2315         -rm -f erfa/src/epb.lo
    2316         -rm -f erfa/src/epb2jd.$(OBJEXT)
    2317         -rm -f erfa/src/epb2jd.lo
    2318         -rm -f erfa/src/epj.$(OBJEXT)
    2319         -rm -f erfa/src/epj.lo
    2320         -rm -f erfa/src/epj2jd.$(OBJEXT)
    2321         -rm -f erfa/src/epj2jd.lo
    2322         -rm -f erfa/src/epv00.$(OBJEXT)
    2323         -rm -f erfa/src/epv00.lo
    2324         -rm -f erfa/src/era00.$(OBJEXT)
    2325         -rm -f erfa/src/era00.lo
    2326         -rm -f erfa/src/fad03.$(OBJEXT)
    2327         -rm -f erfa/src/fad03.lo
    2328         -rm -f erfa/src/fae03.$(OBJEXT)
    2329         -rm -f erfa/src/fae03.lo
    2330         -rm -f erfa/src/faf03.$(OBJEXT)
    2331         -rm -f erfa/src/faf03.lo
    2332         -rm -f erfa/src/faju03.$(OBJEXT)
    2333         -rm -f erfa/src/faju03.lo
    2334         -rm -f erfa/src/fal03.$(OBJEXT)
    2335         -rm -f erfa/src/fal03.lo
    2336         -rm -f erfa/src/falp03.$(OBJEXT)
    2337         -rm -f erfa/src/falp03.lo
    2338         -rm -f erfa/src/fama03.$(OBJEXT)
    2339         -rm -f erfa/src/fama03.lo
    2340         -rm -f erfa/src/fame03.$(OBJEXT)
    2341         -rm -f erfa/src/fame03.lo
    2342         -rm -f erfa/src/faom03.$(OBJEXT)
    2343         -rm -f erfa/src/faom03.lo
    2344         -rm -f erfa/src/fapa03.$(OBJEXT)
    2345         -rm -f erfa/src/fapa03.lo
    2346         -rm -f erfa/src/fasa03.$(OBJEXT)
    2347         -rm -f erfa/src/fasa03.lo
    2348         -rm -f erfa/src/faur03.$(OBJEXT)
    2349         -rm -f erfa/src/faur03.lo
    2350         -rm -f erfa/src/fave03.$(OBJEXT)
    2351         -rm -f erfa/src/fave03.lo
    2352         -rm -f erfa/src/fk5hip.$(OBJEXT)
    2353         -rm -f erfa/src/fk5hip.lo
    2354         -rm -f erfa/src/fk5hz.$(OBJEXT)
    2355         -rm -f erfa/src/fk5hz.lo
    2356         -rm -f erfa/src/fw2m.$(OBJEXT)
    2357         -rm -f erfa/src/fw2m.lo
    2358         -rm -f erfa/src/gd2gc.$(OBJEXT)
    2359         -rm -f erfa/src/gd2gc.lo
    2360         -rm -f erfa/src/gd2gce.$(OBJEXT)
    2361         -rm -f erfa/src/gd2gce.lo
    2362         -rm -f erfa/src/gmst06.$(OBJEXT)
    2363         -rm -f erfa/src/gmst06.lo
    2364         -rm -f erfa/src/gst06.$(OBJEXT)
    2365         -rm -f erfa/src/gst06.lo
    2366         -rm -f erfa/src/gst06a.$(OBJEXT)
    2367         -rm -f erfa/src/gst06a.lo
    2368         -rm -f erfa/src/hfk5z.$(OBJEXT)
    2369         -rm -f erfa/src/hfk5z.lo
    2370         -rm -f erfa/src/ir.$(OBJEXT)
    2371         -rm -f erfa/src/ir.lo
    2372         -rm -f erfa/src/jd2cal.$(OBJEXT)
    2373         -rm -f erfa/src/jd2cal.lo
    2374         -rm -f erfa/src/nut00a.$(OBJEXT)
    2375         -rm -f erfa/src/nut00a.lo
    2376         -rm -f erfa/src/nut06a.$(OBJEXT)
    2377         -rm -f erfa/src/nut06a.lo
    2378         -rm -f erfa/src/obl06.$(OBJEXT)
    2379         -rm -f erfa/src/obl06.lo
    2380         -rm -f erfa/src/p06e.$(OBJEXT)
    2381         -rm -f erfa/src/p06e.lo
    2382         -rm -f erfa/src/pap.$(OBJEXT)
    2383         -rm -f erfa/src/pap.lo
    2384         -rm -f erfa/src/pas.$(OBJEXT)
    2385         -rm -f erfa/src/pas.lo
    2386         -rm -f erfa/src/pdp.$(OBJEXT)
    2387         -rm -f erfa/src/pdp.lo
    2388         -rm -f erfa/src/pfw06.$(OBJEXT)
    2389         -rm -f erfa/src/pfw06.lo
    2390         -rm -f erfa/src/plan94.$(OBJEXT)
    2391         -rm -f erfa/src/plan94.lo
    2392         -rm -f erfa/src/pm.$(OBJEXT)
    2393         -rm -f erfa/src/pm.lo
    2394         -rm -f erfa/src/pmat06.$(OBJEXT)
    2395         -rm -f erfa/src/pmat06.lo
    2396         -rm -f erfa/src/pmp.$(OBJEXT)
    2397         -rm -f erfa/src/pmp.lo
    2398         -rm -f erfa/src/pn.$(OBJEXT)
    2399         -rm -f erfa/src/pn.lo
    2400         -rm -f erfa/src/pnm06a.$(OBJEXT)
    2401         -rm -f erfa/src/pnm06a.lo
    2402         -rm -f erfa/src/pv2s.$(OBJEXT)
    2403         -rm -f erfa/src/pv2s.lo
    2404         -rm -f erfa/src/pxp.$(OBJEXT)
    2405         -rm -f erfa/src/pxp.lo
    2406         -rm -f erfa/src/refco.$(OBJEXT)
    2407         -rm -f erfa/src/refco.lo
    2408         -rm -f erfa/src/rm2v.$(OBJEXT)
    2409         -rm -f erfa/src/rm2v.lo
    2410         -rm -f erfa/src/rv2m.$(OBJEXT)
    2411         -rm -f erfa/src/rv2m.lo
    2412         -rm -f erfa/src/rx.$(OBJEXT)
    2413         -rm -f erfa/src/rx.lo
    2414         -rm -f erfa/src/rxp.$(OBJEXT)
    2415         -rm -f erfa/src/rxp.lo
    2416         -rm -f erfa/src/rxpv.$(OBJEXT)
    2417         -rm -f erfa/src/rxpv.lo
    2418         -rm -f erfa/src/rxr.$(OBJEXT)
    2419         -rm -f erfa/src/rxr.lo
    2420         -rm -f erfa/src/ry.$(OBJEXT)
    2421         -rm -f erfa/src/ry.lo
    2422         -rm -f erfa/src/rz.$(OBJEXT)
    2423         -rm -f erfa/src/rz.lo
    2424         -rm -f erfa/src/s06.$(OBJEXT)
    2425         -rm -f erfa/src/s06.lo
    2426         -rm -f erfa/src/s2c.$(OBJEXT)
    2427         -rm -f erfa/src/s2c.lo
    2428         -rm -f erfa/src/sepp.$(OBJEXT)
    2429         -rm -f erfa/src/sepp.lo
    2430         -rm -f erfa/src/seps.$(OBJEXT)
    2431         -rm -f erfa/src/seps.lo
    2432         -rm -f erfa/src/sxp.$(OBJEXT)
    2433         -rm -f erfa/src/sxp.lo
    2434         -rm -f erfa/src/tf2a.$(OBJEXT)
    2435         -rm -f erfa/src/tf2a.lo
    2436         -rm -f erfa/src/tf2d.$(OBJEXT)
    2437         -rm -f erfa/src/tf2d.lo
    2438         -rm -f erfa/src/tr.$(OBJEXT)
    2439         -rm -f erfa/src/tr.lo
    2440         -rm -f erfa/src/trxp.$(OBJEXT)
    2441         -rm -f erfa/src/trxp.lo
    2442         -rm -f erfa/src/zp.$(OBJEXT)
    2443         -rm -f erfa/src/zp.lo
    2444         -rm -f gui/BasicGlCamera.$(OBJEXT)
    2445         -rm -f gui/BasicGlCamera.moc.$(OBJEXT)
    2446         -rm -f gui/CheckBoxDelegate.$(OBJEXT)
    2447         -rm -f gui/DockWindow.$(OBJEXT)
    2448         -rm -f gui/DockWindow.moc.$(OBJEXT)
    2449         -rm -f gui/FactGui.$(OBJEXT)
    2450         -rm -f gui/HtmlDelegate.$(OBJEXT)
    2451         -rm -f gui/MainWindow.$(OBJEXT)
    2452         -rm -f gui/MainWindow.moc.$(OBJEXT)
    2453         -rm -f gui/QCameraWidget.$(OBJEXT)
    2454         -rm -f gui/QCameraWidget.moc.$(OBJEXT)
    2455         -rm -f gui/RawEventsViewer/viewer-RawEventsViewer.$(OBJEXT)
    2456         -rm -f gui/RawEventsViewer/viewer-RawEventsViewer.moc.$(OBJEXT)
    2457         -rm -f gui/design.$(OBJEXT)
    2458         -rm -f gui/fact.$(OBJEXT)
    2459         -rm -f gui/viewer-BasicGlCamera.$(OBJEXT)
    2460         -rm -f gui/viewer-BasicGlCamera.moc.$(OBJEXT)
    2461         -rm -f gui/viewer-Q3DCameraWidget.$(OBJEXT)
    2462         -rm -f gui/viewer-Q3DCameraWidget.moc.$(OBJEXT)
    2463         -rm -f gui/viewer-QCameraWidget.$(OBJEXT)
    2464         -rm -f gui/viewer-QCameraWidget.moc.$(OBJEXT)
    2465         -rm -f pal/pal1Atms.$(OBJEXT)
    2466         -rm -f pal/pal1Atms.lo
    2467         -rm -f pal/pal1Atmt.$(OBJEXT)
    2468         -rm -f pal/pal1Atmt.lo
    2469         -rm -f pal/palAmpqk.$(OBJEXT)
    2470         -rm -f pal/palAmpqk.lo
    2471         -rm -f pal/palAoppa.$(OBJEXT)
    2472         -rm -f pal/palAoppa.lo
    2473         -rm -f pal/palAoppat.$(OBJEXT)
    2474         -rm -f pal/palAoppat.lo
    2475         -rm -f pal/palAopqk.$(OBJEXT)
    2476         -rm -f pal/palAopqk.lo
    2477         -rm -f pal/palDat.$(OBJEXT)
    2478         -rm -f pal/palDat.lo
    2479         -rm -f pal/palDeuler.$(OBJEXT)
    2480         -rm -f pal/palDeuler.lo
    2481         -rm -f pal/palDmoon.$(OBJEXT)
    2482         -rm -f pal/palDmoon.lo
    2483         -rm -f pal/palDrange.$(OBJEXT)
    2484         -rm -f pal/palDrange.lo
    2485         -rm -f pal/palDt.$(OBJEXT)
    2486         -rm -f pal/palDt.lo
    2487         -rm -f pal/palDtt.$(OBJEXT)
    2488         -rm -f pal/palDtt.lo
    2489         -rm -f pal/palEvp.$(OBJEXT)
    2490         -rm -f pal/palEvp.lo
    2491         -rm -f pal/palMappa.$(OBJEXT)
    2492         -rm -f pal/palMappa.lo
    2493         -rm -f pal/palMapqkz.$(OBJEXT)
    2494         -rm -f pal/palMapqkz.lo
    2495         -rm -f pal/palNut.$(OBJEXT)
    2496         -rm -f pal/palNut.lo
    2497         -rm -f pal/palNutc.$(OBJEXT)
    2498         -rm -f pal/palNutc.lo
    2499         -rm -f pal/palOne2One.$(OBJEXT)
    2500         -rm -f pal/palOne2One.lo
    2501         -rm -f pal/palPlanet.$(OBJEXT)
    2502         -rm -f pal/palPlanet.lo
    2503         -rm -f pal/palPrenut.$(OBJEXT)
    2504         -rm -f pal/palPrenut.lo
    2505         -rm -f pal/palPvobs.$(OBJEXT)
    2506         -rm -f pal/palPvobs.lo
    2507         -rm -f pal/palRdplan.$(OBJEXT)
    2508         -rm -f pal/palRdplan.lo
    2509         -rm -f pal/palRefco.$(OBJEXT)
    2510         -rm -f pal/palRefco.lo
    2511         -rm -f pal/palRefro.$(OBJEXT)
    2512         -rm -f pal/palRefro.lo
    2513         -rm -f pal/palRefz.$(OBJEXT)
    2514         -rm -f pal/palRefz.lo
    2515         -rm -f src/Configuration.$(OBJEXT)
    2516         -rm -f src/Configuration.lo
    2517         -rm -f src/Connection.$(OBJEXT)
    2518         -rm -f src/Connection.lo
    2519         -rm -f src/ConnectionUSB.$(OBJEXT)
    2520         -rm -f src/ConnectionUSB.lo
    2521         -rm -f src/Console.$(OBJEXT)
    2522         -rm -f src/Console.lo
    2523         -rm -f src/Converter.$(OBJEXT)
    2524         -rm -f src/Converter.lo
    2525         -rm -f src/DataCalib.$(OBJEXT)
    2526         -rm -f src/DataProcessorImp.$(OBJEXT)
    2527         -rm -f src/DataWriteFits.$(OBJEXT)
    2528         -rm -f src/DataWriteFits2.$(OBJEXT)
    2529         -rm -f src/DataWriteRaw.$(OBJEXT)
    2530         -rm -f src/Description.$(OBJEXT)
    2531         -rm -f src/Description.lo
    2532         -rm -f src/DimDescriptionService.$(OBJEXT)
    2533         -rm -f src/DimDescriptionService.lo
    2534         -rm -f src/DimErrorRedirecter.$(OBJEXT)
    2535         -rm -f src/DimErrorRedirecter.lo
    2536         -rm -f src/DimNetwork.$(OBJEXT)
    2537         -rm -f src/DimNetwork.lo
    2538         -rm -f src/DimServerList.$(OBJEXT)
    2539         -rm -f src/DimServerList.lo
    2540         -rm -f src/DimServiceInfoList.$(OBJEXT)
    2541         -rm -f src/DimServiceInfoList.lo
    2542         -rm -f src/DimSetup.$(OBJEXT)
    2543         -rm -f src/DimSetup.lo
    2544         -rm -f src/DimState.$(OBJEXT)
    2545         -rm -f src/DimWriteStatistics.$(OBJEXT)
    2546         -rm -f src/DimWriteStatistics.lo
    2547         -rm -f src/Event.$(OBJEXT)
    2548         -rm -f src/Event.lo
    2549         -rm -f src/EventBuilder.$(OBJEXT)
    2550         -rm -f src/EventImp.$(OBJEXT)
    2551         -rm -f src/EventImp.lo
    2552         -rm -f src/FACT.$(OBJEXT)
    2553         -rm -f src/FACT.lo
    2554         -rm -f src/Fits.$(OBJEXT)
    2555         -rm -f src/FitsFile.$(OBJEXT)
    2556         -rm -f src/HeadersFAD.$(OBJEXT)
    2557         -rm -f src/HeadersFTM.$(OBJEXT)
    2558         -rm -f src/HeadersPower.$(OBJEXT)
    2559         -rm -f src/InterpreterV8.$(OBJEXT)
    2560         -rm -f src/MessageDim.$(OBJEXT)
    2561         -rm -f src/MessageDim.lo
    2562         -rm -f src/MessageImp.$(OBJEXT)
    2563         -rm -f src/MessageImp.lo
    2564         -rm -f src/PixelMap.$(OBJEXT)
    2565         -rm -f src/Readline.$(OBJEXT)
    2566         -rm -f src/Readline.lo
    2567         -rm -f src/ReadlineColor.$(OBJEXT)
    2568         -rm -f src/ReadlineColor.lo
    2569         -rm -f src/ReadlineWindow.$(OBJEXT)
    2570         -rm -f src/ReadlineWindow.lo
    2571         -rm -f src/RemoteControl.$(OBJEXT)
    2572         -rm -f src/ServiceList.$(OBJEXT)
    2573         -rm -f src/ServiceList.lo
    2574         -rm -f src/Shell.$(OBJEXT)
    2575         -rm -f src/Shell.lo
    2576         -rm -f src/State.$(OBJEXT)
    2577         -rm -f src/State.lo
    2578         -rm -f src/StateMachine.$(OBJEXT)
    2579         -rm -f src/StateMachine.lo
    2580         -rm -f src/StateMachineDim.$(OBJEXT)
    2581         -rm -f src/StateMachineDim.lo
    2582         -rm -f src/StateMachineDimControl.$(OBJEXT)
    2583         -rm -f src/StateMachineImp.$(OBJEXT)
    2584         -rm -f src/StateMachineImp.lo
    2585         -rm -f src/Time.$(OBJEXT)
    2586         -rm -f src/Time.lo
    2587         -rm -f src/WindowLog.$(OBJEXT)
    2588         -rm -f src/WindowLog.lo
    2589         -rm -f src/agilentctrl.$(OBJEXT)
    2590         -rm -f src/argv.$(OBJEXT)
    2591         -rm -f src/biasctrl.$(OBJEXT)
    2592         -rm -f src/chatclient.$(OBJEXT)
    2593         -rm -f src/chatserv.$(OBJEXT)
    2594         -rm -f src/cosyctrl.$(OBJEXT)
    2595         -rm -f src/datalogger.$(OBJEXT)
    2596         -rm -f src/dclient5.$(OBJEXT)
    2597         -rm -f src/dimctrl.$(OBJEXT)
    2598         -rm -f src/dns.$(OBJEXT)
    2599         -rm -f src/drivectrl.$(OBJEXT)
    2600         -rm -f src/dserver2.$(OBJEXT)
    2601         -rm -f src/evtserver.$(OBJEXT)
    2602         -rm -f src/fad.$(OBJEXT)
    2603         -rm -f src/fadctrl.$(OBJEXT)
    2604         -rm -f src/feedback.$(OBJEXT)
    2605         -rm -f src/fitscheck.$(OBJEXT)
    2606         -rm -f src/fitsdump.$(OBJEXT)
    2607         -rm -f src/fitsloader.$(OBJEXT)
    2608         -rm -f src/fitsselect.$(OBJEXT)
    2609         -rm -f src/fsc.$(OBJEXT)
    2610         -rm -f src/fscctrl.$(OBJEXT)
    2611         -rm -f src/ftm.$(OBJEXT)
    2612         -rm -f src/ftmctrl.$(OBJEXT)
    2613         -rm -f src/gcn.$(OBJEXT)
    2614         -rm -f src/getevent.$(OBJEXT)
    2615         -rm -f src/gpsctrl.$(OBJEXT)
    2616         -rm -f src/lidctrl.$(OBJEXT)
    2617         -rm -f src/log.$(OBJEXT)
    2618         -rm -f src/logtime.$(OBJEXT)
    2619         -rm -f src/magiclidar.$(OBJEXT)
    2620         -rm -f src/magicweather.$(OBJEXT)
    2621         -rm -f src/makedata.$(OBJEXT)
    2622         -rm -f src/makeplots.$(OBJEXT)
    2623         -rm -f src/makeschedule.$(OBJEXT)
    2624         -rm -f src/mcp.$(OBJEXT)
    2625         -rm -f src/moon.$(OBJEXT)
    2626         -rm -f src/pfminictrl.$(OBJEXT)
    2627         -rm -f src/pwrctrl.$(OBJEXT)
    2628         -rm -f src/ratecontrol.$(OBJEXT)
    2629         -rm -f src/ratescan.$(OBJEXT)
    2630         -rm -f src/readfits.$(OBJEXT)
    2631         -rm -f src/rootifysql.$(OBJEXT)
    2632         -rm -f src/scheduler.$(OBJEXT)
    2633         -rm -f src/showlog.$(OBJEXT)
    2634         -rm -f src/skypeclient.$(OBJEXT)
    2635         -rm -f src/smartfact.$(OBJEXT)
    2636         -rm -f src/sqmctrl.$(OBJEXT)
    2637         -rm -f src/temperature.$(OBJEXT)
    2638         -rm -f src/test.$(OBJEXT)
    2639         -rm -f src/time.$(OBJEXT)
    2640         -rm -f src/timecheck.$(OBJEXT)
    2641         -rm -f src/tngweather.$(OBJEXT)
    2642         -rm -f src/tools.$(OBJEXT)
    2643         -rm -f src/tools.lo
    2644         -rm -f src/triggerschedule.$(OBJEXT)
    2645         -rm -f src/viewer-DataProcessorImp.$(OBJEXT)
    2646         -rm -f src/viewer-Fits.$(OBJEXT)
    2647         -rm -f src/viewer-FitsFile.$(OBJEXT)
    2648         -rm -f src/viewer-PixelMap.$(OBJEXT)
    2649         -rm -f src/webDid-webServer.$(OBJEXT)
    2650         -rm -f src/zfits.$(OBJEXT)
     2425        -rm -f dim/src/*.$(OBJEXT)
     2426        -rm -f dim/src/*.lo
     2427        -rm -f dim/src/did/*.$(OBJEXT)
     2428        -rm -f dim/src/webDid/*.$(OBJEXT)
     2429        -rm -f erfa/src/*.$(OBJEXT)
     2430        -rm -f erfa/src/*.lo
     2431        -rm -f gui/*.$(OBJEXT)
     2432        -rm -f gui/RawEventsViewer/*.$(OBJEXT)
     2433        -rm -f pal/*.$(OBJEXT)
     2434        -rm -f pal/*.lo
     2435        -rm -f src/*.$(OBJEXT)
     2436        -rm -f src/*.lo
    26512437
    26522438distclean-compile:
     
    32353021install-man1: $(dist_man1_MANS)
    32363022        @$(NORMAL_INSTALL)
    3237         test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
    3238         @list='$(dist_man1_MANS)'; test -n "$(man1dir)" || exit 0; \
    3239         { for i in $$list; do echo "$$i"; done; \
     3023        @list1='$(dist_man1_MANS)'; \
     3024        list2=''; \
     3025        test -n "$(man1dir)" \
     3026          && test -n "`echo $$list1$$list2`" \
     3027          || exit 0; \
     3028        echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
     3029        $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
     3030        { for i in $$list1; do echo "$$i"; done;  \
     3031        if test -n "$$list2"; then \
     3032          for i in $$list2; do echo "$$i"; done \
     3033            | sed -n '/\.1[a-z]*$$/p'; \
     3034        fi; \
    32403035        } | while read p; do \
    32413036          if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
     
    32673062install-libDim___laHEADERS: $(libDim___la_HEADERS)
    32683063        @$(NORMAL_INSTALL)
    3269         test -z "$(libDim___ladir)" || $(MKDIR_P) "$(DESTDIR)$(libDim___ladir)"
    32703064        @list='$(libDim___la_HEADERS)'; test -n "$(libDim___ladir)" || list=; \
     3065        if test -n "$$list"; then \
     3066          echo " $(MKDIR_P) '$(DESTDIR)$(libDim___ladir)'"; \
     3067          $(MKDIR_P) "$(DESTDIR)$(libDim___ladir)" || exit 1; \
     3068        fi; \
    32713069        for p in $$list; do \
    32723070          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     
    32853083install-libDim_laHEADERS: $(libDim_la_HEADERS)
    32863084        @$(NORMAL_INSTALL)
    3287         test -z "$(libDim_ladir)" || $(MKDIR_P) "$(DESTDIR)$(libDim_ladir)"
    32883085        @list='$(libDim_la_HEADERS)'; test -n "$(libDim_ladir)" || list=; \
     3086        if test -n "$$list"; then \
     3087          echo " $(MKDIR_P) '$(DESTDIR)$(libDim_ladir)'"; \
     3088          $(MKDIR_P) "$(DESTDIR)$(libDim_ladir)" || exit 1; \
     3089        fi; \
    32893090        for p in $$list; do \
    32903091          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
     
    33023103        dir='$(DESTDIR)$(libDim_ladir)'; $(am__uninstall_files_from_dir)
    33033104
    3304 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
    3305         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
    3306         unique=`for i in $$list; do \
    3307             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    3308           done | \
    3309           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
    3310               END { if (nonempty) { for (i in files) print i; }; }'`; \
    3311         mkid -fID $$unique
    3312 tags: TAGS
    3313 
    3314 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    3315                 $(TAGS_FILES) $(LISP)
     3105ID: $(am__tagged_files)
     3106        $(am__define_uniq_tagged_files); mkid -fID $$unique
     3107tags: tags-am
     3108TAGS: tags
     3109
     3110tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
    33163111        set x; \
    33173112        here=`pwd`; \
    3318         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    3319         unique=`for i in $$list; do \
    3320             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    3321           done | \
    3322           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
    3323               END { if (nonempty) { for (i in files) print i; }; }'`; \
     3113        $(am__define_uniq_tagged_files); \
    33243114        shift; \
    33253115        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
     
    33333123          fi; \
    33343124        fi
    3335 ctags: CTAGS
    3336 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
    3337                 $(TAGS_FILES) $(LISP)
    3338         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
    3339         unique=`for i in $$list; do \
    3340             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
    3341           done | \
    3342           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
    3343               END { if (nonempty) { for (i in files) print i; }; }'`; \
     3125ctags: ctags-am
     3126
     3127CTAGS: ctags
     3128ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
     3129        $(am__define_uniq_tagged_files); \
    33443130        test -z "$(CTAGS_ARGS)$$unique" \
    33453131          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     
    33503136          && $(am__cd) $(top_srcdir) \
    33513137          && gtags -i $(GTAGS_ARGS) "$$here"
     3138cscope: cscope.files
     3139        test ! -s cscope.files \
     3140          || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
     3141clean-cscope:
     3142        -rm -f cscope.files
     3143cscope.files: clean-cscope cscopelist
     3144cscopelist: cscopelist-am
     3145
     3146cscopelist-am: $(am__tagged_files)
     3147        list='$(am__tagged_files)'; \
     3148        case "$(srcdir)" in \
     3149          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
     3150          *) sdir=$(subdir)/$(srcdir) ;; \
     3151        esac; \
     3152        for i in $$list; do \
     3153          if test -f "$$i"; then \
     3154            echo "$(subdir)/$$i"; \
     3155          else \
     3156            echo "$$sdir/$$i"; \
     3157          fi; \
     3158        done >> $(top_builddir)/cscope.files
    33523159
    33533160distclean-tags:
    33543161        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
     3162        -rm -f cscope.out cscope.in.out cscope.po.out cscope.files
    33553163
    33563164distdir: $(DISTFILES)
    3357         @list='$(MANS)'; if test -n "$$list"; then \
    3358           list=`for p in $$list; do \
    3359             if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
    3360             if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
    3361           if test -n "$$list" && \
    3362             grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
    3363             echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
    3364             grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
    3365             echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
    3366             echo "       typically \`make maintainer-clean' will remove them" >&2; \
    3367             exit 1; \
    3368           else :; fi; \
    3369         else :; fi
    33703165        $(am__remove_distdir)
    33713166        test -d "$(distdir)" || mkdir "$(distdir)"
     
    34083203dist-gzip: distdir
    34093204        tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
    3410         $(am__remove_distdir)
     3205        $(am__post_remove_distdir)
    34113206
    34123207dist-bzip2: distdir
    34133208        tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
    3414         $(am__remove_distdir)
     3209        $(am__post_remove_distdir)
    34153210
    34163211dist-lzip: distdir
    34173212        tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
    3418         $(am__remove_distdir)
    3419 
    3420 dist-lzma: distdir
    3421         tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
    3422         $(am__remove_distdir)
     3213        $(am__post_remove_distdir)
    34233214
    34243215dist-xz: distdir
    34253216        tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
    3426         $(am__remove_distdir)
     3217        $(am__post_remove_distdir)
    34273218
    34283219dist-tarZ: distdir
     3220        @echo WARNING: "Support for distribution archives compressed with" \
     3221                       "legacy program 'compress' is deprecated." >&2
     3222        @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
    34293223        tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
    3430         $(am__remove_distdir)
     3224        $(am__post_remove_distdir)
    34313225
    34323226dist-shar: distdir
     3227        @echo WARNING: "Support for shar distribution archives is" \
     3228                       "deprecated." >&2
     3229        @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
    34333230        shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
    3434         $(am__remove_distdir)
     3231        $(am__post_remove_distdir)
    34353232
    34363233dist-zip: distdir
    34373234        -rm -f $(distdir).zip
    34383235        zip -rq $(distdir).zip $(distdir)
    3439         $(am__remove_distdir)
    3440 
    3441 dist dist-all: distdir
    3442         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
    3443         $(am__remove_distdir)
     3236        $(am__post_remove_distdir)
     3237
     3238dist dist-all:
     3239        $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
     3240        $(am__post_remove_distdir)
    34443241
    34453242# This target untars the dist file and tries a VPATH configuration.  Then
     
    34523249        *.tar.bz2*) \
    34533250          bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
    3454         *.tar.lzma*) \
    3455           lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
    34563251        *.tar.lz*) \
    34573252          lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
     
    34653260          unzip $(distdir).zip ;;\
    34663261        esac
    3467         chmod -R a-w $(distdir); chmod a+w $(distdir)
    3468         mkdir $(distdir)/_build
    3469         mkdir $(distdir)/_inst
     3262        chmod -R a-w $(distdir)
     3263        chmod u+w $(distdir)
     3264        mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
    34703265        chmod a-w $(distdir)
    34713266        test -d $(distdir)/_build || exit 0; \
     
    34733268          && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
    34743269          && am__cwd=`pwd` \
    3475           && $(am__cd) $(distdir)/_build \
    3476           && ../configure --srcdir=.. --prefix="$$dc_install_base" \
     3270          && $(am__cd) $(distdir)/_build/sub \
     3271          && ../../configure \
    34773272            $(AM_DISTCHECK_CONFIGURE_FLAGS) \
    34783273            $(DISTCHECK_CONFIGURE_FLAGS) \
     3274            --srcdir=../.. --prefix="$$dc_install_base" \
    34793275          && $(MAKE) $(AM_MAKEFLAGS) \
    34803276          && $(MAKE) $(AM_MAKEFLAGS) dvi \
     
    34993295          && cd "$$am__cwd" \
    35003296          || exit 1
    3501         $(am__remove_distdir)
     3297        $(am__post_remove_distdir)
    35023298        @(echo "$(distdir) archives ready for distribution: "; \
    35033299          list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
     
    36703466.MAKE: all check install install-am install-strip
    36713467
    3672 .PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
    3673         clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
    3674         clean-libtool ctags dist dist-all dist-bzip2 dist-gzip \
    3675         dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
    3676         distcheck distclean distclean-compile distclean-generic \
    3677         distclean-libtool distclean-tags distcleancheck distdir \
    3678         distuninstallcheck dvi dvi-am html html-am info info-am \
    3679         install install-am install-binPROGRAMS install-data \
    3680         install-data-am install-dvi install-dvi-am install-exec \
    3681         install-exec-am install-html install-html-am install-info \
    3682         install-info-am install-libDim___laHEADERS \
    3683         install-libDim_laHEADERS install-libLTLIBRARIES install-man \
    3684         install-man1 install-pdf install-pdf-am install-ps \
    3685         install-ps-am install-strip installcheck installcheck-am \
    3686         installcheck-binPROGRAMS installdirs maintainer-clean \
    3687         maintainer-clean-generic mostlyclean mostlyclean-compile \
    3688         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
    3689         tags uninstall uninstall-am uninstall-binPROGRAMS \
     3468.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-am clean \
     3469        clean-binPROGRAMS clean-cscope clean-generic \
     3470        clean-libLTLIBRARIES clean-libtool cscope cscopelist-am ctags \
     3471        ctags-am dist dist-all dist-bzip2 dist-gzip dist-lzip \
     3472        dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
     3473        distclean-compile distclean-generic distclean-libtool \
     3474        distclean-tags distcleancheck distdir distuninstallcheck dvi \
     3475        dvi-am html html-am info info-am install install-am \
     3476        install-binPROGRAMS install-data install-data-am install-dvi \
     3477        install-dvi-am install-exec install-exec-am install-html \
     3478        install-html-am install-info install-info-am \
     3479        install-libDim___laHEADERS install-libDim_laHEADERS \
     3480        install-libLTLIBRARIES install-man install-man1 install-pdf \
     3481        install-pdf-am install-ps install-ps-am install-strip \
     3482        installcheck installcheck-am installcheck-binPROGRAMS \
     3483        installdirs maintainer-clean maintainer-clean-generic \
     3484        mostlyclean mostlyclean-compile mostlyclean-generic \
     3485        mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
     3486        uninstall-am uninstall-binPROGRAMS \
    36903487        uninstall-libDim___laHEADERS uninstall-libDim_laHEADERS \
    36913488        uninstall-libLTLIBRARIES uninstall-man uninstall-man1
     3489
     3490.PRECIOUS: Makefile
    36923491
    36933492
  • trunk/FACT++/aclocal.m4

    r17177 r18603  
    1 # generated automatically by aclocal 1.11.3 -*- Autoconf -*-
    2 
    3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    4 # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
    5 # Inc.
     1# generated automatically by aclocal 1.15 -*- Autoconf -*-
     2
     3# Copyright (C) 1996-2014 Free Software Foundation, Inc.
     4
    65# This file is free software; the Free Software Foundation
    76# gives unlimited permission to copy and/or distribute it,
     
    1312# PARTICULAR PURPOSE.
    1413
     14m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
    1515m4_ifndef([AC_AUTOCONF_VERSION],
    1616  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
    17 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
    18 [m4_warning([this file was generated for autoconf 2.68.
     17m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
     18[m4_warning([this file was generated for autoconf 2.69.
    1919You have another version of autoconf.  It may work, but is not guaranteed to.
    2020If you have problems, you may need to regenerate the build system entirely.
    21 To do so, use the procedure documented by the package, typically `autoreconf'.])])
     21To do so, use the procedure documented by the package, typically 'autoreconf'.])])
    2222
    2323# ===========================================================================
     
    5353#   warranty.
    5454
    55 #serial 13
     55#serial 16
    5656
    5757AC_DEFUN([AX_BOOST_ASIO],
     
    105105                        AC_DEFINE(HAVE_BOOST_ASIO,,[define if the Boost::ASIO library is available])
    106106                        BN=boost_system
     107                        BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
    107108            if test "x$ax_boost_user_asio_lib" = "x"; then
    108                                 for ax_lib in $BN $BN-$CC $BN-$CC-mt $BN-$CC-mt-s $BN-$CC-s \
    109                               lib$BN lib$BN-$CC lib$BN-$CC-mt lib$BN-$CC-mt-s lib$BN-$CC-s \
    110                               $BN-mgw $BN-mgw $BN-mgw-mt $BN-mgw-mt-s $BN-mgw-s ; do
     109                                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
    111110                                    AC_CHECK_LIB($ax_lib, main, [BOOST_ASIO_LIB="-l$ax_lib" AC_SUBST(BOOST_ASIO_LIB) link_thread="yes" break],
    112111                                 [link_thread="no"])
     
    168167#   warranty.
    169168
    170 #serial 20
     169#serial 26
    171170
    172171AC_DEFUN([AX_BOOST_BASE],
     
    226225    libsubdirs="lib"
    227226    ax_arch=`uname -m`
    228     if test $ax_arch = x86_64 -o $ax_arch = ppc64 -o $ax_arch = s390x -o $ax_arch = sparc64; then
    229         libsubdirs="lib64 lib lib64"
    230     fi
     227    case $ax_arch in
     228      x86_64)
     229        libsubdirs="lib64 libx32 lib lib64"
     230        ;;
     231      ppc64|s390x|sparc64|aarch64|ppc64le)
     232        libsubdirs="lib64 lib lib64 ppc64le"
     233        ;;
     234    esac
     235
     236    dnl allow for real multi-arch paths e.g. /usr/lib/x86_64-linux-gnu. Give
     237    dnl them priority over the other paths since, if libs are found there, they
     238    dnl are almost assuredly the ones desired.
     239    AC_REQUIRE([AC_CANONICAL_HOST])
     240    libsubdirs="lib/${host_cpu}-${host_os} $libsubdirs"
     241
     242    case ${host_cpu} in
     243      i?86)
     244        libsubdirs="lib/i386-${host_os} $libsubdirs"
     245        ;;
     246    esac
    231247
    232248    dnl first we check the system location for boost libraries
     
    291307    dnl built and installed without the --layout=system option or for a staged(not installed) version
    292308    if test "x$succeeded" != "xyes"; then
     309        CPPFLAGS="$CPPFLAGS_SAVED"
     310        LDFLAGS="$LDFLAGS_SAVED"
     311        BOOST_CPPFLAGS=
     312        BOOST_LDFLAGS=
    293313        _version=0
    294314        if test "$ac_boost_path" != ""; then
     
    303323                    BOOST_CPPFLAGS="-I$ac_boost_path/include/boost-$VERSION_UNDERSCORE"
    304324                done
     325                dnl if nothing found search for layout used in Windows distributions
     326                if test -z "$BOOST_CPPFLAGS"; then
     327                    if test -d "$ac_boost_path/boost" && test -r "$ac_boost_path/boost"; then
     328                        BOOST_CPPFLAGS="-I$ac_boost_path"
     329                    fi
     330                fi
    305331            fi
    306332        else
     
    424450#   warranty.
    425451
    426 #serial 19
     452#serial 21
    427453
    428454AC_DEFUN([AX_BOOST_DATE_TIME],
     
    470496            BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
    471497            if test "x$ax_boost_user_date_time_lib" = "x"; then
    472                 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
     498                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
    473499                     ax_lib=${libextension}
    474500                                    AC_CHECK_LIB($ax_lib, exit,
     
    477503                                done
    478504                if test "x$link_date_time" != "xyes"; then
    479                 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
     505                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
    480506                     ax_lib=${libextension}
    481507                                    AC_CHECK_LIB($ax_lib, exit,
     
    539565#   warranty.
    540566
    541 #serial 22
     567#serial 26
    542568
    543569AC_DEFUN([AX_BOOST_FILESYSTEM],
     
    589615            BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
    590616            if test "x$ax_boost_user_filesystem_lib" = "x"; then
    591                 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
     617                for libextension in `ls -r $BOOSTLIBDIR/libboost_filesystem* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do
    592618                     ax_lib=${libextension}
    593619                                    AC_CHECK_LIB($ax_lib, exit,
     
    596622                                done
    597623                if test "x$link_filesystem" != "xyes"; then
    598                 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
     624                for libextension in `ls -r $BOOSTLIBDIR/boost_filesystem* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do
    599625                     ax_lib=${libextension}
    600626                                    AC_CHECK_LIB($ax_lib, exit,
     
    656682#   warranty.
    657683
    658 #serial 20
     684#serial 24
    659685
    660686AC_DEFUN([AX_BOOST_PROGRAM_OPTIONS],
     
    690716                                           ax_cv_boost_program_options,
    691717                                           [AC_LANG_PUSH(C++)
    692                                 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <boost/program_options.hpp>
     718                                AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <boost/program_options/errors.hpp>
    693719                                                          ]],
    694                                   [[boost::program_options::options_description generic("Generic options");
     720                                  [[boost::program_options::error err("Error message");
    695721                                   return 0;]])],
    696722                           ax_cv_boost_program_options=yes, ax_cv_boost_program_options=no)
     
    701727                  BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
    702728                if test "x$ax_boost_user_program_options_lib" = "x"; then
    703                 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
     729                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
    704730                     ax_lib=${libextension}
    705731                                    AC_CHECK_LIB($ax_lib, exit,
     
    708734                                done
    709735                if test "x$link_program_options" != "xyes"; then
    710                 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
     736                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
    711737                     ax_lib=${libextension}
    712738                                    AC_CHECK_LIB($ax_lib, exit,
     
    766792#   warranty.
    767793
    768 #serial 20
     794#serial 22
    769795
    770796AC_DEFUN([AX_BOOST_REGEX],
     
    811837            BOOSTLIBDIR=`echo $BOOST_LDFLAGS | sed -e 's/@<:@^\/@:>@*//'`
    812838            if test "x$ax_boost_user_regex_lib" = "x"; then
    813                 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
     839                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
    814840                     ax_lib=${libextension}
    815841                                    AC_CHECK_LIB($ax_lib, exit,
     
    818844                                done
    819845                if test "x$link_regex" != "xyes"; then
    820                 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
     846                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
    821847                     ax_lib=${libextension}
    822848                                    AC_CHECK_LIB($ax_lib, exit,
     
    879905#   warranty.
    880906
    881 #serial 14
     907#serial 17
    882908
    883909AC_DEFUN([AX_BOOST_SYSTEM],
     
    931957                        LDFLAGS_SAVE=$LDFLAGS
    932958            if test "x$ax_boost_user_system_lib" = "x"; then
    933                 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
     959                for libextension in `ls -r $BOOSTLIBDIR/libboost_system* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'` ; do
    934960                     ax_lib=${libextension}
    935961                                    AC_CHECK_LIB($ax_lib, exit,
     
    938964                                done
    939965                if test "x$link_system" != "xyes"; then
    940                 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
     966                for libextension in `ls -r $BOOSTLIBDIR/boost_system* 2>/dev/null | sed 's,.*/,,' | sed -e 's,\..*,,'` ; do
    941967                     ax_lib=${libextension}
    942968                                    AC_CHECK_LIB($ax_lib, exit,
     
    9991025#   warranty.
    10001026
    1001 #serial 23
     1027#serial 27
    10021028
    10031029AC_DEFUN([AX_BOOST_THREAD],
     
    10731099                        esac
    10741100            if test "x$ax_boost_user_thread_lib" = "x"; then
    1075                 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
     1101                for libextension in `ls -r $BOOSTLIBDIR/libboost_thread* 2>/dev/null | sed 's,.*/lib,,' | sed 's,\..*,,'`; do
    10761102                     ax_lib=${libextension}
    10771103                                    AC_CHECK_LIB($ax_lib, exit,
     
    10801106                                done
    10811107                if test "x$link_thread" != "xyes"; then
    1082                 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
     1108                for libextension in `ls -r $BOOSTLIBDIR/boost_thread* 2>/dev/null | sed 's,.*/,,' | sed 's,\..*,,'`; do
    10831109                     ax_lib=${libextension}
    10841110                                    AC_CHECK_LIB($ax_lib, exit,
     
    13461372#         rm -rf @DX_DOCDIR@
    13471373#         $(DX_ENV) $(DX_DOXYGEN) $(srcdir)/$(DX_CONFIG)
     1374#         echo Timestamp >$@
    13481375#
    13491376#     DX_CLEANFILES = \
     
    13731400#   warranty.
    13741401
    1375 #serial 12
     1402#serial 13
    13761403
    13771404
     
    17251752#   exception to the GPL to apply to your modified version as well.
    17261753
    1727 #serial 16
     1754#serial 21
    17281755
    17291756AU_ALIAS([ACX_PTHREAD], [AX_PTHREAD])
     
    17461773        LIBS="$PTHREAD_LIBS $LIBS"
    17471774        AC_MSG_CHECKING([for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS])
    1748         AC_TRY_LINK_FUNC(pthread_join, ax_pthread_ok=yes)
    1749         AC_MSG_RESULT($ax_pthread_ok)
     1775        AC_TRY_LINK_FUNC([pthread_join], [ax_pthread_ok=yes])
     1776        AC_MSG_RESULT([$ax_pthread_ok])
    17501777        if test x"$ax_pthread_ok" = xno; then
    17511778                PTHREAD_LIBS=""
     
    17881815# pthread-config: use pthread-config program (for GNU Pth library)
    17891816
    1790 case "${host_cpu}-${host_os}" in
    1791         *solaris*)
     1817case ${host_os} in
     1818        solaris*)
    17921819
    17931820        # On Solaris (at least, for some versions), libc contains stubbed
     
    18021829        ;;
    18031830
    1804         *-darwin*)
     1831        darwin*)
    18051832        ax_pthread_flags="-pthread $ax_pthread_flags"
    18061833        ;;
    18071834esac
     1835
     1836# Clang doesn't consider unrecognized options an error unless we specify
     1837# -Werror. We throw in some extra Clang-specific options to ensure that
     1838# this doesn't happen for GCC, which also accepts -Werror.
     1839
     1840AC_MSG_CHECKING([if compiler needs -Werror to reject unknown flags])
     1841save_CFLAGS="$CFLAGS"
     1842ax_pthread_extra_flags="-Werror"
     1843CFLAGS="$CFLAGS $ax_pthread_extra_flags -Wunknown-warning-option -Wsizeof-array-argument"
     1844AC_COMPILE_IFELSE([AC_LANG_PROGRAM([int foo(void);],[foo()])],
     1845                  [AC_MSG_RESULT([yes])],
     1846                  [ax_pthread_extra_flags=
     1847                   AC_MSG_RESULT([no])])
     1848CFLAGS="$save_CFLAGS"
    18081849
    18091850if test x"$ax_pthread_ok" = xno; then
     
    18211862
    18221863                pthread-config)
    1823                 AC_CHECK_PROG(ax_pthread_config, pthread-config, yes, no)
     1864                AC_CHECK_PROG([ax_pthread_config], [pthread-config], [yes], [no])
    18241865                if test x"$ax_pthread_config" = xno; then continue; fi
    18251866                PTHREAD_CFLAGS="`pthread-config --cflags`"
     
    18361877        save_CFLAGS="$CFLAGS"
    18371878        LIBS="$PTHREAD_LIBS $LIBS"
    1838         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
     1879        CFLAGS="$CFLAGS $PTHREAD_CFLAGS $ax_pthread_extra_flags"
    18391880
    18401881        # Check for various functions.  We must include pthread.h,
     
    18621903        CFLAGS="$save_CFLAGS"
    18631904
    1864         AC_MSG_RESULT($ax_pthread_ok)
     1905        AC_MSG_RESULT([$ax_pthread_ok])
    18651906        if test "x$ax_pthread_ok" = xyes; then
    18661907                break;
     
    18881929                [])
    18891930        done
    1890         AC_MSG_RESULT($attr_name)
     1931        AC_MSG_RESULT([$attr_name])
    18911932        if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
    1892             AC_DEFINE_UNQUOTED(PTHREAD_CREATE_JOINABLE, $attr_name,
     1933            AC_DEFINE_UNQUOTED([PTHREAD_CREATE_JOINABLE], [$attr_name],
    18931934                               [Define to necessary symbol if this constant
    18941935                                uses a non-standard name on your system.])
     
    18971938        AC_MSG_CHECKING([if more special flags are required for pthreads])
    18981939        flag=no
    1899         case "${host_cpu}-${host_os}" in
    1900             *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
    1901             *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
     1940        case ${host_os} in
     1941            aix* | freebsd* | darwin*) flag="-D_THREAD_SAFE";;
     1942            osf* | hpux*) flag="-D_REENTRANT";;
     1943            solaris*)
     1944            if test "$GCC" = "yes"; then
     1945                flag="-D_REENTRANT"
     1946            else
     1947                # TODO: What about Clang on Solaris?
     1948                flag="-mt -D_REENTRANT"
     1949            fi
     1950            ;;
    19021951        esac
    1903         AC_MSG_RESULT(${flag})
     1952        AC_MSG_RESULT([$flag])
    19041953        if test "x$flag" != xno; then
    19051954            PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
     
    19071956
    19081957        AC_CACHE_CHECK([for PTHREAD_PRIO_INHERIT],
    1909             ax_cv_PTHREAD_PRIO_INHERIT, [
    1910                 AC_LINK_IFELSE([
    1911                     AC_LANG_PROGRAM([[#include <pthread.h>]], [[int i = PTHREAD_PRIO_INHERIT;]])],
     1958            [ax_cv_PTHREAD_PRIO_INHERIT], [
     1959                AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>]],
     1960                                                [[int i = PTHREAD_PRIO_INHERIT;]])],
    19121961                    [ax_cv_PTHREAD_PRIO_INHERIT=yes],
    19131962                    [ax_cv_PTHREAD_PRIO_INHERIT=no])
    19141963            ])
    19151964        AS_IF([test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes"],
    1916             AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], 1, [Have PTHREAD_PRIO_INHERIT.]))
     1965            [AC_DEFINE([HAVE_PTHREAD_PRIO_INHERIT], [1], [Have PTHREAD_PRIO_INHERIT.])])
    19171966
    19181967        LIBS="$save_LIBS"
    19191968        CFLAGS="$save_CFLAGS"
    19201969
    1921         # More AIX lossage: must compile with xlc_r or cc_r
    1922         if test x"$GCC" != xyes; then
    1923           AC_CHECK_PROGS(PTHREAD_CC, xlc_r cc_r, ${CC})
    1924         else
    1925           PTHREAD_CC=$CC
     1970        # More AIX lossage: compile with *_r variant
     1971        if test "x$GCC" != xyes; then
     1972            case $host_os in
     1973                aix*)
     1974                AS_CASE(["x/$CC"],
     1975                  [x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6],
     1976                  [#handle absolute path differently from PATH based program lookup
     1977                   AS_CASE(["x$CC"],
     1978                     [x/*],
     1979                     [AS_IF([AS_EXECUTABLE_P([${CC}_r])],[PTHREAD_CC="${CC}_r"])],
     1980                     [AC_CHECK_PROGS([PTHREAD_CC],[${CC}_r],[$CC])])])
     1981                ;;
     1982            esac
    19261983        fi
    1927 else
    1928         PTHREAD_CC="$CC"
    19291984fi
    19301985
    1931 AC_SUBST(PTHREAD_LIBS)
    1932 AC_SUBST(PTHREAD_CFLAGS)
    1933 AC_SUBST(PTHREAD_CC)
     1986test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
     1987
     1988AC_SUBST([PTHREAD_LIBS])
     1989AC_SUBST([PTHREAD_CFLAGS])
     1990AC_SUBST([PTHREAD_CC])
    19341991
    19351992# Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
    19361993if test x"$ax_pthread_ok" = xyes; then
    1937         ifelse([$1],,AC_DEFINE(HAVE_PTHREAD,1,[Define if you have POSIX threads libraries and header files.]),[$1])
     1994        ifelse([$1],,[AC_DEFINE([HAVE_PTHREAD],[1],[Define if you have POSIX threads libraries and header files.])],[$1])
    19381995        :
    19391996else
     
    19442001])dnl AX_PTHREAD
    19452002
    1946 # pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
    1947 # serial 1 (pkg-config-0.24)
    1948 #
    1949 # Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
    1950 #
    1951 # This program is free software; you can redistribute it and/or modify
    1952 # it under the terms of the GNU General Public License as published by
    1953 # the Free Software Foundation; either version 2 of the License, or
    1954 # (at your option) any later version.
    1955 #
    1956 # This program is distributed in the hope that it will be useful, but
    1957 # WITHOUT ANY WARRANTY; without even the implied warranty of
    1958 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    1959 # General Public License for more details.
    1960 #
    1961 # You should have received a copy of the GNU General Public License
    1962 # along with this program; if not, write to the Free Software
    1963 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
    1964 #
    1965 # As a special exception to the GNU General Public License, if you
    1966 # distribute this file as part of a program that contains a
    1967 # configuration script generated by Autoconf, you may include it under
    1968 # the same distribution terms that you use for the rest of that program.
    1969 
    1970 # PKG_PROG_PKG_CONFIG([MIN-VERSION])
    1971 # ----------------------------------
     2003dnl pkg.m4 - Macros to locate and utilise pkg-config.   -*- Autoconf -*-
     2004dnl serial 11 (pkg-config-0.29.1)
     2005dnl
     2006dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
     2007dnl Copyright © 2012-2015 Dan Nicholson <dbn.lists@gmail.com>
     2008dnl
     2009dnl This program is free software; you can redistribute it and/or modify
     2010dnl it under the terms of the GNU General Public License as published by
     2011dnl the Free Software Foundation; either version 2 of the License, or
     2012dnl (at your option) any later version.
     2013dnl
     2014dnl This program is distributed in the hope that it will be useful, but
     2015dnl WITHOUT ANY WARRANTY; without even the implied warranty of
     2016dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
     2017dnl General Public License for more details.
     2018dnl
     2019dnl You should have received a copy of the GNU General Public License
     2020dnl along with this program; if not, write to the Free Software
     2021dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
     2022dnl 02111-1307, USA.
     2023dnl
     2024dnl As a special exception to the GNU General Public License, if you
     2025dnl distribute this file as part of a program that contains a
     2026dnl configuration script generated by Autoconf, you may include it under
     2027dnl the same distribution terms that you use for the rest of that
     2028dnl program.
     2029
     2030dnl PKG_PREREQ(MIN-VERSION)
     2031dnl -----------------------
     2032dnl Since: 0.29
     2033dnl
     2034dnl Verify that the version of the pkg-config macros are at least
     2035dnl MIN-VERSION. Unlike PKG_PROG_PKG_CONFIG, which checks the user's
     2036dnl installed version of pkg-config, this checks the developer's version
     2037dnl of pkg.m4 when generating configure.
     2038dnl
     2039dnl To ensure that this macro is defined, also add:
     2040dnl m4_ifndef([PKG_PREREQ],
     2041dnl     [m4_fatal([must install pkg-config 0.29 or later before running autoconf/autogen])])
     2042dnl
     2043dnl See the "Since" comment for each macro you use to see what version
     2044dnl of the macros you require.
     2045m4_defun([PKG_PREREQ],
     2046[m4_define([PKG_MACROS_VERSION], [0.29.1])
     2047m4_if(m4_version_compare(PKG_MACROS_VERSION, [$1]), -1,
     2048    [m4_fatal([pkg.m4 version $1 or higher is required but ]PKG_MACROS_VERSION[ found])])
     2049])dnl PKG_PREREQ
     2050
     2051dnl PKG_PROG_PKG_CONFIG([MIN-VERSION])
     2052dnl ----------------------------------
     2053dnl Since: 0.16
     2054dnl
     2055dnl Search for the pkg-config tool and set the PKG_CONFIG variable to
     2056dnl first found in the path. Checks that the version of pkg-config found
     2057dnl is at least MIN-VERSION. If MIN-VERSION is not specified, 0.9.0 is
     2058dnl used since that's the first version where most current features of
     2059dnl pkg-config existed.
    19722060AC_DEFUN([PKG_PROG_PKG_CONFIG],
    19732061[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
     
    19912079        fi
    19922080fi[]dnl
    1993 ])# PKG_PROG_PKG_CONFIG
    1994 
    1995 # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
    1996 #
    1997 # Check to see whether a particular set of modules exists.  Similar
    1998 # to PKG_CHECK_MODULES(), but does not set variables or print errors.
    1999 #
    2000 # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
    2001 # only at the first occurence in configure.ac, so if the first place
    2002 # it's called might be skipped (such as if it is within an "if", you
    2003 # have to call PKG_CHECK_EXISTS manually
    2004 # --------------------------------------------------------------
     2081])dnl PKG_PROG_PKG_CONFIG
     2082
     2083dnl PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
     2084dnl -------------------------------------------------------------------
     2085dnl Since: 0.18
     2086dnl
     2087dnl Check to see whether a particular set of modules exists. Similar to
     2088dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
     2089dnl
     2090dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
     2091dnl only at the first occurence in configure.ac, so if the first place
     2092dnl it's called might be skipped (such as if it is within an "if", you
     2093dnl have to call PKG_CHECK_EXISTS manually
    20052094AC_DEFUN([PKG_CHECK_EXISTS],
    20062095[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
     
    20122101fi])
    20132102
    2014 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
    2015 # ---------------------------------------------
     2103dnl _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
     2104dnl ---------------------------------------------
     2105dnl Internal wrapper calling pkg-config via PKG_CONFIG and setting
     2106dnl pkg_failed based on the result.
    20162107m4_define([_PKG_CONFIG],
    20172108[if test -n "$$1"; then
     
    20252116    pkg_failed=untried
    20262117fi[]dnl
    2027 ])# _PKG_CONFIG
    2028 
    2029 # _PKG_SHORT_ERRORS_SUPPORTED
    2030 # -----------------------------
     2118])dnl _PKG_CONFIG
     2119
     2120dnl _PKG_SHORT_ERRORS_SUPPORTED
     2121dnl ---------------------------
     2122dnl Internal check to see if pkg-config supports short errors.
    20312123AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
    20322124[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
     
    20362128        _pkg_short_errors_supported=no
    20372129fi[]dnl
    2038 ])# _PKG_SHORT_ERRORS_SUPPORTED
    2039 
    2040 
    2041 # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
    2042 # [ACTION-IF-NOT-FOUND])
    2043 #
    2044 #
    2045 # Note that if there is a possibility the first call to
    2046 # PKG_CHECK_MODULES might not happen, you should be sure to include an
    2047 # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
    2048 #
    2049 #
    2050 # --------------------------------------------------------------
     2130])dnl _PKG_SHORT_ERRORS_SUPPORTED
     2131
     2132
     2133dnl PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
     2134dnl   [ACTION-IF-NOT-FOUND])
     2135dnl --------------------------------------------------------------
     2136dnl Since: 0.4.0
     2137dnl
     2138dnl Note that if there is a possibility the first call to
     2139dnl PKG_CHECK_MODULES might not happen, you should be sure to include an
     2140dnl explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
    20512141AC_DEFUN([PKG_CHECK_MODULES],
    20522142[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
     
    21022192        $3
    21032193fi[]dnl
    2104 ])# PKG_CHECK_MODULES
    2105 
    2106 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software
    2107 # Foundation, Inc.
     2194])dnl PKG_CHECK_MODULES
     2195
     2196
     2197dnl PKG_CHECK_MODULES_STATIC(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
     2198dnl   [ACTION-IF-NOT-FOUND])
     2199dnl ---------------------------------------------------------------------
     2200dnl Since: 0.29
     2201dnl
     2202dnl Checks for existence of MODULES and gathers its build flags with
     2203dnl static libraries enabled. Sets VARIABLE-PREFIX_CFLAGS from --cflags
     2204dnl and VARIABLE-PREFIX_LIBS from --libs.
     2205dnl
     2206dnl Note that if there is a possibility the first call to
     2207dnl PKG_CHECK_MODULES_STATIC might not happen, you should be sure to
     2208dnl include an explicit call to PKG_PROG_PKG_CONFIG in your
     2209dnl configure.ac.
     2210AC_DEFUN([PKG_CHECK_MODULES_STATIC],
     2211[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
     2212_save_PKG_CONFIG=$PKG_CONFIG
     2213PKG_CONFIG="$PKG_CONFIG --static"
     2214PKG_CHECK_MODULES($@)
     2215PKG_CONFIG=$_save_PKG_CONFIG[]dnl
     2216])dnl PKG_CHECK_MODULES_STATIC
     2217
     2218
     2219dnl PKG_INSTALLDIR([DIRECTORY])
     2220dnl -------------------------
     2221dnl Since: 0.27
     2222dnl
     2223dnl Substitutes the variable pkgconfigdir as the location where a module
     2224dnl should install pkg-config .pc files. By default the directory is
     2225dnl $libdir/pkgconfig, but the default can be changed by passing
     2226dnl DIRECTORY. The user can override through the --with-pkgconfigdir
     2227dnl parameter.
     2228AC_DEFUN([PKG_INSTALLDIR],
     2229[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
     2230m4_pushdef([pkg_description],
     2231    [pkg-config installation directory @<:@]pkg_default[@:>@])
     2232AC_ARG_WITH([pkgconfigdir],
     2233    [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
     2234    [with_pkgconfigdir=]pkg_default)
     2235AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
     2236m4_popdef([pkg_default])
     2237m4_popdef([pkg_description])
     2238])dnl PKG_INSTALLDIR
     2239
     2240
     2241dnl PKG_NOARCH_INSTALLDIR([DIRECTORY])
     2242dnl --------------------------------
     2243dnl Since: 0.27
     2244dnl
     2245dnl Substitutes the variable noarch_pkgconfigdir as the location where a
     2246dnl module should install arch-independent pkg-config .pc files. By
     2247dnl default the directory is $datadir/pkgconfig, but the default can be
     2248dnl changed by passing DIRECTORY. The user can override through the
     2249dnl --with-noarch-pkgconfigdir parameter.
     2250AC_DEFUN([PKG_NOARCH_INSTALLDIR],
     2251[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
     2252m4_pushdef([pkg_description],
     2253    [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
     2254AC_ARG_WITH([noarch-pkgconfigdir],
     2255    [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
     2256    [with_noarch_pkgconfigdir=]pkg_default)
     2257AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
     2258m4_popdef([pkg_default])
     2259m4_popdef([pkg_description])
     2260])dnl PKG_NOARCH_INSTALLDIR
     2261
     2262
     2263dnl PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
     2264dnl [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
     2265dnl -------------------------------------------
     2266dnl Since: 0.28
     2267dnl
     2268dnl Retrieves the value of the pkg-config variable for the given module.
     2269AC_DEFUN([PKG_CHECK_VAR],
     2270[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
     2271AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
     2272
     2273_PKG_CONFIG([$1], [variable="][$3]["], [$2])
     2274AS_VAR_COPY([$1], [pkg_cv_][$1])
     2275
     2276AS_VAR_IF([$1], [""], [$5], [$4])dnl
     2277])dnl PKG_CHECK_VAR
     2278
     2279# Copyright (C) 2002-2014 Free Software Foundation, Inc.
    21082280#
    21092281# This file is free software; the Free Software Foundation
    21102282# gives unlimited permission to copy and/or distribute it,
    21112283# with or without modifications, as long as this notice is preserved.
    2112 
    2113 # serial 1
    21142284
    21152285# AM_AUTOMAKE_VERSION(VERSION)
     
    21192289# (This private macro should not be called outside this file.)
    21202290AC_DEFUN([AM_AUTOMAKE_VERSION],
    2121 [am__api_version='1.11'
     2291[am__api_version='1.15'
    21222292dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
    21232293dnl require some minimum version.  Point them to the right macro.
    2124 m4_if([$1], [1.11.3], [],
     2294m4_if([$1], [1.15], [],
    21252295      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
    21262296])
     
    21382308# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
    21392309AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
    2140 [AM_AUTOMAKE_VERSION([1.11.3])dnl
     2310[AM_AUTOMAKE_VERSION([1.15])dnl
    21412311m4_ifndef([AC_AUTOCONF_VERSION],
    21422312  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
    21432313_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
    21442314
    2145 # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
    2146 
    2147 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
     2315# Copyright (C) 2011-2014 Free Software Foundation, Inc.
    21482316#
    21492317# This file is free software; the Free Software Foundation
     
    21512319# with or without modifications, as long as this notice is preserved.
    21522320
    2153 # serial 1
     2321# AM_PROG_AR([ACT-IF-FAIL])
     2322# -------------------------
     2323# Try to determine the archiver interface, and trigger the ar-lib wrapper
     2324# if it is needed.  If the detection of archiver interface fails, run
     2325# ACT-IF-FAIL (default is to abort configure with a proper error message).
     2326AC_DEFUN([AM_PROG_AR],
     2327[AC_BEFORE([$0], [LT_INIT])dnl
     2328AC_BEFORE([$0], [AC_PROG_LIBTOOL])dnl
     2329AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     2330AC_REQUIRE_AUX_FILE([ar-lib])dnl
     2331AC_CHECK_TOOLS([AR], [ar lib "link -lib"], [false])
     2332: ${AR=ar}
     2333
     2334AC_CACHE_CHECK([the archiver ($AR) interface], [am_cv_ar_interface],
     2335  [AC_LANG_PUSH([C])
     2336   am_cv_ar_interface=ar
     2337   AC_COMPILE_IFELSE([AC_LANG_SOURCE([[int some_variable = 0;]])],
     2338     [am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
     2339      AC_TRY_EVAL([am_ar_try])
     2340      if test "$ac_status" -eq 0; then
     2341        am_cv_ar_interface=ar
     2342      else
     2343        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&AS_MESSAGE_LOG_FD'
     2344        AC_TRY_EVAL([am_ar_try])
     2345        if test "$ac_status" -eq 0; then
     2346          am_cv_ar_interface=lib
     2347        else
     2348          am_cv_ar_interface=unknown
     2349        fi
     2350      fi
     2351      rm -f conftest.lib libconftest.a
     2352     ])
     2353   AC_LANG_POP([C])])
     2354
     2355case $am_cv_ar_interface in
     2356ar)
     2357  ;;
     2358lib)
     2359  # Microsoft lib, so override with the ar-lib wrapper script.
     2360  # FIXME: It is wrong to rewrite AR.
     2361  # But if we don't then we get into trouble of one sort or another.
     2362  # A longer-term fix would be to have automake use am__AR in this case,
     2363  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
     2364  # similar.
     2365  AR="$am_aux_dir/ar-lib $AR"
     2366  ;;
     2367unknown)
     2368  m4_default([$1],
     2369             [AC_MSG_ERROR([could not determine $AR interface])])
     2370  ;;
     2371esac
     2372AC_SUBST([AR])dnl
     2373])
     2374
     2375# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
     2376
     2377# Copyright (C) 2001-2014 Free Software Foundation, Inc.
     2378#
     2379# This file is free software; the Free Software Foundation
     2380# gives unlimited permission to copy and/or distribute it,
     2381# with or without modifications, as long as this notice is preserved.
    21542382
    21552383# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
    2156 # $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
    2157 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
     2384# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
     2385# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
    21582386#
    21592387# Of course, Automake must honor this variable whenever it calls a
     
    21742402# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
    21752403# are both prefixed by $srcdir.  In an in-source build this is usually
    2176 # harmless because $srcdir is `.', but things will broke when you
     2404# harmless because $srcdir is '.', but things will broke when you
    21772405# start a VPATH build or use an absolute $srcdir.
    21782406#
     
    21922420
    21932421AC_DEFUN([AM_AUX_DIR_EXPAND],
    2194 [dnl Rely on autoconf to set up CDPATH properly.
    2195 AC_PREREQ([2.50])dnl
    2196 # expand $ac_aux_dir to an absolute path
    2197 am_aux_dir=`cd $ac_aux_dir && pwd`
     2422[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
     2423# Expand $ac_aux_dir to an absolute path.
     2424am_aux_dir=`cd "$ac_aux_dir" && pwd`
    21982425])
    21992426
    22002427# AM_COND_IF                                            -*- Autoconf -*-
    22012428
    2202 # Copyright (C) 2008, 2010 Free Software Foundation, Inc.
     2429# Copyright (C) 2008-2014 Free Software Foundation, Inc.
    22032430#
    22042431# This file is free software; the Free Software Foundation
    22052432# gives unlimited permission to copy and/or distribute it,
    22062433# with or without modifications, as long as this notice is preserved.
    2207 
    2208 # serial 3
    22092434
    22102435# _AM_COND_IF
     
    22162441m4_define([_AM_COND_ELSE])
    22172442m4_define([_AM_COND_ENDIF])
    2218 
    22192443
    22202444# AM_COND_IF(COND, [IF-TRUE], [IF-FALSE])
     
    22402464# AM_CONDITIONAL                                            -*- Autoconf -*-
    22412465
    2242 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
    2243 # Free Software Foundation, Inc.
     2466# Copyright (C) 1997-2014 Free Software Foundation, Inc.
    22442467#
    22452468# This file is free software; the Free Software Foundation
    22462469# gives unlimited permission to copy and/or distribute it,
    22472470# with or without modifications, as long as this notice is preserved.
    2248 
    2249 # serial 9
    22502471
    22512472# AM_CONDITIONAL(NAME, SHELL-CONDITION)
     
    22532474# Define a conditional.
    22542475AC_DEFUN([AM_CONDITIONAL],
    2255 [AC_PREREQ(2.52)dnl
    2256  ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
    2257         [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
     2476[AC_PREREQ([2.52])dnl
     2477 m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
     2478       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
    22582479AC_SUBST([$1_TRUE])dnl
    22592480AC_SUBST([$1_FALSE])dnl
     
    22742495fi])])
    22752496
    2276 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009,
    2277 # 2010, 2011 Free Software Foundation, Inc.
     2497# Copyright (C) 1999-2014 Free Software Foundation, Inc.
    22782498#
    22792499# This file is free software; the Free Software Foundation
     
    22812501# with or without modifications, as long as this notice is preserved.
    22822502
    2283 # serial 12
    2284 
    2285 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
     2503
     2504# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
    22862505# written in clear, in which case automake, when reading aclocal.m4,
    22872506# will think it sees a *use*, and therefore will trigger all it's
     
    22932512# ----------------------
    22942513# See how the compiler implements dependency checking.
    2295 # NAME is "CC", "CXX", "GCJ", or "OBJC".
     2514# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
    22962515# We try a few techniques and use that to set a single cache variable.
    22972516#
     
    23062525AC_REQUIRE([AM_DEP_TRACK])dnl
    23072526
    2308 ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
    2309        [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
    2310        [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
    2311        [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
    2312        [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
    2313                    [depcc="$$1"   am_compiler_list=])
     2527m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
     2528      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
     2529      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
     2530      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
     2531      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
     2532      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
     2533                    [depcc="$$1"   am_compiler_list=])
    23142534
    23152535AC_CACHE_CHECK([dependency style of $depcc],
     
    23192539  # making bogus files that we don't know about and never remove.  For
    23202540  # instance it was reported that on HP-UX the gcc test will end up
    2321   # making a dummy file named `D' -- because `-MD' means `put the output
    2322   # in D'.
     2541  # making a dummy file named 'D' -- because '-MD' means "put the output
     2542  # in D".
    23232543  rm -rf conftest.dir
    23242544  mkdir conftest.dir
     
    23602580    for i in 1 2 3 4 5 6; do
    23612581      echo '#include "conftst'$i'.h"' >> sub/conftest.c
    2362       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
    2363       # Solaris 8's {/usr,}/bin/sh.
    2364       touch sub/conftst$i.h
     2582      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     2583      # Solaris 10 /bin/sh.
     2584      echo '/* dummy */' > sub/conftst$i.h
    23652585    done
    23662586    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    23672587
    2368     # We check with `-c' and `-o' for the sake of the "dashmstdout"
     2588    # We check with '-c' and '-o' for the sake of the "dashmstdout"
    23692589    # mode.  It turns out that the SunPro C++ compiler does not properly
    2370     # handle `-M -o', and we need to detect this.  Also, some Intel
    2371     # versions had trouble with output in subdirs
     2590    # handle '-M -o', and we need to detect this.  Also, some Intel
     2591    # versions had trouble with output in subdirs.
    23722592    am__obj=sub/conftest.${OBJEXT-o}
    23732593    am__minus_obj="-o $am__obj"
     
    23782598      ;;
    23792599    nosideeffect)
    2380       # after this tag, mechanisms are not by side-effect, so they'll
    2381       # only be used when explicitly requested
     2600      # After this tag, mechanisms are not by side-effect, so they'll
     2601      # only be used when explicitly requested.
    23822602      if test "x$enable_dependency_tracking" = xyes; then
    23832603        continue
     
    23872607      ;;
    23882608    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    2389       # This compiler won't grok `-c -o', but also, the minuso test has
     2609      # This compiler won't grok '-c -o', but also, the minuso test has
    23902610      # not run yet.  These depmodes are late enough in the game, and
    23912611      # so weak that their functioning should not be impacted.
     
    24352655# -------------
    24362656# Choose a directory name for dependency files.
    2437 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
     2657# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
    24382658AC_DEFUN([AM_SET_DEPDIR],
    24392659[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
     
    24452665# ------------
    24462666AC_DEFUN([AM_DEP_TRACK],
    2447 [AC_ARG_ENABLE(dependency-tracking,
    2448 [  --disable-dependency-tracking  speeds up one-time build
    2449   --enable-dependency-tracking   do not reject slow dependency extractors])
     2667[AC_ARG_ENABLE([dependency-tracking], [dnl
     2668AS_HELP_STRING(
     2669  [--enable-dependency-tracking],
     2670  [do not reject slow dependency extractors])
     2671AS_HELP_STRING(
     2672  [--disable-dependency-tracking],
     2673  [speeds up one-time build])])
    24502674if test "x$enable_dependency_tracking" != xno; then
    24512675  am_depcomp="$ac_aux_dir/depcomp"
     
    24622686# Generate code to set up dependency tracking.              -*- Autoconf -*-
    24632687
    2464 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
    2465 # Free Software Foundation, Inc.
     2688# Copyright (C) 1999-2014 Free Software Foundation, Inc.
    24662689#
    24672690# This file is free software; the Free Software Foundation
     
    24692692# with or without modifications, as long as this notice is preserved.
    24702693
    2471 #serial 5
    24722694
    24732695# _AM_OUTPUT_DEPENDENCY_COMMANDS
     
    24752697AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
    24762698[{
    2477   # Autoconf 2.62 quotes --file arguments for eval, but not when files
     2699  # Older Autoconf quotes --file arguments for eval, but not when files
    24782700  # are listed without --file.  Let's play safe and only enable the eval
    24792701  # if we detect the quoting.
     
    24882710    mf=`echo "$mf" | sed -e 's/:.*$//'`
    24892711    # Check whether this is an Automake generated Makefile or not.
    2490     # We used to match only the files named `Makefile.in', but
     2712    # We used to match only the files named 'Makefile.in', but
    24912713    # some people rename them; so instead we look at the file content.
    24922714    # Grep'ing the first line is not enough: some people post-process
     
    25002722    fi
    25012723    # Extract the definition of DEPDIR, am__include, and am__quote
    2502     # from the Makefile without running `make'.
     2724    # from the Makefile without running 'make'.
    25032725    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
    25042726    test -z "$DEPDIR" && continue
    25052727    am__include=`sed -n 's/^am__include = //p' < "$mf"`
    2506     test -z "am__include" && continue
     2728    test -z "$am__include" && continue
    25072729    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
    2508     # When using ansi2knr, U may be empty or an underscore; expand it
    2509     U=`sed -n 's/^U = //p' < "$mf"`
    25102730    # Find all dependency output files, they are included files with
    25112731    # $(DEPDIR) in their names.  We invoke sed twice because it is the
     
    25142734    for file in `sed -n "
    25152735      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
    2516          sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
     2736         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
    25172737      # Make sure the directory exists.
    25182738      test -f "$dirpart/$file" && continue
     
    25322752#
    25332753# This code is only required when automatic dependency tracking
    2534 # is enabled.  FIXME.  This creates each `.P' file that we will
     2754# is enabled.  FIXME.  This creates each '.P' file that we will
    25352755# need in order to bootstrap the dependency handling code.
    25362756AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
     
    25422762# Do all the work for Automake.                             -*- Autoconf -*-
    25432763
    2544 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    2545 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
     2764# Copyright (C) 1996-2014 Free Software Foundation, Inc.
    25462765#
    25472766# This file is free software; the Free Software Foundation
     
    25492768# with or without modifications, as long as this notice is preserved.
    25502769
    2551 # serial 16
    2552 
    25532770# This macro actually does too much.  Some checks are only needed if
    25542771# your package does certain things.  But this isn't really a big deal.
     2772
     2773dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
     2774m4_define([AC_PROG_CC],
     2775m4_defn([AC_PROG_CC])
     2776[_AM_PROG_CC_C_O
     2777])
    25552778
    25562779# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
     
    25662789# release and drop the old call support.
    25672790AC_DEFUN([AM_INIT_AUTOMAKE],
    2568 [AC_PREREQ([2.62])dnl
     2791[AC_PREREQ([2.65])dnl
    25692792dnl Autoconf wants to disallow AM_ names.  We explicitly allow
    25702793dnl the ones we care about.
     
    25952818dnl Distinguish between old-style and new-style calls.
    25962819m4_ifval([$2],
    2597 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
     2820[AC_DIAGNOSE([obsolete],
     2821             [$0: two- and three-arguments forms are deprecated.])
     2822m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
    25982823 AC_SUBST([PACKAGE], [$1])dnl
    25992824 AC_SUBST([VERSION], [$2])],
    26002825[_AM_SET_OPTIONS([$1])dnl
    26012826dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
    2602 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
     2827m4_if(
     2828  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
     2829  [ok:ok],,
    26032830  [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
    26042831 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
     
    26062833
    26072834_AM_IF_OPTION([no-define],,
    2608 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
    2609  AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
     2835[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
     2836 AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
    26102837
    26112838# Some tools Automake needs.
    26122839AC_REQUIRE([AM_SANITY_CHECK])dnl
    26132840AC_REQUIRE([AC_ARG_PROGRAM])dnl
    2614 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
    2615 AM_MISSING_PROG(AUTOCONF, autoconf)
    2616 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
    2617 AM_MISSING_PROG(AUTOHEADER, autoheader)
    2618 AM_MISSING_PROG(MAKEINFO, makeinfo)
     2841AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
     2842AM_MISSING_PROG([AUTOCONF], [autoconf])
     2843AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
     2844AM_MISSING_PROG([AUTOHEADER], [autoheader])
     2845AM_MISSING_PROG([MAKEINFO], [makeinfo])
    26192846AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    26202847AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
    2621 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
    2622 # We need awk for the "check" target.  The system "awk" is bad on
    2623 # some platforms.
     2848AC_REQUIRE([AC_PROG_MKDIR_P])dnl
     2849# For better backward compatibility.  To be removed once Automake 1.9.x
     2850# dies out for good.  For more background, see:
     2851# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
     2852# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
     2853AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
     2854# We need awk for the "check" target (and possibly the TAP driver).  The
     2855# system "awk" is bad on some platforms.
    26242856AC_REQUIRE([AC_PROG_AWK])dnl
    26252857AC_REQUIRE([AC_PROG_MAKE_SET])dnl
     
    26302862_AM_IF_OPTION([no-dependencies],,
    26312863[AC_PROVIDE_IFELSE([AC_PROG_CC],
    2632                   [_AM_DEPENDENCIES(CC)],
    2633                   [define([AC_PROG_CC],
    2634                           defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
     2864                  [_AM_DEPENDENCIES([CC])],
     2865                  [m4_define([AC_PROG_CC],
     2866                             m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
    26352867AC_PROVIDE_IFELSE([AC_PROG_CXX],
    2636                   [_AM_DEPENDENCIES(CXX)],
    2637                   [define([AC_PROG_CXX],
    2638                           defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
     2868                  [_AM_DEPENDENCIES([CXX])],
     2869                  [m4_define([AC_PROG_CXX],
     2870                             m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
    26392871AC_PROVIDE_IFELSE([AC_PROG_OBJC],
    2640                   [_AM_DEPENDENCIES(OBJC)],
    2641                   [define([AC_PROG_OBJC],
    2642                           defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
     2872                  [_AM_DEPENDENCIES([OBJC])],
     2873                  [m4_define([AC_PROG_OBJC],
     2874                             m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
     2875AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
     2876                  [_AM_DEPENDENCIES([OBJCXX])],
     2877                  [m4_define([AC_PROG_OBJCXX],
     2878                             m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
    26432879])
    2644 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
    2645 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
    2646 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
    2647 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
     2880AC_REQUIRE([AM_SILENT_RULES])dnl
     2881dnl The testsuite driver may need to know about EXEEXT, so add the
     2882dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
     2883dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
    26482884AC_CONFIG_COMMANDS_PRE(dnl
    26492885[m4_provide_if([_AM_COMPILER_EXEEXT],
    26502886  [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
     2887
     2888# POSIX will say in a future version that running "rm -f" with no argument
     2889# is OK; and we want to be able to make that assumption in our Makefile
     2890# recipes.  So use an aggressive probe to check that the usage we want is
     2891# actually supported "in the wild" to an acceptable degree.
     2892# See automake bug#10828.
     2893# To make any issue more visible, cause the running configure to be aborted
     2894# by default if the 'rm' program in use doesn't match our expectations; the
     2895# user can still override this though.
     2896if rm -f && rm -fr && rm -rf; then : OK; else
     2897  cat >&2 <<'END'
     2898Oops!
     2899
     2900Your 'rm' program seems unable to run without file operands specified
     2901on the command line, even when the '-f' option is present.  This is contrary
     2902to the behaviour of most rm programs out there, and not conforming with
     2903the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
     2904
     2905Please tell bug-automake@gnu.org about your system, including the value
     2906of your $PATH and any error possibly output before this message.  This
     2907can help us improve future automake versions.
     2908
     2909END
     2910  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
     2911    echo 'Configuration will proceed anyway, since you have set the' >&2
     2912    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
     2913    echo >&2
     2914  else
     2915    cat >&2 <<'END'
     2916Aborting the configuration process, to ensure you take notice of the issue.
     2917
     2918You can download and install GNU coreutils to get an 'rm' implementation
     2919that behaves properly: <http://www.gnu.org/software/coreutils/>.
     2920
     2921If you want to complete the configuration process using your problematic
     2922'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
     2923to "yes", and re-run configure.
     2924
     2925END
     2926    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
     2927  fi
     2928fi
     2929dnl The trailing newline in this macro's definition is deliberate, for
     2930dnl backward compatibility and to allow trailing 'dnl'-style comments
     2931dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
    26512932])
    26522933
    2653 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
     2934dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
    26542935dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
    26552936dnl mangled by Autoconf and run in a shell conditional statement.
    26562937m4_define([_AC_COMPILER_EXEEXT],
    26572938m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
    2658 
    26592939
    26602940# When config.status generates a header, we must update the stamp-h file.
     
    26792959echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
    26802960
    2681 # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation,
    2682 # Inc.
     2961# Copyright (C) 2001-2014 Free Software Foundation, Inc.
    26832962#
    26842963# This file is free software; the Free Software Foundation
    26852964# gives unlimited permission to copy and/or distribute it,
    26862965# with or without modifications, as long as this notice is preserved.
    2687 
    2688 # serial 1
    26892966
    26902967# AM_PROG_INSTALL_SH
     
    26932970AC_DEFUN([AM_PROG_INSTALL_SH],
    26942971[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    2695 if test x"${install_sh}" != xset; then
     2972if test x"${install_sh+set}" != xset; then
    26962973  case $am_aux_dir in
    26972974  *\ * | *\     *)
     
    27012978  esac
    27022979fi
    2703 AC_SUBST(install_sh)])
    2704 
    2705 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
     2980AC_SUBST([install_sh])])
     2981
     2982# Copyright (C) 2003-2014 Free Software Foundation, Inc.
    27062983#
    27072984# This file is free software; the Free Software Foundation
    27082985# gives unlimited permission to copy and/or distribute it,
    27092986# with or without modifications, as long as this notice is preserved.
    2710 
    2711 # serial 2
    27122987
    27132988# Check whether the underlying file-system supports filenames
     
    27263001# Check to see how 'make' treats includes.                  -*- Autoconf -*-
    27273002
    2728 # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
     3003# Copyright (C) 2001-2014 Free Software Foundation, Inc.
    27293004#
    27303005# This file is free software; the Free Software Foundation
    27313006# gives unlimited permission to copy and/or distribute it,
    27323007# with or without modifications, as long as this notice is preserved.
    2733 
    2734 # serial 4
    27353008
    27363009# AM_MAKE_INCLUDE()
     
    27513024# First try GNU make style include.
    27523025echo "include confinc" > confmf
    2753 # Ignore all kinds of additional output from `make'.
     3026# Ignore all kinds of additional output from 'make'.
    27543027case `$am_make -s -f confmf 2> /dev/null` in #(
    27553028*the\ am__doit\ target*)
     
    27763049])
    27773050
    2778 # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008
    2779 # Free Software Foundation, Inc.
     3051# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
     3052
     3053# Copyright (C) 1997-2014 Free Software Foundation, Inc.
    27803054#
    27813055# This file is free software; the Free Software Foundation
    27823056# gives unlimited permission to copy and/or distribute it,
    27833057# with or without modifications, as long as this notice is preserved.
    2784 
    2785 # serial 6
    2786 
    2787 # AM_PROG_CC_C_O
    2788 # --------------
    2789 # Like AC_PROG_CC_C_O, but changed for automake.
    2790 AC_DEFUN([AM_PROG_CC_C_O],
    2791 [AC_REQUIRE([AC_PROG_CC_C_O])dnl
    2792 AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
    2793 AC_REQUIRE_AUX_FILE([compile])dnl
    2794 # FIXME: we rely on the cache variable name because
    2795 # there is no other way.
    2796 set dummy $CC
    2797 am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']`
    2798 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
    2799 if test "$am_t" != yes; then
    2800    # Losing compiler, so override with the script.
    2801    # FIXME: It is wrong to rewrite CC.
    2802    # But if we don't then we get into trouble of one sort or another.
    2803    # A longer-term fix would be to have automake use am__CC in this case,
    2804    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
    2805    CC="$am_aux_dir/compile $CC"
    2806 fi
    2807 dnl Make sure AC_PROG_CC is never called again, or it will override our
    2808 dnl setting of CC.
    2809 m4_define([AC_PROG_CC],
    2810           [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])])
    2811 ])
    2812 
    2813 # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
    2814 
    2815 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
    2816 # Free Software Foundation, Inc.
    2817 #
    2818 # This file is free software; the Free Software Foundation
    2819 # gives unlimited permission to copy and/or distribute it,
    2820 # with or without modifications, as long as this notice is preserved.
    2821 
    2822 # serial 6
    28233058
    28243059# AM_MISSING_PROG(NAME, PROGRAM)
     
    28293064AC_SUBST($1)])
    28303065
    2831 
    28323066# AM_MISSING_HAS_RUN
    28333067# ------------------
    2834 # Define MISSING if not defined so far and test if it supports --run.
    2835 # If it does, set am_missing_run to use it, otherwise, to nothing.
     3068# Define MISSING if not defined so far and test if it is modern enough.
     3069# If it is, set am_missing_run to use it, otherwise, to nothing.
    28363070AC_DEFUN([AM_MISSING_HAS_RUN],
    28373071[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     
    28463080fi
    28473081# Use eval to expand $SHELL
    2848 if eval "$MISSING --run true"; then
    2849   am_missing_run="$MISSING --run "
     3082if eval "$MISSING --is-lightweight"; then
     3083  am_missing_run="$MISSING "
    28503084else
    28513085  am_missing_run=
    2852   AC_MSG_WARN([`missing' script is too old or missing])
     3086  AC_MSG_WARN(['missing' script is too old or missing])
    28533087fi
    28543088])
    28553089
    2856 # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation,
    2857 # Inc.
     3090# Helper functions for option handling.                     -*- Autoconf -*-
     3091
     3092# Copyright (C) 2001-2014 Free Software Foundation, Inc.
    28583093#
    28593094# This file is free software; the Free Software Foundation
    28603095# gives unlimited permission to copy and/or distribute it,
    28613096# with or without modifications, as long as this notice is preserved.
    2862 
    2863 # serial 1
    2864 
    2865 # AM_PROG_MKDIR_P
    2866 # ---------------
    2867 # Check for `mkdir -p'.
    2868 AC_DEFUN([AM_PROG_MKDIR_P],
    2869 [AC_PREREQ([2.60])dnl
    2870 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
    2871 dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
    2872 dnl while keeping a definition of mkdir_p for backward compatibility.
    2873 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
    2874 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
    2875 dnl Makefile.ins that do not define MKDIR_P, so we do our own
    2876 dnl adjustment using top_builddir (which is defined more often than
    2877 dnl MKDIR_P).
    2878 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
    2879 case $mkdir_p in
    2880   [[\\/$]]* | ?:[[\\/]]*) ;;
    2881   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
    2882 esac
    2883 ])
    2884 
    2885 # Helper functions for option handling.                     -*- Autoconf -*-
    2886 
    2887 # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software
    2888 # Foundation, Inc.
    2889 #
    2890 # This file is free software; the Free Software Foundation
    2891 # gives unlimited permission to copy and/or distribute it,
    2892 # with or without modifications, as long as this notice is preserved.
    2893 
    2894 # serial 5
    28953097
    28963098# _AM_MANGLE_OPTION(NAME)
     
    29033105# Set option NAME.  Presently that only means defining a flag for this option.
    29043106AC_DEFUN([_AM_SET_OPTION],
    2905 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
     3107[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
    29063108
    29073109# _AM_SET_OPTIONS(OPTIONS)
     
    29173119[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
    29183120
    2919 # Check to make sure that the build environment is sane.    -*- Autoconf -*-
    2920 
    2921 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
    2922 # Free Software Foundation, Inc.
     3121# Copyright (C) 1999-2014 Free Software Foundation, Inc.
    29233122#
    29243123# This file is free software; the Free Software Foundation
     
    29263125# with or without modifications, as long as this notice is preserved.
    29273126
    2928 # serial 5
     3127# _AM_PROG_CC_C_O
     3128# ---------------
     3129# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
     3130# to automatically call this.
     3131AC_DEFUN([_AM_PROG_CC_C_O],
     3132[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
     3133AC_REQUIRE_AUX_FILE([compile])dnl
     3134AC_LANG_PUSH([C])dnl
     3135AC_CACHE_CHECK(
     3136  [whether $CC understands -c and -o together],
     3137  [am_cv_prog_cc_c_o],
     3138  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
     3139  # Make sure it works both with $CC and with simple cc.
     3140  # Following AC_PROG_CC_C_O, we do the test twice because some
     3141  # compilers refuse to overwrite an existing .o file with -o,
     3142  # though they will create one.
     3143  am_cv_prog_cc_c_o=yes
     3144  for am_i in 1 2; do
     3145    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
     3146         && test -f conftest2.$ac_objext; then
     3147      : OK
     3148    else
     3149      am_cv_prog_cc_c_o=no
     3150      break
     3151    fi
     3152  done
     3153  rm -f core conftest*
     3154  unset am_i])
     3155if test "$am_cv_prog_cc_c_o" != yes; then
     3156   # Losing compiler, so override with the script.
     3157   # FIXME: It is wrong to rewrite CC.
     3158   # But if we don't then we get into trouble of one sort or another.
     3159   # A longer-term fix would be to have automake use am__CC in this case,
     3160   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     3161   CC="$am_aux_dir/compile $CC"
     3162fi
     3163AC_LANG_POP([C])])
     3164
     3165# For backward compatibility.
     3166AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
     3167
     3168# Copyright (C) 2001-2014 Free Software Foundation, Inc.
     3169#
     3170# This file is free software; the Free Software Foundation
     3171# gives unlimited permission to copy and/or distribute it,
     3172# with or without modifications, as long as this notice is preserved.
     3173
     3174# AM_RUN_LOG(COMMAND)
     3175# -------------------
     3176# Run COMMAND, save the exit status in ac_status, and log it.
     3177# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
     3178AC_DEFUN([AM_RUN_LOG],
     3179[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
     3180   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
     3181   ac_status=$?
     3182   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
     3183   (exit $ac_status); }])
     3184
     3185# Check to make sure that the build environment is sane.    -*- Autoconf -*-
     3186
     3187# Copyright (C) 1996-2014 Free Software Foundation, Inc.
     3188#
     3189# This file is free software; the Free Software Foundation
     3190# gives unlimited permission to copy and/or distribute it,
     3191# with or without modifications, as long as this notice is preserved.
    29293192
    29303193# AM_SANITY_CHECK
     
    29323195AC_DEFUN([AM_SANITY_CHECK],
    29333196[AC_MSG_CHECKING([whether build environment is sane])
    2934 # Just in case
    2935 sleep 1
    2936 echo timestamp > conftest.file
    29373197# Reject unsafe characters in $srcdir or the absolute working directory
    29383198# name.  Accept space and tab only in the latter.
     
    29453205case $srcdir in
    29463206  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
    2947     AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
     3207    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
    29483208esac
    29493209
    2950 # Do `set' in a subshell so we don't clobber the current shell's
     3210# Do 'set' in a subshell so we don't clobber the current shell's
    29513211# arguments.  Must try -L first in case configure is actually a
    29523212# symlink; some systems play weird games with the mod time of symlinks
     
    29543214# directory).
    29553215if (
    2956    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
    2957    if test "$[*]" = "X"; then
    2958       # -L didn't work.
    2959       set X `ls -t "$srcdir/configure" conftest.file`
    2960    fi
    2961    rm -f conftest.file
    2962    if test "$[*]" != "X $srcdir/configure conftest.file" \
    2963       && test "$[*]" != "X conftest.file $srcdir/configure"; then
    2964 
    2965       # If neither matched, then we have a broken ls.  This can happen
    2966       # if, for instance, CONFIG_SHELL is bash and it inherits a
    2967       # broken ls alias from the environment.  This has actually
    2968       # happened.  Such a system could not be considered "sane".
    2969       AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
    2970 alias in your environment])
    2971    fi
    2972 
     3216   am_has_slept=no
     3217   for am_try in 1 2; do
     3218     echo "timestamp, slept: $am_has_slept" > conftest.file
     3219     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
     3220     if test "$[*]" = "X"; then
     3221        # -L didn't work.
     3222        set X `ls -t "$srcdir/configure" conftest.file`
     3223     fi
     3224     if test "$[*]" != "X $srcdir/configure conftest.file" \
     3225        && test "$[*]" != "X conftest.file $srcdir/configure"; then
     3226
     3227        # If neither matched, then we have a broken ls.  This can happen
     3228        # if, for instance, CONFIG_SHELL is bash and it inherits a
     3229        # broken ls alias from the environment.  This has actually
     3230        # happened.  Such a system could not be considered "sane".
     3231        AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
     3232  alias in your environment])
     3233     fi
     3234     if test "$[2]" = conftest.file || test $am_try -eq 2; then
     3235       break
     3236     fi
     3237     # Just in case.
     3238     sleep 1
     3239     am_has_slept=yes
     3240   done
    29733241   test "$[2]" = conftest.file
    29743242   )
     
    29803248Check your system clock])
    29813249fi
    2982 AC_MSG_RESULT(yes)])
    2983 
    2984 # Copyright (C) 2009, 2011  Free Software Foundation, Inc.
     3250AC_MSG_RESULT([yes])
     3251# If we didn't sleep, we still need to ensure time stamps of config.status and
     3252# generated files are strictly newer.
     3253am_sleep_pid=
     3254if grep 'slept: no' conftest.file >/dev/null 2>&1; then
     3255  ( sleep 1 ) &
     3256  am_sleep_pid=$!
     3257fi
     3258AC_CONFIG_COMMANDS_PRE(
     3259  [AC_MSG_CHECKING([that generated files are newer than configure])
     3260   if test -n "$am_sleep_pid"; then
     3261     # Hide warnings about reused PIDs.
     3262     wait $am_sleep_pid 2>/dev/null
     3263   fi
     3264   AC_MSG_RESULT([done])])
     3265rm -f conftest.file
     3266])
     3267
     3268# Copyright (C) 2009-2014 Free Software Foundation, Inc.
    29853269#
    29863270# This file is free software; the Free Software Foundation
     
    29883272# with or without modifications, as long as this notice is preserved.
    29893273
    2990 # serial 2
    2991 
    29923274# AM_SILENT_RULES([DEFAULT])
    29933275# --------------------------
    29943276# Enable less verbose build rules; with the default set to DEFAULT
    2995 # (`yes' being less verbose, `no' or empty being verbose).
     3277# ("yes" being less verbose, "no" or empty being verbose).
    29963278AC_DEFUN([AM_SILENT_RULES],
    2997 [AC_ARG_ENABLE([silent-rules],
    2998 [  --enable-silent-rules          less verbose build output (undo: `make V=1')
    2999   --disable-silent-rules         verbose build output (undo: `make V=0')])
    3000 case $enable_silent_rules in
    3001 yes) AM_DEFAULT_VERBOSITY=0;;
    3002 no)  AM_DEFAULT_VERBOSITY=1;;
    3003 *)   AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
     3279[AC_ARG_ENABLE([silent-rules], [dnl
     3280AS_HELP_STRING(
     3281  [--enable-silent-rules],
     3282  [less verbose build output (undo: "make V=1")])
     3283AS_HELP_STRING(
     3284  [--disable-silent-rules],
     3285  [verbose build output (undo: "make V=0")])dnl
     3286])
     3287case $enable_silent_rules in @%:@ (((
     3288  yes) AM_DEFAULT_VERBOSITY=0;;
     3289   no) AM_DEFAULT_VERBOSITY=1;;
     3290    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
    30043291esac
    30053292dnl
    3006 dnl A few `make' implementations (e.g., NonStop OS and NextStep)
     3293dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
    30073294dnl do not support nested variable expansions.
    30083295dnl See automake bug#9928 and bug#10237.
     
    30223309fi])
    30233310if test $am_cv_make_support_nested_variables = yes; then
    3024   dnl Using `$V' instead of `$(V)' breaks IRIX make.
     3311  dnl Using '$V' instead of '$(V)' breaks IRIX make.
    30253312  AM_V='$(V)'
    30263313  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
     
    30393326])
    30403327
    3041 # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc.
     3328# Copyright (C) 2001-2014 Free Software Foundation, Inc.
    30423329#
    30433330# This file is free software; the Free Software Foundation
     
    30453332# with or without modifications, as long as this notice is preserved.
    30463333
    3047 # serial 1
    3048 
    30493334# AM_PROG_INSTALL_STRIP
    30503335# ---------------------
    3051 # One issue with vendor `install' (even GNU) is that you can't
     3336# One issue with vendor 'install' (even GNU) is that you can't
    30523337# specify the program used to strip binaries.  This is especially
    30533338# annoying in cross-compiling environments, where the build's strip
    30543339# is unlikely to handle the host's binaries.
    30553340# Fortunately install-sh will honor a STRIPPROG variable, so we
    3056 # always use install-sh in `make install-strip', and initialize
     3341# always use install-sh in "make install-strip", and initialize
    30573342# STRIPPROG with the value of the STRIP variable (set by the user).
    30583343AC_DEFUN([AM_PROG_INSTALL_STRIP],
    30593344[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
    3060 # Installed binaries are usually stripped using `strip' when the user
    3061 # run `make install-strip'.  However `strip' might not be the right
     3345# Installed binaries are usually stripped using 'strip' when the user
     3346# run "make install-strip".  However 'strip' might not be the right
    30623347# tool to use in cross-compilation environments, therefore Automake
    3063 # will honor the `STRIP' environment variable to overrule this program.
    3064 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
     3348# will honor the 'STRIP' environment variable to overrule this program.
     3349dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
    30653350if test "$cross_compiling" != no; then
    30663351  AC_CHECK_TOOL([STRIP], [strip], :)
     
    30693354AC_SUBST([INSTALL_STRIP_PROGRAM])])
    30703355
    3071 # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
     3356# Copyright (C) 2006-2014 Free Software Foundation, Inc.
    30723357#
    30733358# This file is free software; the Free Software Foundation
    30743359# gives unlimited permission to copy and/or distribute it,
    30753360# with or without modifications, as long as this notice is preserved.
    3076 
    3077 # serial 3
    30783361
    30793362# _AM_SUBST_NOTMAKE(VARIABLE)
     
    30903373# Check how to create a tarball.                            -*- Autoconf -*-
    30913374
    3092 # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc.
     3375# Copyright (C) 2004-2014 Free Software Foundation, Inc.
    30933376#
    30943377# This file is free software; the Free Software Foundation
     
    30963379# with or without modifications, as long as this notice is preserved.
    30973380
    3098 # serial 2
    3099 
    31003381# _AM_PROG_TAR(FORMAT)
    31013382# --------------------
    31023383# Check how to create a tarball in format FORMAT.
    3103 # FORMAT should be one of `v7', `ustar', or `pax'.
     3384# FORMAT should be one of 'v7', 'ustar', or 'pax'.
    31043385#
    31053386# Substitute a variable $(am__tar) that is a command
     
    31113392# a tarball read from stdin.
    31123393#     $(am__untar) < result.tar
     3394#
    31133395AC_DEFUN([_AM_PROG_TAR],
    31143396[# Always define AMTAR for backward compatibility.  Yes, it's still used
    31153397# in the wild :-(  We should find a proper way to deprecate it ...
    31163398AC_SUBST([AMTAR], ['$${TAR-tar}'])
     3399
     3400# We'll loop over all known methods to create a tar archive until one works.
     3401_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
     3402
    31173403m4_if([$1], [v7],
    3118      [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
    3119      [m4_case([$1], [ustar],, [pax],,
    3120               [m4_fatal([Unknown tar format])])
    3121 AC_MSG_CHECKING([how to create a $1 tar archive])
    3122 # Loop over all known methods to create a tar archive until one works.
    3123 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
    3124 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
    3125 # Do not fold the above two line into one, because Tru64 sh and
    3126 # Solaris sh will not grok spaces in the rhs of `-'.
    3127 for _am_tool in $_am_tools
    3128 do
    3129   case $_am_tool in
    3130   gnutar)
    3131     for _am_tar in tar gnutar gtar;
    3132     do
    3133       AM_RUN_LOG([$_am_tar --version]) && break
    3134     done
    3135     am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
    3136     am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
    3137     am__untar="$_am_tar -xf -"
    3138     ;;
    3139   plaintar)
    3140     # Must skip GNU tar: if it does not support --format= it doesn't create
    3141     # ustar tarball either.
    3142     (tar --version) >/dev/null 2>&1 && continue
    3143     am__tar='tar chf - "$$tardir"'
    3144     am__tar_='tar chf - "$tardir"'
    3145     am__untar='tar xf -'
    3146     ;;
    3147   pax)
    3148     am__tar='pax -L -x $1 -w "$$tardir"'
    3149     am__tar_='pax -L -x $1 -w "$tardir"'
    3150     am__untar='pax -r'
    3151     ;;
    3152   cpio)
    3153     am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
    3154     am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
    3155     am__untar='cpio -i -H $1 -d'
    3156     ;;
    3157   none)
    3158     am__tar=false
    3159     am__tar_=false
    3160     am__untar=false
    3161     ;;
    3162   esac
    3163 
    3164   # If the value was cached, stop now.  We just wanted to have am__tar
    3165   # and am__untar set.
    3166   test -n "${am_cv_prog_tar_$1}" && break
    3167 
    3168   # tar/untar a dummy directory, and stop if the command works
     3404  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
     3405
     3406  [m4_case([$1],
     3407    [ustar],
     3408     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
     3409      # There is notably a 21 bits limit for the UID and the GID.  In fact,
     3410      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
     3411      # and bug#13588).
     3412      am_max_uid=2097151 # 2^21 - 1
     3413      am_max_gid=$am_max_uid
     3414      # The $UID and $GID variables are not portable, so we need to resort
     3415      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
     3416      # below are definitely unexpected, so allow the users to see them
     3417      # (that is, avoid stderr redirection).
     3418      am_uid=`id -u || echo unknown`
     3419      am_gid=`id -g || echo unknown`
     3420      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
     3421      if test $am_uid -le $am_max_uid; then
     3422         AC_MSG_RESULT([yes])
     3423      else
     3424         AC_MSG_RESULT([no])
     3425         _am_tools=none
     3426      fi
     3427      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
     3428      if test $am_gid -le $am_max_gid; then
     3429         AC_MSG_RESULT([yes])
     3430      else
     3431        AC_MSG_RESULT([no])
     3432        _am_tools=none
     3433      fi],
     3434
     3435  [pax],
     3436    [],
     3437
     3438  [m4_fatal([Unknown tar format])])
     3439
     3440  AC_MSG_CHECKING([how to create a $1 tar archive])
     3441
     3442  # Go ahead even if we have the value already cached.  We do so because we
     3443  # need to set the values for the 'am__tar' and 'am__untar' variables.
     3444  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
     3445
     3446  for _am_tool in $_am_tools; do
     3447    case $_am_tool in
     3448    gnutar)
     3449      for _am_tar in tar gnutar gtar; do
     3450        AM_RUN_LOG([$_am_tar --version]) && break
     3451      done
     3452      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
     3453      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
     3454      am__untar="$_am_tar -xf -"
     3455      ;;
     3456    plaintar)
     3457      # Must skip GNU tar: if it does not support --format= it doesn't create
     3458      # ustar tarball either.
     3459      (tar --version) >/dev/null 2>&1 && continue
     3460      am__tar='tar chf - "$$tardir"'
     3461      am__tar_='tar chf - "$tardir"'
     3462      am__untar='tar xf -'
     3463      ;;
     3464    pax)
     3465      am__tar='pax -L -x $1 -w "$$tardir"'
     3466      am__tar_='pax -L -x $1 -w "$tardir"'
     3467      am__untar='pax -r'
     3468      ;;
     3469    cpio)
     3470      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
     3471      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
     3472      am__untar='cpio -i -H $1 -d'
     3473      ;;
     3474    none)
     3475      am__tar=false
     3476      am__tar_=false
     3477      am__untar=false
     3478      ;;
     3479    esac
     3480
     3481    # If the value was cached, stop now.  We just wanted to have am__tar
     3482    # and am__untar set.
     3483    test -n "${am_cv_prog_tar_$1}" && break
     3484
     3485    # tar/untar a dummy directory, and stop if the command works.
     3486    rm -rf conftest.dir
     3487    mkdir conftest.dir
     3488    echo GrepMe > conftest.dir/file
     3489    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
     3490    rm -rf conftest.dir
     3491    if test -s conftest.tar; then
     3492      AM_RUN_LOG([$am__untar <conftest.tar])
     3493      AM_RUN_LOG([cat conftest.dir/file])
     3494      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
     3495    fi
     3496  done
    31693497  rm -rf conftest.dir
    3170   mkdir conftest.dir
    3171   echo GrepMe > conftest.dir/file
    3172   AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
    3173   rm -rf conftest.dir
    3174   if test -s conftest.tar; then
    3175     AM_RUN_LOG([$am__untar <conftest.tar])
    3176     grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
    3177   fi
    3178 done
    3179 rm -rf conftest.dir
    3180 
    3181 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
    3182 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
     3498
     3499  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
     3500  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
     3501
    31833502AC_SUBST([am__tar])
    31843503AC_SUBST([am__untar])
  • 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.