Commit 018223b159e80b85a89e321eb2b6eacdbe6d32d5

Authored by Mario Lang
1 parent 00be795a

Imported Upstream version 2.12.1

Makefile.in
... ... @@ -83,9 +83,8 @@ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
83 83 $(top_srcdir)/configure $(am__configure_deps) \
84 84 $(srcdir)/config.h.in $(srcdir)/atk-bridge-2.0.pc.in AUTHORS \
85 85 COPYING INSTALL NEWS README config/config.guess \
86   - config/config.sub config/depcomp config/install-sh \
87   - config/missing config/ltmain.sh \
88   - $(top_srcdir)/config/config.guess \
  86 + config/config.sub config/install-sh config/missing \
  87 + config/ltmain.sh $(top_srcdir)/config/config.guess \
89 88 $(top_srcdir)/config/config.sub \
90 89 $(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \
91 90 $(top_srcdir)/config/missing
... ...
NEWS
1   -What's new in at-spi2-atk 2.10.2:
  1 +What's new in at-spi2-atk 2.12.1:
2 2  
3   -* Fix atk_component_contains wrapper (BGO#710730).
  3 +* Clean up socket files and directories on exit (BGO#684076).
  4 +
  5 +What's new in at-spi2-atk 2.11.92:
  6 +
  7 +* Bump minimum libdbus version needed, since we use a function
  8 + introduced in 1.5.
  9 +
  10 +What's new in at-spi2-atk 2.11.91:
  11 +
  12 +* Improve compatibility with at-spi2-registryd <= 2.10.
  13 +
  14 +* Collection: Fix an infinite loop when encountering a NULL parent
  15 +
  16 +What's new in at-spi2-atk 2.11.90:
  17 +
  18 +* Add AtspitableCell, tracking the new atk interface
  19 +
  20 +What's new in at-spi2-atk 2.11.5:
  21 +
  22 +* Allow sending of properties with events upon request (BGO#708695).
  23 +
  24 +What's new in at-spi2-atk 2.11.3:
  25 +
  26 + * Fix atspi_text_get_bounded_ranges
  27 +
  28 +* document: add support to current page and page count (BGO#719508).
  29 +
  30 +What's new in at-spi2-atk 2.11.2:
  31 +
  32 +* Add new roles and states to track atk (BGO#710464, BGO#712608, BGO#712609).
  33 +
  34 +What's new in at-spi2-atk 2.11.1:
  35 +
  36 +* Fix Contains method for components (BGO#710730).
4 37  
5 38 What's new in at-spi2-atk 2.9.92:
6 39  
... ...
aclocal.m4
Changes suppressed. Click to show
... ... @@ -20,6 +20,221 @@ You have another version of autoconf. It may work, but is not guaranteed to.
20 20 If you have problems, you may need to regenerate the build system entirely.
21 21 To do so, use the procedure documented by the package, typically 'autoreconf'.])])
22 22  
  23 +# pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*-
  24 +# serial 1 (pkg-config-0.24)
  25 +#
  26 +# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
  27 +#
  28 +# This program is free software; you can redistribute it and/or modify
  29 +# it under the terms of the GNU General Public License as published by
  30 +# the Free Software Foundation; either version 2 of the License, or
  31 +# (at your option) any later version.
  32 +#
  33 +# This program is distributed in the hope that it will be useful, but
  34 +# WITHOUT ANY WARRANTY; without even the implied warranty of
  35 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  36 +# General Public License for more details.
  37 +#
  38 +# You should have received a copy of the GNU General Public License
  39 +# along with this program; if not, write to the Free Software
  40 +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  41 +#
  42 +# As a special exception to the GNU General Public License, if you
  43 +# distribute this file as part of a program that contains a
  44 +# configuration script generated by Autoconf, you may include it under
  45 +# the same distribution terms that you use for the rest of that program.
  46 +
  47 +# PKG_PROG_PKG_CONFIG([MIN-VERSION])
  48 +# ----------------------------------
  49 +AC_DEFUN([PKG_PROG_PKG_CONFIG],
  50 +[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
  51 +m4_pattern_allow([^PKG_CONFIG(_(PATH|LIBDIR|SYSROOT_DIR|ALLOW_SYSTEM_(CFLAGS|LIBS)))?$])
  52 +m4_pattern_allow([^PKG_CONFIG_(DISABLE_UNINSTALLED|TOP_BUILD_DIR|DEBUG_SPEW)$])
  53 +AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
  54 +AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
  55 +AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
  56 +
  57 +if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  58 + AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
  59 +fi
  60 +if test -n "$PKG_CONFIG"; then
  61 + _pkg_min_version=m4_default([$1], [0.9.0])
  62 + AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version])
  63 + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  64 + AC_MSG_RESULT([yes])
  65 + else
  66 + AC_MSG_RESULT([no])
  67 + PKG_CONFIG=""
  68 + fi
  69 +fi[]dnl
  70 +])# PKG_PROG_PKG_CONFIG
  71 +
  72 +# PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
  73 +#
  74 +# Check to see whether a particular set of modules exists. Similar
  75 +# to PKG_CHECK_MODULES(), but does not set variables or print errors.
  76 +#
  77 +# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
  78 +# only at the first occurence in configure.ac, so if the first place
  79 +# it's called might be skipped (such as if it is within an "if", you
  80 +# have to call PKG_CHECK_EXISTS manually
  81 +# --------------------------------------------------------------
  82 +AC_DEFUN([PKG_CHECK_EXISTS],
  83 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  84 +if test -n "$PKG_CONFIG" && \
  85 + AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
  86 + m4_default([$2], [:])
  87 +m4_ifvaln([$3], [else
  88 + $3])dnl
  89 +fi])
  90 +
  91 +# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
  92 +# ---------------------------------------------
  93 +m4_define([_PKG_CONFIG],
  94 +[if test -n "$$1"; then
  95 + pkg_cv_[]$1="$$1"
  96 + elif test -n "$PKG_CONFIG"; then
  97 + PKG_CHECK_EXISTS([$3],
  98 + [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`
  99 + test "x$?" != "x0" && pkg_failed=yes ],
  100 + [pkg_failed=yes])
  101 + else
  102 + pkg_failed=untried
  103 +fi[]dnl
  104 +])# _PKG_CONFIG
  105 +
  106 +# _PKG_SHORT_ERRORS_SUPPORTED
  107 +# -----------------------------
  108 +AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED],
  109 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])
  110 +if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  111 + _pkg_short_errors_supported=yes
  112 +else
  113 + _pkg_short_errors_supported=no
  114 +fi[]dnl
  115 +])# _PKG_SHORT_ERRORS_SUPPORTED
  116 +
  117 +
  118 +# PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND],
  119 +# [ACTION-IF-NOT-FOUND])
  120 +#
  121 +#
  122 +# Note that if there is a possibility the first call to
  123 +# PKG_CHECK_MODULES might not happen, you should be sure to include an
  124 +# explicit call to PKG_PROG_PKG_CONFIG in your configure.ac
  125 +#
  126 +#
  127 +# --------------------------------------------------------------
  128 +AC_DEFUN([PKG_CHECK_MODULES],
  129 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  130 +AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl
  131 +AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl
  132 +
  133 +pkg_failed=no
  134 +AC_MSG_CHECKING([for $1])
  135 +
  136 +_PKG_CONFIG([$1][_CFLAGS], [cflags], [$2])
  137 +_PKG_CONFIG([$1][_LIBS], [libs], [$2])
  138 +
  139 +m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS
  140 +and $1[]_LIBS to avoid the need to call pkg-config.
  141 +See the pkg-config man page for more details.])
  142 +
  143 +if test $pkg_failed = yes; then
  144 + AC_MSG_RESULT([no])
  145 + _PKG_SHORT_ERRORS_SUPPORTED
  146 + if test $_pkg_short_errors_supported = yes; then
  147 + $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$2" 2>&1`
  148 + else
  149 + $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$2" 2>&1`
  150 + fi
  151 + # Put the nasty error message in config.log where it belongs
  152 + echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
  153 +
  154 + m4_default([$4], [AC_MSG_ERROR(
  155 +[Package requirements ($2) were not met:
  156 +
  157 +$$1_PKG_ERRORS
  158 +
  159 +Consider adjusting the PKG_CONFIG_PATH environment variable if you
  160 +installed software in a non-standard prefix.
  161 +
  162 +_PKG_TEXT])[]dnl
  163 + ])
  164 +elif test $pkg_failed = untried; then
  165 + AC_MSG_RESULT([no])
  166 + m4_default([$4], [AC_MSG_FAILURE(
  167 +[The pkg-config script could not be found or is too old. Make sure it
  168 +is in your PATH or set the PKG_CONFIG environment variable to the full
  169 +path to pkg-config.
  170 +
  171 +_PKG_TEXT
  172 +
  173 +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
  174 + ])
  175 +else
  176 + $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
  177 + $1[]_LIBS=$pkg_cv_[]$1[]_LIBS
  178 + AC_MSG_RESULT([yes])
  179 + $3
  180 +fi[]dnl
  181 +])# PKG_CHECK_MODULES
  182 +
  183 +
  184 +# PKG_INSTALLDIR(DIRECTORY)
  185 +# -------------------------
  186 +# Substitutes the variable pkgconfigdir as the location where a module
  187 +# should install pkg-config .pc files. By default the directory is
  188 +# $libdir/pkgconfig, but the default can be changed by passing
  189 +# DIRECTORY. The user can override through the --with-pkgconfigdir
  190 +# parameter.
  191 +AC_DEFUN([PKG_INSTALLDIR],
  192 +[m4_pushdef([pkg_default], [m4_default([$1], ['${libdir}/pkgconfig'])])
  193 +m4_pushdef([pkg_description],
  194 + [pkg-config installation directory @<:@]pkg_default[@:>@])
  195 +AC_ARG_WITH([pkgconfigdir],
  196 + [AS_HELP_STRING([--with-pkgconfigdir], pkg_description)],,
  197 + [with_pkgconfigdir=]pkg_default)
  198 +AC_SUBST([pkgconfigdir], [$with_pkgconfigdir])
  199 +m4_popdef([pkg_default])
  200 +m4_popdef([pkg_description])
  201 +]) dnl PKG_INSTALLDIR
  202 +
  203 +
  204 +# PKG_NOARCH_INSTALLDIR(DIRECTORY)
  205 +# -------------------------
  206 +# Substitutes the variable noarch_pkgconfigdir as the location where a
  207 +# module should install arch-independent pkg-config .pc files. By
  208 +# default the directory is $datadir/pkgconfig, but the default can be
  209 +# changed by passing DIRECTORY. The user can override through the
  210 +# --with-noarch-pkgconfigdir parameter.
  211 +AC_DEFUN([PKG_NOARCH_INSTALLDIR],
  212 +[m4_pushdef([pkg_default], [m4_default([$1], ['${datadir}/pkgconfig'])])
  213 +m4_pushdef([pkg_description],
  214 + [pkg-config arch-independent installation directory @<:@]pkg_default[@:>@])
  215 +AC_ARG_WITH([noarch-pkgconfigdir],
  216 + [AS_HELP_STRING([--with-noarch-pkgconfigdir], pkg_description)],,
  217 + [with_noarch_pkgconfigdir=]pkg_default)
  218 +AC_SUBST([noarch_pkgconfigdir], [$with_noarch_pkgconfigdir])
  219 +m4_popdef([pkg_default])
  220 +m4_popdef([pkg_description])
  221 +]) dnl PKG_NOARCH_INSTALLDIR
  222 +
  223 +
  224 +# PKG_CHECK_VAR(VARIABLE, MODULE, CONFIG-VARIABLE,
  225 +# [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
  226 +# -------------------------------------------
  227 +# Retrieves the value of the pkg-config variable for the given module.
  228 +AC_DEFUN([PKG_CHECK_VAR],
  229 +[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
  230 +AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config])dnl
  231 +
  232 +_PKG_CONFIG([$1], [variable="][$3]["], [$2])
  233 +AS_VAR_COPY([$1], [pkg_cv_][$1])
  234 +
  235 +AS_VAR_IF([$1], [""], [$5], [$4])dnl
  236 +])# PKG_CHECK_VAR
  237 +
23 238 dnl GLIB_GSETTINGS
24 239 dnl Defines GSETTINGS_SCHEMAS_INSTALL which controls whether
25 240 dnl the schema should be compiled
... ... @@ -59,7 +274,7 @@ mostlyclean-am: clean-gsettings-schemas
59 274 gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
60 275  
61 276 %.gschema.valid: %.gschema.xml $(gsettings__enum_file)
62   - $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch [$]@
  277 + $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$< && mkdir -p [$](@D) && touch [$]@
63 278  
64 279 all-am: $(gsettings_SCHEMAS:.xml=.valid)
65 280 uninstall-am: uninstall-gsettings-schemas
... ... @@ -106,9 +321,7 @@ m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
106 321  
107 322 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
108 323 #
109   -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
110   -# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
111   -# Foundation, Inc.
  324 +# Copyright (C) 1996-2001, 2003-2013 Free Software Foundation, Inc.
112 325 # Written by Gordon Matzigkeit, 1996
113 326 #
114 327 # This file is free software; the Free Software Foundation gives
... ... @@ -145,7 +358,7 @@ m4_define([_LT_COPYING], [dnl
145 358 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
146 359 ])
147 360  
148   -# serial 57 LT_INIT
  361 +# serial 58 LT_INIT
149 362  
150 363  
151 364 # LT_PREREQ(VERSION)
... ... @@ -197,7 +410,7 @@ dnl Parse OPTIONS
197 410 _LT_SET_OPTIONS([$0], [$1])
198 411  
199 412 # This can be used to rebuild libtool when needed
200   -LIBTOOL_DEPS="$ltmain"
  413 +LIBTOOL_DEPS=$ltmain
201 414  
202 415 # Always use our own libtool.
203 416 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
... ... @@ -236,7 +449,7 @@ cc_basename=`$ECHO &quot;$cc_temp&quot; | $SED &quot;s%.*/%%; s%^$host_alias-%%&quot;`
236 449 # _LT_FILEUTILS_DEFAULTS
237 450 # ----------------------
238 451 # It is okay to use these file commands and assume they have been set
239   -# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
  452 +# sensibly after 'm4_require([_LT_FILEUTILS_DEFAULTS])'.
240 453 m4_defun([_LT_FILEUTILS_DEFAULTS],
241 454 [: ${CP="cp -f"}
242 455 : ${MV="mv -f"}
... ... @@ -285,13 +498,13 @@ m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
285 498 m4_require([_LT_WITH_SYSROOT])dnl
286 499  
287 500 _LT_CONFIG_LIBTOOL_INIT([
288   -# See if we are running on zsh, and set the options which allow our
  501 +# See if we are running on zsh, and set the options that allow our
289 502 # commands through without removal of \ escapes INIT.
290   -if test -n "\${ZSH_VERSION+set}" ; then
  503 +if test -n "\${ZSH_VERSION+set}"; then
291 504 setopt NO_GLOB_SUBST
292 505 fi
293 506 ])
294   -if test -n "${ZSH_VERSION+set}" ; then
  507 +if test -n "${ZSH_VERSION+set}"; then
295 508 setopt NO_GLOB_SUBST
296 509 fi
297 510  
... ... @@ -304,7 +517,7 @@ aix3*)
304 517 # AIX sometimes has problems with the GCC collect2 program. For some
305 518 # reason, if we set the COLLECT_NAMES environment variable, the problems
306 519 # vanish in a puff of smoke.
307   - if test "X${COLLECT_NAMES+set}" != Xset; then
  520 + if test set != "${COLLECT_NAMES+set}"; then
308 521 COLLECT_NAMES=
309 522 export COLLECT_NAMES
310 523 fi
... ... @@ -315,14 +528,14 @@ esac
315 528 ofile=libtool
316 529 can_build_shared=yes
317 530  
318   -# All known linkers require a `.a' archive for static linking (except MSVC,
  531 +# All known linkers require a '.a' archive for static linking (except MSVC,
319 532 # which needs '.lib').
320 533 libext=a
321 534  
322   -with_gnu_ld="$lt_cv_prog_gnu_ld"
  535 +with_gnu_ld=$lt_cv_prog_gnu_ld
323 536  
324   -old_CC="$CC"
325   -old_CFLAGS="$CFLAGS"
  537 +old_CC=$CC
  538 +old_CFLAGS=$CFLAGS
326 539  
327 540 # Set sane defaults for various variables
328 541 test -z "$CC" && CC=cc
... ... @@ -375,21 +588,21 @@ no_glob_subst=&#39;s/\*/\\\*/g&#39;
375 588  
376 589 # _LT_PROG_LTMAIN
377 590 # ---------------
378   -# Note that this code is called both from `configure', and `config.status'
  591 +# Note that this code is called both from 'configure', and 'config.status'
379 592 # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably,
380   -# `config.status' has no value for ac_aux_dir unless we are using Automake,
  593 +# 'config.status' has no value for ac_aux_dir unless we are using Automake,
381 594 # so we pass a copy along to make sure it has a sensible value anyway.
382 595 m4_defun([_LT_PROG_LTMAIN],
383 596 [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
384 597 _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
385   -ltmain="$ac_aux_dir/ltmain.sh"
  598 +ltmain=$ac_aux_dir/ltmain.sh
386 599 ])# _LT_PROG_LTMAIN
387 600  
388 601  
389 602  
390 603 # So that we can recreate a full libtool script including additional
391 604 # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
392   -# in macros and then make a single call at the end using the `libtool'
  605 +# in macros and then make a single call at the end using the 'libtool'
393 606 # label.
394 607  
395 608  
... ... @@ -521,8 +734,8 @@ m4_define([_lt_decl_all_varnames],
521 734  
522 735 # _LT_CONFIG_STATUS_DECLARE([VARNAME])
523 736 # ------------------------------------
524   -# Quote a variable value, and forward it to `config.status' so that its
525   -# declaration there will have the same value as in `configure'. VARNAME
  737 +# Quote a variable value, and forward it to 'config.status' so that its
  738 +# declaration there will have the same value as in 'configure'. VARNAME
526 739 # must have a single quote delimited value for this to work.
527 740 m4_define([_LT_CONFIG_STATUS_DECLARE],
528 741 [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
... ... @@ -546,7 +759,7 @@ m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
546 759 # Output comment and list of tags supported by the script
547 760 m4_defun([_LT_LIBTOOL_TAGS],
548 761 [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
549   -available_tags="_LT_TAGS"dnl
  762 +available_tags='_LT_TAGS'dnl
550 763 ])
551 764  
552 765  
... ... @@ -574,7 +787,7 @@ m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
574 787 # _LT_LIBTOOL_CONFIG_VARS
575 788 # -----------------------
576 789 # Produce commented declarations of non-tagged libtool config variables
577   -# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
  790 +# suitable for insertion in the LIBTOOL CONFIG section of the 'libtool'
578 791 # script. Tagged libtool config variables (even for the LIBTOOL CONFIG
579 792 # section) are produced by _LT_LIBTOOL_TAG_VARS.
580 793 m4_defun([_LT_LIBTOOL_CONFIG_VARS],
... ... @@ -600,8 +813,8 @@ m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
600 813 # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of
601 814 # variables for single and double quote escaping we saved from calls
602 815 # to _LT_DECL, we can put quote escaped variables declarations
603   -# into `config.status', and then the shell code to quote escape them in
604   -# for loops in `config.status'. Finally, any additional code accumulated
  816 +# into 'config.status', and then the shell code to quote escape them in
  817 +# for loops in 'config.status'. Finally, any additional code accumulated
605 818 # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
606 819 m4_defun([_LT_CONFIG_COMMANDS],
607 820 [AC_PROVIDE_IFELSE([LT_OUTPUT],
... ... @@ -647,7 +860,7 @@ for var in lt_decl_all_varnames([[ \
647 860 ]], lt_decl_quote_varnames); do
648 861 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
649 862 *[[\\\\\\\`\\"\\\$]]*)
650   - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  863 + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
651 864 ;;
652 865 *)
653 866 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
... ... @@ -660,7 +873,7 @@ for var in lt_decl_all_varnames([[ \
660 873 ]], lt_decl_dquote_varnames); do
661 874 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
662 875 *[[\\\\\\\`\\"\\\$]]*)
663   - eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  876 + eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
664 877 ;;
665 878 *)
666 879 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
... ... @@ -676,7 +889,7 @@ _LT_OUTPUT_LIBTOOL_INIT
676 889 # Generate a child script FILE with all initialization necessary to
677 890 # reuse the environment learned by the parent script, and make the
678 891 # file executable. If COMMENT is supplied, it is inserted after the
679   -# `#!' sequence but before initialization text begins. After this
  892 +# '#!' sequence but before initialization text begins. After this
680 893 # macro, additional text can be appended to FILE to form the body of
681 894 # the child script. The macro ends with non-zero status if the
682 895 # file could not be fully written (such as if the disk is full).
... ... @@ -698,7 +911,7 @@ AS_SHELL_SANITIZE
698 911 _AS_PREPARE
699 912 exec AS_MESSAGE_FD>&1
700 913 _ASEOF
701   -test $lt_write_fail = 0 && chmod +x $1[]dnl
  914 +test 0 = "$lt_write_fail" && chmod +x $1[]dnl
702 915 m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
703 916  
704 917 # LT_OUTPUT
... ... @@ -721,7 +934,7 @@ exec AS_MESSAGE_LOG_FD&gt;&gt;config.log
721 934 } >&AS_MESSAGE_LOG_FD
722 935  
723 936 lt_cl_help="\
724   -\`$as_me' creates a local libtool stub from the current configuration,
  937 +'$as_me' creates a local libtool stub from the current configuration,
725 938 for use in further configure time tests before the real libtool is
726 939 generated.
727 940  
... ... @@ -743,7 +956,7 @@ Copyright (C) 2011 Free Software Foundation, Inc.
743 956 This config.lt script is free software; the Free Software Foundation
744 957 gives unlimited permision to copy, distribute and modify it."
745 958  
746   -while test $[#] != 0
  959 +while test 0 != $[#]
747 960 do
748 961 case $[1] in
749 962 --version | --v* | -V )
... ... @@ -756,10 +969,10 @@ do
756 969 lt_cl_silent=: ;;
757 970  
758 971 -*) AC_MSG_ERROR([unrecognized option: $[1]
759   -Try \`$[0] --help' for more information.]) ;;
  972 +Try '$[0] --help' for more information.]) ;;
760 973  
761 974 *) AC_MSG_ERROR([unrecognized argument: $[1]
762   -Try \`$[0] --help' for more information.]) ;;
  975 +Try '$[0] --help' for more information.]) ;;
763 976 esac
764 977 shift
765 978 done
... ... @@ -785,7 +998,7 @@ chmod +x &quot;$CONFIG_LT&quot;
785 998 # open by configure. Here we exec the FD to /dev/null, effectively closing
786 999 # config.log, so it can be properly (re)opened and appended to by config.lt.
787 1000 lt_cl_success=:
788   -test "$silent" = yes &&
  1001 +test yes = "$silent" &&
789 1002 lt_config_lt_args="$lt_config_lt_args --quiet"
790 1003 exec AS_MESSAGE_LOG_FD>/dev/null
791 1004 $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
... ... @@ -805,13 +1018,13 @@ m4_defun([_LT_CONFIG],
805 1018 _LT_CONFIG_SAVE_COMMANDS([
806 1019 m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
807 1020 m4_if(_LT_TAG, [C], [
808   - # See if we are running on zsh, and set the options which allow our
  1021 + # See if we are running on zsh, and set the options that allow our
809 1022 # commands through without removal of \ escapes.
810   - if test -n "${ZSH_VERSION+set}" ; then
  1023 + if test -n "${ZSH_VERSION+set}"; then
811 1024 setopt NO_GLOB_SUBST
812 1025 fi
813 1026  
814   - cfgfile="${ofile}T"
  1027 + cfgfile=${ofile}T
815 1028 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
816 1029 $RM "$cfgfile"
817 1030  
... ... @@ -819,7 +1032,7 @@ _LT_CONFIG_SAVE_COMMANDS([
819 1032 #! $SHELL
820 1033  
821 1034 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
822   -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  1035 +# Generated automatically by $as_me ($PACKAGE) $VERSION
823 1036 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
824 1037 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
825 1038 #
... ... @@ -839,7 +1052,7 @@ _LT_EOF
839 1052 # AIX sometimes has problems with the GCC collect2 program. For some
840 1053 # reason, if we set the COLLECT_NAMES environment variable, the problems
841 1054 # vanish in a puff of smoke.
842   -if test "X${COLLECT_NAMES+set}" != Xset; then
  1055 +if test set != "${COLLECT_NAMES+set}"; then
843 1056 COLLECT_NAMES=
844 1057 export COLLECT_NAMES
845 1058 fi
... ... @@ -856,8 +1069,6 @@ _LT_EOF
856 1069 sed '$q' "$ltmain" >> "$cfgfile" \
857 1070 || (rm -f "$cfgfile"; exit 1)
858 1071  
859   - _LT_PROG_REPLACE_SHELLFNS
860   -
861 1072 mv -f "$cfgfile" "$ofile" ||
862 1073 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
863 1074 chmod +x "$ofile"
... ... @@ -875,7 +1086,6 @@ _LT_EOF
875 1086 [m4_if([$1], [], [
876 1087 PACKAGE='$PACKAGE'
877 1088 VERSION='$VERSION'
878   - TIMESTAMP='$TIMESTAMP'
879 1089 RM='$RM'
880 1090 ofile='$ofile'], [])
881 1091 ])dnl /_LT_CONFIG_SAVE_COMMANDS
... ... @@ -1072,7 +1282,7 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
1072 1282  
1073 1283 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
1074 1284 [lt_cv_apple_cc_single_mod=no
1075   - if test -z "${LT_MULTI_MODULE}"; then
  1285 + if test -z "$LT_MULTI_MODULE"; then
1076 1286 # By default we will add the -single_module flag. You can override
1077 1287 # by either setting the environment variable LT_MULTI_MODULE
1078 1288 # non-empty at configure time, or by adding -multi_module to the
... ... @@ -1090,7 +1300,7 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
1090 1300 cat conftest.err >&AS_MESSAGE_LOG_FD
1091 1301 # Otherwise, if the output was created with a 0 exit code from
1092 1302 # the compiler, it worked.
1093   - elif test -f libconftest.dylib && test $_lt_result -eq 0; then
  1303 + elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
1094 1304 lt_cv_apple_cc_single_mod=yes
1095 1305 else
1096 1306 cat conftest.err >&AS_MESSAGE_LOG_FD
... ... @@ -1108,7 +1318,7 @@ m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
1108 1318 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
1109 1319 [lt_cv_ld_exported_symbols_list=yes],
1110 1320 [lt_cv_ld_exported_symbols_list=no])
1111   - LDFLAGS="$save_LDFLAGS"
  1321 + LDFLAGS=$save_LDFLAGS
1112 1322 ])
1113 1323  
1114 1324 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
... ... @@ -1130,7 +1340,7 @@ _LT_EOF
1130 1340 _lt_result=$?
1131 1341 if test -s conftest.err && $GREP force_load conftest.err; then
1132 1342 cat conftest.err >&AS_MESSAGE_LOG_FD
1133   - elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
  1343 + elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
1134 1344 lt_cv_ld_force_load=yes
1135 1345 else
1136 1346 cat conftest.err >&AS_MESSAGE_LOG_FD
... ... @@ -1140,32 +1350,32 @@ _LT_EOF
1140 1350 ])
1141 1351 case $host_os in
1142 1352 rhapsody* | darwin1.[[012]])
1143   - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  1353 + _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
1144 1354 darwin1.*)
1145   - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1355 + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1146 1356 darwin*) # darwin 5.x on
1147 1357 # if running on 10.5 or later, the deployment target defaults
1148 1358 # to the OS version, if on x86, and 10.4, the deployment
1149 1359 # target defaults to 10.4. Don't you love it?
1150 1360 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1151 1361 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1152   - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1362 + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1153 1363 10.[[012]]*)
1154   - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  1364 + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
1155 1365 10.*)
1156   - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  1366 + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
1157 1367 esac
1158 1368 ;;
1159 1369 esac
1160   - if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  1370 + if test yes = "$lt_cv_apple_cc_single_mod"; then
1161 1371 _lt_dar_single_mod='$single_module'
1162 1372 fi
1163   - if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
1164   - _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  1373 + if test yes = "$lt_cv_ld_exported_symbols_list"; then
  1374 + _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
1165 1375 else
1166   - _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  1376 + _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
1167 1377 fi
1168   - if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  1378 + if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
1169 1379 _lt_dsymutil='~$DSYMUTIL $lib || :'
1170 1380 else
1171 1381 _lt_dsymutil=
... ... @@ -1185,29 +1395,29 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
1185 1395 _LT_TAGVAR(hardcode_direct, $1)=no
1186 1396 _LT_TAGVAR(hardcode_automatic, $1)=yes
1187 1397 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1188   - if test "$lt_cv_ld_force_load" = "yes"; then
1189   - _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\"`'
  1398 + if test yes = "$lt_cv_ld_force_load"; then
  1399 + _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\"`'
1190 1400 m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
1191 1401 [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
1192 1402 else
1193 1403 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1194 1404 fi
1195 1405 _LT_TAGVAR(link_all_deplibs, $1)=yes
1196   - _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  1406 + _LT_TAGVAR(allow_undefined_flag, $1)=$_lt_dar_allow_undefined
1197 1407 case $cc_basename in
1198   - ifort*) _lt_dar_can_shared=yes ;;
  1408 + ifort*|nagfor*) _lt_dar_can_shared=yes ;;
1199 1409 *) _lt_dar_can_shared=$GCC ;;
1200 1410 esac
1201   - if test "$_lt_dar_can_shared" = "yes"; then
  1411 + if test yes = "$_lt_dar_can_shared"; then
1202 1412 output_verbose_link_cmd=func_echo_all
1203   - _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}"
1204   - _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1205   - _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}"
1206   - _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}"
  1413 + _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"
  1414 + _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
  1415 + _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"
  1416 + _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"
1207 1417 m4_if([$1], [CXX],
1208   -[ if test "$lt_cv_apple_cc_single_mod" != "yes"; then
1209   - _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}"
1210   - _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}"
  1418 +[ if test yes != "$lt_cv_apple_cc_single_mod"; then
  1419 + _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"
  1420 + _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"
1211 1421 fi
1212 1422 ],[])
1213 1423 else
... ... @@ -1227,7 +1437,7 @@ m4_defun([_LT_DARWIN_LINKER_FEATURES],
1227 1437 # Allow to override them for all tags through lt_cv_aix_libpath.
1228 1438 m4_defun([_LT_SYS_MODULE_PATH_AIX],
1229 1439 [m4_require([_LT_DECL_SED])dnl
1230   -if test "${lt_cv_aix_libpath+set}" = set; then
  1440 +if test set = "${lt_cv_aix_libpath+set}"; then
1231 1441 aix_libpath=$lt_cv_aix_libpath
1232 1442 else
1233 1443 AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])],
... ... @@ -1245,7 +1455,7 @@ else
1245 1455 _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1246 1456 fi],[])
1247 1457 if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then
1248   - _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib"
  1458 + _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=/usr/lib:/lib
1249 1459 fi
1250 1460 ])
1251 1461 aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])
... ... @@ -1265,8 +1475,8 @@ m4_define([_LT_SHELL_INIT],
1265 1475 # -----------------------
1266 1476 # Find how we can fake an echo command that does not interpret backslash.
1267 1477 # In particular, with Autoconf 2.60 or later we add some code to the start
1268   -# of the generated configure script which will find a shell with a builtin
1269   -# printf (which we can use as an echo command).
  1478 +# of the generated configure script that will find a shell with a builtin
  1479 +# printf (that we can use as an echo command).
1270 1480 m4_defun([_LT_PROG_ECHO_BACKSLASH],
1271 1481 [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1272 1482 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
... ... @@ -1294,10 +1504,10 @@ fi
1294 1504 # Invoke $ECHO with all args, space-separated.
1295 1505 func_echo_all ()
1296 1506 {
1297   - $ECHO "$*"
  1507 + $ECHO "$*"
1298 1508 }
1299 1509  
1300   -case "$ECHO" in
  1510 +case $ECHO in
1301 1511 printf*) AC_MSG_RESULT([printf]) ;;
1302 1512 print*) AC_MSG_RESULT([print -r]) ;;
1303 1513 *) AC_MSG_RESULT([cat]) ;;
... ... @@ -1323,16 +1533,17 @@ _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
1323 1533 AC_DEFUN([_LT_WITH_SYSROOT],
1324 1534 [AC_MSG_CHECKING([for sysroot])
1325 1535 AC_ARG_WITH([sysroot],
1326   -[ --with-sysroot[=DIR] Search for dependent libraries within DIR
1327   - (or the compiler's sysroot if not specified).],
  1536 +[AS_HELP_STRING([--with-sysroot@<:@=DIR@:>@],
  1537 + [Search for dependent libraries within DIR (or the compiler's sysroot
  1538 + if not specified).])],
1328 1539 [], [with_sysroot=no])
1329 1540  
1330 1541 dnl lt_sysroot will always be passed unquoted. We quote it here
1331 1542 dnl in case the user passed a directory name.
1332 1543 lt_sysroot=
1333   -case ${with_sysroot} in #(
  1544 +case $with_sysroot in #(
1334 1545 yes)
1335   - if test "$GCC" = yes; then
  1546 + if test yes = "$GCC"; then
1336 1547 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
1337 1548 fi
1338 1549 ;; #(
... ... @@ -1342,14 +1553,14 @@ case ${with_sysroot} in #(
1342 1553 no|'')
1343 1554 ;; #(
1344 1555 *)
1345   - AC_MSG_RESULT([${with_sysroot}])
  1556 + AC_MSG_RESULT([$with_sysroot])
1346 1557 AC_MSG_ERROR([The sysroot must be an absolute path.])
1347 1558 ;;
1348 1559 esac
1349 1560  
1350 1561 AC_MSG_RESULT([${lt_sysroot:-no}])
1351 1562 _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl
1352   -[dependent libraries, and in which our libraries should be installed.])])
  1563 +[dependent libraries, and where our libraries should be installed.])])
1353 1564  
1354 1565 # _LT_ENABLE_LOCK
1355 1566 # ---------------
... ... @@ -1357,31 +1568,33 @@ m4_defun([_LT_ENABLE_LOCK],
1357 1568 [AC_ARG_ENABLE([libtool-lock],
1358 1569 [AS_HELP_STRING([--disable-libtool-lock],
1359 1570 [avoid locking (might break parallel builds)])])
1360   -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  1571 +test no = "$enable_libtool_lock" || enable_libtool_lock=yes
1361 1572  
1362 1573 # Some flags need to be propagated to the compiler or linker for good
1363 1574 # libtool support.
1364 1575 case $host in
1365 1576 ia64-*-hpux*)
1366   - # Find out which ABI we are using.
  1577 + # Find out what ABI is being produced by ac_compile, and set mode
  1578 + # options accordingly.
1367 1579 echo 'int i;' > conftest.$ac_ext
1368 1580 if AC_TRY_EVAL(ac_compile); then
1369 1581 case `/usr/bin/file conftest.$ac_objext` in
1370 1582 *ELF-32*)
1371   - HPUX_IA64_MODE="32"
  1583 + HPUX_IA64_MODE=32
1372 1584 ;;
1373 1585 *ELF-64*)
1374   - HPUX_IA64_MODE="64"
  1586 + HPUX_IA64_MODE=64
1375 1587 ;;
1376 1588 esac
1377 1589 fi
1378 1590 rm -rf conftest*
1379 1591 ;;
1380 1592 *-*-irix6*)
1381   - # Find out which ABI we are using.
  1593 + # Find out what ABI is being produced by ac_compile, and set linker
  1594 + # options accordingly.
1382 1595 echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1383 1596 if AC_TRY_EVAL(ac_compile); then
1384   - if test "$lt_cv_prog_gnu_ld" = yes; then
  1597 + if test yes = "$lt_cv_prog_gnu_ld"; then
1385 1598 case `/usr/bin/file conftest.$ac_objext` in
1386 1599 *32-bit*)
1387 1600 LD="${LD-ld} -melf32bsmip"
... ... @@ -1410,9 +1623,46 @@ ia64-*-hpux*)
1410 1623 rm -rf conftest*
1411 1624 ;;
1412 1625  
1413   -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  1626 +mips64*-*linux*)
  1627 + # Find out what ABI is being produced by ac_compile, and set linker
  1628 + # options accordingly.
  1629 + echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
  1630 + if AC_TRY_EVAL(ac_compile); then
  1631 + emul=elf
  1632 + case `/usr/bin/file conftest.$ac_objext` in
  1633 + *32-bit*)
  1634 + emul="${emul}32"
  1635 + ;;
  1636 + *64-bit*)
  1637 + emul="${emul}64"
  1638 + ;;
  1639 + esac
  1640 + case `/usr/bin/file conftest.$ac_objext` in
  1641 + *MSB*)
  1642 + emul="${emul}btsmip"
  1643 + ;;
  1644 + *LSB*)
  1645 + emul="${emul}ltsmip"
  1646 + ;;
  1647 + esac
  1648 + case `/usr/bin/file conftest.$ac_objext` in
  1649 + *N32*)
  1650 + emul="${emul}n32"
  1651 + ;;
  1652 + esac
  1653 + LD="${LD-ld} -m $emul"
  1654 + fi
  1655 + rm -rf conftest*
  1656 + ;;
  1657 +
  1658 +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
1414 1659 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1415   - # Find out which ABI we are using.
  1660 + # Find out what ABI is being produced by ac_compile, and set linker
  1661 + # options accordingly. Note that the listed cases only cover the
  1662 + # situations where additional linker options are needed (such as when
  1663 + # doing 32-bit compilation for a host where ld defaults to 64-bit, or
  1664 + # vice versa); the common cases where no linker options are needed do
  1665 + # not appear in the list.
1416 1666 echo 'int i;' > conftest.$ac_ext
1417 1667 if AC_TRY_EVAL(ac_compile); then
1418 1668 case `/usr/bin/file conftest.o` in
... ... @@ -1422,9 +1672,19 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1422 1672 LD="${LD-ld} -m elf_i386_fbsd"
1423 1673 ;;
1424 1674 x86_64-*linux*)
1425   - LD="${LD-ld} -m elf_i386"
  1675 + case `/usr/bin/file conftest.o` in
  1676 + *x86-64*)
  1677 + LD="${LD-ld} -m elf32_x86_64"
  1678 + ;;
  1679 + *)
  1680 + LD="${LD-ld} -m elf_i386"
  1681 + ;;
  1682 + esac
  1683 + ;;
  1684 + powerpc64le-*linux*)
  1685 + LD="${LD-ld} -m elf32lppclinux"
1426 1686 ;;
1427   - ppc64-*linux*|powerpc64-*linux*)
  1687 + powerpc64-*linux*)
1428 1688 LD="${LD-ld} -m elf32ppclinux"
1429 1689 ;;
1430 1690 s390x-*linux*)
... ... @@ -1443,7 +1703,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1443 1703 x86_64-*linux*)
1444 1704 LD="${LD-ld} -m elf_x86_64"
1445 1705 ;;
1446   - ppc*-*linux*|powerpc*-*linux*)
  1706 + powerpcle-*linux*)
  1707 + LD="${LD-ld} -m elf64lppc"
  1708 + ;;
  1709 + powerpc-*linux*)
1447 1710 LD="${LD-ld} -m elf64ppc"
1448 1711 ;;
1449 1712 s390*-*linux*|s390*-*tpf*)
... ... @@ -1461,19 +1724,20 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1461 1724  
1462 1725 *-*-sco3.2v5*)
1463 1726 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1464   - SAVE_CFLAGS="$CFLAGS"
  1727 + SAVE_CFLAGS=$CFLAGS
1465 1728 CFLAGS="$CFLAGS -belf"
1466 1729 AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1467 1730 [AC_LANG_PUSH(C)
1468 1731 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1469 1732 AC_LANG_POP])
1470   - if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  1733 + if test yes != "$lt_cv_cc_needs_belf"; then
1471 1734 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1472   - CFLAGS="$SAVE_CFLAGS"
  1735 + CFLAGS=$SAVE_CFLAGS
1473 1736 fi
1474 1737 ;;
1475 1738 *-*solaris*)
1476   - # Find out which ABI we are using.
  1739 + # Find out what ABI is being produced by ac_compile, and set linker
  1740 + # options accordingly.
1477 1741 echo 'int i;' > conftest.$ac_ext
1478 1742 if AC_TRY_EVAL(ac_compile); then
1479 1743 case `/usr/bin/file conftest.o` in
... ... @@ -1481,7 +1745,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1481 1745 case $lt_cv_prog_gnu_ld in
1482 1746 yes*)
1483 1747 case $host in
1484   - i?86-*-solaris*)
  1748 + i?86-*-solaris*|x86_64-*-solaris*)
1485 1749 LD="${LD-ld} -m elf_x86_64"
1486 1750 ;;
1487 1751 sparc*-*-solaris*)
... ... @@ -1490,7 +1754,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1490 1754 esac
1491 1755 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
1492 1756 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1493   - LD="${LD-ld}_sol2"
  1757 + LD=${LD-ld}_sol2
1494 1758 fi
1495 1759 ;;
1496 1760 *)
... ... @@ -1506,7 +1770,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1506 1770 ;;
1507 1771 esac
1508 1772  
1509   -need_locks="$enable_libtool_lock"
  1773 +need_locks=$enable_libtool_lock
1510 1774 ])# _LT_ENABLE_LOCK
1511 1775  
1512 1776  
... ... @@ -1525,11 +1789,11 @@ AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
1525 1789 [echo conftest.$ac_objext > conftest.lst
1526 1790 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD'
1527 1791 AC_TRY_EVAL([lt_ar_try])
1528   - if test "$ac_status" -eq 0; then
  1792 + if test 0 -eq "$ac_status"; then
1529 1793 # Ensure the archiver fails upon bogus file names.
1530 1794 rm -f conftest.$ac_objext libconftest.a
1531 1795 AC_TRY_EVAL([lt_ar_try])
1532   - if test "$ac_status" -ne 0; then
  1796 + if test 0 -ne "$ac_status"; then
1533 1797 lt_cv_ar_at_file=@
1534 1798 fi
1535 1799 fi
... ... @@ -1537,7 +1801,7 @@ AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file],
1537 1801 ])
1538 1802 ])
1539 1803  
1540   -if test "x$lt_cv_ar_at_file" = xno; then
  1804 +if test no = "$lt_cv_ar_at_file"; then
1541 1805 archiver_list_spec=
1542 1806 else
1543 1807 archiver_list_spec=$lt_cv_ar_at_file
... ... @@ -1568,7 +1832,7 @@ old_postuninstall_cmds=
1568 1832  
1569 1833 if test -n "$RANLIB"; then
1570 1834 case $host_os in
1571   - openbsd*)
  1835 + bitrig* | openbsd*)
1572 1836 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1573 1837 ;;
1574 1838 *)
... ... @@ -1604,7 +1868,7 @@ AC_CACHE_CHECK([$1], [$2],
1604 1868 [$2=no
1605 1869 m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1606 1870 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1607   - lt_compiler_flag="$3"
  1871 + lt_compiler_flag="$3" ## exclude from sc_useless_quotes_in_assignment
1608 1872 # Insert the option either (1) after the last *FLAGS variable, or
1609 1873 # (2) before a word containing "conftest.", or (3) at the end.
1610 1874 # Note that $ac_compile itself does not contain backslashes and begins
... ... @@ -1631,7 +1895,7 @@ AC_CACHE_CHECK([$1], [$2],
1631 1895 $RM conftest*
1632 1896 ])
1633 1897  
1634   -if test x"[$]$2" = xyes; then
  1898 +if test yes = "[$]$2"; then
1635 1899 m4_if([$5], , :, [$5])
1636 1900 else
1637 1901 m4_if([$6], , :, [$6])
... ... @@ -1653,7 +1917,7 @@ AC_DEFUN([_LT_LINKER_OPTION],
1653 1917 m4_require([_LT_DECL_SED])dnl
1654 1918 AC_CACHE_CHECK([$1], [$2],
1655 1919 [$2=no
1656   - save_LDFLAGS="$LDFLAGS"
  1920 + save_LDFLAGS=$LDFLAGS
1657 1921 LDFLAGS="$LDFLAGS $3"
1658 1922 echo "$lt_simple_link_test_code" > conftest.$ac_ext
1659 1923 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
... ... @@ -1672,10 +1936,10 @@ AC_CACHE_CHECK([$1], [$2],
1672 1936 fi
1673 1937 fi
1674 1938 $RM -r conftest*
1675   - LDFLAGS="$save_LDFLAGS"
  1939 + LDFLAGS=$save_LDFLAGS
1676 1940 ])
1677 1941  
1678   -if test x"[$]$2" = xyes; then
  1942 +if test yes = "[$]$2"; then
1679 1943 m4_if([$4], , :, [$4])
1680 1944 else
1681 1945 m4_if([$5], , :, [$5])
... ... @@ -1696,7 +1960,7 @@ AC_DEFUN([LT_CMD_MAX_LEN],
1696 1960 AC_MSG_CHECKING([the maximum length of command line arguments])
1697 1961 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1698 1962 i=0
1699   - teststring="ABCD"
  1963 + teststring=ABCD
1700 1964  
1701 1965 case $build_os in
1702