PageRenderTime 91ms CodeModel.GetById 55ms app.highlight 10ms RepoModel.GetById 1ms app.codeStats 2ms

/js/src/ctypes/libffi/aclocal.m4

http://github.com/zpao/v8monkey
m4 | 9803 lines | 6765 code | 1026 blank | 2012 comment | 0 complexity | e559507d9cbd96800a6194287eeb63db MD5 | raw file

Large files files are truncated, but you can click here to view the full file

   1# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
   2
   3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
   4# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
   5# This file is free software; the Free Software Foundation
   6# gives unlimited permission to copy and/or distribute it,
   7# with or without modifications, as long as this notice is preserved.
   8
   9# This program is distributed in the hope that it will be useful,
  10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  12# PARTICULAR PURPOSE.
  13
  14m4_ifndef([AC_AUTOCONF_VERSION],
  15  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  16m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
  17[m4_warning([this file was generated for autoconf 2.65.
  18You have another version of autoconf.  It may work, but is not guaranteed to.
  19If you have problems, you may need to regenerate the build system entirely.
  20To do so, use the procedure documented by the package, typically `autoreconf'.])])
  21
  22# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
  23#
  24#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  25#                 2006, 2007, 2008 Free Software Foundation, Inc.
  26#   Written by Gordon Matzigkeit, 1996
  27#
  28# This file is free software; the Free Software Foundation gives
  29# unlimited permission to copy and/or distribute it, with or without
  30# modifications, as long as this notice is preserved.
  31
  32m4_define([_LT_COPYING], [dnl
  33#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  34#                 2006, 2007, 2008 Free Software Foundation, Inc.
  35#   Written by Gordon Matzigkeit, 1996
  36#
  37#   This file is part of GNU Libtool.
  38#
  39# GNU Libtool is free software; you can redistribute it and/or
  40# modify it under the terms of the GNU General Public License as
  41# published by the Free Software Foundation; either version 2 of
  42# the License, or (at your option) any later version.
  43#
  44# As a special exception to the GNU General Public License,
  45# if you distribute this file as part of a program or library that
  46# is built using GNU Libtool, you may include this file under the
  47# same distribution terms that you use for the rest of that program.
  48#
  49# GNU Libtool is distributed in the hope that it will be useful,
  50# but WITHOUT ANY WARRANTY; without even the implied warranty of
  51# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  52# GNU General Public License for more details.
  53#
  54# You should have received a copy of the GNU General Public License
  55# along with GNU Libtool; see the file COPYING.  If not, a copy
  56# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  57# obtained by writing to the Free Software Foundation, Inc.,
  58# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  59])
  60
  61# serial 56 LT_INIT
  62
  63
  64# LT_PREREQ(VERSION)
  65# ------------------
  66# Complain and exit if this libtool version is less that VERSION.
  67m4_defun([LT_PREREQ],
  68[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
  69       [m4_default([$3],
  70		   [m4_fatal([Libtool version $1 or higher is required],
  71		             63)])],
  72       [$2])])
  73
  74
  75# _LT_CHECK_BUILDDIR
  76# ------------------
  77# Complain if the absolute build directory name contains unusual characters
  78m4_defun([_LT_CHECK_BUILDDIR],
  79[case `pwd` in
  80  *\ * | *\	*)
  81    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
  82esac
  83])
  84
  85
  86# LT_INIT([OPTIONS])
  87# ------------------
  88AC_DEFUN([LT_INIT],
  89[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
  90AC_BEFORE([$0], [LT_LANG])dnl
  91AC_BEFORE([$0], [LT_OUTPUT])dnl
  92AC_BEFORE([$0], [LTDL_INIT])dnl
  93m4_require([_LT_CHECK_BUILDDIR])dnl
  94
  95dnl Autoconf doesn't catch unexpanded LT_ macros by default:
  96m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
  97m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
  98dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
  99dnl unless we require an AC_DEFUNed macro:
 100AC_REQUIRE([LTOPTIONS_VERSION])dnl
 101AC_REQUIRE([LTSUGAR_VERSION])dnl
 102AC_REQUIRE([LTVERSION_VERSION])dnl
 103AC_REQUIRE([LTOBSOLETE_VERSION])dnl
 104m4_require([_LT_PROG_LTMAIN])dnl
 105
 106dnl Parse OPTIONS
 107_LT_SET_OPTIONS([$0], [$1])
 108
 109# This can be used to rebuild libtool when needed
 110LIBTOOL_DEPS="$ltmain"
 111
 112# Always use our own libtool.
 113LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 114AC_SUBST(LIBTOOL)dnl
 115
 116_LT_SETUP
 117
 118# Only expand once:
 119m4_define([LT_INIT])
 120])# LT_INIT
 121
 122# Old names:
 123AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
 124AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
 125dnl aclocal-1.4 backwards compatibility:
 126dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
 127dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
 128
 129
 130# _LT_CC_BASENAME(CC)
 131# -------------------
 132# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
 133m4_defun([_LT_CC_BASENAME],
 134[for cc_temp in $1""; do
 135  case $cc_temp in
 136    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
 137    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
 138    \-*) ;;
 139    *) break;;
 140  esac
 141done
 142cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 143])
 144
 145
 146# _LT_FILEUTILS_DEFAULTS
 147# ----------------------
 148# It is okay to use these file commands and assume they have been set
 149# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
 150m4_defun([_LT_FILEUTILS_DEFAULTS],
 151[: ${CP="cp -f"}
 152: ${MV="mv -f"}
 153: ${RM="rm -f"}
 154])# _LT_FILEUTILS_DEFAULTS
 155
 156
 157# _LT_SETUP
 158# ---------
 159m4_defun([_LT_SETUP],
 160[AC_REQUIRE([AC_CANONICAL_HOST])dnl
 161AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 162_LT_DECL([], [host_alias], [0], [The host system])dnl
 163_LT_DECL([], [host], [0])dnl
 164_LT_DECL([], [host_os], [0])dnl
 165dnl
 166_LT_DECL([], [build_alias], [0], [The build system])dnl
 167_LT_DECL([], [build], [0])dnl
 168_LT_DECL([], [build_os], [0])dnl
 169dnl
 170AC_REQUIRE([AC_PROG_CC])dnl
 171AC_REQUIRE([LT_PATH_LD])dnl
 172AC_REQUIRE([LT_PATH_NM])dnl
 173dnl
 174AC_REQUIRE([AC_PROG_LN_S])dnl
 175test -z "$LN_S" && LN_S="ln -s"
 176_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
 177dnl
 178AC_REQUIRE([LT_CMD_MAX_LEN])dnl
 179_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
 180_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
 181dnl
 182m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 183m4_require([_LT_CHECK_SHELL_FEATURES])dnl
 184m4_require([_LT_CMD_RELOAD])dnl
 185m4_require([_LT_CHECK_MAGIC_METHOD])dnl
 186m4_require([_LT_CMD_OLD_ARCHIVE])dnl
 187m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
 188
 189_LT_CONFIG_LIBTOOL_INIT([
 190# See if we are running on zsh, and set the options which allow our
 191# commands through without removal of \ escapes INIT.
 192if test -n "\${ZSH_VERSION+set}" ; then
 193   setopt NO_GLOB_SUBST
 194fi
 195])
 196if test -n "${ZSH_VERSION+set}" ; then
 197   setopt NO_GLOB_SUBST
 198fi
 199
 200_LT_CHECK_OBJDIR
 201
 202m4_require([_LT_TAG_COMPILER])dnl
 203_LT_PROG_ECHO_BACKSLASH
 204
 205case $host_os in
 206aix3*)
 207  # AIX sometimes has problems with the GCC collect2 program.  For some
 208  # reason, if we set the COLLECT_NAMES environment variable, the problems
 209  # vanish in a puff of smoke.
 210  if test "X${COLLECT_NAMES+set}" != Xset; then
 211    COLLECT_NAMES=
 212    export COLLECT_NAMES
 213  fi
 214  ;;
 215esac
 216
 217# Sed substitution that helps us do robust quoting.  It backslashifies
 218# metacharacters that are still active within double-quoted strings.
 219sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
 220
 221# Same as above, but do not quote variable references.
 222double_quote_subst='s/\([["`\\]]\)/\\\1/g'
 223
 224# Sed substitution to delay expansion of an escaped shell variable in a
 225# double_quote_subst'ed string.
 226delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 227
 228# Sed substitution to delay expansion of an escaped single quote.
 229delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 230
 231# Sed substitution to avoid accidental globbing in evaled expressions
 232no_glob_subst='s/\*/\\\*/g'
 233
 234# Global variables:
 235ofile=libtool
 236can_build_shared=yes
 237
 238# All known linkers require a `.a' archive for static linking (except MSVC,
 239# which needs '.lib').
 240libext=a
 241
 242with_gnu_ld="$lt_cv_prog_gnu_ld"
 243
 244old_CC="$CC"
 245old_CFLAGS="$CFLAGS"
 246
 247# Set sane defaults for various variables
 248test -z "$CC" && CC=cc
 249test -z "$LTCC" && LTCC=$CC
 250test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
 251test -z "$LD" && LD=ld
 252test -z "$ac_objext" && ac_objext=o
 253
 254_LT_CC_BASENAME([$compiler])
 255
 256# Only perform the check for file, if the check method requires it
 257test -z "$MAGIC_CMD" && MAGIC_CMD=file
 258case $deplibs_check_method in
 259file_magic*)
 260  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
 261    _LT_PATH_MAGIC
 262  fi
 263  ;;
 264esac
 265
 266# Use C for the default configuration in the libtool script
 267LT_SUPPORTED_TAG([CC])
 268_LT_LANG_C_CONFIG
 269_LT_LANG_DEFAULT_CONFIG
 270_LT_CONFIG_COMMANDS
 271])# _LT_SETUP
 272
 273
 274# _LT_PROG_LTMAIN
 275# ---------------
 276# Note that this code is called both from `configure', and `config.status'
 277# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
 278# `config.status' has no value for ac_aux_dir unless we are using Automake,
 279# so we pass a copy along to make sure it has a sensible value anyway.
 280m4_defun([_LT_PROG_LTMAIN],
 281[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
 282_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
 283ltmain="$ac_aux_dir/ltmain.sh"
 284])# _LT_PROG_LTMAIN
 285
 286
 287
 288# So that we can recreate a full libtool script including additional
 289# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
 290# in macros and then make a single call at the end using the `libtool'
 291# label.
 292
 293
 294# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
 295# ----------------------------------------
 296# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
 297m4_define([_LT_CONFIG_LIBTOOL_INIT],
 298[m4_ifval([$1],
 299          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
 300                     [$1
 301])])])
 302
 303# Initialize.
 304m4_define([_LT_OUTPUT_LIBTOOL_INIT])
 305
 306
 307# _LT_CONFIG_LIBTOOL([COMMANDS])
 308# ------------------------------
 309# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
 310m4_define([_LT_CONFIG_LIBTOOL],
 311[m4_ifval([$1],
 312          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
 313                     [$1
 314])])])
 315
 316# Initialize.
 317m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
 318
 319
 320# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
 321# -----------------------------------------------------
 322m4_defun([_LT_CONFIG_SAVE_COMMANDS],
 323[_LT_CONFIG_LIBTOOL([$1])
 324_LT_CONFIG_LIBTOOL_INIT([$2])
 325])
 326
 327
 328# _LT_FORMAT_COMMENT([COMMENT])
 329# -----------------------------
 330# Add leading comment marks to the start of each line, and a trailing
 331# full-stop to the whole comment if one is not present already.
 332m4_define([_LT_FORMAT_COMMENT],
 333[m4_ifval([$1], [
 334m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
 335              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
 336)])
 337
 338
 339
 340
 341
 342# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
 343# -------------------------------------------------------------------
 344# CONFIGNAME is the name given to the value in the libtool script.
 345# VARNAME is the (base) name used in the configure script.
 346# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
 347# VARNAME.  Any other value will be used directly.
 348m4_define([_LT_DECL],
 349[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
 350    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
 351	[m4_ifval([$1], [$1], [$2])])
 352    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
 353    m4_ifval([$4],
 354	[lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
 355    lt_dict_add_subkey([lt_decl_dict], [$2],
 356	[tagged?], [m4_ifval([$5], [yes], [no])])])
 357])
 358
 359
 360# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
 361# --------------------------------------------------------
 362m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
 363
 364
 365# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
 366# ------------------------------------------------
 367m4_define([lt_decl_tag_varnames],
 368[_lt_decl_filter([tagged?], [yes], $@)])
 369
 370
 371# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
 372# ---------------------------------------------------------
 373m4_define([_lt_decl_filter],
 374[m4_case([$#],
 375  [0], [m4_fatal([$0: too few arguments: $#])],
 376  [1], [m4_fatal([$0: too few arguments: $#: $1])],
 377  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
 378  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
 379  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
 380])
 381
 382
 383# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
 384# --------------------------------------------------
 385m4_define([lt_decl_quote_varnames],
 386[_lt_decl_filter([value], [1], $@)])
 387
 388
 389# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
 390# ---------------------------------------------------
 391m4_define([lt_decl_dquote_varnames],
 392[_lt_decl_filter([value], [2], $@)])
 393
 394
 395# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
 396# ---------------------------------------------------
 397m4_define([lt_decl_varnames_tagged],
 398[m4_assert([$# <= 2])dnl
 399_$0(m4_quote(m4_default([$1], [[, ]])),
 400    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
 401    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
 402m4_define([_lt_decl_varnames_tagged],
 403[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
 404
 405
 406# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
 407# ------------------------------------------------
 408m4_define([lt_decl_all_varnames],
 409[_$0(m4_quote(m4_default([$1], [[, ]])),
 410     m4_if([$2], [],
 411	   m4_quote(lt_decl_varnames),
 412	m4_quote(m4_shift($@))))[]dnl
 413])
 414m4_define([_lt_decl_all_varnames],
 415[lt_join($@, lt_decl_varnames_tagged([$1],
 416			lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
 417])
 418
 419
 420# _LT_CONFIG_STATUS_DECLARE([VARNAME])
 421# ------------------------------------
 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
 424# must have a single quote delimited value for this to work.
 425m4_define([_LT_CONFIG_STATUS_DECLARE],
 426[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
 427
 428
 429# _LT_CONFIG_STATUS_DECLARATIONS
 430# ------------------------------
 431# We delimit libtool config variables with single quotes, so when
 432# we write them to config.status, we have to be sure to quote all
 433# embedded single quotes properly.  In configure, this macro expands
 434# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
 435#
 436#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
 437m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
 438[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
 439    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
 440
 441
 442# _LT_LIBTOOL_TAGS
 443# ----------------
 444# Output comment and list of tags supported by the script
 445m4_defun([_LT_LIBTOOL_TAGS],
 446[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
 447available_tags="_LT_TAGS"dnl
 448])
 449
 450
 451# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
 452# -----------------------------------
 453# Extract the dictionary values for VARNAME (optionally with TAG) and
 454# expand to a commented shell variable setting:
 455#
 456#    # Some comment about what VAR is for.
 457#    visible_name=$lt_internal_name
 458m4_define([_LT_LIBTOOL_DECLARE],
 459[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
 460					   [description])))[]dnl
 461m4_pushdef([_libtool_name],
 462    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
 463m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
 464    [0], [_libtool_name=[$]$1],
 465    [1], [_libtool_name=$lt_[]$1],
 466    [2], [_libtool_name=$lt_[]$1],
 467    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
 468m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
 469])
 470
 471
 472# _LT_LIBTOOL_CONFIG_VARS
 473# -----------------------
 474# Produce commented declarations of non-tagged libtool config variables
 475# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
 476# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
 477# section) are produced by _LT_LIBTOOL_TAG_VARS.
 478m4_defun([_LT_LIBTOOL_CONFIG_VARS],
 479[m4_foreach([_lt_var],
 480    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
 481    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
 482
 483
 484# _LT_LIBTOOL_TAG_VARS(TAG)
 485# -------------------------
 486m4_define([_LT_LIBTOOL_TAG_VARS],
 487[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
 488    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
 489
 490
 491# _LT_TAGVAR(VARNAME, [TAGNAME])
 492# ------------------------------
 493m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
 494
 495
 496# _LT_CONFIG_COMMANDS
 497# -------------------
 498# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
 499# variables for single and double quote escaping we saved from calls
 500# 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
 503# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
 504m4_defun([_LT_CONFIG_COMMANDS],
 505[AC_PROVIDE_IFELSE([LT_OUTPUT],
 506	dnl If the libtool generation code has been placed in $CONFIG_LT,
 507	dnl instead of duplicating it all over again into config.status,
 508	dnl then we will have config.status run $CONFIG_LT later, so it
 509	dnl needs to know what name is stored there:
 510        [AC_CONFIG_COMMANDS([libtool],
 511            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
 512    dnl If the libtool generation code is destined for config.status,
 513    dnl expand the accumulated commands and init code now:
 514    [AC_CONFIG_COMMANDS([libtool],
 515        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
 516])#_LT_CONFIG_COMMANDS
 517
 518
 519# Initialize.
 520m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
 521[
 522
 523# The HP-UX ksh and POSIX shell print the target directory to stdout
 524# if CDPATH is set.
 525(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 526
 527sed_quote_subst='$sed_quote_subst'
 528double_quote_subst='$double_quote_subst'
 529delay_variable_subst='$delay_variable_subst'
 530_LT_CONFIG_STATUS_DECLARATIONS
 531LTCC='$LTCC'
 532LTCFLAGS='$LTCFLAGS'
 533compiler='$compiler_DEFAULT'
 534
 535# Quote evaled strings.
 536for var in lt_decl_all_varnames([[ \
 537]], lt_decl_quote_varnames); do
 538    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 539    *[[\\\\\\\`\\"\\\$]]*)
 540      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 541      ;;
 542    *)
 543      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 544      ;;
 545    esac
 546done
 547
 548# Double-quote double-evaled strings.
 549for var in lt_decl_all_varnames([[ \
 550]], lt_decl_dquote_varnames); do
 551    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 552    *[[\\\\\\\`\\"\\\$]]*)
 553      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 554      ;;
 555    *)
 556      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 557      ;;
 558    esac
 559done
 560
 561# Fix-up fallback echo if it was mangled by the above quoting rules.
 562case \$lt_ECHO in
 563*'\\\[$]0 --fallback-echo"')dnl "
 564  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
 565  ;;
 566esac
 567
 568_LT_OUTPUT_LIBTOOL_INIT
 569])
 570
 571
 572# LT_OUTPUT
 573# ---------
 574# This macro allows early generation of the libtool script (before
 575# AC_OUTPUT is called), incase it is used in configure for compilation
 576# tests.
 577AC_DEFUN([LT_OUTPUT],
 578[: ${CONFIG_LT=./config.lt}
 579AC_MSG_NOTICE([creating $CONFIG_LT])
 580cat >"$CONFIG_LT" <<_LTEOF
 581#! $SHELL
 582# Generated by $as_me.
 583# Run this file to recreate a libtool stub with the current configuration.
 584
 585lt_cl_silent=false
 586SHELL=\${CONFIG_SHELL-$SHELL}
 587_LTEOF
 588
 589cat >>"$CONFIG_LT" <<\_LTEOF
 590AS_SHELL_SANITIZE
 591_AS_PREPARE
 592
 593exec AS_MESSAGE_FD>&1
 594exec AS_MESSAGE_LOG_FD>>config.log
 595{
 596  echo
 597  AS_BOX([Running $as_me.])
 598} >&AS_MESSAGE_LOG_FD
 599
 600lt_cl_help="\
 601\`$as_me' creates a local libtool stub from the current configuration,
 602for use in further configure time tests before the real libtool is
 603generated.
 604
 605Usage: $[0] [[OPTIONS]]
 606
 607  -h, --help      print this help, then exit
 608  -V, --version   print version number, then exit
 609  -q, --quiet     do not print progress messages
 610  -d, --debug     don't remove temporary files
 611
 612Report bugs to <bug-libtool@gnu.org>."
 613
 614lt_cl_version="\
 615m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
 616m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
 617configured by $[0], generated by m4_PACKAGE_STRING.
 618
 619Copyright (C) 2008 Free Software Foundation, Inc.
 620This config.lt script is free software; the Free Software Foundation
 621gives unlimited permision to copy, distribute and modify it."
 622
 623while test $[#] != 0
 624do
 625  case $[1] in
 626    --version | --v* | -V )
 627      echo "$lt_cl_version"; exit 0 ;;
 628    --help | --h* | -h )
 629      echo "$lt_cl_help"; exit 0 ;;
 630    --debug | --d* | -d )
 631      debug=: ;;
 632    --quiet | --q* | --silent | --s* | -q )
 633      lt_cl_silent=: ;;
 634
 635    -*) AC_MSG_ERROR([unrecognized option: $[1]
 636Try \`$[0] --help' for more information.]) ;;
 637
 638    *) AC_MSG_ERROR([unrecognized argument: $[1]
 639Try \`$[0] --help' for more information.]) ;;
 640  esac
 641  shift
 642done
 643
 644if $lt_cl_silent; then
 645  exec AS_MESSAGE_FD>/dev/null
 646fi
 647_LTEOF
 648
 649cat >>"$CONFIG_LT" <<_LTEOF
 650_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
 651_LTEOF
 652
 653cat >>"$CONFIG_LT" <<\_LTEOF
 654AC_MSG_NOTICE([creating $ofile])
 655_LT_OUTPUT_LIBTOOL_COMMANDS
 656AS_EXIT(0)
 657_LTEOF
 658chmod +x "$CONFIG_LT"
 659
 660# configure is writing to config.log, but config.lt does its own redirection,
 661# appending to config.log, which fails on DOS, as config.log is still kept
 662# open by configure.  Here we exec the FD to /dev/null, effectively closing
 663# config.log, so it can be properly (re)opened and appended to by config.lt.
 664if test "$no_create" != yes; then
 665  lt_cl_success=:
 666  test "$silent" = yes &&
 667    lt_config_lt_args="$lt_config_lt_args --quiet"
 668  exec AS_MESSAGE_LOG_FD>/dev/null
 669  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
 670  exec AS_MESSAGE_LOG_FD>>config.log
 671  $lt_cl_success || AS_EXIT(1)
 672fi
 673])# LT_OUTPUT
 674
 675
 676# _LT_CONFIG(TAG)
 677# ---------------
 678# If TAG is the built-in tag, create an initial libtool script with a
 679# default configuration from the untagged config vars.  Otherwise add code
 680# to config.status for appending the configuration named by TAG from the
 681# matching tagged config vars.
 682m4_defun([_LT_CONFIG],
 683[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 684_LT_CONFIG_SAVE_COMMANDS([
 685  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
 686  m4_if(_LT_TAG, [C], [
 687    # See if we are running on zsh, and set the options which allow our
 688    # commands through without removal of \ escapes.
 689    if test -n "${ZSH_VERSION+set}" ; then
 690      setopt NO_GLOB_SUBST
 691    fi
 692
 693    cfgfile="${ofile}T"
 694    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 695    $RM "$cfgfile"
 696
 697    cat <<_LT_EOF >> "$cfgfile"
 698#! $SHELL
 699
 700# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 701# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 702# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 703# NOTE: Changes made to this file will be lost: look at ltmain.sh.
 704#
 705_LT_COPYING
 706_LT_LIBTOOL_TAGS
 707
 708# ### BEGIN LIBTOOL CONFIG
 709_LT_LIBTOOL_CONFIG_VARS
 710_LT_LIBTOOL_TAG_VARS
 711# ### END LIBTOOL CONFIG
 712
 713_LT_EOF
 714
 715  case $host_os in
 716  aix3*)
 717    cat <<\_LT_EOF >> "$cfgfile"
 718# AIX sometimes has problems with the GCC collect2 program.  For some
 719# reason, if we set the COLLECT_NAMES environment variable, the problems
 720# vanish in a puff of smoke.
 721if test "X${COLLECT_NAMES+set}" != Xset; then
 722  COLLECT_NAMES=
 723  export COLLECT_NAMES
 724fi
 725_LT_EOF
 726    ;;
 727  esac
 728
 729  _LT_PROG_LTMAIN
 730
 731  # We use sed instead of cat because bash on DJGPP gets confused if
 732  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 733  # text mode, it properly converts lines to CR/LF.  This bash problem
 734  # is reportedly fixed, but why not run on old versions too?
 735  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 736    || (rm -f "$cfgfile"; exit 1)
 737
 738  _LT_PROG_XSI_SHELLFNS
 739
 740  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 741    || (rm -f "$cfgfile"; exit 1)
 742
 743  mv -f "$cfgfile" "$ofile" ||
 744    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 745  chmod +x "$ofile"
 746],
 747[cat <<_LT_EOF >> "$ofile"
 748
 749dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
 750dnl in a comment (ie after a #).
 751# ### BEGIN LIBTOOL TAG CONFIG: $1
 752_LT_LIBTOOL_TAG_VARS(_LT_TAG)
 753# ### END LIBTOOL TAG CONFIG: $1
 754_LT_EOF
 755])dnl /m4_if
 756],
 757[m4_if([$1], [], [
 758    PACKAGE='$PACKAGE'
 759    VERSION='$VERSION'
 760    TIMESTAMP='$TIMESTAMP'
 761    RM='$RM'
 762    ofile='$ofile'], [])
 763])dnl /_LT_CONFIG_SAVE_COMMANDS
 764])# _LT_CONFIG
 765
 766
 767# LT_SUPPORTED_TAG(TAG)
 768# ---------------------
 769# Trace this macro to discover what tags are supported by the libtool
 770# --tag option, using:
 771#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
 772AC_DEFUN([LT_SUPPORTED_TAG], [])
 773
 774
 775# C support is built-in for now
 776m4_define([_LT_LANG_C_enabled], [])
 777m4_define([_LT_TAGS], [])
 778
 779
 780# LT_LANG(LANG)
 781# -------------
 782# Enable libtool support for the given language if not already enabled.
 783AC_DEFUN([LT_LANG],
 784[AC_BEFORE([$0], [LT_OUTPUT])dnl
 785m4_case([$1],
 786  [C],			[_LT_LANG(C)],
 787  [C++],		[_LT_LANG(CXX)],
 788  [Java],		[_LT_LANG(GCJ)],
 789  [Fortran 77],		[_LT_LANG(F77)],
 790  [Fortran],		[_LT_LANG(FC)],
 791  [Windows Resource],	[_LT_LANG(RC)],
 792  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
 793    [_LT_LANG($1)],
 794    [m4_fatal([$0: unsupported language: "$1"])])])dnl
 795])# LT_LANG
 796
 797
 798# _LT_LANG(LANGNAME)
 799# ------------------
 800m4_defun([_LT_LANG],
 801[m4_ifdef([_LT_LANG_]$1[_enabled], [],
 802  [LT_SUPPORTED_TAG([$1])dnl
 803  m4_append([_LT_TAGS], [$1 ])dnl
 804  m4_define([_LT_LANG_]$1[_enabled], [])dnl
 805  _LT_LANG_$1_CONFIG($1)])dnl
 806])# _LT_LANG
 807
 808
 809# _LT_LANG_DEFAULT_CONFIG
 810# -----------------------
 811m4_defun([_LT_LANG_DEFAULT_CONFIG],
 812[AC_PROVIDE_IFELSE([AC_PROG_CXX],
 813  [LT_LANG(CXX)],
 814  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
 815
 816AC_PROVIDE_IFELSE([AC_PROG_F77],
 817  [LT_LANG(F77)],
 818  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
 819
 820AC_PROVIDE_IFELSE([AC_PROG_FC],
 821  [LT_LANG(FC)],
 822  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
 823
 824dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
 825dnl pulling things in needlessly.
 826AC_PROVIDE_IFELSE([AC_PROG_GCJ],
 827  [LT_LANG(GCJ)],
 828  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
 829    [LT_LANG(GCJ)],
 830    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
 831      [LT_LANG(GCJ)],
 832      [m4_ifdef([AC_PROG_GCJ],
 833	[m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
 834       m4_ifdef([A][M_PROG_GCJ],
 835	[m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
 836       m4_ifdef([LT_PROG_GCJ],
 837	[m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
 838
 839AC_PROVIDE_IFELSE([LT_PROG_RC],
 840  [LT_LANG(RC)],
 841  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
 842])# _LT_LANG_DEFAULT_CONFIG
 843
 844# Obsolete macros:
 845AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
 846AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
 847AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
 848AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
 849dnl aclocal-1.4 backwards compatibility:
 850dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
 851dnl AC_DEFUN([AC_LIBTOOL_F77], [])
 852dnl AC_DEFUN([AC_LIBTOOL_FC], [])
 853dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
 854
 855
 856# _LT_TAG_COMPILER
 857# ----------------
 858m4_defun([_LT_TAG_COMPILER],
 859[AC_REQUIRE([AC_PROG_CC])dnl
 860
 861_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
 862_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
 863_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
 864_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
 865
 866# If no C compiler was specified, use CC.
 867LTCC=${LTCC-"$CC"}
 868
 869# If no C compiler flags were specified, use CFLAGS.
 870LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 871
 872# Allow CC to be a program name with arguments.
 873compiler=$CC
 874])# _LT_TAG_COMPILER
 875
 876
 877# _LT_COMPILER_BOILERPLATE
 878# ------------------------
 879# Check for compiler boilerplate output or warnings with
 880# the simple compiler test code.
 881m4_defun([_LT_COMPILER_BOILERPLATE],
 882[m4_require([_LT_DECL_SED])dnl
 883ac_outfile=conftest.$ac_objext
 884echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 885eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 886_lt_compiler_boilerplate=`cat conftest.err`
 887$RM conftest*
 888])# _LT_COMPILER_BOILERPLATE
 889
 890
 891# _LT_LINKER_BOILERPLATE
 892# ----------------------
 893# Check for linker boilerplate output or warnings with
 894# the simple link test code.
 895m4_defun([_LT_LINKER_BOILERPLATE],
 896[m4_require([_LT_DECL_SED])dnl
 897ac_outfile=conftest.$ac_objext
 898echo "$lt_simple_link_test_code" >conftest.$ac_ext
 899eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 900_lt_linker_boilerplate=`cat conftest.err`
 901$RM -r conftest*
 902])# _LT_LINKER_BOILERPLATE
 903
 904# _LT_REQUIRED_DARWIN_CHECKS
 905# -------------------------
 906m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
 907  case $host_os in
 908    rhapsody* | darwin*)
 909    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
 910    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
 911    AC_CHECK_TOOL([LIPO], [lipo], [:])
 912    AC_CHECK_TOOL([OTOOL], [otool], [:])
 913    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
 914    _LT_DECL([], [DSYMUTIL], [1],
 915      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
 916    _LT_DECL([], [NMEDIT], [1],
 917      [Tool to change global to local symbols on Mac OS X])
 918    _LT_DECL([], [LIPO], [1],
 919      [Tool to manipulate fat objects and archives on Mac OS X])
 920    _LT_DECL([], [OTOOL], [1],
 921      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
 922    _LT_DECL([], [OTOOL64], [1],
 923      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
 924
 925    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
 926      [lt_cv_apple_cc_single_mod=no
 927      if test -z "${LT_MULTI_MODULE}"; then
 928	# By default we will add the -single_module flag. You can override
 929	# by either setting the environment variable LT_MULTI_MODULE
 930	# non-empty at configure time, or by adding -multi_module to the
 931	# link flags.
 932	rm -rf libconftest.dylib*
 933	echo "int foo(void){return 1;}" > conftest.c
 934	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 935-dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
 936	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
 937	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
 938        _lt_result=$?
 939	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
 940	  lt_cv_apple_cc_single_mod=yes
 941	else
 942	  cat conftest.err >&AS_MESSAGE_LOG_FD
 943	fi
 944	rm -rf libconftest.dylib*
 945	rm -f conftest.*
 946      fi])
 947    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
 948      [lt_cv_ld_exported_symbols_list],
 949      [lt_cv_ld_exported_symbols_list=no
 950      save_LDFLAGS=$LDFLAGS
 951      echo "_main" > conftest.sym
 952      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
 953      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 954	[lt_cv_ld_exported_symbols_list=yes],
 955	[lt_cv_ld_exported_symbols_list=no])
 956	LDFLAGS="$save_LDFLAGS"
 957    ])
 958    case $host_os in
 959    rhapsody* | darwin1.[[012]])
 960      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
 961    darwin1.*)
 962      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 963    darwin*) # darwin 5.x on
 964      # if running on 10.5 or later, the deployment target defaults
 965      # to the OS version, if on x86, and 10.4, the deployment
 966      # target defaults to 10.4. Don't you love it?
 967      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
 968	10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
 969	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 970	10.[[012]]*)
 971	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
 972	10.*)
 973	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
 974      esac
 975    ;;
 976  esac
 977    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
 978      _lt_dar_single_mod='$single_module'
 979    fi
 980    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
 981      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
 982    else
 983      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
 984    fi
 985    if test "$DSYMUTIL" != ":"; then
 986      _lt_dsymutil='~$DSYMUTIL $lib || :'
 987    else
 988      _lt_dsymutil=
 989    fi
 990    ;;
 991  esac
 992])
 993
 994
 995# _LT_DARWIN_LINKER_FEATURES
 996# --------------------------
 997# Checks for linker and compiler features on darwin
 998m4_defun([_LT_DARWIN_LINKER_FEATURES],
 999[
1000  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
1001  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
1002  _LT_TAGVAR(hardcode_direct, $1)=no
1003  _LT_TAGVAR(hardcode_automatic, $1)=yes
1004  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1005  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
1006  _LT_TAGVAR(link_all_deplibs, $1)=yes
1007  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1008  case $cc_basename in
1009     ifort*) _lt_dar_can_shared=yes ;;
1010     *) _lt_dar_can_shared=$GCC ;;
1011  esac
1012  if test "$_lt_dar_can_shared" = "yes"; then
1013    output_verbose_link_cmd=echo
1014    _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}"
1015    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1016    _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}"
1017    _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}"
1018    m4_if([$1], [CXX],
1019[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
1020      _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}"
1021      _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}"
1022    fi
1023],[])
1024  else
1025  _LT_TAGVAR(ld_shlibs, $1)=no
1026  fi
1027])
1028
1029# _LT_SYS_MODULE_PATH_AIX
1030# -----------------------
1031# Links a minimal program and checks the executable
1032# for the system default hardcoded library path. In most cases,
1033# this is /usr/lib:/lib, but when the MPI compilers are used
1034# the location of the communication and MPI libs are included too.
1035# If we don't find anything, use the default library path according
1036# to the aix ld manual.
1037m4_defun([_LT_SYS_MODULE_PATH_AIX],
1038[m4_require([_LT_DECL_SED])dnl
1039AC_LINK_IFELSE(AC_LANG_PROGRAM,[
1040lt_aix_libpath_sed='
1041    /Import File Strings/,/^$/ {
1042	/^0/ {
1043	    s/^0  *\(.*\)$/\1/
1044	    p
1045	}
1046    }'
1047aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1048# Check for a 64-bit object if we didn't find anything.
1049if test -z "$aix_libpath"; then
1050  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1051fi],[])
1052if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1053])# _LT_SYS_MODULE_PATH_AIX
1054
1055
1056# _LT_SHELL_INIT(ARG)
1057# -------------------
1058m4_define([_LT_SHELL_INIT],
1059[ifdef([AC_DIVERSION_NOTICE],
1060	     [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1061	 [AC_DIVERT_PUSH(NOTICE)])
1062$1
1063AC_DIVERT_POP
1064])# _LT_SHELL_INIT
1065
1066
1067# _LT_PROG_ECHO_BACKSLASH
1068# -----------------------
1069# Add some code to the start of the generated configure script which
1070# will find an echo command which doesn't interpret backslashes.
1071m4_defun([_LT_PROG_ECHO_BACKSLASH],
1072[_LT_SHELL_INIT([
1073# Check that we are running under the correct shell.
1074SHELL=${CONFIG_SHELL-/bin/sh}
1075
1076case X$lt_ECHO in
1077X*--fallback-echo)
1078  # Remove one level of quotation (which was required for Make).
1079  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1080  ;;
1081esac
1082
1083ECHO=${lt_ECHO-echo}
1084if test "X[$]1" = X--no-reexec; then
1085  # Discard the --no-reexec flag, and continue.
1086  shift
1087elif test "X[$]1" = X--fallback-echo; then
1088  # Avoid inline document here, it may be left over
1089  :
1090elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
1091  # Yippee, $ECHO works!
1092  :
1093else
1094  # Restart under the correct shell.
1095  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1096fi
1097
1098if test "X[$]1" = X--fallback-echo; then
1099  # used as fallback echo
1100  shift
1101  cat <<_LT_EOF
1102[$]*
1103_LT_EOF
1104  exit 0
1105fi
1106
1107# The HP-UX ksh and POSIX shell print the target directory to stdout
1108# if CDPATH is set.
1109(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1110
1111if test -z "$lt_ECHO"; then
1112  if test "X${echo_test_string+set}" != Xset; then
1113    # find a string as large as possible, as long as the shell can cope with it
1114    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1115      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1116      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
1117	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
1118      then
1119        break
1120      fi
1121    done
1122  fi
1123
1124  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1125     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1126     test "X$echo_testing_string" = "X$echo_test_string"; then
1127    :
1128  else
1129    # The Solaris, AIX, and Digital Unix default echo programs unquote
1130    # backslashes.  This makes it impossible to quote backslashes using
1131    #   echo "$something" | sed 's/\\/\\\\/g'
1132    #
1133    # So, first we look for a working echo in the user's PATH.
1134
1135    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1136    for dir in $PATH /usr/ucb; do
1137      IFS="$lt_save_ifs"
1138      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1139         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1140         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1141         test "X$echo_testing_string" = "X$echo_test_string"; then
1142        ECHO="$dir/echo"
1143        break
1144      fi
1145    done
1146    IFS="$lt_save_ifs"
1147
1148    if test "X$ECHO" = Xecho; then
1149      # We didn't find a better echo, so look for alternatives.
1150      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
1151         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
1152         test "X$echo_testing_string" = "X$echo_test_string"; then
1153        # This shell has a builtin print -r that does the trick.
1154        ECHO='print -r'
1155      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
1156	   test "X$CONFIG_SHELL" != X/bin/ksh; then
1157        # If we have ksh, try running configure again with it.
1158        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1159        export ORIGINAL_CONFIG_SHELL
1160        CONFIG_SHELL=/bin/ksh
1161        export CONFIG_SHELL
1162        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
1163      else
1164        # Try using printf.
1165        ECHO='printf %s\n'
1166        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1167	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1168	   test "X$echo_testing_string" = "X$echo_test_string"; then
1169	  # Cool, printf works
1170	  :
1171        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1172	     test "X$echo_testing_string" = 'X\t' &&
1173	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1174	     test "X$echo_testing_string" = "X$echo_test_string"; then
1175	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1176	  export CONFIG_SHELL
1177	  SHELL="$CONFIG_SHELL"
1178	  export SHELL
1179	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1180        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1181	     test "X$echo_testing_string" = 'X\t' &&
1182	     echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1183	     test "X$echo_testing_string" = "X$echo_test_string"; then
1184	  ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1185        else
1186	  # maybe with a smaller string...
1187	  prev=:
1188
1189	  for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
1190	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
1191	    then
1192	      break
1193	    fi
1194	    prev="$cmd"
1195	  done
1196
1197	  if test "$prev" != 'sed 50q "[$]0"'; then
1198	    echo_test_string=`eval $prev`
1199	    export echo_test_string
1200	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
1201	  else
1202	    # Oops.  We lost completely, so just stick with echo.
1203	    ECHO=echo
1204	  fi
1205        fi
1206      fi
1207    fi
1208  fi
1209fi
1210
1211# Copy echo and quote the copy suitably for passing to libtool from
1212# the Makefile, instead of quoting the original, which is used later.
1213lt_ECHO=$ECHO
1214if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1215   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
1216fi
1217
1218AC_SUBST(lt_ECHO)
1219])
1220_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
1221_LT_DECL([], [ECHO], [1],
1222    [An echo program that does not interpret backslashes])
1223])# _LT_PROG_ECHO_BACKSLASH
1224
1225
1226# _LT_ENABLE_LOCK
1227# ---------------
1228m4_defun([_LT_ENABLE_LOCK],
1229[AC_ARG_ENABLE([libtool-lock],
1230  [AS_HELP_STRING([--disable-libtool-lock],
1231    [avoid locking (might break parallel builds)])])
1232test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1233
1234# Some flags need to be propagated to the compiler or linker for good
1235# libtool support.
1236case $host in
1237ia64-*-hpux*)
1238  # Find out which ABI we are using.
1239  echo 'int i;' > conftest.$ac_ext
1240  if AC_TRY_EVAL(ac_compile); then
1241    case `/usr/bin/file conftest.$ac_objext` in
1242      *ELF-32*)
1243	HPUX_IA64_MODE="32"
1244	;;
1245      *ELF-64*)
1246	HPUX_IA64_MODE="64"
1247	;;
1248    esac
1249  fi
1250  rm -rf conftest*
1251  ;;
1252*-*-irix6*)
1253  # Find out which ABI we are using.
1254  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
1255  if AC_TRY_EVAL(ac_compile); then
1256    if test "$lt_cv_prog_gnu_ld" = yes; then
1257      case `/usr/bin/file conftest.$ac_objext` in
1258	*32-bit*)
1259	  LD="${LD-ld} -melf32bsmip"
1260	  ;;
1261	*N32*)
1262	  LD="${LD-ld} -melf32bmipn32"
1263	  ;;
1264	*64-bit*)
1265	  LD="${LD-ld} -melf64bmip"
1266	;;
1267      esac
1268    else
1269      case `/usr/bin/file conftest.$ac_objext` in
1270	*32-bit*)
1271	  LD="${LD-ld} -32"
1272	  ;;
1273	*N32*)
1274	  LD="${LD-ld} -n32"
1275	  ;;
1276	*64-bit*)
1277	  LD="${LD-ld} -64"
1278	  ;;
1279      esac
1280    fi
1281  fi
1282  rm -rf conftest*
1283  ;;
1284
1285x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
1286s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
1287  # Find out which ABI we are using.
1288  echo 'int i;' > conftest.$ac_ext
1289  if AC_TRY_EVAL(ac_compile); then
1290    case `/usr/bin/file conftest.o` in
1291      *32-bit*)
1292	case $host in
1293	  x86_64-*kfreebsd*-gnu)
1294	    LD="${LD-ld} -m elf_i386_fbsd"
1295	    ;;
1296	  x86_64-*linux*)
1297	    LD="${LD-ld} -m elf_i386"
1298	    ;;
1299	  ppc64-*linux*|powerpc64-*linux*)
1300	    LD="${LD-ld} -m elf32ppclinux"
1301	    ;;
1302	  s390x-*linux*)
1303	    LD="${LD-ld} -m elf_s390"
1304	    ;;
1305	  sparc64-*linux*)
1306	    LD="${LD-ld} -m elf32_sparc"
1307	    ;;
1308	esac
1309	;;
1310      *64-bit*)
1311	case $host in
1312	  x86_64-*kfreebsd*-gnu)
1313	    LD="${LD-ld} -m elf_x86_64_fbsd"
1314	    ;;
1315	  x86_64-*linux*)
1316	    LD="${LD-ld} -m elf_x86_64"
1317	    ;;
1318	  ppc*-*linux*|powerpc*-*linux*)
1319	    LD="${LD-ld} -m elf64ppc"
1320	    ;;
1321	  s390*-*linux*|s390*-*tpf*)
1322	    LD="${LD-ld} -m elf64_s390"
1323	    ;;
1324	  sparc*-*linux*)
1325	    LD="${LD-ld} -m elf64_sparc"
1326	    ;;
1327	esac
1328	;;
1329    esac
1330  fi
1331  rm -rf conftest*
1332  ;;
1333
1334*-*-sco3.2v5*)
1335  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1336  SAVE_CFLAGS="$CFLAGS"
1337  CFLAGS="$CFLAGS -belf"
1338  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
1339    [AC_LANG_PUSH(C)
1340     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
1341     AC_LANG_POP])
1342  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1343    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1344    CFLAGS="$SAVE_CFLAGS"
1345  fi
1346  ;;
1347sparc*-*solaris*)
1348  # Find out which ABI we are using.
1349  echo 'int i;' > conftest.$ac_ext
1350  if AC_TRY_EVAL(ac_compile); then
1351    case `/usr/bin/file conftest.o` in
1352    *64-bit*)
1353      case $lt_cv_prog_gnu_ld in
1354      yes*) LD="${LD-ld} -m elf64_sparc" ;;
1355      *)
1356	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1357	  LD="${LD-ld} -64"
1358	fi
1359	;;
1360      esac
1361      ;;
1362    esac
1363  fi
1364  rm -rf conftest*
1365  ;;
1366esac
1367
1368need_locks="$enable_libtool_lock"
1369])# _LT_ENABLE_LOCK
1370
1371
1372# _LT_CMD_OLD_ARCHIVE
1373# -------------------
1374m4_defun([_LT_CMD_OLD_ARCHIVE],
1375[AC_CHECK_TOOL(AR, ar, false)
1376test -z "$AR" && AR=ar
1377test -z "$AR_FLAGS" && AR_FLAGS=cru
1378_LT_DECL([], [AR], [1], [The archiver])
1379_LT_DECL([], [AR_FLAGS], [1])
1380
1381AC_CHECK_TOOL(STRIP, strip, :)
1382test -z "$STRIP" && STRIP=:
1383_LT_DECL([], [STRIP], [1], [A symbol stripping program])
1384
1385AC_CHECK_TOOL(RANLIB, ranlib, :)
1386test -z "$RANLIB" && RANLIB=:
1387_LT_DECL([], [RANLIB], [1],
1388    [Commands used to install an old-style archive])
1389
1390# Determine commands to create old-style static archives.
1391old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
1392old_postinstall_cmds='chmod 644 $oldlib'
1393old_postuninstall_cmds=
1394
1395if test -n "$RANLIB"; then
1396  case $host_os in
1397  openbsd*)
1398    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1399    ;;
1400  *)
1401    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1402    ;;
1403  esac
1404  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1405fi
1406_LT_DECL([], [old_postinstall_cmds], [2])
1407_LT_DECL([], [old_postuninstall_cmds], [2])
1408_LT_TAGDECL([], [old_archive_cmds], [2],
1409    [Commands used to build an old-style archive])
1410])# _LT_CMD_OLD_ARCHIVE
1411
1412
1413# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1414#		[OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
1415# ----------------------------------------------------------------
1416# Check whether the given compiler option works
1417AC_DEFUN([_LT_COMPILER_OPTION],
1418[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1419m4_require([_LT_DECL_SED])dnl
1420AC_CACHE_CHECK([$1], [$2],
1421  [$2=no
1422   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
1423   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1424   lt_compiler_flag="$3"
1425   # Insert the option either (1) after the last *FLAGS variable, or
1426   # (2) before a word containing "conftest.", or (3) at the end.
1427   # Note that $ac_compile itself does not contain backslashes and begins
1428   # with a dollar sign (not a hyphen), so the echo should work correctly.
1429   # The option is referenced via a variable to avoid confusing sed.
1430   lt_compile=`echo "$ac_compile" | $SED \
1431   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1432   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1433   -e 's:$: $lt_compiler_flag:'`
1434   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1435   (eval "$lt_compile" 2>conftest.err)
1436   ac_status=$?
1437   cat conftest.err >&AS_MESSAGE_LOG_FD
1438   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1439   if (exit $ac_status) && test -s "$ac_outfile"; then
1440     # The compiler can only warn and ignore the option if not recognized
1441     # So say no if there are warnings other than the usual output.
1442     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
1443     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1444     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1445       $2=yes
1446     fi
1447   fi
1448   $RM conftest*
1449])
1450
1451if test x"[$]$2" = xyes; then
1452    m4_if([$5], , :, [$5])
1453else
1454    m4_if([$6], , :, [$6])
1455fi
1456])# _LT_COMPILER_OPTION
1457
1458# Old name:
1459AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
1460dnl aclocal-1.4 backwards compatibility:
1461dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
1462
1463
1464# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
1465#                  [ACTION-SUCCESS], [ACTION-FAILURE])
1466# ----------------------------------------------------
1467# Check whether the given linker option works
1468AC_DEFUN([_LT_LINKER_OPTION],
1469[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
1470m4_require([_LT_DECL_SED])dnl
1471AC_CACHE_CHECK([$1], [$2],
1472  [$2=no
1473   save_LDFLAGS="$LDFLAGS"
1474   LDFLAGS="$LDFLAGS $3"
1475   echo "$lt_simple_link_test_code" > conftest.$ac_ext
1476   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
1477     # The linker can only warn and ignore the option if not recognized
1478     # So say no if there are warnings
1479     if test -s conftest.err; then
1480       # Append any errors to the config.log.
1481       cat conftest.err 1>&AS_MESSAGE_LOG_FD
1482       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
1483       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1484       if diff conftest.exp conftest.er2 >/dev/null; then
1485         $2=yes
1486       fi
1487     else
1488       $2=yes
1489     fi
1490   fi
1491   $RM -r conftest*
1492   LDFLAGS="$save_LDFLAGS"
1493])
1494
1495if test x"[$]$2" = xyes; then
1496    m4_if([$4], , :, [$4])
1497else
1498    m4_if([$5], , :, [$5])
1499fi
1500])# _LT_LINKER_OPTION
1501
1502# Old name:
1503AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
1504dnl aclocal-1.4 backwards compatibility:
1505dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
1506
1507
1508# LT_CMD_MAX_LEN
1509#---------------
1510AC_DEFUN([LT_CMD_MAX_LEN],
1511[AC_REQUIRE([AC_CANONICAL_HOST])dnl
1512# find the maximum length of command line arguments
1513AC_MSG_CHECKING([the maximum length of command line arguments])
1514AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
1515  i=0
1516  teststring="ABCD"
1517
1518  case $build_os in
1519  msdosdjgpp*)
1520    # On DJGPP, this test can blow up pretty badly due to problems in libc
1521    # (any single argument exceeding 2000 bytes causes a buffer overrun
1522    # during glob expansion).  Even if it were fixed, the result of this
1523    # check would be larger than it should be.
1524    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
1525    ;;
1526
1527  gnu*)
1528    # Under GNU Hurd, this test is not required because there is
1529    # no limit to the length of command line arguments.
1530    # Libtool will interpret -1 as no limit whatsoever
1531    lt_cv_sys_max_cmd_len=-1;
1532    ;;
1533
1534  cygwin* | mingw* | cegcc*)
1535    # On Win9x/ME, this test blows up -- it succeeds, but takes
1536    # about 5 minutes as the teststring grows exponentially.
1537    # Worse, since 9x/ME are not pre-emptively multitasking,
1538    # you end up with a "frozen" computer, even though with patience
1539    # the test eventually succeeds (with a max line length of 256k).
1540    # Instead, let's just punt: use the minimum linelength reported by
1541    # all of the supported platforms: 8192 (on NT/2K/XP).
1542    lt_cv_sys_max_cmd_len=8192;
1543    ;;
1544
1545  amigaos*)
1546

Large files files are truncated, but you can click here to view the full file