SHARE
TWEET

Fiasco fixed patch fractal codec compressor

mrmeval Jun 17th, 2019 126 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff -Nru Fiasco-master/aclocal.m4 Fiasco-master-pfiasco/aclocal.m4
  2. --- Fiasco-master/aclocal.m4    2013-06-06 22:56:44.000000000 -0400
  3. +++ Fiasco-master-pfiasco/aclocal.m4    2019-06-17 21:04:50.914823898 -0400
  4. @@ -1,7 +1,7 @@
  5. -# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
  6. +# generated automatically by aclocal 1.16.1 -*- Autoconf -*-
  7. +
  8. +# Copyright (C) 1996-2018 Free Software Foundation, Inc.
  9.  
  10. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  11. -# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
  12.  # This file is free software; the Free Software Foundation
  13.  # gives unlimited permission to copy and/or distribute it,
  14.  # with or without modifications, as long as this notice is preserved.
  15. @@ -11,7981 +11,16 @@
  16.  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  17.  # PARTICULAR PURPOSE.
  18.  
  19. +m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
  20.  m4_ifndef([AC_AUTOCONF_VERSION],
  21.    [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  22. -m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.67],,
  23. -[m4_warning([this file was generated for autoconf 2.67.
  24. +m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
  25. +[m4_warning([this file was generated for autoconf 2.69.
  26.  You have another version of autoconf.  It may work, but is not guaranteed to.
  27.  If you have problems, you may need to regenerate the build system entirely.
  28. -To do so, use the procedure documented by the package, typically `autoreconf'.])])
  29. -
  30. -# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
  31. -#
  32. -#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  33. -#                 2006, 2007, 2008 Free Software Foundation, Inc.
  34. -#   Written by Gordon Matzigkeit, 1996
  35. -#
  36. -# This file is free software; the Free Software Foundation gives
  37. -# unlimited permission to copy and/or distribute it, with or without
  38. -# modifications, as long as this notice is preserved.
  39. -
  40. -m4_define([_LT_COPYING], [dnl
  41. -#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  42. -#                 2006, 2007, 2008 Free Software Foundation, Inc.
  43. -#   Written by Gordon Matzigkeit, 1996
  44. -#
  45. -#   This file is part of GNU Libtool.
  46. -#
  47. -# GNU Libtool is free software; you can redistribute it and/or
  48. -# modify it under the terms of the GNU General Public License as
  49. -# published by the Free Software Foundation; either version 2 of
  50. -# the License, or (at your option) any later version.
  51. -#
  52. -# As a special exception to the GNU General Public License,
  53. -# if you distribute this file as part of a program or library that
  54. -# is built using GNU Libtool, you may include this file under the
  55. -# same distribution terms that you use for the rest of that program.
  56. -#
  57. -# GNU Libtool is distributed in the hope that it will be useful,
  58. -# but WITHOUT ANY WARRANTY; without even the implied warranty of
  59. -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  60. -# GNU General Public License for more details.
  61. -#
  62. -# You should have received a copy of the GNU General Public License
  63. -# along with GNU Libtool; see the file COPYING.  If not, a copy
  64. -# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  65. -# obtained by writing to the Free Software Foundation, Inc.,
  66. -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  67. -])
  68. -
  69. -# serial 56 LT_INIT
  70. -
  71. -
  72. -# LT_PREREQ(VERSION)
  73. -# ------------------
  74. -# Complain and exit if this libtool version is less that VERSION.
  75. -m4_defun([LT_PREREQ],
  76. -[m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1,
  77. -       [m4_default([$3],
  78. -          [m4_fatal([Libtool version $1 or higher is required],
  79. -                    63)])],
  80. -       [$2])])
  81. -
  82. -
  83. -# _LT_CHECK_BUILDDIR
  84. -# ------------------
  85. -# Complain if the absolute build directory name contains unusual characters
  86. -m4_defun([_LT_CHECK_BUILDDIR],
  87. -[case `pwd` in
  88. -  *\ * | *\    *)
  89. -    AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;;
  90. -esac
  91. -])
  92. -
  93. -
  94. -# LT_INIT([OPTIONS])
  95. -# ------------------
  96. -AC_DEFUN([LT_INIT],
  97. -[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
  98. -AC_BEFORE([$0], [LT_LANG])dnl
  99. -AC_BEFORE([$0], [LT_OUTPUT])dnl
  100. -AC_BEFORE([$0], [LTDL_INIT])dnl
  101. -m4_require([_LT_CHECK_BUILDDIR])dnl
  102. -
  103. -dnl Autoconf doesn't catch unexpanded LT_ macros by default:
  104. -m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl
  105. -m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl
  106. -dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4
  107. -dnl unless we require an AC_DEFUNed macro:
  108. -AC_REQUIRE([LTOPTIONS_VERSION])dnl
  109. -AC_REQUIRE([LTSUGAR_VERSION])dnl
  110. -AC_REQUIRE([LTVERSION_VERSION])dnl
  111. -AC_REQUIRE([LTOBSOLETE_VERSION])dnl
  112. -m4_require([_LT_PROG_LTMAIN])dnl
  113. -
  114. -dnl Parse OPTIONS
  115. -_LT_SET_OPTIONS([$0], [$1])
  116. -
  117. -# This can be used to rebuild libtool when needed
  118. -LIBTOOL_DEPS="$ltmain"
  119. -
  120. -# Always use our own libtool.
  121. -LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  122. -AC_SUBST(LIBTOOL)dnl
  123. -
  124. -_LT_SETUP
  125. -
  126. -# Only expand once:
  127. -m4_define([LT_INIT])
  128. -])# LT_INIT
  129. -
  130. -# Old names:
  131. -AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT])
  132. -AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT])
  133. -dnl aclocal-1.4 backwards compatibility:
  134. -dnl AC_DEFUN([AC_PROG_LIBTOOL], [])
  135. -dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
  136. -
  137. -
  138. -# _LT_CC_BASENAME(CC)
  139. -# -------------------
  140. -# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
  141. -m4_defun([_LT_CC_BASENAME],
  142. -[for cc_temp in $1""; do
  143. -  case $cc_temp in
  144. -    compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
  145. -    distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;;
  146. -    \-*) ;;
  147. -    *) break;;
  148. -  esac
  149. -done
  150. -cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  151. -])
  152. -
  153. -
  154. -# _LT_FILEUTILS_DEFAULTS
  155. -# ----------------------
  156. -# It is okay to use these file commands and assume they have been set
  157. -# sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'.
  158. -m4_defun([_LT_FILEUTILS_DEFAULTS],
  159. -[: ${CP="cp -f"}
  160. -: ${MV="mv -f"}
  161. -: ${RM="rm -f"}
  162. -])# _LT_FILEUTILS_DEFAULTS
  163. -
  164. -
  165. -# _LT_SETUP
  166. -# ---------
  167. -m4_defun([_LT_SETUP],
  168. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  169. -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  170. -_LT_DECL([], [host_alias], [0], [The host system])dnl
  171. -_LT_DECL([], [host], [0])dnl
  172. -_LT_DECL([], [host_os], [0])dnl
  173. -dnl
  174. -_LT_DECL([], [build_alias], [0], [The build system])dnl
  175. -_LT_DECL([], [build], [0])dnl
  176. -_LT_DECL([], [build_os], [0])dnl
  177. -dnl
  178. -AC_REQUIRE([AC_PROG_CC])dnl
  179. -AC_REQUIRE([LT_PATH_LD])dnl
  180. -AC_REQUIRE([LT_PATH_NM])dnl
  181. -dnl
  182. -AC_REQUIRE([AC_PROG_LN_S])dnl
  183. -test -z "$LN_S" && LN_S="ln -s"
  184. -_LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl
  185. -dnl
  186. -AC_REQUIRE([LT_CMD_MAX_LEN])dnl
  187. -_LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl
  188. -_LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl
  189. -dnl
  190. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  191. -m4_require([_LT_CHECK_SHELL_FEATURES])dnl
  192. -m4_require([_LT_CMD_RELOAD])dnl
  193. -m4_require([_LT_CHECK_MAGIC_METHOD])dnl
  194. -m4_require([_LT_CMD_OLD_ARCHIVE])dnl
  195. -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  196. -
  197. -_LT_CONFIG_LIBTOOL_INIT([
  198. -# See if we are running on zsh, and set the options which allow our
  199. -# commands through without removal of \ escapes INIT.
  200. -if test -n "\${ZSH_VERSION+set}" ; then
  201. -   setopt NO_GLOB_SUBST
  202. -fi
  203. -])
  204. -if test -n "${ZSH_VERSION+set}" ; then
  205. -   setopt NO_GLOB_SUBST
  206. -fi
  207. -
  208. -_LT_CHECK_OBJDIR
  209. -
  210. -m4_require([_LT_TAG_COMPILER])dnl
  211. -_LT_PROG_ECHO_BACKSLASH
  212. -
  213. -case $host_os in
  214. -aix3*)
  215. -  # AIX sometimes has problems with the GCC collect2 program.  For some
  216. -  # reason, if we set the COLLECT_NAMES environment variable, the problems
  217. -  # vanish in a puff of smoke.
  218. -  if test "X${COLLECT_NAMES+set}" != Xset; then
  219. -    COLLECT_NAMES=
  220. -    export COLLECT_NAMES
  221. -  fi
  222. -  ;;
  223. -esac
  224. -
  225. -# Sed substitution that helps us do robust quoting.  It backslashifies
  226. -# metacharacters that are still active within double-quoted strings.
  227. -sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
  228. -
  229. -# Same as above, but do not quote variable references.
  230. -double_quote_subst='s/\([["`\\]]\)/\\\1/g'
  231. -
  232. -# Sed substitution to delay expansion of an escaped shell variable in a
  233. -# double_quote_subst'ed string.
  234. -delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  235. -
  236. -# Sed substitution to delay expansion of an escaped single quote.
  237. -delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  238. -
  239. -# Sed substitution to avoid accidental globbing in evaled expressions
  240. -no_glob_subst='s/\*/\\\*/g'
  241. -
  242. -# Global variables:
  243. -ofile=libtool
  244. -can_build_shared=yes
  245. -
  246. -# All known linkers require a `.a' archive for static linking (except MSVC,
  247. -# which needs '.lib').
  248. -libext=a
  249. -
  250. -with_gnu_ld="$lt_cv_prog_gnu_ld"
  251. -
  252. -old_CC="$CC"
  253. -old_CFLAGS="$CFLAGS"
  254. -
  255. -# Set sane defaults for various variables
  256. -test -z "$CC" && CC=cc
  257. -test -z "$LTCC" && LTCC=$CC
  258. -test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  259. -test -z "$LD" && LD=ld
  260. -test -z "$ac_objext" && ac_objext=o
  261. -
  262. -_LT_CC_BASENAME([$compiler])
  263. -
  264. -# Only perform the check for file, if the check method requires it
  265. -test -z "$MAGIC_CMD" && MAGIC_CMD=file
  266. -case $deplibs_check_method in
  267. -file_magic*)
  268. -  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  269. -    _LT_PATH_MAGIC
  270. -  fi
  271. -  ;;
  272. -esac
  273. -
  274. -# Use C for the default configuration in the libtool script
  275. -LT_SUPPORTED_TAG([CC])
  276. -_LT_LANG_C_CONFIG
  277. -_LT_LANG_DEFAULT_CONFIG
  278. -_LT_CONFIG_COMMANDS
  279. -])# _LT_SETUP
  280. -
  281. -
  282. -# _LT_PROG_LTMAIN
  283. -# ---------------
  284. -# Note that this code is called both from `configure', and `config.status'
  285. -# now that we use AC_CONFIG_COMMANDS to generate libtool.  Notably,
  286. -# `config.status' has no value for ac_aux_dir unless we are using Automake,
  287. -# so we pass a copy along to make sure it has a sensible value anyway.
  288. -m4_defun([_LT_PROG_LTMAIN],
  289. -[m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl
  290. -_LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir'])
  291. -ltmain="$ac_aux_dir/ltmain.sh"
  292. -])# _LT_PROG_LTMAIN
  293. -
  294. -
  295. -
  296. -# So that we can recreate a full libtool script including additional
  297. -# tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS
  298. -# in macros and then make a single call at the end using the `libtool'
  299. -# label.
  300. -
  301. -
  302. -# _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS])
  303. -# ----------------------------------------
  304. -# Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  305. -m4_define([_LT_CONFIG_LIBTOOL_INIT],
  306. -[m4_ifval([$1],
  307. -          [m4_append([_LT_OUTPUT_LIBTOOL_INIT],
  308. -                     [$1
  309. -])])])
  310. -
  311. -# Initialize.
  312. -m4_define([_LT_OUTPUT_LIBTOOL_INIT])
  313. -
  314. -
  315. -# _LT_CONFIG_LIBTOOL([COMMANDS])
  316. -# ------------------------------
  317. -# Register COMMANDS to be passed to AC_CONFIG_COMMANDS later.
  318. -m4_define([_LT_CONFIG_LIBTOOL],
  319. -[m4_ifval([$1],
  320. -          [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS],
  321. -                     [$1
  322. -])])])
  323. -
  324. -# Initialize.
  325. -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS])
  326. -
  327. -
  328. -# _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS])
  329. -# -----------------------------------------------------
  330. -m4_defun([_LT_CONFIG_SAVE_COMMANDS],
  331. -[_LT_CONFIG_LIBTOOL([$1])
  332. -_LT_CONFIG_LIBTOOL_INIT([$2])
  333. -])
  334. -
  335. -
  336. -# _LT_FORMAT_COMMENT([COMMENT])
  337. -# -----------------------------
  338. -# Add leading comment marks to the start of each line, and a trailing
  339. -# full-stop to the whole comment if one is not present already.
  340. -m4_define([_LT_FORMAT_COMMENT],
  341. -[m4_ifval([$1], [
  342. -m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])],
  343. -              [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.])
  344. -)])
  345. -
  346. -
  347. -
  348. -
  349. -
  350. -# _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?])
  351. -# -------------------------------------------------------------------
  352. -# CONFIGNAME is the name given to the value in the libtool script.
  353. -# VARNAME is the (base) name used in the configure script.
  354. -# VALUE may be 0, 1 or 2 for a computed quote escaped value based on
  355. -# VARNAME.  Any other value will be used directly.
  356. -m4_define([_LT_DECL],
  357. -[lt_if_append_uniq([lt_decl_varnames], [$2], [, ],
  358. -    [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name],
  359. -   [m4_ifval([$1], [$1], [$2])])
  360. -    lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3])
  361. -    m4_ifval([$4],
  362. -   [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])])
  363. -    lt_dict_add_subkey([lt_decl_dict], [$2],
  364. -   [tagged?], [m4_ifval([$5], [yes], [no])])])
  365. -])
  366. -
  367. -
  368. -# _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION])
  369. -# --------------------------------------------------------
  370. -m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])])
  371. -
  372. -
  373. -# lt_decl_tag_varnames([SEPARATOR], [VARNAME1...])
  374. -# ------------------------------------------------
  375. -m4_define([lt_decl_tag_varnames],
  376. -[_lt_decl_filter([tagged?], [yes], $@)])
  377. -
  378. -
  379. -# _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..])
  380. -# ---------------------------------------------------------
  381. -m4_define([_lt_decl_filter],
  382. -[m4_case([$#],
  383. -  [0], [m4_fatal([$0: too few arguments: $#])],
  384. -  [1], [m4_fatal([$0: too few arguments: $#: $1])],
  385. -  [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)],
  386. -  [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)],
  387. -  [lt_dict_filter([lt_decl_dict], $@)])[]dnl
  388. -])
  389. -
  390. -
  391. -# lt_decl_quote_varnames([SEPARATOR], [VARNAME1...])
  392. -# --------------------------------------------------
  393. -m4_define([lt_decl_quote_varnames],
  394. -[_lt_decl_filter([value], [1], $@)])
  395. -
  396. -
  397. -# lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...])
  398. -# ---------------------------------------------------
  399. -m4_define([lt_decl_dquote_varnames],
  400. -[_lt_decl_filter([value], [2], $@)])
  401. -
  402. -
  403. -# lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...])
  404. -# ---------------------------------------------------
  405. -m4_define([lt_decl_varnames_tagged],
  406. -[m4_assert([$# <= 2])dnl
  407. -_$0(m4_quote(m4_default([$1], [[, ]])),
  408. -    m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]),
  409. -    m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))])
  410. -m4_define([_lt_decl_varnames_tagged],
  411. -[m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])])
  412. -
  413. -
  414. -# lt_decl_all_varnames([SEPARATOR], [VARNAME1...])
  415. -# ------------------------------------------------
  416. -m4_define([lt_decl_all_varnames],
  417. -[_$0(m4_quote(m4_default([$1], [[, ]])),
  418. -     m4_if([$2], [],
  419. -      m4_quote(lt_decl_varnames),
  420. -   m4_quote(m4_shift($@))))[]dnl
  421. -])
  422. -m4_define([_lt_decl_all_varnames],
  423. -[lt_join($@, lt_decl_varnames_tagged([$1],
  424. -           lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl
  425. -])
  426. -
  427. -
  428. -# _LT_CONFIG_STATUS_DECLARE([VARNAME])
  429. -# ------------------------------------
  430. -# Quote a variable value, and forward it to `config.status' so that its
  431. -# declaration there will have the same value as in `configure'.  VARNAME
  432. -# must have a single quote delimited value for this to work.
  433. -m4_define([_LT_CONFIG_STATUS_DECLARE],
  434. -[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
  435. -
  436. -
  437. -# _LT_CONFIG_STATUS_DECLARATIONS
  438. -# ------------------------------
  439. -# We delimit libtool config variables with single quotes, so when
  440. -# we write them to config.status, we have to be sure to quote all
  441. -# embedded single quotes properly.  In configure, this macro expands
  442. -# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
  443. -#
  444. -#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
  445. -m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
  446. -[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
  447. -    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
  448. -
  449. -
  450. -# _LT_LIBTOOL_TAGS
  451. -# ----------------
  452. -# Output comment and list of tags supported by the script
  453. -m4_defun([_LT_LIBTOOL_TAGS],
  454. -[_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl
  455. -available_tags="_LT_TAGS"dnl
  456. -])
  457. -
  458. -
  459. -# _LT_LIBTOOL_DECLARE(VARNAME, [TAG])
  460. -# -----------------------------------
  461. -# Extract the dictionary values for VARNAME (optionally with TAG) and
  462. -# expand to a commented shell variable setting:
  463. -#
  464. -#    # Some comment about what VAR is for.
  465. -#    visible_name=$lt_internal_name
  466. -m4_define([_LT_LIBTOOL_DECLARE],
  467. -[_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1],
  468. -                      [description])))[]dnl
  469. -m4_pushdef([_libtool_name],
  470. -    m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl
  471. -m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])),
  472. -    [0], [_libtool_name=[$]$1],
  473. -    [1], [_libtool_name=$lt_[]$1],
  474. -    [2], [_libtool_name=$lt_[]$1],
  475. -    [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl
  476. -m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl
  477. -])
  478. -
  479. -
  480. -# _LT_LIBTOOL_CONFIG_VARS
  481. -# -----------------------
  482. -# Produce commented declarations of non-tagged libtool config variables
  483. -# suitable for insertion in the LIBTOOL CONFIG section of the `libtool'
  484. -# script.  Tagged libtool config variables (even for the LIBTOOL CONFIG
  485. -# section) are produced by _LT_LIBTOOL_TAG_VARS.
  486. -m4_defun([_LT_LIBTOOL_CONFIG_VARS],
  487. -[m4_foreach([_lt_var],
  488. -    m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)),
  489. -    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])])
  490. -
  491. -
  492. -# _LT_LIBTOOL_TAG_VARS(TAG)
  493. -# -------------------------
  494. -m4_define([_LT_LIBTOOL_TAG_VARS],
  495. -[m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames),
  496. -    [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])])
  497. -
  498. -
  499. -# _LT_TAGVAR(VARNAME, [TAGNAME])
  500. -# ------------------------------
  501. -m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])])
  502. -
  503. -
  504. -# _LT_CONFIG_COMMANDS
  505. -# -------------------
  506. -# Send accumulated output to $CONFIG_STATUS.  Thanks to the lists of
  507. -# variables for single and double quote escaping we saved from calls
  508. -# to _LT_DECL, we can put quote escaped variables declarations
  509. -# into `config.status', and then the shell code to quote escape them in
  510. -# for loops in `config.status'.  Finally, any additional code accumulated
  511. -# from calls to _LT_CONFIG_LIBTOOL_INIT is expanded.
  512. -m4_defun([_LT_CONFIG_COMMANDS],
  513. -[AC_PROVIDE_IFELSE([LT_OUTPUT],
  514. -   dnl If the libtool generation code has been placed in $CONFIG_LT,
  515. -   dnl instead of duplicating it all over again into config.status,
  516. -   dnl then we will have config.status run $CONFIG_LT later, so it
  517. -   dnl needs to know what name is stored there:
  518. -        [AC_CONFIG_COMMANDS([libtool],
  519. -            [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])],
  520. -    dnl If the libtool generation code is destined for config.status,
  521. -    dnl expand the accumulated commands and init code now:
  522. -    [AC_CONFIG_COMMANDS([libtool],
  523. -        [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])])
  524. -])#_LT_CONFIG_COMMANDS
  525. -
  526. -
  527. -# Initialize.
  528. -m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT],
  529. -[
  530. -
  531. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  532. -# if CDPATH is set.
  533. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  534. -
  535. -sed_quote_subst='$sed_quote_subst'
  536. -double_quote_subst='$double_quote_subst'
  537. -delay_variable_subst='$delay_variable_subst'
  538. -_LT_CONFIG_STATUS_DECLARATIONS
  539. -LTCC='$LTCC'
  540. -LTCFLAGS='$LTCFLAGS'
  541. -compiler='$compiler_DEFAULT'
  542. -
  543. -# Quote evaled strings.
  544. -for var in lt_decl_all_varnames([[ \
  545. -]], lt_decl_quote_varnames); do
  546. -    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  547. -    *[[\\\\\\\`\\"\\\$]]*)
  548. -      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  549. -      ;;
  550. -    *)
  551. -      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  552. -      ;;
  553. -    esac
  554. -done
  555. -
  556. -# Double-quote double-evaled strings.
  557. -for var in lt_decl_all_varnames([[ \
  558. -]], lt_decl_dquote_varnames); do
  559. -    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  560. -    *[[\\\\\\\`\\"\\\$]]*)
  561. -      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  562. -      ;;
  563. -    *)
  564. -      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  565. -      ;;
  566. -    esac
  567. -done
  568. -
  569. -# Fix-up fallback echo if it was mangled by the above quoting rules.
  570. -case \$lt_ECHO in
  571. -*'\\\[$]0 --fallback-echo"')dnl "
  572. -  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
  573. -  ;;
  574. -esac
  575. -
  576. -_LT_OUTPUT_LIBTOOL_INIT
  577. -])
  578. +To do so, use the procedure documented by the package, typically 'autoreconf'.])])
  579.  
  580. -
  581. -# LT_OUTPUT
  582. -# ---------
  583. -# This macro allows early generation of the libtool script (before
  584. -# AC_OUTPUT is called), incase it is used in configure for compilation
  585. -# tests.
  586. -AC_DEFUN([LT_OUTPUT],
  587. -[: ${CONFIG_LT=./config.lt}
  588. -AC_MSG_NOTICE([creating $CONFIG_LT])
  589. -cat >"$CONFIG_LT" <<_LTEOF
  590. -#! $SHELL
  591. -# Generated by $as_me.
  592. -# Run this file to recreate a libtool stub with the current configuration.
  593. -
  594. -lt_cl_silent=false
  595. -SHELL=\${CONFIG_SHELL-$SHELL}
  596. -_LTEOF
  597. -
  598. -cat >>"$CONFIG_LT" <<\_LTEOF
  599. -AS_SHELL_SANITIZE
  600. -_AS_PREPARE
  601. -
  602. -exec AS_MESSAGE_FD>&1
  603. -exec AS_MESSAGE_LOG_FD>>config.log
  604. -{
  605. -  echo
  606. -  AS_BOX([Running $as_me.])
  607. -} >&AS_MESSAGE_LOG_FD
  608. -
  609. -lt_cl_help="\
  610. -\`$as_me' creates a local libtool stub from the current configuration,
  611. -for use in further configure time tests before the real libtool is
  612. -generated.
  613. -
  614. -Usage: $[0] [[OPTIONS]]
  615. -
  616. -  -h, --help      print this help, then exit
  617. -  -V, --version   print version number, then exit
  618. -  -q, --quiet     do not print progress messages
  619. -  -d, --debug     don't remove temporary files
  620. -
  621. -Report bugs to <bug-libtool@gnu.org>."
  622. -
  623. -lt_cl_version="\
  624. -m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl
  625. -m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
  626. -configured by $[0], generated by m4_PACKAGE_STRING.
  627. -
  628. -Copyright (C) 2008 Free Software Foundation, Inc.
  629. -This config.lt script is free software; the Free Software Foundation
  630. -gives unlimited permision to copy, distribute and modify it."
  631. -
  632. -while test $[#] != 0
  633. -do
  634. -  case $[1] in
  635. -    --version | --v* | -V )
  636. -      echo "$lt_cl_version"; exit 0 ;;
  637. -    --help | --h* | -h )
  638. -      echo "$lt_cl_help"; exit 0 ;;
  639. -    --debug | --d* | -d )
  640. -      debug=: ;;
  641. -    --quiet | --q* | --silent | --s* | -q )
  642. -      lt_cl_silent=: ;;
  643. -
  644. -    -*) AC_MSG_ERROR([unrecognized option: $[1]
  645. -Try \`$[0] --help' for more information.]) ;;
  646. -
  647. -    *) AC_MSG_ERROR([unrecognized argument: $[1]
  648. -Try \`$[0] --help' for more information.]) ;;
  649. -  esac
  650. -  shift
  651. -done
  652. -
  653. -if $lt_cl_silent; then
  654. -  exec AS_MESSAGE_FD>/dev/null
  655. -fi
  656. -_LTEOF
  657. -
  658. -cat >>"$CONFIG_LT" <<_LTEOF
  659. -_LT_OUTPUT_LIBTOOL_COMMANDS_INIT
  660. -_LTEOF
  661. -
  662. -cat >>"$CONFIG_LT" <<\_LTEOF
  663. -AC_MSG_NOTICE([creating $ofile])
  664. -_LT_OUTPUT_LIBTOOL_COMMANDS
  665. -AS_EXIT(0)
  666. -_LTEOF
  667. -chmod +x "$CONFIG_LT"
  668. -
  669. -# configure is writing to config.log, but config.lt does its own redirection,
  670. -# appending to config.log, which fails on DOS, as config.log is still kept
  671. -# open by configure.  Here we exec the FD to /dev/null, effectively closing
  672. -# config.log, so it can be properly (re)opened and appended to by config.lt.
  673. -if test "$no_create" != yes; then
  674. -  lt_cl_success=:
  675. -  test "$silent" = yes &&
  676. -    lt_config_lt_args="$lt_config_lt_args --quiet"
  677. -  exec AS_MESSAGE_LOG_FD>/dev/null
  678. -  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
  679. -  exec AS_MESSAGE_LOG_FD>>config.log
  680. -  $lt_cl_success || AS_EXIT(1)
  681. -fi
  682. -])# LT_OUTPUT
  683. -
  684. -
  685. -# _LT_CONFIG(TAG)
  686. -# ---------------
  687. -# If TAG is the built-in tag, create an initial libtool script with a
  688. -# default configuration from the untagged config vars.  Otherwise add code
  689. -# to config.status for appending the configuration named by TAG from the
  690. -# matching tagged config vars.
  691. -m4_defun([_LT_CONFIG],
  692. -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  693. -_LT_CONFIG_SAVE_COMMANDS([
  694. -  m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl
  695. -  m4_if(_LT_TAG, [C], [
  696. -    # See if we are running on zsh, and set the options which allow our
  697. -    # commands through without removal of \ escapes.
  698. -    if test -n "${ZSH_VERSION+set}" ; then
  699. -      setopt NO_GLOB_SUBST
  700. -    fi
  701. -
  702. -    cfgfile="${ofile}T"
  703. -    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  704. -    $RM "$cfgfile"
  705. -
  706. -    cat <<_LT_EOF >> "$cfgfile"
  707. -#! $SHELL
  708. -
  709. -# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  710. -# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  711. -# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  712. -# NOTE: Changes made to this file will be lost: look at ltmain.sh.
  713. -#
  714. -_LT_COPYING
  715. -_LT_LIBTOOL_TAGS
  716. -
  717. -# ### BEGIN LIBTOOL CONFIG
  718. -_LT_LIBTOOL_CONFIG_VARS
  719. -_LT_LIBTOOL_TAG_VARS
  720. -# ### END LIBTOOL CONFIG
  721. -
  722. -_LT_EOF
  723. -
  724. -  case $host_os in
  725. -  aix3*)
  726. -    cat <<\_LT_EOF >> "$cfgfile"
  727. -# AIX sometimes has problems with the GCC collect2 program.  For some
  728. -# reason, if we set the COLLECT_NAMES environment variable, the problems
  729. -# vanish in a puff of smoke.
  730. -if test "X${COLLECT_NAMES+set}" != Xset; then
  731. -  COLLECT_NAMES=
  732. -  export COLLECT_NAMES
  733. -fi
  734. -_LT_EOF
  735. -    ;;
  736. -  esac
  737. -
  738. -  _LT_PROG_LTMAIN
  739. -
  740. -  # We use sed instead of cat because bash on DJGPP gets confused if
  741. -  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
  742. -  # text mode, it properly converts lines to CR/LF.  This bash problem
  743. -  # is reportedly fixed, but why not run on old versions too?
  744. -  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  745. -    || (rm -f "$cfgfile"; exit 1)
  746. -
  747. -  _LT_PROG_XSI_SHELLFNS
  748. -
  749. -  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  750. -    || (rm -f "$cfgfile"; exit 1)
  751. -
  752. -  mv -f "$cfgfile" "$ofile" ||
  753. -    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  754. -  chmod +x "$ofile"
  755. -],
  756. -[cat <<_LT_EOF >> "$ofile"
  757. -
  758. -dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded
  759. -dnl in a comment (ie after a #).
  760. -# ### BEGIN LIBTOOL TAG CONFIG: $1
  761. -_LT_LIBTOOL_TAG_VARS(_LT_TAG)
  762. -# ### END LIBTOOL TAG CONFIG: $1
  763. -_LT_EOF
  764. -])dnl /m4_if
  765. -],
  766. -[m4_if([$1], [], [
  767. -    PACKAGE='$PACKAGE'
  768. -    VERSION='$VERSION'
  769. -    TIMESTAMP='$TIMESTAMP'
  770. -    RM='$RM'
  771. -    ofile='$ofile'], [])
  772. -])dnl /_LT_CONFIG_SAVE_COMMANDS
  773. -])# _LT_CONFIG
  774. -
  775. -
  776. -# LT_SUPPORTED_TAG(TAG)
  777. -# ---------------------
  778. -# Trace this macro to discover what tags are supported by the libtool
  779. -# --tag option, using:
  780. -#    autoconf --trace 'LT_SUPPORTED_TAG:$1'
  781. -AC_DEFUN([LT_SUPPORTED_TAG], [])
  782. -
  783. -
  784. -# C support is built-in for now
  785. -m4_define([_LT_LANG_C_enabled], [])
  786. -m4_define([_LT_TAGS], [])
  787. -
  788. -
  789. -# LT_LANG(LANG)
  790. -# -------------
  791. -# Enable libtool support for the given language if not already enabled.
  792. -AC_DEFUN([LT_LANG],
  793. -[AC_BEFORE([$0], [LT_OUTPUT])dnl
  794. -m4_case([$1],
  795. -  [C],         [_LT_LANG(C)],
  796. -  [C++],       [_LT_LANG(CXX)],
  797. -  [Java],      [_LT_LANG(GCJ)],
  798. -  [Fortran 77],        [_LT_LANG(F77)],
  799. -  [Fortran],       [_LT_LANG(FC)],
  800. -  [Windows Resource],  [_LT_LANG(RC)],
  801. -  [m4_ifdef([_LT_LANG_]$1[_CONFIG],
  802. -    [_LT_LANG($1)],
  803. -    [m4_fatal([$0: unsupported language: "$1"])])])dnl
  804. -])# LT_LANG
  805. -
  806. -
  807. -# _LT_LANG(LANGNAME)
  808. -# ------------------
  809. -m4_defun([_LT_LANG],
  810. -[m4_ifdef([_LT_LANG_]$1[_enabled], [],
  811. -  [LT_SUPPORTED_TAG([$1])dnl
  812. -  m4_append([_LT_TAGS], [$1 ])dnl
  813. -  m4_define([_LT_LANG_]$1[_enabled], [])dnl
  814. -  _LT_LANG_$1_CONFIG($1)])dnl
  815. -])# _LT_LANG
  816. -
  817. -
  818. -# _LT_LANG_DEFAULT_CONFIG
  819. -# -----------------------
  820. -m4_defun([_LT_LANG_DEFAULT_CONFIG],
  821. -[AC_PROVIDE_IFELSE([AC_PROG_CXX],
  822. -  [LT_LANG(CXX)],
  823. -  [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])])
  824. -
  825. -AC_PROVIDE_IFELSE([AC_PROG_F77],
  826. -  [LT_LANG(F77)],
  827. -  [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])])
  828. -
  829. -AC_PROVIDE_IFELSE([AC_PROG_FC],
  830. -  [LT_LANG(FC)],
  831. -  [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])])
  832. -
  833. -dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal
  834. -dnl pulling things in needlessly.
  835. -AC_PROVIDE_IFELSE([AC_PROG_GCJ],
  836. -  [LT_LANG(GCJ)],
  837. -  [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
  838. -    [LT_LANG(GCJ)],
  839. -    [AC_PROVIDE_IFELSE([LT_PROG_GCJ],
  840. -      [LT_LANG(GCJ)],
  841. -      [m4_ifdef([AC_PROG_GCJ],
  842. -   [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])])
  843. -       m4_ifdef([A][M_PROG_GCJ],
  844. -   [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])])
  845. -       m4_ifdef([LT_PROG_GCJ],
  846. -   [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
  847. -
  848. -AC_PROVIDE_IFELSE([LT_PROG_RC],
  849. -  [LT_LANG(RC)],
  850. -  [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
  851. -])# _LT_LANG_DEFAULT_CONFIG
  852. -
  853. -# Obsolete macros:
  854. -AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)])
  855. -AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
  856. -AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
  857. -AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
  858. -dnl aclocal-1.4 backwards compatibility:
  859. -dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
  860. -dnl AC_DEFUN([AC_LIBTOOL_F77], [])
  861. -dnl AC_DEFUN([AC_LIBTOOL_FC], [])
  862. -dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
  863. -
  864. -
  865. -# _LT_TAG_COMPILER
  866. -# ----------------
  867. -m4_defun([_LT_TAG_COMPILER],
  868. -[AC_REQUIRE([AC_PROG_CC])dnl
  869. -
  870. -_LT_DECL([LTCC], [CC], [1], [A C compiler])dnl
  871. -_LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl
  872. -_LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl
  873. -_LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl
  874. -
  875. -# If no C compiler was specified, use CC.
  876. -LTCC=${LTCC-"$CC"}
  877. -
  878. -# If no C compiler flags were specified, use CFLAGS.
  879. -LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  880. -
  881. -# Allow CC to be a program name with arguments.
  882. -compiler=$CC
  883. -])# _LT_TAG_COMPILER
  884. -
  885. -
  886. -# _LT_COMPILER_BOILERPLATE
  887. -# ------------------------
  888. -# Check for compiler boilerplate output or warnings with
  889. -# the simple compiler test code.
  890. -m4_defun([_LT_COMPILER_BOILERPLATE],
  891. -[m4_require([_LT_DECL_SED])dnl
  892. -ac_outfile=conftest.$ac_objext
  893. -echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  894. -eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  895. -_lt_compiler_boilerplate=`cat conftest.err`
  896. -$RM conftest*
  897. -])# _LT_COMPILER_BOILERPLATE
  898. -
  899. -
  900. -# _LT_LINKER_BOILERPLATE
  901. -# ----------------------
  902. -# Check for linker boilerplate output or warnings with
  903. -# the simple link test code.
  904. -m4_defun([_LT_LINKER_BOILERPLATE],
  905. -[m4_require([_LT_DECL_SED])dnl
  906. -ac_outfile=conftest.$ac_objext
  907. -echo "$lt_simple_link_test_code" >conftest.$ac_ext
  908. -eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  909. -_lt_linker_boilerplate=`cat conftest.err`
  910. -$RM -r conftest*
  911. -])# _LT_LINKER_BOILERPLATE
  912. -
  913. -# _LT_REQUIRED_DARWIN_CHECKS
  914. -# -------------------------
  915. -m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[
  916. -  case $host_os in
  917. -    rhapsody* | darwin*)
  918. -    AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:])
  919. -    AC_CHECK_TOOL([NMEDIT], [nmedit], [:])
  920. -    AC_CHECK_TOOL([LIPO], [lipo], [:])
  921. -    AC_CHECK_TOOL([OTOOL], [otool], [:])
  922. -    AC_CHECK_TOOL([OTOOL64], [otool64], [:])
  923. -    _LT_DECL([], [DSYMUTIL], [1],
  924. -      [Tool to manipulate archived DWARF debug symbol files on Mac OS X])
  925. -    _LT_DECL([], [NMEDIT], [1],
  926. -      [Tool to change global to local symbols on Mac OS X])
  927. -    _LT_DECL([], [LIPO], [1],
  928. -      [Tool to manipulate fat objects and archives on Mac OS X])
  929. -    _LT_DECL([], [OTOOL], [1],
  930. -      [ldd/readelf like tool for Mach-O binaries on Mac OS X])
  931. -    _LT_DECL([], [OTOOL64], [1],
  932. -      [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4])
  933. -
  934. -    AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod],
  935. -      [lt_cv_apple_cc_single_mod=no
  936. -      if test -z "${LT_MULTI_MODULE}"; then
  937. -   # By default we will add the -single_module flag. You can override
  938. -   # by either setting the environment variable LT_MULTI_MODULE
  939. -   # non-empty at configure time, or by adding -multi_module to the
  940. -   # link flags.
  941. -   rm -rf libconftest.dylib*
  942. -   echo "int foo(void){return 1;}" > conftest.c
  943. -   echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  944. --dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD
  945. -   $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  946. -     -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  947. -        _lt_result=$?
  948. -   if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  949. -     lt_cv_apple_cc_single_mod=yes
  950. -   else
  951. -     cat conftest.err >&AS_MESSAGE_LOG_FD
  952. -   fi
  953. -   rm -rf libconftest.dylib*
  954. -   rm -f conftest.*
  955. -      fi])
  956. -    AC_CACHE_CHECK([for -exported_symbols_list linker flag],
  957. -      [lt_cv_ld_exported_symbols_list],
  958. -      [lt_cv_ld_exported_symbols_list=no
  959. -      save_LDFLAGS=$LDFLAGS
  960. -      echo "_main" > conftest.sym
  961. -      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  962. -      AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  963. -   [lt_cv_ld_exported_symbols_list=yes],
  964. -   [lt_cv_ld_exported_symbols_list=no])
  965. -   LDFLAGS="$save_LDFLAGS"
  966. -    ])
  967. -    case $host_os in
  968. -    rhapsody* | darwin1.[[012]])
  969. -      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  970. -    darwin1.*)
  971. -      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  972. -    darwin*) # darwin 5.x on
  973. -      # if running on 10.5 or later, the deployment target defaults
  974. -      # to the OS version, if on x86, and 10.4, the deployment
  975. -      # target defaults to 10.4. Don't you love it?
  976. -      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  977. -   10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
  978. -     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  979. -   10.[[012]]*)
  980. -     _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  981. -   10.*)
  982. -     _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  983. -      esac
  984. -    ;;
  985. -  esac
  986. -    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  987. -      _lt_dar_single_mod='$single_module'
  988. -    fi
  989. -    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  990. -      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  991. -    else
  992. -      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  993. -    fi
  994. -    if test "$DSYMUTIL" != ":"; then
  995. -      _lt_dsymutil='~$DSYMUTIL $lib || :'
  996. -    else
  997. -      _lt_dsymutil=
  998. -    fi
  999. -    ;;
  1000. -  esac
  1001. -])
  1002. -
  1003. -
  1004. -# _LT_DARWIN_LINKER_FEATURES
  1005. -# --------------------------
  1006. -# Checks for linker and compiler features on darwin
  1007. -m4_defun([_LT_DARWIN_LINKER_FEATURES],
  1008. -[
  1009. -  m4_require([_LT_REQUIRED_DARWIN_CHECKS])
  1010. -  _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  1011. -  _LT_TAGVAR(hardcode_direct, $1)=no
  1012. -  _LT_TAGVAR(hardcode_automatic, $1)=yes
  1013. -  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  1014. -  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
  1015. -  _LT_TAGVAR(link_all_deplibs, $1)=yes
  1016. -  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
  1017. -  case $cc_basename in
  1018. -     ifort*) _lt_dar_can_shared=yes ;;
  1019. -     *) _lt_dar_can_shared=$GCC ;;
  1020. -  esac
  1021. -  if test "$_lt_dar_can_shared" = "yes"; then
  1022. -    output_verbose_link_cmd=echo
  1023. -    _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}"
  1024. -    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  1025. -    _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}"
  1026. -    _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}"
  1027. -    m4_if([$1], [CXX],
  1028. -[   if test "$lt_cv_apple_cc_single_mod" != "yes"; then
  1029. -      _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}"
  1030. -      _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}"
  1031. -    fi
  1032. -],[])
  1033. -  else
  1034. -  _LT_TAGVAR(ld_shlibs, $1)=no
  1035. -  fi
  1036. -])
  1037. -
  1038. -# _LT_SYS_MODULE_PATH_AIX
  1039. -# -----------------------
  1040. -# Links a minimal program and checks the executable
  1041. -# for the system default hardcoded library path. In most cases,
  1042. -# this is /usr/lib:/lib, but when the MPI compilers are used
  1043. -# the location of the communication and MPI libs are included too.
  1044. -# If we don't find anything, use the default library path according
  1045. -# to the aix ld manual.
  1046. -m4_defun([_LT_SYS_MODULE_PATH_AIX],
  1047. -[m4_require([_LT_DECL_SED])dnl
  1048. -AC_LINK_IFELSE(AC_LANG_PROGRAM,[
  1049. -lt_aix_libpath_sed='
  1050. -    /Import File Strings/,/^$/ {
  1051. -   /^0/ {
  1052. -       s/^0  *\(.*\)$/\1/
  1053. -       p
  1054. -   }
  1055. -    }'
  1056. -aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  1057. -# Check for a 64-bit object if we didn't find anything.
  1058. -if test -z "$aix_libpath"; then
  1059. -  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  1060. -fi],[])
  1061. -if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  1062. -])# _LT_SYS_MODULE_PATH_AIX
  1063. -
  1064. -
  1065. -# _LT_SHELL_INIT(ARG)
  1066. -# -------------------
  1067. -m4_define([_LT_SHELL_INIT],
  1068. -[ifdef([AC_DIVERSION_NOTICE],
  1069. -        [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
  1070. -    [AC_DIVERT_PUSH(NOTICE)])
  1071. -$1
  1072. -AC_DIVERT_POP
  1073. -])# _LT_SHELL_INIT
  1074. -
  1075. -
  1076. -# _LT_PROG_ECHO_BACKSLASH
  1077. -# -----------------------
  1078. -# Add some code to the start of the generated configure script which
  1079. -# will find an echo command which doesn't interpret backslashes.
  1080. -m4_defun([_LT_PROG_ECHO_BACKSLASH],
  1081. -[_LT_SHELL_INIT([
  1082. -# Check that we are running under the correct shell.
  1083. -SHELL=${CONFIG_SHELL-/bin/sh}
  1084. -
  1085. -case X$lt_ECHO in
  1086. -X*--fallback-echo)
  1087. -  # Remove one level of quotation (which was required for Make).
  1088. -  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
  1089. -  ;;
  1090. -esac
  1091. -
  1092. -ECHO=${lt_ECHO-echo}
  1093. -if test "X[$]1" = X--no-reexec; then
  1094. -  # Discard the --no-reexec flag, and continue.
  1095. -  shift
  1096. -elif test "X[$]1" = X--fallback-echo; then
  1097. -  # Avoid inline document here, it may be left over
  1098. -  :
  1099. -elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  1100. -  # Yippee, $ECHO works!
  1101. -  :
  1102. -else
  1103. -  # Restart under the correct shell.
  1104. -  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
  1105. -fi
  1106. -
  1107. -if test "X[$]1" = X--fallback-echo; then
  1108. -  # used as fallback echo
  1109. -  shift
  1110. -  cat <<_LT_EOF
  1111. -[$]*
  1112. -_LT_EOF
  1113. -  exit 0
  1114. -fi
  1115. -
  1116. -# The HP-UX ksh and POSIX shell print the target directory to stdout
  1117. -# if CDPATH is set.
  1118. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  1119. -
  1120. -if test -z "$lt_ECHO"; then
  1121. -  if test "X${echo_test_string+set}" != Xset; then
  1122. -    # find a string as large as possible, as long as the shell can cope with it
  1123. -    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
  1124. -      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  1125. -      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  1126. -    { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  1127. -      then
  1128. -        break
  1129. -      fi
  1130. -    done
  1131. -  fi
  1132. -
  1133. -  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  1134. -     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  1135. -     test "X$echo_testing_string" = "X$echo_test_string"; then
  1136. -    :
  1137. -  else
  1138. -    # The Solaris, AIX, and Digital Unix default echo programs unquote
  1139. -    # backslashes.  This makes it impossible to quote backslashes using
  1140. -    #   echo "$something" | sed 's/\\/\\\\/g'
  1141. -    #
  1142. -    # So, first we look for a working echo in the user's PATH.
  1143. -
  1144. -    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  1145. -    for dir in $PATH /usr/ucb; do
  1146. -      IFS="$lt_save_ifs"
  1147. -      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  1148. -         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  1149. -         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  1150. -         test "X$echo_testing_string" = "X$echo_test_string"; then
  1151. -        ECHO="$dir/echo"
  1152. -        break
  1153. -      fi
  1154. -    done
  1155. -    IFS="$lt_save_ifs"
  1156. -
  1157. -    if test "X$ECHO" = Xecho; then
  1158. -      # We didn't find a better echo, so look for alternatives.
  1159. -      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  1160. -         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  1161. -         test "X$echo_testing_string" = "X$echo_test_string"; then
  1162. -        # This shell has a builtin print -r that does the trick.
  1163. -        ECHO='print -r'
  1164. -      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  1165. -      test "X$CONFIG_SHELL" != X/bin/ksh; then
  1166. -        # If we have ksh, try running configure again with it.
  1167. -        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  1168. -        export ORIGINAL_CONFIG_SHELL
  1169. -        CONFIG_SHELL=/bin/ksh
  1170. -        export CONFIG_SHELL
  1171. -        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
  1172. -      else
  1173. -        # Try using printf.
  1174. -        ECHO='printf %s\n'
  1175. -        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  1176. -      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  1177. -      test "X$echo_testing_string" = "X$echo_test_string"; then
  1178. -     # Cool, printf works
  1179. -     :
  1180. -        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1181. -        test "X$echo_testing_string" = 'X\t' &&
  1182. -        echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1183. -        test "X$echo_testing_string" = "X$echo_test_string"; then
  1184. -     CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  1185. -     export CONFIG_SHELL
  1186. -     SHELL="$CONFIG_SHELL"
  1187. -     export SHELL
  1188. -     ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  1189. -        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
  1190. -        test "X$echo_testing_string" = 'X\t' &&
  1191. -        echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  1192. -        test "X$echo_testing_string" = "X$echo_test_string"; then
  1193. -     ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
  1194. -        else
  1195. -     # maybe with a smaller string...
  1196. -     prev=:
  1197. -
  1198. -     for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
  1199. -       if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  1200. -       then
  1201. -         break
  1202. -       fi
  1203. -       prev="$cmd"
  1204. -     done
  1205. -
  1206. -     if test "$prev" != 'sed 50q "[$]0"'; then
  1207. -       echo_test_string=`eval $prev`
  1208. -       export echo_test_string
  1209. -       exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
  1210. -     else
  1211. -       # Oops.  We lost completely, so just stick with echo.
  1212. -       ECHO=echo
  1213. -     fi
  1214. -        fi
  1215. -      fi
  1216. -    fi
  1217. -  fi
  1218. -fi
  1219. -
  1220. -# Copy echo and quote the copy suitably for passing to libtool from
  1221. -# the Makefile, instead of quoting the original, which is used later.
  1222. -lt_ECHO=$ECHO
  1223. -if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
  1224. -   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
  1225. -fi
  1226. -
  1227. -AC_SUBST(lt_ECHO)
  1228. -])
  1229. -_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
  1230. -_LT_DECL([], [ECHO], [1],
  1231. -    [An echo program that does not interpret backslashes])
  1232. -])# _LT_PROG_ECHO_BACKSLASH
  1233. -
  1234. -
  1235. -# _LT_ENABLE_LOCK
  1236. -# ---------------
  1237. -m4_defun([_LT_ENABLE_LOCK],
  1238. -[AC_ARG_ENABLE([libtool-lock],
  1239. -  [AS_HELP_STRING([--disable-libtool-lock],
  1240. -    [avoid locking (might break parallel builds)])])
  1241. -test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  1242. -
  1243. -# Some flags need to be propagated to the compiler or linker for good
  1244. -# libtool support.
  1245. -case $host in
  1246. -ia64-*-hpux*)
  1247. -  # Find out which ABI we are using.
  1248. -  echo 'int i;' > conftest.$ac_ext
  1249. -  if AC_TRY_EVAL(ac_compile); then
  1250. -    case `/usr/bin/file conftest.$ac_objext` in
  1251. -      *ELF-32*)
  1252. -   HPUX_IA64_MODE="32"
  1253. -   ;;
  1254. -      *ELF-64*)
  1255. -   HPUX_IA64_MODE="64"
  1256. -   ;;
  1257. -    esac
  1258. -  fi
  1259. -  rm -rf conftest*
  1260. -  ;;
  1261. -*-*-irix6*)
  1262. -  # Find out which ABI we are using.
  1263. -  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
  1264. -  if AC_TRY_EVAL(ac_compile); then
  1265. -    if test "$lt_cv_prog_gnu_ld" = yes; then
  1266. -      case `/usr/bin/file conftest.$ac_objext` in
  1267. -   *32-bit*)
  1268. -     LD="${LD-ld} -melf32bsmip"
  1269. -     ;;
  1270. -   *N32*)
  1271. -     LD="${LD-ld} -melf32bmipn32"
  1272. -     ;;
  1273. -   *64-bit*)
  1274. -     LD="${LD-ld} -melf64bmip"
  1275. -   ;;
  1276. -      esac
  1277. -    else
  1278. -      case `/usr/bin/file conftest.$ac_objext` in
  1279. -   *32-bit*)
  1280. -     LD="${LD-ld} -32"
  1281. -     ;;
  1282. -   *N32*)
  1283. -     LD="${LD-ld} -n32"
  1284. -     ;;
  1285. -   *64-bit*)
  1286. -     LD="${LD-ld} -64"
  1287. -     ;;
  1288. -      esac
  1289. -    fi
  1290. -  fi
  1291. -  rm -rf conftest*
  1292. -  ;;
  1293. -
  1294. -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  1295. -s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  1296. -  # Find out which ABI we are using.
  1297. -  echo 'int i;' > conftest.$ac_ext
  1298. -  if AC_TRY_EVAL(ac_compile); then
  1299. -    case `/usr/bin/file conftest.o` in
  1300. -      *32-bit*)
  1301. -   case $host in
  1302. -     x86_64-*kfreebsd*-gnu)
  1303. -       LD="${LD-ld} -m elf_i386_fbsd"
  1304. -       ;;
  1305. -     x86_64-*linux*)
  1306. -       LD="${LD-ld} -m elf_i386"
  1307. -       ;;
  1308. -     ppc64-*linux*|powerpc64-*linux*)
  1309. -       LD="${LD-ld} -m elf32ppclinux"
  1310. -       ;;
  1311. -     s390x-*linux*)
  1312. -       LD="${LD-ld} -m elf_s390"
  1313. -       ;;
  1314. -     sparc64-*linux*)
  1315. -       LD="${LD-ld} -m elf32_sparc"
  1316. -       ;;
  1317. -   esac
  1318. -   ;;
  1319. -      *64-bit*)
  1320. -   case $host in
  1321. -     x86_64-*kfreebsd*-gnu)
  1322. -       LD="${LD-ld} -m elf_x86_64_fbsd"
  1323. -       ;;
  1324. -     x86_64-*linux*)
  1325. -       LD="${LD-ld} -m elf_x86_64"
  1326. -       ;;
  1327. -     ppc*-*linux*|powerpc*-*linux*)
  1328. -       LD="${LD-ld} -m elf64ppc"
  1329. -       ;;
  1330. -     s390*-*linux*|s390*-*tpf*)
  1331. -       LD="${LD-ld} -m elf64_s390"
  1332. -       ;;
  1333. -     sparc*-*linux*)
  1334. -       LD="${LD-ld} -m elf64_sparc"
  1335. -       ;;
  1336. -   esac
  1337. -   ;;
  1338. -    esac
  1339. -  fi
  1340. -  rm -rf conftest*
  1341. -  ;;
  1342. -
  1343. -*-*-sco3.2v5*)
  1344. -  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  1345. -  SAVE_CFLAGS="$CFLAGS"
  1346. -  CFLAGS="$CFLAGS -belf"
  1347. -  AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf,
  1348. -    [AC_LANG_PUSH(C)
  1349. -     AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no])
  1350. -     AC_LANG_POP])
  1351. -  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  1352. -    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  1353. -    CFLAGS="$SAVE_CFLAGS"
  1354. -  fi
  1355. -  ;;
  1356. -sparc*-*solaris*)
  1357. -  # Find out which ABI we are using.
  1358. -  echo 'int i;' > conftest.$ac_ext
  1359. -  if AC_TRY_EVAL(ac_compile); then
  1360. -    case `/usr/bin/file conftest.o` in
  1361. -    *64-bit*)
  1362. -      case $lt_cv_prog_gnu_ld in
  1363. -      yes*) LD="${LD-ld} -m elf64_sparc" ;;
  1364. -      *)
  1365. -   if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  1366. -     LD="${LD-ld} -64"
  1367. -   fi
  1368. -   ;;
  1369. -      esac
  1370. -      ;;
  1371. -    esac
  1372. -  fi
  1373. -  rm -rf conftest*
  1374. -  ;;
  1375. -esac
  1376. -
  1377. -need_locks="$enable_libtool_lock"
  1378. -])# _LT_ENABLE_LOCK
  1379. -
  1380. -
  1381. -# _LT_CMD_OLD_ARCHIVE
  1382. -# -------------------
  1383. -m4_defun([_LT_CMD_OLD_ARCHIVE],
  1384. -[AC_CHECK_TOOL(AR, ar, false)
  1385. -test -z "$AR" && AR=ar
  1386. -test -z "$AR_FLAGS" && AR_FLAGS=cru
  1387. -_LT_DECL([], [AR], [1], [The archiver])
  1388. -_LT_DECL([], [AR_FLAGS], [1])
  1389. -
  1390. -AC_CHECK_TOOL(STRIP, strip, :)
  1391. -test -z "$STRIP" && STRIP=:
  1392. -_LT_DECL([], [STRIP], [1], [A symbol stripping program])
  1393. -
  1394. -AC_CHECK_TOOL(RANLIB, ranlib, :)
  1395. -test -z "$RANLIB" && RANLIB=:
  1396. -_LT_DECL([], [RANLIB], [1],
  1397. -    [Commands used to install an old-style archive])
  1398. -
  1399. -# Determine commands to create old-style static archives.
  1400. -old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  1401. -old_postinstall_cmds='chmod 644 $oldlib'
  1402. -old_postuninstall_cmds=
  1403. -
  1404. -if test -n "$RANLIB"; then
  1405. -  case $host_os in
  1406. -  openbsd*)
  1407. -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  1408. -    ;;
  1409. -  *)
  1410. -    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  1411. -    ;;
  1412. -  esac
  1413. -  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  1414. -fi
  1415. -_LT_DECL([], [old_postinstall_cmds], [2])
  1416. -_LT_DECL([], [old_postuninstall_cmds], [2])
  1417. -_LT_TAGDECL([], [old_archive_cmds], [2],
  1418. -    [Commands used to build an old-style archive])
  1419. -])# _LT_CMD_OLD_ARCHIVE
  1420. -
  1421. -
  1422. -# _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1423. -#      [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
  1424. -# ----------------------------------------------------------------
  1425. -# Check whether the given compiler option works
  1426. -AC_DEFUN([_LT_COMPILER_OPTION],
  1427. -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1428. -m4_require([_LT_DECL_SED])dnl
  1429. -AC_CACHE_CHECK([$1], [$2],
  1430. -  [$2=no
  1431. -   m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4])
  1432. -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1433. -   lt_compiler_flag="$3"
  1434. -   # Insert the option either (1) after the last *FLAGS variable, or
  1435. -   # (2) before a word containing "conftest.", or (3) at the end.
  1436. -   # Note that $ac_compile itself does not contain backslashes and begins
  1437. -   # with a dollar sign (not a hyphen), so the echo should work correctly.
  1438. -   # The option is referenced via a variable to avoid confusing sed.
  1439. -   lt_compile=`echo "$ac_compile" | $SED \
  1440. -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1441. -   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  1442. -   -e 's:$: $lt_compiler_flag:'`
  1443. -   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  1444. -   (eval "$lt_compile" 2>conftest.err)
  1445. -   ac_status=$?
  1446. -   cat conftest.err >&AS_MESSAGE_LOG_FD
  1447. -   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  1448. -   if (exit $ac_status) && test -s "$ac_outfile"; then
  1449. -     # The compiler can only warn and ignore the option if not recognized
  1450. -     # So say no if there are warnings other than the usual output.
  1451. -     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  1452. -     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1453. -     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  1454. -       $2=yes
  1455. -     fi
  1456. -   fi
  1457. -   $RM conftest*
  1458. -])
  1459. -
  1460. -if test x"[$]$2" = xyes; then
  1461. -    m4_if([$5], , :, [$5])
  1462. -else
  1463. -    m4_if([$6], , :, [$6])
  1464. -fi
  1465. -])# _LT_COMPILER_OPTION
  1466. -
  1467. -# Old name:
  1468. -AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION])
  1469. -dnl aclocal-1.4 backwards compatibility:
  1470. -dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [])
  1471. -
  1472. -
  1473. -# _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
  1474. -#                  [ACTION-SUCCESS], [ACTION-FAILURE])
  1475. -# ----------------------------------------------------
  1476. -# Check whether the given linker option works
  1477. -AC_DEFUN([_LT_LINKER_OPTION],
  1478. -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1479. -m4_require([_LT_DECL_SED])dnl
  1480. -AC_CACHE_CHECK([$1], [$2],
  1481. -  [$2=no
  1482. -   save_LDFLAGS="$LDFLAGS"
  1483. -   LDFLAGS="$LDFLAGS $3"
  1484. -   echo "$lt_simple_link_test_code" > conftest.$ac_ext
  1485. -   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  1486. -     # The linker can only warn and ignore the option if not recognized
  1487. -     # So say no if there are warnings
  1488. -     if test -s conftest.err; then
  1489. -       # Append any errors to the config.log.
  1490. -       cat conftest.err 1>&AS_MESSAGE_LOG_FD
  1491. -       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  1492. -       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  1493. -       if diff conftest.exp conftest.er2 >/dev/null; then
  1494. -         $2=yes
  1495. -       fi
  1496. -     else
  1497. -       $2=yes
  1498. -     fi
  1499. -   fi
  1500. -   $RM -r conftest*
  1501. -   LDFLAGS="$save_LDFLAGS"
  1502. -])
  1503. -
  1504. -if test x"[$]$2" = xyes; then
  1505. -    m4_if([$4], , :, [$4])
  1506. -else
  1507. -    m4_if([$5], , :, [$5])
  1508. -fi
  1509. -])# _LT_LINKER_OPTION
  1510. -
  1511. -# Old name:
  1512. -AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION])
  1513. -dnl aclocal-1.4 backwards compatibility:
  1514. -dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [])
  1515. -
  1516. -
  1517. -# LT_CMD_MAX_LEN
  1518. -#---------------
  1519. -AC_DEFUN([LT_CMD_MAX_LEN],
  1520. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  1521. -# find the maximum length of command line arguments
  1522. -AC_MSG_CHECKING([the maximum length of command line arguments])
  1523. -AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl
  1524. -  i=0
  1525. -  teststring="ABCD"
  1526. -
  1527. -  case $build_os in
  1528. -  msdosdjgpp*)
  1529. -    # On DJGPP, this test can blow up pretty badly due to problems in libc
  1530. -    # (any single argument exceeding 2000 bytes causes a buffer overrun
  1531. -    # during glob expansion).  Even if it were fixed, the result of this
  1532. -    # check would be larger than it should be.
  1533. -    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  1534. -    ;;
  1535. -
  1536. -  gnu*)
  1537. -    # Under GNU Hurd, this test is not required because there is
  1538. -    # no limit to the length of command line arguments.
  1539. -    # Libtool will interpret -1 as no limit whatsoever
  1540. -    lt_cv_sys_max_cmd_len=-1;
  1541. -    ;;
  1542. -
  1543. -  cygwin* | mingw* | cegcc*)
  1544. -    # On Win9x/ME, this test blows up -- it succeeds, but takes
  1545. -    # about 5 minutes as the teststring grows exponentially.
  1546. -    # Worse, since 9x/ME are not pre-emptively multitasking,
  1547. -    # you end up with a "frozen" computer, even though with patience
  1548. -    # the test eventually succeeds (with a max line length of 256k).
  1549. -    # Instead, let's just punt: use the minimum linelength reported by
  1550. -    # all of the supported platforms: 8192 (on NT/2K/XP).
  1551. -    lt_cv_sys_max_cmd_len=8192;
  1552. -    ;;
  1553. -
  1554. -  amigaos*)
  1555. -    # On AmigaOS with pdksh, this test takes hours, literally.
  1556. -    # So we just punt and use a minimum line length of 8192.
  1557. -    lt_cv_sys_max_cmd_len=8192;
  1558. -    ;;
  1559. -
  1560. -  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  1561. -    # This has been around since 386BSD, at least.  Likely further.
  1562. -    if test -x /sbin/sysctl; then
  1563. -      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  1564. -    elif test -x /usr/sbin/sysctl; then
  1565. -      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  1566. -    else
  1567. -      lt_cv_sys_max_cmd_len=65536  # usable default for all BSDs
  1568. -    fi
  1569. -    # And add a safety zone
  1570. -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  1571. -    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  1572. -    ;;
  1573. -
  1574. -  interix*)
  1575. -    # We know the value 262144 and hardcode it with a safety zone (like BSD)
  1576. -    lt_cv_sys_max_cmd_len=196608
  1577. -    ;;
  1578. -
  1579. -  osf*)
  1580. -    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  1581. -    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  1582. -    # nice to cause kernel panics so lets avoid the loop below.
  1583. -    # First set a reasonable default.
  1584. -    lt_cv_sys_max_cmd_len=16384
  1585. -    #
  1586. -    if test -x /sbin/sysconfig; then
  1587. -      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  1588. -        *1*) lt_cv_sys_max_cmd_len=-1 ;;
  1589. -      esac
  1590. -    fi
  1591. -    ;;
  1592. -  sco3.2v5*)
  1593. -    lt_cv_sys_max_cmd_len=102400
  1594. -    ;;
  1595. -  sysv5* | sco5v6* | sysv4.2uw2*)
  1596. -    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  1597. -    if test -n "$kargmax"; then
  1598. -      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[    ]]//'`
  1599. -    else
  1600. -      lt_cv_sys_max_cmd_len=32768
  1601. -    fi
  1602. -    ;;
  1603. -  *)
  1604. -    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  1605. -    if test -n "$lt_cv_sys_max_cmd_len"; then
  1606. -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  1607. -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  1608. -    else
  1609. -      # Make teststring a little bigger before we do anything with it.
  1610. -      # a 1K string should be a reasonable start.
  1611. -      for i in 1 2 3 4 5 6 7 8 ; do
  1612. -        teststring=$teststring$teststring
  1613. -      done
  1614. -      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  1615. -      # If test is not a shell built-in, we'll probably end up computing a
  1616. -      # maximum length that is only half of the actual maximum length, but
  1617. -      # we can't tell.
  1618. -      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  1619. -            = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  1620. -         test $i != 17 # 1/2 MB should be enough
  1621. -      do
  1622. -        i=`expr $i + 1`
  1623. -        teststring=$teststring$teststring
  1624. -      done
  1625. -      # Only check the string length outside the loop.
  1626. -      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  1627. -      teststring=
  1628. -      # Add a significant safety factor because C++ compilers can tack on
  1629. -      # massive amounts of additional arguments before passing them to the
  1630. -      # linker.  It appears as though 1/2 is a usable value.
  1631. -      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  1632. -    fi
  1633. -    ;;
  1634. -  esac
  1635. -])
  1636. -if test -n $lt_cv_sys_max_cmd_len ; then
  1637. -  AC_MSG_RESULT($lt_cv_sys_max_cmd_len)
  1638. -else
  1639. -  AC_MSG_RESULT(none)
  1640. -fi
  1641. -max_cmd_len=$lt_cv_sys_max_cmd_len
  1642. -_LT_DECL([], [max_cmd_len], [0],
  1643. -    [What is the maximum length of a command?])
  1644. -])# LT_CMD_MAX_LEN
  1645. -
  1646. -# Old name:
  1647. -AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN])
  1648. -dnl aclocal-1.4 backwards compatibility:
  1649. -dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [])
  1650. -
  1651. -
  1652. -# _LT_HEADER_DLFCN
  1653. -# ----------------
  1654. -m4_defun([_LT_HEADER_DLFCN],
  1655. -[AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl
  1656. -])# _LT_HEADER_DLFCN
  1657. -
  1658. -
  1659. -# _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE,
  1660. -#                      ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING)
  1661. -# ----------------------------------------------------------------
  1662. -m4_defun([_LT_TRY_DLOPEN_SELF],
  1663. -[m4_require([_LT_HEADER_DLFCN])dnl
  1664. -if test "$cross_compiling" = yes; then :
  1665. -  [$4]
  1666. -else
  1667. -  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  1668. -  lt_status=$lt_dlunknown
  1669. -  cat > conftest.$ac_ext <<_LT_EOF
  1670. -[#line __oline__ "configure"
  1671. -#include "confdefs.h"
  1672. -
  1673. -#if HAVE_DLFCN_H
  1674. -#include <dlfcn.h>
  1675. -#endif
  1676. -
  1677. -#include <stdio.h>
  1678. -
  1679. -#ifdef RTLD_GLOBAL
  1680. -#  define LT_DLGLOBAL      RTLD_GLOBAL
  1681. -#else
  1682. -#  ifdef DL_GLOBAL
  1683. -#    define LT_DLGLOBAL        DL_GLOBAL
  1684. -#  else
  1685. -#    define LT_DLGLOBAL        0
  1686. -#  endif
  1687. -#endif
  1688. -
  1689. -/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  1690. -   find out it does not work in some platform. */
  1691. -#ifndef LT_DLLAZY_OR_NOW
  1692. -#  ifdef RTLD_LAZY
  1693. -#    define LT_DLLAZY_OR_NOW       RTLD_LAZY
  1694. -#  else
  1695. -#    ifdef DL_LAZY
  1696. -#      define LT_DLLAZY_OR_NOW     DL_LAZY
  1697. -#    else
  1698. -#      ifdef RTLD_NOW
  1699. -#        define LT_DLLAZY_OR_NOW   RTLD_NOW
  1700. -#      else
  1701. -#        ifdef DL_NOW
  1702. -#          define LT_DLLAZY_OR_NOW DL_NOW
  1703. -#        else
  1704. -#          define LT_DLLAZY_OR_NOW 0
  1705. -#        endif
  1706. -#      endif
  1707. -#    endif
  1708. -#  endif
  1709. -#endif
  1710. -
  1711. -void fnord() { int i=42;}
  1712. -int main ()
  1713. -{
  1714. -  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  1715. -  int status = $lt_dlunknown;
  1716. -
  1717. -  if (self)
  1718. -    {
  1719. -      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
  1720. -      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  1721. -      /* dlclose (self); */
  1722. -    }
  1723. -  else
  1724. -    puts (dlerror ());
  1725. -
  1726. -  return status;
  1727. -}]
  1728. -_LT_EOF
  1729. -  if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then
  1730. -    (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null
  1731. -    lt_status=$?
  1732. -    case x$lt_status in
  1733. -      x$lt_dlno_uscore) $1 ;;
  1734. -      x$lt_dlneed_uscore) $2 ;;
  1735. -      x$lt_dlunknown|x*) $3 ;;
  1736. -    esac
  1737. -  else :
  1738. -    # compilation failed
  1739. -    $3
  1740. -  fi
  1741. -fi
  1742. -rm -fr conftest*
  1743. -])# _LT_TRY_DLOPEN_SELF
  1744. -
  1745. -
  1746. -# LT_SYS_DLOPEN_SELF
  1747. -# ------------------
  1748. -AC_DEFUN([LT_SYS_DLOPEN_SELF],
  1749. -[m4_require([_LT_HEADER_DLFCN])dnl
  1750. -if test "x$enable_dlopen" != xyes; then
  1751. -  enable_dlopen=unknown
  1752. -  enable_dlopen_self=unknown
  1753. -  enable_dlopen_self_static=unknown
  1754. -else
  1755. -  lt_cv_dlopen=no
  1756. -  lt_cv_dlopen_libs=
  1757. -
  1758. -  case $host_os in
  1759. -  beos*)
  1760. -    lt_cv_dlopen="load_add_on"
  1761. -    lt_cv_dlopen_libs=
  1762. -    lt_cv_dlopen_self=yes
  1763. -    ;;
  1764. -
  1765. -  mingw* | pw32* | cegcc*)
  1766. -    lt_cv_dlopen="LoadLibrary"
  1767. -    lt_cv_dlopen_libs=
  1768. -    ;;
  1769. -
  1770. -  cygwin*)
  1771. -    lt_cv_dlopen="dlopen"
  1772. -    lt_cv_dlopen_libs=
  1773. -    ;;
  1774. -
  1775. -  darwin*)
  1776. -  # if libdl is installed we need to link against it
  1777. -    AC_CHECK_LIB([dl], [dlopen],
  1778. -       [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[
  1779. -    lt_cv_dlopen="dyld"
  1780. -    lt_cv_dlopen_libs=
  1781. -    lt_cv_dlopen_self=yes
  1782. -    ])
  1783. -    ;;
  1784. -
  1785. -  *)
  1786. -    AC_CHECK_FUNC([shl_load],
  1787. -     [lt_cv_dlopen="shl_load"],
  1788. -      [AC_CHECK_LIB([dld], [shl_load],
  1789. -       [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
  1790. -   [AC_CHECK_FUNC([dlopen],
  1791. -         [lt_cv_dlopen="dlopen"],
  1792. -     [AC_CHECK_LIB([dl], [dlopen],
  1793. -       [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],
  1794. -       [AC_CHECK_LIB([svld], [dlopen],
  1795. -         [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"],
  1796. -         [AC_CHECK_LIB([dld], [dld_link],
  1797. -           [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
  1798. -         ])
  1799. -       ])
  1800. -     ])
  1801. -   ])
  1802. -      ])
  1803. -    ;;
  1804. -  esac
  1805. -
  1806. -  if test "x$lt_cv_dlopen" != xno; then
  1807. -    enable_dlopen=yes
  1808. -  else
  1809. -    enable_dlopen=no
  1810. -  fi
  1811. -
  1812. -  case $lt_cv_dlopen in
  1813. -  dlopen)
  1814. -    save_CPPFLAGS="$CPPFLAGS"
  1815. -    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  1816. -
  1817. -    save_LDFLAGS="$LDFLAGS"
  1818. -    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  1819. -
  1820. -    save_LIBS="$LIBS"
  1821. -    LIBS="$lt_cv_dlopen_libs $LIBS"
  1822. -
  1823. -    AC_CACHE_CHECK([whether a program can dlopen itself],
  1824. -     lt_cv_dlopen_self, [dnl
  1825. -     _LT_TRY_DLOPEN_SELF(
  1826. -       lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes,
  1827. -       lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross)
  1828. -    ])
  1829. -
  1830. -    if test "x$lt_cv_dlopen_self" = xyes; then
  1831. -      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  1832. -      AC_CACHE_CHECK([whether a statically linked program can dlopen itself],
  1833. -     lt_cv_dlopen_self_static, [dnl
  1834. -     _LT_TRY_DLOPEN_SELF(
  1835. -       lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes,
  1836. -       lt_cv_dlopen_self_static=no,  lt_cv_dlopen_self_static=cross)
  1837. -      ])
  1838. -    fi
  1839. -
  1840. -    CPPFLAGS="$save_CPPFLAGS"
  1841. -    LDFLAGS="$save_LDFLAGS"
  1842. -    LIBS="$save_LIBS"
  1843. -    ;;
  1844. -  esac
  1845. -
  1846. -  case $lt_cv_dlopen_self in
  1847. -  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  1848. -  *) enable_dlopen_self=unknown ;;
  1849. -  esac
  1850. -
  1851. -  case $lt_cv_dlopen_self_static in
  1852. -  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  1853. -  *) enable_dlopen_self_static=unknown ;;
  1854. -  esac
  1855. -fi
  1856. -_LT_DECL([dlopen_support], [enable_dlopen], [0],
  1857. -    [Whether dlopen is supported])
  1858. -_LT_DECL([dlopen_self], [enable_dlopen_self], [0],
  1859. -    [Whether dlopen of programs is supported])
  1860. -_LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0],
  1861. -    [Whether dlopen of statically linked programs is supported])
  1862. -])# LT_SYS_DLOPEN_SELF
  1863. -
  1864. -# Old name:
  1865. -AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF])
  1866. -dnl aclocal-1.4 backwards compatibility:
  1867. -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [])
  1868. -
  1869. -
  1870. -# _LT_COMPILER_C_O([TAGNAME])
  1871. -# ---------------------------
  1872. -# Check to see if options -c and -o are simultaneously supported by compiler.
  1873. -# This macro does not hard code the compiler like AC_PROG_CC_C_O.
  1874. -m4_defun([_LT_COMPILER_C_O],
  1875. -[m4_require([_LT_DECL_SED])dnl
  1876. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1877. -m4_require([_LT_TAG_COMPILER])dnl
  1878. -AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext],
  1879. -  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)],
  1880. -  [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no
  1881. -   $RM -r conftest 2>/dev/null
  1882. -   mkdir conftest
  1883. -   cd conftest
  1884. -   mkdir out
  1885. -   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  1886. -
  1887. -   lt_compiler_flag="-o out/conftest2.$ac_objext"
  1888. -   # Insert the option either (1) after the last *FLAGS variable, or
  1889. -   # (2) before a word containing "conftest.", or (3) at the end.
  1890. -   # Note that $ac_compile itself does not contain backslashes and begins
  1891. -   # with a dollar sign (not a hyphen), so the echo should work correctly.
  1892. -   lt_compile=`echo "$ac_compile" | $SED \
  1893. -   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  1894. -   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
  1895. -   -e 's:$: $lt_compiler_flag:'`
  1896. -   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
  1897. -   (eval "$lt_compile" 2>out/conftest.err)
  1898. -   ac_status=$?
  1899. -   cat out/conftest.err >&AS_MESSAGE_LOG_FD
  1900. -   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  1901. -   if (exit $ac_status) && test -s out/conftest2.$ac_objext
  1902. -   then
  1903. -     # The compiler can only warn and ignore the option if not recognized
  1904. -     # So say no if there are warnings
  1905. -     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  1906. -     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  1907. -     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  1908. -       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  1909. -     fi
  1910. -   fi
  1911. -   chmod u+w . 2>&AS_MESSAGE_LOG_FD
  1912. -   $RM conftest*
  1913. -   # SGI C++ compiler will create directory out/ii_files/ for
  1914. -   # template instantiation
  1915. -   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  1916. -   $RM out/* && rmdir out
  1917. -   cd ..
  1918. -   $RM -r conftest
  1919. -   $RM conftest*
  1920. -])
  1921. -_LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1],
  1922. -   [Does compiler simultaneously support -c and -o options?])
  1923. -])# _LT_COMPILER_C_O
  1924. -
  1925. -
  1926. -# _LT_COMPILER_FILE_LOCKS([TAGNAME])
  1927. -# ----------------------------------
  1928. -# Check to see if we can do hard links to lock some files if needed
  1929. -m4_defun([_LT_COMPILER_FILE_LOCKS],
  1930. -[m4_require([_LT_ENABLE_LOCK])dnl
  1931. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  1932. -_LT_COMPILER_C_O([$1])
  1933. -
  1934. -hard_links="nottested"
  1935. -if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then
  1936. -  # do not overwrite the value of need_locks provided by the user
  1937. -  AC_MSG_CHECKING([if we can lock with hard links])
  1938. -  hard_links=yes
  1939. -  $RM conftest*
  1940. -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1941. -  touch conftest.a
  1942. -  ln conftest.a conftest.b 2>&5 || hard_links=no
  1943. -  ln conftest.a conftest.b 2>/dev/null && hard_links=no
  1944. -  AC_MSG_RESULT([$hard_links])
  1945. -  if test "$hard_links" = no; then
  1946. -    AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe])
  1947. -    need_locks=warn
  1948. -  fi
  1949. -else
  1950. -  need_locks=no
  1951. -fi
  1952. -_LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?])
  1953. -])# _LT_COMPILER_FILE_LOCKS
  1954. -
  1955. -
  1956. -# _LT_CHECK_OBJDIR
  1957. -# ----------------
  1958. -m4_defun([_LT_CHECK_OBJDIR],
  1959. -[AC_CACHE_CHECK([for objdir], [lt_cv_objdir],
  1960. -[rm -f .libs 2>/dev/null
  1961. -mkdir .libs 2>/dev/null
  1962. -if test -d .libs; then
  1963. -  lt_cv_objdir=.libs
  1964. -else
  1965. -  # MS-DOS does not allow filenames that begin with a dot.
  1966. -  lt_cv_objdir=_libs
  1967. -fi
  1968. -rmdir .libs 2>/dev/null])
  1969. -objdir=$lt_cv_objdir
  1970. -_LT_DECL([], [objdir], [0],
  1971. -         [The name of the directory that contains temporary libtool files])dnl
  1972. -m4_pattern_allow([LT_OBJDIR])dnl
  1973. -AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/",
  1974. -  [Define to the sub-directory in which libtool stores uninstalled libraries.])
  1975. -])# _LT_CHECK_OBJDIR
  1976. -
  1977. -
  1978. -# _LT_LINKER_HARDCODE_LIBPATH([TAGNAME])
  1979. -# --------------------------------------
  1980. -# Check hardcoding attributes.
  1981. -m4_defun([_LT_LINKER_HARDCODE_LIBPATH],
  1982. -[AC_MSG_CHECKING([how to hardcode library paths into programs])
  1983. -_LT_TAGVAR(hardcode_action, $1)=
  1984. -if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" ||
  1985. -   test -n "$_LT_TAGVAR(runpath_var, $1)" ||
  1986. -   test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then
  1987. -
  1988. -  # We can hardcode non-existent directories.
  1989. -  if test "$_LT_TAGVAR(hardcode_direct, $1)" != no &&
  1990. -     # If the only mechanism to avoid hardcoding is shlibpath_var, we
  1991. -     # have to relink, otherwise we might link with an installed library
  1992. -     # when we should be linking with a yet-to-be-installed one
  1993. -     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no &&
  1994. -     test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then
  1995. -    # Linking always hardcodes the temporary library directory.
  1996. -    _LT_TAGVAR(hardcode_action, $1)=relink
  1997. -  else
  1998. -    # We can link without hardcoding, and we can hardcode nonexisting dirs.
  1999. -    _LT_TAGVAR(hardcode_action, $1)=immediate
  2000. -  fi
  2001. -else
  2002. -  # We cannot hardcode anything, or else we can only hardcode existing
  2003. -  # directories.
  2004. -  _LT_TAGVAR(hardcode_action, $1)=unsupported
  2005. -fi
  2006. -AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)])
  2007. -
  2008. -if test "$_LT_TAGVAR(hardcode_action, $1)" = relink ||
  2009. -   test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then
  2010. -  # Fast installation is not supported
  2011. -  enable_fast_install=no
  2012. -elif test "$shlibpath_overrides_runpath" = yes ||
  2013. -     test "$enable_shared" = no; then
  2014. -  # Fast installation is not necessary
  2015. -  enable_fast_install=needless
  2016. -fi
  2017. -_LT_TAGDECL([], [hardcode_action], [0],
  2018. -    [How to hardcode a shared library path into an executable])
  2019. -])# _LT_LINKER_HARDCODE_LIBPATH
  2020. -
  2021. -
  2022. -# _LT_CMD_STRIPLIB
  2023. -# ----------------
  2024. -m4_defun([_LT_CMD_STRIPLIB],
  2025. -[m4_require([_LT_DECL_EGREP])
  2026. -striplib=
  2027. -old_striplib=
  2028. -AC_MSG_CHECKING([whether stripping libraries is possible])
  2029. -if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  2030. -  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  2031. -  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  2032. -  AC_MSG_RESULT([yes])
  2033. -else
  2034. -# FIXME - insert some real tests, host_os isn't really good enough
  2035. -  case $host_os in
  2036. -  darwin*)
  2037. -    if test -n "$STRIP" ; then
  2038. -      striplib="$STRIP -x"
  2039. -      old_striplib="$STRIP -S"
  2040. -      AC_MSG_RESULT([yes])
  2041. -    else
  2042. -      AC_MSG_RESULT([no])
  2043. -    fi
  2044. -    ;;
  2045. -  *)
  2046. -    AC_MSG_RESULT([no])
  2047. -    ;;
  2048. -  esac
  2049. -fi
  2050. -_LT_DECL([], [old_striplib], [1], [Commands to strip libraries])
  2051. -_LT_DECL([], [striplib], [1])
  2052. -])# _LT_CMD_STRIPLIB
  2053. -
  2054. -
  2055. -# _LT_SYS_DYNAMIC_LINKER([TAG])
  2056. -# -----------------------------
  2057. -# PORTME Fill in your ld.so characteristics
  2058. -m4_defun([_LT_SYS_DYNAMIC_LINKER],
  2059. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2060. -m4_require([_LT_DECL_EGREP])dnl
  2061. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  2062. -m4_require([_LT_DECL_OBJDUMP])dnl
  2063. -m4_require([_LT_DECL_SED])dnl
  2064. -AC_MSG_CHECKING([dynamic linker characteristics])
  2065. -m4_if([$1],
  2066. -   [], [
  2067. -if test "$GCC" = yes; then
  2068. -  case $host_os in
  2069. -    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  2070. -    *) lt_awk_arg="/^libraries:/" ;;
  2071. -  esac
  2072. -  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2073. -  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  2074. -    # if the path contains ";" then we assume it to be the separator
  2075. -    # otherwise default to the standard path separator (i.e. ":") - it is
  2076. -    # assumed that no part of a normal pathname contains ";" but that should
  2077. -    # okay in the real world where ";" in dirpaths is itself problematic.
  2078. -    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  2079. -  else
  2080. -    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  2081. -  fi
  2082. -  # Ok, now we have the path, separated by spaces, we can step through it
  2083. -  # and add multilib dir if necessary.
  2084. -  lt_tmp_lt_search_path_spec=
  2085. -  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  2086. -  for lt_sys_path in $lt_search_path_spec; do
  2087. -    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  2088. -      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  2089. -    else
  2090. -      test -d "$lt_sys_path" && \
  2091. -   lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  2092. -    fi
  2093. -  done
  2094. -  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  2095. -BEGIN {RS=" "; FS="/|\n";} {
  2096. -  lt_foo="";
  2097. -  lt_count=0;
  2098. -  for (lt_i = NF; lt_i > 0; lt_i--) {
  2099. -    if ($lt_i != "" && $lt_i != ".") {
  2100. -      if ($lt_i == "..") {
  2101. -        lt_count++;
  2102. -      } else {
  2103. -        if (lt_count == 0) {
  2104. -          lt_foo="/" $lt_i lt_foo;
  2105. -        } else {
  2106. -          lt_count--;
  2107. -        }
  2108. -      }
  2109. -    }
  2110. -  }
  2111. -  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
  2112. -  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
  2113. -}'`
  2114. -  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  2115. -else
  2116. -  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  2117. -fi])
  2118. -library_names_spec=
  2119. -libname_spec='lib$name'
  2120. -soname_spec=
  2121. -shrext_cmds=".so"
  2122. -postinstall_cmds=
  2123. -postuninstall_cmds=
  2124. -finish_cmds=
  2125. -finish_eval=
  2126. -shlibpath_var=
  2127. -shlibpath_overrides_runpath=unknown
  2128. -version_type=none
  2129. -dynamic_linker="$host_os ld.so"
  2130. -sys_lib_dlsearch_path_spec="/lib /usr/lib"
  2131. -need_lib_prefix=unknown
  2132. -hardcode_into_libs=no
  2133. -
  2134. -# when you set need_version to no, make sure it does not cause -set_version
  2135. -# flags to be left without arguments
  2136. -need_version=unknown
  2137. -
  2138. -case $host_os in
  2139. -aix3*)
  2140. -  version_type=linux
  2141. -  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  2142. -  shlibpath_var=LIBPATH
  2143. -
  2144. -  # AIX 3 has no versioning support, so we append a major version to the name.
  2145. -  soname_spec='${libname}${release}${shared_ext}$major'
  2146. -  ;;
  2147. -
  2148. -aix[[4-9]]*)
  2149. -  version_type=linux
  2150. -  need_lib_prefix=no
  2151. -  need_version=no
  2152. -  hardcode_into_libs=yes
  2153. -  if test "$host_cpu" = ia64; then
  2154. -    # AIX 5 supports IA64
  2155. -    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  2156. -    shlibpath_var=LD_LIBRARY_PATH
  2157. -  else
  2158. -    # With GCC up to 2.95.x, collect2 would create an import file
  2159. -    # for dependence libraries.  The import file would start with
  2160. -    # the line `#! .'.  This would cause the generated library to
  2161. -    # depend on `.', always an invalid library.  This was fixed in
  2162. -    # development snapshots of GCC prior to 3.0.
  2163. -    case $host_os in
  2164. -      aix4 | aix4.[[01]] | aix4.[[01]].*)
  2165. -      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  2166. -      echo ' yes '
  2167. -      echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  2168. -   :
  2169. -      else
  2170. -   can_build_shared=no
  2171. -      fi
  2172. -      ;;
  2173. -    esac
  2174. -    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  2175. -    # soname into executable. Probably we can add versioning support to
  2176. -    # collect2, so additional links can be useful in future.
  2177. -    if test "$aix_use_runtimelinking" = yes; then
  2178. -      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  2179. -      # instead of lib<name>.a to let people know that these are not
  2180. -      # typical AIX shared libraries.
  2181. -      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2182. -    else
  2183. -      # We preserve .a as extension for shared libraries through AIX4.2
  2184. -      # and later when we are not doing run time linking.
  2185. -      library_names_spec='${libname}${release}.a $libname.a'
  2186. -      soname_spec='${libname}${release}${shared_ext}$major'
  2187. -    fi
  2188. -    shlibpath_var=LIBPATH
  2189. -  fi
  2190. -  ;;
  2191. -
  2192. -amigaos*)
  2193. -  case $host_cpu in
  2194. -  powerpc)
  2195. -    # Since July 2007 AmigaOS4 officially supports .so libraries.
  2196. -    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  2197. -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2198. -    ;;
  2199. -  m68k)
  2200. -    library_names_spec='$libname.ixlibrary $libname.a'
  2201. -    # Create ${libname}_ixlibrary.a entries in /sys/libs.
  2202. -    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  2203. -    ;;
  2204. -  esac
  2205. -  ;;
  2206. -
  2207. -beos*)
  2208. -  library_names_spec='${libname}${shared_ext}'
  2209. -  dynamic_linker="$host_os ld.so"
  2210. -  shlibpath_var=LIBRARY_PATH
  2211. -  ;;
  2212. -
  2213. -bsdi[[45]]*)
  2214. -  version_type=linux
  2215. -  need_version=no
  2216. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2217. -  soname_spec='${libname}${release}${shared_ext}$major'
  2218. -  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  2219. -  shlibpath_var=LD_LIBRARY_PATH
  2220. -  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  2221. -  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  2222. -  # the default ld.so.conf also contains /usr/contrib/lib and
  2223. -  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  2224. -  # libtool to hard-code these into programs
  2225. -  ;;
  2226. -
  2227. -cygwin* | mingw* | pw32* | cegcc*)
  2228. -  version_type=windows
  2229. -  shrext_cmds=".dll"
  2230. -  need_version=no
  2231. -  need_lib_prefix=no
  2232. -
  2233. -  case $GCC,$host_os in
  2234. -  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  2235. -    library_names_spec='$libname.dll.a'
  2236. -    # DLL is installed to $(libdir)/../bin by postinstall_cmds
  2237. -    postinstall_cmds='base_file=`basename \${file}`~
  2238. -      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  2239. -      dldir=$destdir/`dirname \$dlpath`~
  2240. -      test -d \$dldir || mkdir -p \$dldir~
  2241. -      $install_prog $dir/$dlname \$dldir/$dlname~
  2242. -      chmod a+x \$dldir/$dlname~
  2243. -      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  2244. -        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  2245. -      fi'
  2246. -    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  2247. -      dlpath=$dir/\$dldll~
  2248. -       $RM \$dlpath'
  2249. -    shlibpath_overrides_runpath=yes
  2250. -
  2251. -    case $host_os in
  2252. -    cygwin*)
  2253. -      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  2254. -      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2255. -      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  2256. -      ;;
  2257. -    mingw* | cegcc*)
  2258. -      # MinGW DLLs use traditional 'lib' prefix
  2259. -      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2260. -      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  2261. -      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
  2262. -        # It is most probably a Windows format PATH printed by
  2263. -        # mingw gcc, but we are running on Cygwin. Gcc prints its search
  2264. -        # path with ; separators, and with drive letters. We can handle the
  2265. -        # drive letters (cygwin fileutils understands them), so leave them,
  2266. -        # especially as we might pass files found there to a mingw objdump,
  2267. -        # which wouldn't understand a cygwinified path. Ahh.
  2268. -        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  2269. -      else
  2270. -        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  2271. -      fi
  2272. -      ;;
  2273. -    pw32*)
  2274. -      # pw32 DLLs use 'pw' prefix rather than 'lib'
  2275. -      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
  2276. -      ;;
  2277. -    esac
  2278. -    ;;
  2279. -
  2280. -  *)
  2281. -    library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib'
  2282. -    ;;
  2283. -  esac
  2284. -  dynamic_linker='Win32 ld.exe'
  2285. -  # FIXME: first we should search . and the directory the executable is in
  2286. -  shlibpath_var=PATH
  2287. -  ;;
  2288. -
  2289. -darwin* | rhapsody*)
  2290. -  dynamic_linker="$host_os dyld"
  2291. -  version_type=darwin
  2292. -  need_lib_prefix=no
  2293. -  need_version=no
  2294. -  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  2295. -  soname_spec='${libname}${release}${major}$shared_ext'
  2296. -  shlibpath_overrides_runpath=yes
  2297. -  shlibpath_var=DYLD_LIBRARY_PATH
  2298. -  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  2299. -m4_if([$1], [],[
  2300. -  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"])
  2301. -  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  2302. -  ;;
  2303. -
  2304. -dgux*)
  2305. -  version_type=linux
  2306. -  need_lib_prefix=no
  2307. -  need_version=no
  2308. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  2309. -  soname_spec='${libname}${release}${shared_ext}$major'
  2310. -  shlibpath_var=LD_LIBRARY_PATH
  2311. -  ;;
  2312. -
  2313. -freebsd1*)
  2314. -  dynamic_linker=no
  2315. -  ;;
  2316. -
  2317. -freebsd* | dragonfly*)
  2318. -  # DragonFly does not have aout.  When/if they implement a new
  2319. -  # versioning mechanism, adjust this.
  2320. -  if test -x /usr/bin/objformat; then
  2321. -    objformat=`/usr/bin/objformat`
  2322. -  else
  2323. -    case $host_os in
  2324. -    freebsd[[123]]*) objformat=aout ;;
  2325. -    *) objformat=elf ;;
  2326. -    esac
  2327. -  fi
  2328. -  version_type=freebsd-$objformat
  2329. -  case $version_type in
  2330. -    freebsd-elf*)
  2331. -      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  2332. -      need_version=no
  2333. -      need_lib_prefix=no
  2334. -      ;;
  2335. -    freebsd-*)
  2336. -      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  2337. -      need_version=yes
  2338. -      ;;
  2339. -  esac
  2340. -  shlibpath_var=LD_LIBRARY_PATH
  2341. -  case $host_os in
  2342. -  freebsd2*)
  2343. -    shlibpath_overrides_runpath=yes
  2344. -    ;;
  2345. -  freebsd3.[[01]]* | freebsdelf3.[[01]]*)
  2346. -    shlibpath_overrides_runpath=yes
  2347. -    hardcode_into_libs=yes
  2348. -    ;;
  2349. -  freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \
  2350. -  freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1)
  2351. -    shlibpath_overrides_runpath=no
  2352. -    hardcode_into_libs=yes
  2353. -    ;;
  2354. -  *) # from 4.6 on, and DragonFly
  2355. -    shlibpath_overrides_runpath=yes
  2356. -    hardcode_into_libs=yes
  2357. -    ;;
  2358. -  esac
  2359. -  ;;
  2360. -
  2361. -gnu*)
  2362. -  version_type=linux
  2363. -  need_lib_prefix=no
  2364. -  need_version=no
  2365. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  2366. -  soname_spec='${libname}${release}${shared_ext}$major'
  2367. -  shlibpath_var=LD_LIBRARY_PATH
  2368. -  hardcode_into_libs=yes
  2369. -  ;;
  2370. -
  2371. -hpux9* | hpux10* | hpux11*)
  2372. -  # Give a soname corresponding to the major version so that dld.sl refuses to
  2373. -  # link against other versions.
  2374. -  version_type=sunos
  2375. -  need_lib_prefix=no
  2376. -  need_version=no
  2377. -  case $host_cpu in
  2378. -  ia64*)
  2379. -    shrext_cmds='.so'
  2380. -    hardcode_into_libs=yes
  2381. -    dynamic_linker="$host_os dld.so"
  2382. -    shlibpath_var=LD_LIBRARY_PATH
  2383. -    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  2384. -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2385. -    soname_spec='${libname}${release}${shared_ext}$major'
  2386. -    if test "X$HPUX_IA64_MODE" = X32; then
  2387. -      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  2388. -    else
  2389. -      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  2390. -    fi
  2391. -    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2392. -    ;;
  2393. -  hppa*64*)
  2394. -    shrext_cmds='.sl'
  2395. -    hardcode_into_libs=yes
  2396. -    dynamic_linker="$host_os dld.sl"
  2397. -    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  2398. -    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  2399. -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2400. -    soname_spec='${libname}${release}${shared_ext}$major'
  2401. -    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  2402. -    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  2403. -    ;;
  2404. -  *)
  2405. -    shrext_cmds='.sl'
  2406. -    dynamic_linker="$host_os dld.sl"
  2407. -    shlibpath_var=SHLIB_PATH
  2408. -    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  2409. -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2410. -    soname_spec='${libname}${release}${shared_ext}$major'
  2411. -    ;;
  2412. -  esac
  2413. -  # HP-UX runs *really* slowly unless shared libraries are mode 555.
  2414. -  postinstall_cmds='chmod 555 $lib'
  2415. -  ;;
  2416. -
  2417. -interix[[3-9]]*)
  2418. -  version_type=linux
  2419. -  need_lib_prefix=no
  2420. -  need_version=no
  2421. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  2422. -  soname_spec='${libname}${release}${shared_ext}$major'
  2423. -  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  2424. -  shlibpath_var=LD_LIBRARY_PATH
  2425. -  shlibpath_overrides_runpath=no
  2426. -  hardcode_into_libs=yes
  2427. -  ;;
  2428. -
  2429. -irix5* | irix6* | nonstopux*)
  2430. -  case $host_os in
  2431. -    nonstopux*) version_type=nonstopux ;;
  2432. -    *)
  2433. -   if test "$lt_cv_prog_gnu_ld" = yes; then
  2434. -       version_type=linux
  2435. -   else
  2436. -       version_type=irix
  2437. -   fi ;;
  2438. -  esac
  2439. -  need_lib_prefix=no
  2440. -  need_version=no
  2441. -  soname_spec='${libname}${release}${shared_ext}$major'
  2442. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  2443. -  case $host_os in
  2444. -  irix5* | nonstopux*)
  2445. -    libsuff= shlibsuff=
  2446. -    ;;
  2447. -  *)
  2448. -    case $LD in # libtool.m4 will add one of these switches to LD
  2449. -    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  2450. -      libsuff= shlibsuff= libmagic=32-bit;;
  2451. -    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  2452. -      libsuff=32 shlibsuff=N32 libmagic=N32;;
  2453. -    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  2454. -      libsuff=64 shlibsuff=64 libmagic=64-bit;;
  2455. -    *) libsuff= shlibsuff= libmagic=never-match;;
  2456. -    esac
  2457. -    ;;
  2458. -  esac
  2459. -  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  2460. -  shlibpath_overrides_runpath=no
  2461. -  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  2462. -  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  2463. -  hardcode_into_libs=yes
  2464. -  ;;
  2465. -
  2466. -# No shared lib support for Linux oldld, aout, or coff.
  2467. -linux*oldld* | linux*aout* | linux*coff*)
  2468. -  dynamic_linker=no
  2469. -  ;;
  2470. -
  2471. -# This must be Linux ELF.
  2472. -linux* | k*bsd*-gnu | kopensolaris*-gnu)
  2473. -  version_type=linux
  2474. -  need_lib_prefix=no
  2475. -  need_version=no
  2476. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2477. -  soname_spec='${libname}${release}${shared_ext}$major'
  2478. -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  2479. -  shlibpath_var=LD_LIBRARY_PATH
  2480. -  shlibpath_overrides_runpath=no
  2481. -  # Some binutils ld are patched to set DT_RUNPATH
  2482. -  save_LDFLAGS=$LDFLAGS
  2483. -  save_libdir=$libdir
  2484. -  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
  2485. -       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
  2486. -  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
  2487. -    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
  2488. -       [shlibpath_overrides_runpath=yes])])
  2489. -  LDFLAGS=$save_LDFLAGS
  2490. -  libdir=$save_libdir
  2491. -
  2492. -  # This implies no fast_install, which is unacceptable.
  2493. -  # Some rework will be needed to allow for fast_install
  2494. -  # before this can be enabled.
  2495. -  hardcode_into_libs=yes
  2496. -
  2497. -  # Append ld.so.conf contents to the search path
  2498. -  if test -f /etc/ld.so.conf; then
  2499. -    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[  ]*hwcap[    ]/d;s/[:,  ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  2500. -    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
  2501. -  fi
  2502. -
  2503. -  # We used to test for /lib/ld.so.1 and disable shared libraries on
  2504. -  # powerpc, because MkLinux only supported shared libraries with the
  2505. -  # GNU dynamic linker.  Since this was broken with cross compilers,
  2506. -  # most powerpc-linux boxes support dynamic linking these days and
  2507. -  # people can always --disable-shared, the test was removed, and we
  2508. -  # assume the GNU/Linux dynamic linker is in use.
  2509. -  dynamic_linker='GNU/Linux ld.so'
  2510. -  ;;
  2511. -
  2512. -netbsdelf*-gnu)
  2513. -  version_type=linux
  2514. -  need_lib_prefix=no
  2515. -  need_version=no
  2516. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  2517. -  soname_spec='${libname}${release}${shared_ext}$major'
  2518. -  shlibpath_var=LD_LIBRARY_PATH
  2519. -  shlibpath_overrides_runpath=no
  2520. -  hardcode_into_libs=yes
  2521. -  dynamic_linker='NetBSD ld.elf_so'
  2522. -  ;;
  2523. -
  2524. -netbsd*)
  2525. -  version_type=sunos
  2526. -  need_lib_prefix=no
  2527. -  need_version=no
  2528. -  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  2529. -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2530. -    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  2531. -    dynamic_linker='NetBSD (a.out) ld.so'
  2532. -  else
  2533. -    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  2534. -    soname_spec='${libname}${release}${shared_ext}$major'
  2535. -    dynamic_linker='NetBSD ld.elf_so'
  2536. -  fi
  2537. -  shlibpath_var=LD_LIBRARY_PATH
  2538. -  shlibpath_overrides_runpath=yes
  2539. -  hardcode_into_libs=yes
  2540. -  ;;
  2541. -
  2542. -newsos6)
  2543. -  version_type=linux
  2544. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2545. -  shlibpath_var=LD_LIBRARY_PATH
  2546. -  shlibpath_overrides_runpath=yes
  2547. -  ;;
  2548. -
  2549. -*nto* | *qnx*)
  2550. -  version_type=qnx
  2551. -  need_lib_prefix=no
  2552. -  need_version=no
  2553. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2554. -  soname_spec='${libname}${release}${shared_ext}$major'
  2555. -  shlibpath_var=LD_LIBRARY_PATH
  2556. -  shlibpath_overrides_runpath=no
  2557. -  hardcode_into_libs=yes
  2558. -  dynamic_linker='ldqnx.so'
  2559. -  ;;
  2560. -
  2561. -openbsd*)
  2562. -  version_type=sunos
  2563. -  sys_lib_dlsearch_path_spec="/usr/lib"
  2564. -  need_lib_prefix=no
  2565. -  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  2566. -  case $host_os in
  2567. -    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  2568. -    *)             need_version=no  ;;
  2569. -  esac
  2570. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2571. -  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  2572. -  shlibpath_var=LD_LIBRARY_PATH
  2573. -  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  2574. -    case $host_os in
  2575. -      openbsd2.[[89]] | openbsd2.[[89]].*)
  2576. -   shlibpath_overrides_runpath=no
  2577. -   ;;
  2578. -      *)
  2579. -   shlibpath_overrides_runpath=yes
  2580. -   ;;
  2581. -      esac
  2582. -  else
  2583. -    shlibpath_overrides_runpath=yes
  2584. -  fi
  2585. -  ;;
  2586. -
  2587. -os2*)
  2588. -  libname_spec='$name'
  2589. -  shrext_cmds=".dll"
  2590. -  need_lib_prefix=no
  2591. -  library_names_spec='$libname${shared_ext} $libname.a'
  2592. -  dynamic_linker='OS/2 ld.exe'
  2593. -  shlibpath_var=LIBPATH
  2594. -  ;;
  2595. -
  2596. -osf3* | osf4* | osf5*)
  2597. -  version_type=osf
  2598. -  need_lib_prefix=no
  2599. -  need_version=no
  2600. -  soname_spec='${libname}${release}${shared_ext}$major'
  2601. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2602. -  shlibpath_var=LD_LIBRARY_PATH
  2603. -  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  2604. -  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  2605. -  ;;
  2606. -
  2607. -rdos*)
  2608. -  dynamic_linker=no
  2609. -  ;;
  2610. -
  2611. -solaris*)
  2612. -  version_type=linux
  2613. -  need_lib_prefix=no
  2614. -  need_version=no
  2615. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2616. -  soname_spec='${libname}${release}${shared_ext}$major'
  2617. -  shlibpath_var=LD_LIBRARY_PATH
  2618. -  shlibpath_overrides_runpath=yes
  2619. -  hardcode_into_libs=yes
  2620. -  # ldd complains unless libraries are executable
  2621. -  postinstall_cmds='chmod +x $lib'
  2622. -  ;;
  2623. -
  2624. -sunos4*)
  2625. -  version_type=sunos
  2626. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  2627. -  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  2628. -  shlibpath_var=LD_LIBRARY_PATH
  2629. -  shlibpath_overrides_runpath=yes
  2630. -  if test "$with_gnu_ld" = yes; then
  2631. -    need_lib_prefix=no
  2632. -  fi
  2633. -  need_version=yes
  2634. -  ;;
  2635. -
  2636. -sysv4 | sysv4.3*)
  2637. -  version_type=linux
  2638. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2639. -  soname_spec='${libname}${release}${shared_ext}$major'
  2640. -  shlibpath_var=LD_LIBRARY_PATH
  2641. -  case $host_vendor in
  2642. -    sni)
  2643. -      shlibpath_overrides_runpath=no
  2644. -      need_lib_prefix=no
  2645. -      runpath_var=LD_RUN_PATH
  2646. -      ;;
  2647. -    siemens)
  2648. -      need_lib_prefix=no
  2649. -      ;;
  2650. -    motorola)
  2651. -      need_lib_prefix=no
  2652. -      need_version=no
  2653. -      shlibpath_overrides_runpath=no
  2654. -      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  2655. -      ;;
  2656. -  esac
  2657. -  ;;
  2658. -
  2659. -sysv4*MP*)
  2660. -  if test -d /usr/nec ;then
  2661. -    version_type=linux
  2662. -    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  2663. -    soname_spec='$libname${shared_ext}.$major'
  2664. -    shlibpath_var=LD_LIBRARY_PATH
  2665. -  fi
  2666. -  ;;
  2667. -
  2668. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  2669. -  version_type=freebsd-elf
  2670. -  need_lib_prefix=no
  2671. -  need_version=no
  2672. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  2673. -  soname_spec='${libname}${release}${shared_ext}$major'
  2674. -  shlibpath_var=LD_LIBRARY_PATH
  2675. -  shlibpath_overrides_runpath=yes
  2676. -  hardcode_into_libs=yes
  2677. -  if test "$with_gnu_ld" = yes; then
  2678. -    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  2679. -  else
  2680. -    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  2681. -    case $host_os in
  2682. -      sco3.2v5*)
  2683. -        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  2684. -   ;;
  2685. -    esac
  2686. -  fi
  2687. -  sys_lib_dlsearch_path_spec='/usr/lib'
  2688. -  ;;
  2689. -
  2690. -tpf*)
  2691. -  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
  2692. -  version_type=linux
  2693. -  need_lib_prefix=no
  2694. -  need_version=no
  2695. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2696. -  shlibpath_var=LD_LIBRARY_PATH
  2697. -  shlibpath_overrides_runpath=no
  2698. -  hardcode_into_libs=yes
  2699. -  ;;
  2700. -
  2701. -uts4*)
  2702. -  version_type=linux
  2703. -  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  2704. -  soname_spec='${libname}${release}${shared_ext}$major'
  2705. -  shlibpath_var=LD_LIBRARY_PATH
  2706. -  ;;
  2707. -
  2708. -*)
  2709. -  dynamic_linker=no
  2710. -  ;;
  2711. -esac
  2712. -AC_MSG_RESULT([$dynamic_linker])
  2713. -test "$dynamic_linker" = no && can_build_shared=no
  2714. -
  2715. -variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  2716. -if test "$GCC" = yes; then
  2717. -  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  2718. -fi
  2719. -
  2720. -if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  2721. -  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  2722. -fi
  2723. -if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  2724. -  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  2725. -fi
  2726. -
  2727. -_LT_DECL([], [variables_saved_for_relink], [1],
  2728. -    [Variables whose values should be saved in libtool wrapper scripts and
  2729. -    restored at link time])
  2730. -_LT_DECL([], [need_lib_prefix], [0],
  2731. -    [Do we need the "lib" prefix for modules?])
  2732. -_LT_DECL([], [need_version], [0], [Do we need a version for libraries?])
  2733. -_LT_DECL([], [version_type], [0], [Library versioning type])
  2734. -_LT_DECL([], [runpath_var], [0],  [Shared library runtime path variable])
  2735. -_LT_DECL([], [shlibpath_var], [0],[Shared library path variable])
  2736. -_LT_DECL([], [shlibpath_overrides_runpath], [0],
  2737. -    [Is shlibpath searched before the hard-coded library search path?])
  2738. -_LT_DECL([], [libname_spec], [1], [Format of library name prefix])
  2739. -_LT_DECL([], [library_names_spec], [1],
  2740. -    [[List of archive names.  First name is the real one, the rest are links.
  2741. -    The last name is the one that the linker finds with -lNAME]])
  2742. -_LT_DECL([], [soname_spec], [1],
  2743. -    [[The coded name of the library, if different from the real name]])
  2744. -_LT_DECL([], [postinstall_cmds], [2],
  2745. -    [Command to use after installation of a shared archive])
  2746. -_LT_DECL([], [postuninstall_cmds], [2],
  2747. -    [Command to use after uninstallation of a shared archive])
  2748. -_LT_DECL([], [finish_cmds], [2],
  2749. -    [Commands used to finish a libtool library installation in a directory])
  2750. -_LT_DECL([], [finish_eval], [1],
  2751. -    [[As "finish_cmds", except a single script fragment to be evaled but
  2752. -    not shown]])
  2753. -_LT_DECL([], [hardcode_into_libs], [0],
  2754. -    [Whether we should hardcode library paths into libraries])
  2755. -_LT_DECL([], [sys_lib_search_path_spec], [2],
  2756. -    [Compile-time system search path for libraries])
  2757. -_LT_DECL([], [sys_lib_dlsearch_path_spec], [2],
  2758. -    [Run-time system search path for libraries])
  2759. -])# _LT_SYS_DYNAMIC_LINKER
  2760. -
  2761. -
  2762. -# _LT_PATH_TOOL_PREFIX(TOOL)
  2763. -# --------------------------
  2764. -# find a file program which can recognize shared library
  2765. -AC_DEFUN([_LT_PATH_TOOL_PREFIX],
  2766. -[m4_require([_LT_DECL_EGREP])dnl
  2767. -AC_MSG_CHECKING([for $1])
  2768. -AC_CACHE_VAL(lt_cv_path_MAGIC_CMD,
  2769. -[case $MAGIC_CMD in
  2770. -[[\\/*] |  ?:[\\/]*])
  2771. -  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  2772. -  ;;
  2773. -*)
  2774. -  lt_save_MAGIC_CMD="$MAGIC_CMD"
  2775. -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2776. -dnl $ac_dummy forces splitting on constant user-supplied paths.
  2777. -dnl POSIX.2 word splitting is done only on the output of word expansions,
  2778. -dnl not every word.  This closes a longstanding sh security hole.
  2779. -  ac_dummy="m4_if([$2], , $PATH, [$2])"
  2780. -  for ac_dir in $ac_dummy; do
  2781. -    IFS="$lt_save_ifs"
  2782. -    test -z "$ac_dir" && ac_dir=.
  2783. -    if test -f $ac_dir/$1; then
  2784. -      lt_cv_path_MAGIC_CMD="$ac_dir/$1"
  2785. -      if test -n "$file_magic_test_file"; then
  2786. -   case $deplibs_check_method in
  2787. -   "file_magic "*)
  2788. -     file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  2789. -     MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  2790. -     if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  2791. -       $EGREP "$file_magic_regex" > /dev/null; then
  2792. -       :
  2793. -     else
  2794. -       cat <<_LT_EOF 1>&2
  2795. -
  2796. -*** Warning: the command libtool uses to detect shared libraries,
  2797. -*** $file_magic_cmd, produces output that libtool cannot recognize.
  2798. -*** The result is that libtool may fail to recognize shared libraries
  2799. -*** as such.  This will affect the creation of libtool libraries that
  2800. -*** depend on shared libraries, but programs linked with such libtool
  2801. -*** libraries will work regardless of this problem.  Nevertheless, you
  2802. -*** may want to report the problem to your system manager and/or to
  2803. -*** bug-libtool@gnu.org
  2804. -
  2805. -_LT_EOF
  2806. -     fi ;;
  2807. -   esac
  2808. -      fi
  2809. -      break
  2810. -    fi
  2811. -  done
  2812. -  IFS="$lt_save_ifs"
  2813. -  MAGIC_CMD="$lt_save_MAGIC_CMD"
  2814. -  ;;
  2815. -esac])
  2816. -MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  2817. -if test -n "$MAGIC_CMD"; then
  2818. -  AC_MSG_RESULT($MAGIC_CMD)
  2819. -else
  2820. -  AC_MSG_RESULT(no)
  2821. -fi
  2822. -_LT_DECL([], [MAGIC_CMD], [0],
  2823. -    [Used to examine libraries when file_magic_cmd begins with "file"])dnl
  2824. -])# _LT_PATH_TOOL_PREFIX
  2825. -
  2826. -# Old name:
  2827. -AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX])
  2828. -dnl aclocal-1.4 backwards compatibility:
  2829. -dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], [])
  2830. -
  2831. -
  2832. -# _LT_PATH_MAGIC
  2833. -# --------------
  2834. -# find a file program which can recognize a shared library
  2835. -m4_defun([_LT_PATH_MAGIC],
  2836. -[_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH)
  2837. -if test -z "$lt_cv_path_MAGIC_CMD"; then
  2838. -  if test -n "$ac_tool_prefix"; then
  2839. -    _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH)
  2840. -  else
  2841. -    MAGIC_CMD=:
  2842. -  fi
  2843. -fi
  2844. -])# _LT_PATH_MAGIC
  2845. -
  2846. -
  2847. -# LT_PATH_LD
  2848. -# ----------
  2849. -# find the pathname to the GNU or non-GNU linker
  2850. -AC_DEFUN([LT_PATH_LD],
  2851. -[AC_REQUIRE([AC_PROG_CC])dnl
  2852. -AC_REQUIRE([AC_CANONICAL_HOST])dnl
  2853. -AC_REQUIRE([AC_CANONICAL_BUILD])dnl
  2854. -m4_require([_LT_DECL_SED])dnl
  2855. -m4_require([_LT_DECL_EGREP])dnl
  2856. -
  2857. -AC_ARG_WITH([gnu-ld],
  2858. -    [AS_HELP_STRING([--with-gnu-ld],
  2859. -   [assume the C compiler uses GNU ld @<:@default=no@:>@])],
  2860. -    [test "$withval" = no || with_gnu_ld=yes],
  2861. -    [with_gnu_ld=no])dnl
  2862. -
  2863. -ac_prog=ld
  2864. -if test "$GCC" = yes; then
  2865. -  # Check if gcc -print-prog-name=ld gives a path.
  2866. -  AC_MSG_CHECKING([for ld used by $CC])
  2867. -  case $host in
  2868. -  *-*-mingw*)
  2869. -    # gcc leaves a trailing carriage return which upsets mingw
  2870. -    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  2871. -  *)
  2872. -    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  2873. -  esac
  2874. -  case $ac_prog in
  2875. -    # Accept absolute paths.
  2876. -    [[\\/]]* | ?:[[\\/]]*)
  2877. -      re_direlt='/[[^/]][[^/]]*/\.\./'
  2878. -      # Canonicalize the pathname of ld
  2879. -      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  2880. -      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  2881. -   ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  2882. -      done
  2883. -      test -z "$LD" && LD="$ac_prog"
  2884. -      ;;
  2885. -  "")
  2886. -    # If it fails, then pretend we aren't using GCC.
  2887. -    ac_prog=ld
  2888. -    ;;
  2889. -  *)
  2890. -    # If it is relative, then search for the first ld in PATH.
  2891. -    with_gnu_ld=unknown
  2892. -    ;;
  2893. -  esac
  2894. -elif test "$with_gnu_ld" = yes; then
  2895. -  AC_MSG_CHECKING([for GNU ld])
  2896. -else
  2897. -  AC_MSG_CHECKING([for non-GNU ld])
  2898. -fi
  2899. -AC_CACHE_VAL(lt_cv_path_LD,
  2900. -[if test -z "$LD"; then
  2901. -  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  2902. -  for ac_dir in $PATH; do
  2903. -    IFS="$lt_save_ifs"
  2904. -    test -z "$ac_dir" && ac_dir=.
  2905. -    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  2906. -      lt_cv_path_LD="$ac_dir/$ac_prog"
  2907. -      # Check to see if the program is GNU ld.  I'd rather use --version,
  2908. -      # but apparently some variants of GNU ld only accept -v.
  2909. -      # Break only if it was the GNU/non-GNU ld that we prefer.
  2910. -      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  2911. -      *GNU* | *'with BFD'*)
  2912. -   test "$with_gnu_ld" != no && break
  2913. -   ;;
  2914. -      *)
  2915. -   test "$with_gnu_ld" != yes && break
  2916. -   ;;
  2917. -      esac
  2918. -    fi
  2919. -  done
  2920. -  IFS="$lt_save_ifs"
  2921. -else
  2922. -  lt_cv_path_LD="$LD" # Let the user override the test with a path.
  2923. -fi])
  2924. -LD="$lt_cv_path_LD"
  2925. -if test -n "$LD"; then
  2926. -  AC_MSG_RESULT($LD)
  2927. -else
  2928. -  AC_MSG_RESULT(no)
  2929. -fi
  2930. -test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
  2931. -_LT_PATH_LD_GNU
  2932. -AC_SUBST([LD])
  2933. -
  2934. -_LT_TAGDECL([], [LD], [1], [The linker used to build libraries])
  2935. -])# LT_PATH_LD
  2936. -
  2937. -# Old names:
  2938. -AU_ALIAS([AM_PROG_LD], [LT_PATH_LD])
  2939. -AU_ALIAS([AC_PROG_LD], [LT_PATH_LD])
  2940. -dnl aclocal-1.4 backwards compatibility:
  2941. -dnl AC_DEFUN([AM_PROG_LD], [])
  2942. -dnl AC_DEFUN([AC_PROG_LD], [])
  2943. -
  2944. -
  2945. -# _LT_PATH_LD_GNU
  2946. -#- --------------
  2947. -m4_defun([_LT_PATH_LD_GNU],
  2948. -[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
  2949. -[# I'd rather use --version here, but apparently some GNU lds only accept -v.
  2950. -case `$LD -v 2>&1 </dev/null` in
  2951. -*GNU* | *'with BFD'*)
  2952. -  lt_cv_prog_gnu_ld=yes
  2953. -  ;;
  2954. -*)
  2955. -  lt_cv_prog_gnu_ld=no
  2956. -  ;;
  2957. -esac])
  2958. -with_gnu_ld=$lt_cv_prog_gnu_ld
  2959. -])# _LT_PATH_LD_GNU
  2960. -
  2961. -
  2962. -# _LT_CMD_RELOAD
  2963. -# --------------
  2964. -# find reload flag for linker
  2965. -#   -- PORTME Some linkers may need a different reload flag.
  2966. -m4_defun([_LT_CMD_RELOAD],
  2967. -[AC_CACHE_CHECK([for $LD option to reload object files],
  2968. -  lt_cv_ld_reload_flag,
  2969. -  [lt_cv_ld_reload_flag='-r'])
  2970. -reload_flag=$lt_cv_ld_reload_flag
  2971. -case $reload_flag in
  2972. -"" | " "*) ;;
  2973. -*) reload_flag=" $reload_flag" ;;
  2974. -esac
  2975. -reload_cmds='$LD$reload_flag -o $output$reload_objs'
  2976. -case $host_os in
  2977. -  darwin*)
  2978. -    if test "$GCC" = yes; then
  2979. -      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  2980. -    else
  2981. -      reload_cmds='$LD$reload_flag -o $output$reload_objs'
  2982. -    fi
  2983. -    ;;
  2984. -esac
  2985. -_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
  2986. -_LT_DECL([], [reload_cmds], [2])dnl
  2987. -])# _LT_CMD_RELOAD
  2988. -
  2989. -
  2990. -# _LT_CHECK_MAGIC_METHOD
  2991. -# ----------------------
  2992. -# how to check for library dependencies
  2993. -#  -- PORTME fill in with the dynamic library characteristics
  2994. -m4_defun([_LT_CHECK_MAGIC_METHOD],
  2995. -[m4_require([_LT_DECL_EGREP])
  2996. -m4_require([_LT_DECL_OBJDUMP])
  2997. -AC_CACHE_CHECK([how to recognize dependent libraries],
  2998. -lt_cv_deplibs_check_method,
  2999. -[lt_cv_file_magic_cmd='$MAGIC_CMD'
  3000. -lt_cv_file_magic_test_file=
  3001. -lt_cv_deplibs_check_method='unknown'
  3002. -# Need to set the preceding variable on all platforms that support
  3003. -# interlibrary dependencies.
  3004. -# 'none' -- dependencies not supported.
  3005. -# `unknown' -- same as none, but documents that we really don't know.
  3006. -# 'pass_all' -- all dependencies passed with no checks.
  3007. -# 'test_compile' -- check by making test program.
  3008. -# 'file_magic [[regex]]' -- check by looking for files in library path
  3009. -# which responds to the $file_magic_cmd with a given extended regex.
  3010. -# If you have `file' or equivalent on your system and you're not sure
  3011. -# whether `pass_all' will *always* work, you probably want this one.
  3012. -
  3013. -case $host_os in
  3014. -aix[[4-9]]*)
  3015. -  lt_cv_deplibs_check_method=pass_all
  3016. -  ;;
  3017. -
  3018. -beos*)
  3019. -  lt_cv_deplibs_check_method=pass_all
  3020. -  ;;
  3021. -
  3022. -bsdi[[45]]*)
  3023. -  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)'
  3024. -  lt_cv_file_magic_cmd='/usr/bin/file -L'
  3025. -  lt_cv_file_magic_test_file=/shlib/libc.so
  3026. -  ;;
  3027. -
  3028. -cygwin*)
  3029. -  # func_win32_libid is a shell function defined in ltmain.sh
  3030. -  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  3031. -  lt_cv_file_magic_cmd='func_win32_libid'
  3032. -  ;;
  3033. -
  3034. -mingw* | pw32*)
  3035. -  # Base MSYS/MinGW do not provide the 'file' command needed by
  3036. -  # func_win32_libid shell function, so use a weaker test based on 'objdump',
  3037. -  # unless we find 'file', for example because we are cross-compiling.
  3038. -  if ( file / ) >/dev/null 2>&1; then
  3039. -    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  3040. -    lt_cv_file_magic_cmd='func_win32_libid'
  3041. -  else
  3042. -    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  3043. -    lt_cv_file_magic_cmd='$OBJDUMP -f'
  3044. -  fi
  3045. -  ;;
  3046. -
  3047. -cegcc)
  3048. -  # use the weaker test based on 'objdump'. See mingw*.
  3049. -  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  3050. -  lt_cv_file_magic_cmd='$OBJDUMP -f'
  3051. -  ;;
  3052. -
  3053. -darwin* | rhapsody*)
  3054. -  lt_cv_deplibs_check_method=pass_all
  3055. -  ;;
  3056. -
  3057. -freebsd* | dragonfly*)
  3058. -  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  3059. -    case $host_cpu in
  3060. -    i*86 )
  3061. -      # Not sure whether the presence of OpenBSD here was a mistake.
  3062. -      # Let's accept both of them until this is cleared up.
  3063. -      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library'
  3064. -      lt_cv_file_magic_cmd=/usr/bin/file
  3065. -      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  3066. -      ;;
  3067. -    esac
  3068. -  else
  3069. -    lt_cv_deplibs_check_method=pass_all
  3070. -  fi
  3071. -  ;;
  3072. -
  3073. -gnu*)
  3074. -  lt_cv_deplibs_check_method=pass_all
  3075. -  ;;
  3076. -
  3077. -hpux10.20* | hpux11*)
  3078. -  lt_cv_file_magic_cmd=/usr/bin/file
  3079. -  case $host_cpu in
  3080. -  ia64*)
  3081. -    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64'
  3082. -    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  3083. -    ;;
  3084. -  hppa*64*)
  3085. -    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
  3086. -    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  3087. -    ;;
  3088. -  *)
  3089. -    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
  3090. -    lt_cv_file_magic_test_file=/usr/lib/libc.sl
  3091. -    ;;
  3092. -  esac
  3093. -  ;;
  3094. -
  3095. -interix[[3-9]]*)
  3096. -  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  3097. -  lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$'
  3098. -  ;;
  3099. -
  3100. -irix5* | irix6* | nonstopux*)
  3101. -  case $LD in
  3102. -  *-32|*"-32 ") libmagic=32-bit;;
  3103. -  *-n32|*"-n32 ") libmagic=N32;;
  3104. -  *-64|*"-64 ") libmagic=64-bit;;
  3105. -  *) libmagic=never-match;;
  3106. -  esac
  3107. -  lt_cv_deplibs_check_method=pass_all
  3108. -  ;;
  3109. -
  3110. -# This must be Linux ELF.
  3111. -linux* | k*bsd*-gnu | kopensolaris*-gnu)
  3112. -  lt_cv_deplibs_check_method=pass_all
  3113. -  ;;
  3114. -
  3115. -netbsd* | netbsdelf*-gnu)
  3116. -  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  3117. -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  3118. -  else
  3119. -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$'
  3120. -  fi
  3121. -  ;;
  3122. -
  3123. -newos6*)
  3124. -  lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)'
  3125. -  lt_cv_file_magic_cmd=/usr/bin/file
  3126. -  lt_cv_file_magic_test_file=/usr/lib/libnls.so
  3127. -  ;;
  3128. -
  3129. -*nto* | *qnx*)
  3130. -  lt_cv_deplibs_check_method=pass_all
  3131. -  ;;
  3132. -
  3133. -openbsd*)
  3134. -  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  3135. -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$'
  3136. -  else
  3137. -    lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
  3138. -  fi
  3139. -  ;;
  3140. -
  3141. -osf3* | osf4* | osf5*)
  3142. -  lt_cv_deplibs_check_method=pass_all
  3143. -  ;;
  3144. -
  3145. -rdos*)
  3146. -  lt_cv_deplibs_check_method=pass_all
  3147. -  ;;
  3148. -
  3149. -solaris*)
  3150. -  lt_cv_deplibs_check_method=pass_all
  3151. -  ;;
  3152. -
  3153. -sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  3154. -  lt_cv_deplibs_check_method=pass_all
  3155. -  ;;
  3156. -
  3157. -sysv4 | sysv4.3*)
  3158. -  case $host_vendor in
  3159. -  motorola)
  3160. -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]'
  3161. -    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  3162. -    ;;
  3163. -  ncr)
  3164. -    lt_cv_deplibs_check_method=pass_all
  3165. -    ;;
  3166. -  sequent)
  3167. -    lt_cv_file_magic_cmd='/bin/file'
  3168. -    lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )'
  3169. -    ;;
  3170. -  sni)
  3171. -    lt_cv_file_magic_cmd='/bin/file'
  3172. -    lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib"
  3173. -    lt_cv_file_magic_test_file=/lib/libc.so
  3174. -    ;;
  3175. -  siemens)
  3176. -    lt_cv_deplibs_check_method=pass_all
  3177. -    ;;
  3178. -  pc)
  3179. -    lt_cv_deplibs_check_method=pass_all
  3180. -    ;;
  3181. -  esac
  3182. -  ;;
  3183. -
  3184. -tpf*)
  3185. -  lt_cv_deplibs_check_method=pass_all
  3186. -  ;;
  3187. -esac
  3188. -])
  3189. -file_magic_cmd=$lt_cv_file_magic_cmd
  3190. -deplibs_check_method=$lt_cv_deplibs_check_method
  3191. -test -z "$deplibs_check_method" && deplibs_check_method=unknown
  3192. -
  3193. -_LT_DECL([], [deplibs_check_method], [1],
  3194. -    [Method to check whether dependent libraries are shared objects])
  3195. -_LT_DECL([], [file_magic_cmd], [1],
  3196. -    [Command to use when deplibs_check_method == "file_magic"])
  3197. -])# _LT_CHECK_MAGIC_METHOD
  3198. -
  3199. -
  3200. -# LT_PATH_NM
  3201. -# ----------
  3202. -# find the pathname to a BSD- or MS-compatible name lister
  3203. -AC_DEFUN([LT_PATH_NM],
  3204. -[AC_REQUIRE([AC_PROG_CC])dnl
  3205. -AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM,
  3206. -[if test -n "$NM"; then
  3207. -  # Let the user override the test.
  3208. -  lt_cv_path_NM="$NM"
  3209. -else
  3210. -  lt_nm_to_check="${ac_tool_prefix}nm"
  3211. -  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  3212. -    lt_nm_to_check="$lt_nm_to_check nm"
  3213. -  fi
  3214. -  for lt_tmp_nm in $lt_nm_to_check; do
  3215. -    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  3216. -    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  3217. -      IFS="$lt_save_ifs"
  3218. -      test -z "$ac_dir" && ac_dir=.
  3219. -      tmp_nm="$ac_dir/$lt_tmp_nm"
  3220. -      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  3221. -   # Check to see if the nm accepts a BSD-compat flag.
  3222. -   # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  3223. -   #   nm: unknown option "B" ignored
  3224. -   # Tru64's nm complains that /dev/null is an invalid object file
  3225. -   case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  3226. -   */dev/null* | *'Invalid file or object type'*)
  3227. -     lt_cv_path_NM="$tmp_nm -B"
  3228. -     break
  3229. -     ;;
  3230. -   *)
  3231. -     case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  3232. -     */dev/null*)
  3233. -       lt_cv_path_NM="$tmp_nm -p"
  3234. -       break
  3235. -       ;;
  3236. -     *)
  3237. -       lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  3238. -       continue # so that we can try to find one that supports BSD flags
  3239. -       ;;
  3240. -     esac
  3241. -     ;;
  3242. -   esac
  3243. -      fi
  3244. -    done
  3245. -    IFS="$lt_save_ifs"
  3246. -  done
  3247. -  : ${lt_cv_path_NM=no}
  3248. -fi])
  3249. -if test "$lt_cv_path_NM" != "no"; then
  3250. -  NM="$lt_cv_path_NM"
  3251. -else
  3252. -  # Didn't find any BSD compatible name lister, look for dumpbin.
  3253. -  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
  3254. -  AC_SUBST([DUMPBIN])
  3255. -  if test "$DUMPBIN" != ":"; then
  3256. -    NM="$DUMPBIN"
  3257. -  fi
  3258. -fi
  3259. -test -z "$NM" && NM=nm
  3260. -AC_SUBST([NM])
  3261. -_LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl
  3262. -
  3263. -AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
  3264. -  [lt_cv_nm_interface="BSD nm"
  3265. -  echo "int some_variable = 0;" > conftest.$ac_ext
  3266. -  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
  3267. -  (eval "$ac_compile" 2>conftest.err)
  3268. -  cat conftest.err >&AS_MESSAGE_LOG_FD
  3269. -  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
  3270. -  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  3271. -  cat conftest.err >&AS_MESSAGE_LOG_FD
  3272. -  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
  3273. -  cat conftest.out >&AS_MESSAGE_LOG_FD
  3274. -  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  3275. -    lt_cv_nm_interface="MS dumpbin"
  3276. -  fi
  3277. -  rm -f conftest*])
  3278. -])# LT_PATH_NM
  3279. -
  3280. -# Old names:
  3281. -AU_ALIAS([AM_PROG_NM], [LT_PATH_NM])
  3282. -AU_ALIAS([AC_PROG_NM], [LT_PATH_NM])
  3283. -dnl aclocal-1.4 backwards compatibility:
  3284. -dnl AC_DEFUN([AM_PROG_NM], [])
  3285. -dnl AC_DEFUN([AC_PROG_NM], [])
  3286. -
  3287. -
  3288. -# LT_LIB_M
  3289. -# --------
  3290. -# check for math library
  3291. -AC_DEFUN([LT_LIB_M],
  3292. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3293. -LIBM=
  3294. -case $host in
  3295. -*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
  3296. -  # These system don't have libm, or don't need it
  3297. -  ;;
  3298. -*-ncr-sysv4.3*)
  3299. -  AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw")
  3300. -  AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm")
  3301. -  ;;
  3302. -*)
  3303. -  AC_CHECK_LIB(m, cos, LIBM="-lm")
  3304. -  ;;
  3305. -esac
  3306. -AC_SUBST([LIBM])
  3307. -])# LT_LIB_M
  3308. -
  3309. -# Old name:
  3310. -AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M])
  3311. -dnl aclocal-1.4 backwards compatibility:
  3312. -dnl AC_DEFUN([AC_CHECK_LIBM], [])
  3313. -
  3314. -
  3315. -# _LT_COMPILER_NO_RTTI([TAGNAME])
  3316. -# -------------------------------
  3317. -m4_defun([_LT_COMPILER_NO_RTTI],
  3318. -[m4_require([_LT_TAG_COMPILER])dnl
  3319. -
  3320. -_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  3321. -
  3322. -if test "$GCC" = yes; then
  3323. -  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  3324. -
  3325. -  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
  3326. -    lt_cv_prog_compiler_rtti_exceptions,
  3327. -    [-fno-rtti -fno-exceptions], [],
  3328. -    [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"])
  3329. -fi
  3330. -_LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1],
  3331. -   [Compiler flag to turn off builtin functions])
  3332. -])# _LT_COMPILER_NO_RTTI
  3333. -
  3334. -
  3335. -# _LT_CMD_GLOBAL_SYMBOLS
  3336. -# ----------------------
  3337. -m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
  3338. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  3339. -AC_REQUIRE([AC_PROG_CC])dnl
  3340. -AC_REQUIRE([LT_PATH_NM])dnl
  3341. -AC_REQUIRE([LT_PATH_LD])dnl
  3342. -m4_require([_LT_DECL_SED])dnl
  3343. -m4_require([_LT_DECL_EGREP])dnl
  3344. -m4_require([_LT_TAG_COMPILER])dnl
  3345. -
  3346. -# Check for command to grab the raw symbol name followed by C symbol from nm.
  3347. -AC_MSG_CHECKING([command to parse $NM output from $compiler object])
  3348. -AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe],
  3349. -[
  3350. -# These are sane defaults that work on at least a few old systems.
  3351. -# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  3352. -
  3353. -# Character class describing NM global symbol codes.
  3354. -symcode='[[BCDEGRST]]'
  3355. -
  3356. -# Regexp to match symbols that can be accessed directly from C.
  3357. -sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)'
  3358. -
  3359. -# Define system-specific variables.
  3360. -case $host_os in
  3361. -aix*)
  3362. -  symcode='[[BCDT]]'
  3363. -  ;;
  3364. -cygwin* | mingw* | pw32* | cegcc*)
  3365. -  symcode='[[ABCDGISTW]]'
  3366. -  ;;
  3367. -hpux*)
  3368. -  if test "$host_cpu" = ia64; then
  3369. -    symcode='[[ABCDEGRST]]'
  3370. -  fi
  3371. -  ;;
  3372. -irix* | nonstopux*)
  3373. -  symcode='[[BCDEGRST]]'
  3374. -  ;;
  3375. -osf*)
  3376. -  symcode='[[BCDEGQRST]]'
  3377. -  ;;
  3378. -solaris*)
  3379. -  symcode='[[BDRT]]'
  3380. -  ;;
  3381. -sco3.2v5*)
  3382. -  symcode='[[DT]]'
  3383. -  ;;
  3384. -sysv4.2uw2*)
  3385. -  symcode='[[DT]]'
  3386. -  ;;
  3387. -sysv5* | sco5v6* | unixware* | OpenUNIX*)
  3388. -  symcode='[[ABDT]]'
  3389. -  ;;
  3390. -sysv4)
  3391. -  symcode='[[DFNSTU]]'
  3392. -  ;;
  3393. -esac
  3394. -
  3395. -# If we're using GNU nm, then use its standard symbol codes.
  3396. -case `$NM -V 2>&1` in
  3397. -*GNU* | *'with BFD'*)
  3398. -  symcode='[[ABCDGIRSTW]]' ;;
  3399. -esac
  3400. -
  3401. -# Transform an extracted symbol line into a proper C declaration.
  3402. -# Some systems (esp. on ia64) link data and code symbols differently,
  3403. -# so use this general approach.
  3404. -lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  3405. -
  3406. -# Transform an extracted symbol line into symbol name and symbol address
  3407. -lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p'"
  3408. -lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
  3409. -
  3410. -# Handle CRLF in mingw tool chain
  3411. -opt_cr=
  3412. -case $build_os in
  3413. -mingw*)
  3414. -  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  3415. -  ;;
  3416. -esac
  3417. -
  3418. -# Try without a prefix underscore, then with it.
  3419. -for ac_symprfx in "" "_"; do
  3420. -
  3421. -  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  3422. -  symxfrm="\\1 $ac_symprfx\\2 \\2"
  3423. -
  3424. -  # Write the raw and C identifiers.
  3425. -  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  3426. -    # Fake it for dumpbin and say T for any non-static function
  3427. -    # and D for any global variable.
  3428. -    # Also find C++ and __fastcall symbols from MSVC++,
  3429. -    # which start with @ or ?.
  3430. -    lt_cv_sys_global_symbol_pipe="$AWK ['"\
  3431. -"     {last_section=section; section=\$ 3};"\
  3432. -"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  3433. -"     \$ 0!~/External *\|/{next};"\
  3434. -"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  3435. -"     {if(hide[section]) next};"\
  3436. -"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  3437. -"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  3438. -"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  3439. -"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  3440. -"     ' prfx=^$ac_symprfx]"
  3441. -  else
  3442. -    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[    ]]\($symcode$symcode*\)[[   ]][[    ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  3443. -  fi
  3444. -
  3445. -  # Check to see that the pipe works correctly.
  3446. -  pipe_works=no
  3447. -
  3448. -  rm -f conftest*
  3449. -  cat > conftest.$ac_ext <<_LT_EOF
  3450. -#ifdef __cplusplus
  3451. -extern "C" {
  3452. -#endif
  3453. -char nm_test_var;
  3454. -void nm_test_func(void);
  3455. -void nm_test_func(void){}
  3456. -#ifdef __cplusplus
  3457. -}
  3458. -#endif
  3459. -int main(){nm_test_var='a';nm_test_func();return(0);}
  3460. -_LT_EOF
  3461. -
  3462. -  if AC_TRY_EVAL(ac_compile); then
  3463. -    # Now try to grab the symbols.
  3464. -    nlist=conftest.nm
  3465. -    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
  3466. -      # Try sorting and uniquifying the output.
  3467. -      if sort "$nlist" | uniq > "$nlist"T; then
  3468. -   mv -f "$nlist"T "$nlist"
  3469. -      else
  3470. -   rm -f "$nlist"T
  3471. -      fi
  3472. -
  3473. -      # Make sure that we snagged all the symbols we need.
  3474. -      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  3475. -   if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  3476. -     cat <<_LT_EOF > conftest.$ac_ext
  3477. -#ifdef __cplusplus
  3478. -extern "C" {
  3479. -#endif
  3480. -
  3481. -_LT_EOF
  3482. -     # Now generate the symbol file.
  3483. -     eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  3484. -
  3485. -     cat <<_LT_EOF >> conftest.$ac_ext
  3486. -
  3487. -/* The mapping between symbol names and symbols.  */
  3488. -const struct {
  3489. -  const char *name;
  3490. -  void       *address;
  3491. -}
  3492. -lt__PROGRAM__LTX_preloaded_symbols[[]] =
  3493. -{
  3494. -  { "@PROGRAM@", (void *) 0 },
  3495. -_LT_EOF
  3496. -     $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  3497. -     cat <<\_LT_EOF >> conftest.$ac_ext
  3498. -  {0, (void *) 0}
  3499. -};
  3500. -
  3501. -/* This works around a problem in FreeBSD linker */
  3502. -#ifdef FREEBSD_WORKAROUND
  3503. -static const void *lt_preloaded_setup() {
  3504. -  return lt__PROGRAM__LTX_preloaded_symbols;
  3505. -}
  3506. -#endif
  3507. -
  3508. -#ifdef __cplusplus
  3509. -}
  3510. -#endif
  3511. -_LT_EOF
  3512. -     # Now try linking the two files.
  3513. -     mv conftest.$ac_objext conftstm.$ac_objext
  3514. -     lt_save_LIBS="$LIBS"
  3515. -     lt_save_CFLAGS="$CFLAGS"
  3516. -     LIBS="conftstm.$ac_objext"
  3517. -     CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)"
  3518. -     if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
  3519. -       pipe_works=yes
  3520. -     fi
  3521. -     LIBS="$lt_save_LIBS"
  3522. -     CFLAGS="$lt_save_CFLAGS"
  3523. -   else
  3524. -     echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD
  3525. -   fi
  3526. -      else
  3527. -   echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD
  3528. -      fi
  3529. -    else
  3530. -      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD
  3531. -    fi
  3532. -  else
  3533. -    echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD
  3534. -    cat conftest.$ac_ext >&5
  3535. -  fi
  3536. -  rm -rf conftest* conftst*
  3537. -
  3538. -  # Do not use the global_symbol_pipe unless it works.
  3539. -  if test "$pipe_works" = yes; then
  3540. -    break
  3541. -  else
  3542. -    lt_cv_sys_global_symbol_pipe=
  3543. -  fi
  3544. -done
  3545. -])
  3546. -if test -z "$lt_cv_sys_global_symbol_pipe"; then
  3547. -  lt_cv_sys_global_symbol_to_cdecl=
  3548. -fi
  3549. -if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  3550. -  AC_MSG_RESULT(failed)
  3551. -else
  3552. -  AC_MSG_RESULT(ok)
  3553. -fi
  3554. -
  3555. -_LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1],
  3556. -    [Take the output of nm and produce a listing of raw symbols and C names])
  3557. -_LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1],
  3558. -    [Transform the output of nm in a proper C declaration])
  3559. -_LT_DECL([global_symbol_to_c_name_address],
  3560. -    [lt_cv_sys_global_symbol_to_c_name_address], [1],
  3561. -    [Transform the output of nm in a C name address pair])
  3562. -_LT_DECL([global_symbol_to_c_name_address_lib_prefix],
  3563. -    [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1],
  3564. -    [Transform the output of nm in a C name address pair when lib prefix is needed])
  3565. -]) # _LT_CMD_GLOBAL_SYMBOLS
  3566. -
  3567. -
  3568. -# _LT_COMPILER_PIC([TAGNAME])
  3569. -# ---------------------------
  3570. -m4_defun([_LT_COMPILER_PIC],
  3571. -[m4_require([_LT_TAG_COMPILER])dnl
  3572. -_LT_TAGVAR(lt_prog_compiler_wl, $1)=
  3573. -_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3574. -_LT_TAGVAR(lt_prog_compiler_static, $1)=
  3575. -
  3576. -AC_MSG_CHECKING([for $compiler option to produce PIC])
  3577. -m4_if([$1], [CXX], [
  3578. -  # C++ specific cases for pic, static, wl, etc.
  3579. -  if test "$GXX" = yes; then
  3580. -    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3581. -    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3582. -
  3583. -    case $host_os in
  3584. -    aix*)
  3585. -      # All AIX code is PIC.
  3586. -      if test "$host_cpu" = ia64; then
  3587. -   # AIX 5 now supports IA64 processor
  3588. -   _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3589. -      fi
  3590. -      ;;
  3591. -
  3592. -    amigaos*)
  3593. -      case $host_cpu in
  3594. -      powerpc)
  3595. -            # see comment about AmigaOS4 .so support
  3596. -            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3597. -        ;;
  3598. -      m68k)
  3599. -            # FIXME: we need at least 68020 code to build shared libraries, but
  3600. -            # adding the `-m68020' flag to GCC prevents building anything better,
  3601. -            # like `-m68040'.
  3602. -            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  3603. -        ;;
  3604. -      esac
  3605. -      ;;
  3606. -
  3607. -    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  3608. -      # PIC is the default for these OSes.
  3609. -      ;;
  3610. -    mingw* | cygwin* | os2* | pw32* | cegcc*)
  3611. -      # This hack is so that the source file can tell whether it is being
  3612. -      # built for inclusion in a dll (and should export symbols for example).
  3613. -      # Although the cygwin gcc ignores -fPIC, still need this for old-style
  3614. -      # (--disable-auto-import) libraries
  3615. -      m4_if([$1], [GCJ], [],
  3616. -   [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3617. -      ;;
  3618. -    darwin* | rhapsody*)
  3619. -      # PIC is the default on this platform
  3620. -      # Common symbols not allowed in MH_DYLIB files
  3621. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  3622. -      ;;
  3623. -    *djgpp*)
  3624. -      # DJGPP does not support shared libraries at all
  3625. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3626. -      ;;
  3627. -    interix[[3-9]]*)
  3628. -      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  3629. -      # Instead, we relocate shared libraries at runtime.
  3630. -      ;;
  3631. -    sysv4*MP*)
  3632. -      if test -d /usr/nec; then
  3633. -   _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  3634. -      fi
  3635. -      ;;
  3636. -    hpux*)
  3637. -      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  3638. -      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  3639. -      # sets the default TLS model and affects inlining.
  3640. -      case $host_cpu in
  3641. -      hppa*64*)
  3642. -   ;;
  3643. -      *)
  3644. -   _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3645. -   ;;
  3646. -      esac
  3647. -      ;;
  3648. -    *qnx* | *nto*)
  3649. -      # QNX uses GNU C++, but need to define -shared option too, otherwise
  3650. -      # it will coredump.
  3651. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  3652. -      ;;
  3653. -    *)
  3654. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3655. -      ;;
  3656. -    esac
  3657. -  else
  3658. -    case $host_os in
  3659. -      aix[[4-9]]*)
  3660. -   # All AIX code is PIC.
  3661. -   if test "$host_cpu" = ia64; then
  3662. -     # AIX 5 now supports IA64 processor
  3663. -     _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3664. -   else
  3665. -     _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  3666. -   fi
  3667. -   ;;
  3668. -      chorus*)
  3669. -   case $cc_basename in
  3670. -   cxch68*)
  3671. -     # Green Hills C++ Compiler
  3672. -     # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
  3673. -     ;;
  3674. -   esac
  3675. -   ;;
  3676. -      dgux*)
  3677. -   case $cc_basename in
  3678. -     ec++*)
  3679. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3680. -       ;;
  3681. -     ghcx*)
  3682. -       # Green Hills C++ Compiler
  3683. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3684. -       ;;
  3685. -     *)
  3686. -       ;;
  3687. -   esac
  3688. -   ;;
  3689. -      freebsd* | dragonfly*)
  3690. -   # FreeBSD uses GNU C++
  3691. -   ;;
  3692. -      hpux9* | hpux10* | hpux11*)
  3693. -   case $cc_basename in
  3694. -     CC*)
  3695. -       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3696. -       _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  3697. -       if test "$host_cpu" != ia64; then
  3698. -         _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  3699. -       fi
  3700. -       ;;
  3701. -     aCC*)
  3702. -       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3703. -       _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  3704. -       case $host_cpu in
  3705. -       hppa*64*|ia64*)
  3706. -         # +Z the default
  3707. -         ;;
  3708. -       *)
  3709. -         _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  3710. -         ;;
  3711. -       esac
  3712. -       ;;
  3713. -     *)
  3714. -       ;;
  3715. -   esac
  3716. -   ;;
  3717. -      interix*)
  3718. -   # This is c89, which is MS Visual C++ (no shared libs)
  3719. -   # Anyone wants to do a port?
  3720. -   ;;
  3721. -      irix5* | irix6* | nonstopux*)
  3722. -   case $cc_basename in
  3723. -     CC*)
  3724. -       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3725. -       _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3726. -       # CC pic flag -KPIC is the default.
  3727. -       ;;
  3728. -     *)
  3729. -       ;;
  3730. -   esac
  3731. -   ;;
  3732. -      linux* | k*bsd*-gnu | kopensolaris*-gnu)
  3733. -   case $cc_basename in
  3734. -     KCC*)
  3735. -       # KAI C++ Compiler
  3736. -       _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  3737. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3738. -       ;;
  3739. -     ecpc* )
  3740. -       # old Intel C++ for x86_64 which still supported -KPIC.
  3741. -       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3742. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3743. -       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3744. -       ;;
  3745. -     icpc* )
  3746. -       # Intel C++, used to be incompatible with GCC.
  3747. -       # ICC 10 doesn't accept -KPIC any more.
  3748. -       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3749. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3750. -       _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3751. -       ;;
  3752. -     pgCC* | pgcpp*)
  3753. -       # Portland Group C++ compiler
  3754. -       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3755. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  3756. -       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3757. -       ;;
  3758. -     cxx*)
  3759. -       # Compaq C++
  3760. -       # Make sure the PIC flag is empty.  It appears that all Alpha
  3761. -       # Linux and Compaq Tru64 Unix objects are PIC.
  3762. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3763. -       _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3764. -       ;;
  3765. -     xlc* | xlC*)
  3766. -       # IBM XL 8.0 on PPC
  3767. -       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3768. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  3769. -       _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  3770. -       ;;
  3771. -     *)
  3772. -       case `$CC -V 2>&1 | sed 5q` in
  3773. -       *Sun\ C*)
  3774. -         # Sun C++ 5.9
  3775. -         _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3776. -         _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3777. -         _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  3778. -         ;;
  3779. -       esac
  3780. -       ;;
  3781. -   esac
  3782. -   ;;
  3783. -      lynxos*)
  3784. -   ;;
  3785. -      m88k*)
  3786. -   ;;
  3787. -      mvs*)
  3788. -   case $cc_basename in
  3789. -     cxx*)
  3790. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall'
  3791. -       ;;
  3792. -     *)
  3793. -       ;;
  3794. -   esac
  3795. -   ;;
  3796. -      netbsd* | netbsdelf*-gnu)
  3797. -   ;;
  3798. -      *qnx* | *nto*)
  3799. -        # QNX uses GNU C++, but need to define -shared option too, otherwise
  3800. -        # it will coredump.
  3801. -        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  3802. -        ;;
  3803. -      osf3* | osf4* | osf5*)
  3804. -   case $cc_basename in
  3805. -     KCC*)
  3806. -       _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,'
  3807. -       ;;
  3808. -     RCC*)
  3809. -       # Rational C++ 2.4.1
  3810. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3811. -       ;;
  3812. -     cxx*)
  3813. -       # Digital/Compaq C++
  3814. -       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3815. -       # Make sure the PIC flag is empty.  It appears that all Alpha
  3816. -       # Linux and Compaq Tru64 Unix objects are PIC.
  3817. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  3818. -       _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  3819. -       ;;
  3820. -     *)
  3821. -       ;;
  3822. -   esac
  3823. -   ;;
  3824. -      psos*)
  3825. -   ;;
  3826. -      solaris*)
  3827. -   case $cc_basename in
  3828. -     CC*)
  3829. -       # Sun C++ 4.2, 5.x and Centerline C++
  3830. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3831. -       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3832. -       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  3833. -       ;;
  3834. -     gcx*)
  3835. -       # Green Hills C++ Compiler
  3836. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  3837. -       ;;
  3838. -     *)
  3839. -       ;;
  3840. -   esac
  3841. -   ;;
  3842. -      sunos4*)
  3843. -   case $cc_basename in
  3844. -     CC*)
  3845. -       # Sun C++ 4.x
  3846. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3847. -       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3848. -       ;;
  3849. -     lcc*)
  3850. -       # Lucid
  3851. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  3852. -       ;;
  3853. -     *)
  3854. -       ;;
  3855. -   esac
  3856. -   ;;
  3857. -      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  3858. -   case $cc_basename in
  3859. -     CC*)
  3860. -       _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3861. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3862. -       _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3863. -       ;;
  3864. -   esac
  3865. -   ;;
  3866. -      tandem*)
  3867. -   case $cc_basename in
  3868. -     NCC*)
  3869. -       # NonStop-UX NCC 3.20
  3870. -       _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  3871. -       ;;
  3872. -     *)
  3873. -       ;;
  3874. -   esac
  3875. -   ;;
  3876. -      vxworks*)
  3877. -   ;;
  3878. -      *)
  3879. -   _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  3880. -   ;;
  3881. -    esac
  3882. -  fi
  3883. -],
  3884. -[
  3885. -  if test "$GCC" = yes; then
  3886. -    _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3887. -    _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  3888. -
  3889. -    case $host_os in
  3890. -      aix*)
  3891. -      # All AIX code is PIC.
  3892. -      if test "$host_cpu" = ia64; then
  3893. -   # AIX 5 now supports IA64 processor
  3894. -   _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3895. -      fi
  3896. -      ;;
  3897. -
  3898. -    amigaos*)
  3899. -      case $host_cpu in
  3900. -      powerpc)
  3901. -            # see comment about AmigaOS4 .so support
  3902. -            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3903. -        ;;
  3904. -      m68k)
  3905. -            # FIXME: we need at least 68020 code to build shared libraries, but
  3906. -            # adding the `-m68020' flag to GCC prevents building anything better,
  3907. -            # like `-m68040'.
  3908. -            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4'
  3909. -        ;;
  3910. -      esac
  3911. -      ;;
  3912. -
  3913. -    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  3914. -      # PIC is the default for these OSes.
  3915. -      ;;
  3916. -
  3917. -    mingw* | cygwin* | pw32* | os2* | cegcc*)
  3918. -      # This hack is so that the source file can tell whether it is being
  3919. -      # built for inclusion in a dll (and should export symbols for example).
  3920. -      # Although the cygwin gcc ignores -fPIC, still need this for old-style
  3921. -      # (--disable-auto-import) libraries
  3922. -      m4_if([$1], [GCJ], [],
  3923. -   [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3924. -      ;;
  3925. -
  3926. -    darwin* | rhapsody*)
  3927. -      # PIC is the default on this platform
  3928. -      # Common symbols not allowed in MH_DYLIB files
  3929. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
  3930. -      ;;
  3931. -
  3932. -    hpux*)
  3933. -      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  3934. -      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  3935. -      # sets the default TLS model and affects inlining.
  3936. -      case $host_cpu in
  3937. -      hppa*64*)
  3938. -   # +Z the default
  3939. -   ;;
  3940. -      *)
  3941. -   _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3942. -   ;;
  3943. -      esac
  3944. -      ;;
  3945. -
  3946. -    interix[[3-9]]*)
  3947. -      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  3948. -      # Instead, we relocate shared libraries at runtime.
  3949. -      ;;
  3950. -
  3951. -    msdosdjgpp*)
  3952. -      # Just because we use GCC doesn't mean we suddenly get shared libraries
  3953. -      # on systems that don't support them.
  3954. -      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  3955. -      enable_shared=no
  3956. -      ;;
  3957. -
  3958. -    *nto* | *qnx*)
  3959. -      # QNX uses GNU C++, but need to define -shared option too, otherwise
  3960. -      # it will coredump.
  3961. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  3962. -      ;;
  3963. -
  3964. -    sysv4*MP*)
  3965. -      if test -d /usr/nec; then
  3966. -   _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic
  3967. -      fi
  3968. -      ;;
  3969. -
  3970. -    *)
  3971. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  3972. -      ;;
  3973. -    esac
  3974. -  else
  3975. -    # PORTME Check for flag to pass linker flags through the system compiler.
  3976. -    case $host_os in
  3977. -    aix*)
  3978. -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3979. -      if test "$host_cpu" = ia64; then
  3980. -   # AIX 5 now supports IA64 processor
  3981. -   _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  3982. -      else
  3983. -   _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp'
  3984. -      fi
  3985. -      ;;
  3986. -
  3987. -    mingw* | cygwin* | pw32* | os2* | cegcc*)
  3988. -      # This hack is so that the source file can tell whether it is being
  3989. -      # built for inclusion in a dll (and should export symbols for example).
  3990. -      m4_if([$1], [GCJ], [],
  3991. -   [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
  3992. -      ;;
  3993. -
  3994. -    hpux9* | hpux10* | hpux11*)
  3995. -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  3996. -      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  3997. -      # not for PA HP-UX.
  3998. -      case $host_cpu in
  3999. -      hppa*64*|ia64*)
  4000. -   # +Z the default
  4001. -   ;;
  4002. -      *)
  4003. -   _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z'
  4004. -   ;;
  4005. -      esac
  4006. -      # Is there a better lt_prog_compiler_static that works with the bundled CC?
  4007. -      _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive'
  4008. -      ;;
  4009. -
  4010. -    irix5* | irix6* | nonstopux*)
  4011. -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4012. -      # PIC (with -KPIC) is the default.
  4013. -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4014. -      ;;
  4015. -
  4016. -    linux* | k*bsd*-gnu | kopensolaris*-gnu)
  4017. -      case $cc_basename in
  4018. -      # old Intel for x86_64 which still supported -KPIC.
  4019. -      ecc*)
  4020. -   _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4021. -   _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4022. -   _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4023. -        ;;
  4024. -      # icc used to be incompatible with GCC.
  4025. -      # ICC 10 doesn't accept -KPIC any more.
  4026. -      icc* | ifort*)
  4027. -   _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4028. -   _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
  4029. -   _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
  4030. -        ;;
  4031. -      # Lahey Fortran 8.1.
  4032. -      lf95*)
  4033. -   _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4034. -   _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
  4035. -   _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
  4036. -   ;;
  4037. -      pgcc* | pgf77* | pgf90* | pgf95*)
  4038. -        # Portland Group compilers (*not* the Pentium gcc compiler,
  4039. -   # which looks to be a dead project)
  4040. -   _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4041. -   _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
  4042. -   _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4043. -        ;;
  4044. -      ccc*)
  4045. -        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4046. -        # All Alpha code is PIC.
  4047. -        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4048. -        ;;
  4049. -      xl*)
  4050. -   # IBM XL C 8.0/Fortran 10.1 on PPC
  4051. -   _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4052. -   _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
  4053. -   _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
  4054. -   ;;
  4055. -      *)
  4056. -   case `$CC -V 2>&1 | sed 5q` in
  4057. -   *Sun\ C*)
  4058. -     # Sun C 5.9
  4059. -     _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4060. -     _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4061. -     _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4062. -     ;;
  4063. -   *Sun\ F*)
  4064. -     # Sun Fortran 8.3 passes all unrecognized flags to the linker
  4065. -     _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4066. -     _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4067. -     _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
  4068. -     ;;
  4069. -   esac
  4070. -   ;;
  4071. -      esac
  4072. -      ;;
  4073. -
  4074. -    newsos6)
  4075. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4076. -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4077. -      ;;
  4078. -
  4079. -    *nto* | *qnx*)
  4080. -      # QNX uses GNU C++, but need to define -shared option too, otherwise
  4081. -      # it will coredump.
  4082. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared'
  4083. -      ;;
  4084. -
  4085. -    osf3* | osf4* | osf5*)
  4086. -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4087. -      # All OSF/1 code is PIC.
  4088. -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4089. -      ;;
  4090. -
  4091. -    rdos*)
  4092. -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
  4093. -      ;;
  4094. -
  4095. -    solaris*)
  4096. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4097. -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4098. -      case $cc_basename in
  4099. -      f77* | f90* | f95*)
  4100. -   _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
  4101. -      *)
  4102. -   _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
  4103. -      esac
  4104. -      ;;
  4105. -
  4106. -    sunos4*)
  4107. -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
  4108. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC'
  4109. -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4110. -      ;;
  4111. -
  4112. -    sysv4 | sysv4.2uw2* | sysv4.3*)
  4113. -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4114. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4115. -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4116. -      ;;
  4117. -
  4118. -    sysv4*MP*)
  4119. -      if test -d /usr/nec ;then
  4120. -   _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
  4121. -   _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4122. -      fi
  4123. -      ;;
  4124. -
  4125. -    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  4126. -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4127. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
  4128. -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4129. -      ;;
  4130. -
  4131. -    unicos*)
  4132. -      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
  4133. -      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  4134. -      ;;
  4135. -
  4136. -    uts4*)
  4137. -      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic'
  4138. -      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
  4139. -      ;;
  4140. -
  4141. -    *)
  4142. -      _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no
  4143. -      ;;
  4144. -    esac
  4145. -  fi
  4146. -])
  4147. -case $host_os in
  4148. -  # For platforms which do not support PIC, -DPIC is meaningless:
  4149. -  *djgpp*)
  4150. -    _LT_TAGVAR(lt_prog_compiler_pic, $1)=
  4151. -    ;;
  4152. -  *)
  4153. -    _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])"
  4154. -    ;;
  4155. -esac
  4156. -AC_MSG_RESULT([$_LT_TAGVAR(lt_prog_compiler_pic, $1)])
  4157. -_LT_TAGDECL([wl], [lt_prog_compiler_wl], [1],
  4158. -   [How to pass a linker flag through the compiler])
  4159. -
  4160. -#
  4161. -# Check to make sure the PIC flag actually works.
  4162. -#
  4163. -if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
  4164. -  _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works],
  4165. -    [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)],
  4166. -    [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [],
  4167. -    [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in
  4168. -     "" | " "*) ;;
  4169. -     *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;;
  4170. -     esac],
  4171. -    [_LT_TAGVAR(lt_prog_compiler_pic, $1)=
  4172. -     _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no])
  4173. -fi
  4174. -_LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1],
  4175. -   [Additional compiler flags for building library objects])
  4176. -
  4177. -#
  4178. -# Check to make sure the static flag actually works.
  4179. -#
  4180. -wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\"
  4181. -_LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works],
  4182. -  _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1),
  4183. -  $lt_tmp_static_flag,
  4184. -  [],
  4185. -  [_LT_TAGVAR(lt_prog_compiler_static, $1)=])
  4186. -_LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1],
  4187. -   [Compiler flag to prevent dynamic linking])
  4188. -])# _LT_COMPILER_PIC
  4189. -
  4190. -
  4191. -# _LT_LINKER_SHLIBS([TAGNAME])
  4192. -# ----------------------------
  4193. -# See if the linker supports building shared libraries.
  4194. -m4_defun([_LT_LINKER_SHLIBS],
  4195. -[AC_REQUIRE([LT_PATH_LD])dnl
  4196. -AC_REQUIRE([LT_PATH_NM])dnl
  4197. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  4198. -m4_require([_LT_DECL_EGREP])dnl
  4199. -m4_require([_LT_DECL_SED])dnl
  4200. -m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl
  4201. -m4_require([_LT_TAG_COMPILER])dnl
  4202. -AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  4203. -m4_if([$1], [CXX], [
  4204. -  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4205. -  case $host_os in
  4206. -  aix[[4-9]]*)
  4207. -    # If we're using GNU nm, then we don't want the "-C" option.
  4208. -    # -C means demangle to AIX nm, but means don't demangle with GNU nm
  4209. -    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  4210. -      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  4211. -    else
  4212. -      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  4213. -    fi
  4214. -    ;;
  4215. -  pw32*)
  4216. -    _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds"
  4217. -  ;;
  4218. -  cygwin* | mingw* | cegcc*)
  4219. -    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[ ]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
  4220. -  ;;
  4221. -  linux* | k*bsd*-gnu)
  4222. -    _LT_TAGVAR(link_all_deplibs, $1)=no
  4223. -  ;;
  4224. -  *)
  4225. -    _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4226. -  ;;
  4227. -  esac
  4228. -  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  4229. -], [
  4230. -  runpath_var=
  4231. -  _LT_TAGVAR(allow_undefined_flag, $1)=
  4232. -  _LT_TAGVAR(always_export_symbols, $1)=no
  4233. -  _LT_TAGVAR(archive_cmds, $1)=
  4234. -  _LT_TAGVAR(archive_expsym_cmds, $1)=
  4235. -  _LT_TAGVAR(compiler_needs_object, $1)=no
  4236. -  _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  4237. -  _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  4238. -  _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  4239. -  _LT_TAGVAR(hardcode_automatic, $1)=no
  4240. -  _LT_TAGVAR(hardcode_direct, $1)=no
  4241. -  _LT_TAGVAR(hardcode_direct_absolute, $1)=no
  4242. -  _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  4243. -  _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  4244. -  _LT_TAGVAR(hardcode_libdir_separator, $1)=
  4245. -  _LT_TAGVAR(hardcode_minus_L, $1)=no
  4246. -  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  4247. -  _LT_TAGVAR(inherit_rpath, $1)=no
  4248. -  _LT_TAGVAR(link_all_deplibs, $1)=unknown
  4249. -  _LT_TAGVAR(module_cmds, $1)=
  4250. -  _LT_TAGVAR(module_expsym_cmds, $1)=
  4251. -  _LT_TAGVAR(old_archive_from_new_cmds, $1)=
  4252. -  _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)=
  4253. -  _LT_TAGVAR(thread_safe_flag_spec, $1)=
  4254. -  _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4255. -  # include_expsyms should be a list of space-separated symbols to be *always*
  4256. -  # included in the symbol list
  4257. -  _LT_TAGVAR(include_expsyms, $1)=
  4258. -  # exclude_expsyms can be an extended regexp of symbols to exclude
  4259. -  # it will be wrapped by ` (' and `)$', so one must not match beginning or
  4260. -  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  4261. -  # as well as any symbol that contains `d'.
  4262. -  _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
  4263. -  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  4264. -  # platforms (ab)use it in PIC code, but their linkers get confused if
  4265. -  # the symbol is explicitly referenced.  Since portable code cannot
  4266. -  # rely on this symbol name, it's probably fine to never include it in
  4267. -  # preloaded symbol tables.
  4268. -  # Exclude shared library initialization/finalization symbols.
  4269. -dnl Note also adjust exclude_expsyms for C++ above.
  4270. -  extract_expsyms_cmds=
  4271. -
  4272. -  case $host_os in
  4273. -  cygwin* | mingw* | pw32* | cegcc*)
  4274. -    # FIXME: the MSVC++ port hasn't been tested in a loooong time
  4275. -    # When not using gcc, we currently assume that we are using
  4276. -    # Microsoft Visual C++.
  4277. -    if test "$GCC" != yes; then
  4278. -      with_gnu_ld=no
  4279. -    fi
  4280. -    ;;
  4281. -  interix*)
  4282. -    # we just hope/assume this is gcc and not c89 (= MSVC++)
  4283. -    with_gnu_ld=yes
  4284. -    ;;
  4285. -  openbsd*)
  4286. -    with_gnu_ld=no
  4287. -    ;;
  4288. -  linux* | k*bsd*-gnu)
  4289. -    _LT_TAGVAR(link_all_deplibs, $1)=no
  4290. -    ;;
  4291. -  esac
  4292. -
  4293. -  _LT_TAGVAR(ld_shlibs, $1)=yes
  4294. -  if test "$with_gnu_ld" = yes; then
  4295. -    # If archive_cmds runs LD, not CC, wlarc should be empty
  4296. -    wlarc='${wl}'
  4297. -
  4298. -    # Set some defaults for GNU ld with shared library support. These
  4299. -    # are reset later if shared libraries are not supported. Putting them
  4300. -    # here allows them to be overridden if necessary.
  4301. -    runpath_var=LD_RUN_PATH
  4302. -    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4303. -    _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  4304. -    # ancient GNU ld didn't support --whole-archive et. al.
  4305. -    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  4306. -      _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  4307. -    else
  4308. -      _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4309. -    fi
  4310. -    supports_anon_versioning=no
  4311. -    case `$LD -v 2>&1` in
  4312. -      *GNU\ gold*) supports_anon_versioning=yes ;;
  4313. -      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
  4314. -      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  4315. -      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  4316. -      *\ 2.11.*) ;; # other 2.11 versions
  4317. -      *) supports_anon_versioning=yes ;;
  4318. -    esac
  4319. -
  4320. -    # See if GNU ld supports shared libraries.
  4321. -    case $host_os in
  4322. -    aix[[3-9]]*)
  4323. -      # On AIX/PPC, the GNU linker is very broken
  4324. -      if test "$host_cpu" != ia64; then
  4325. -   _LT_TAGVAR(ld_shlibs, $1)=no
  4326. -   cat <<_LT_EOF 1>&2
  4327. -
  4328. -*** Warning: the GNU linker, at least up to release 2.9.1, is reported
  4329. -*** to be unable to reliably create shared libraries on AIX.
  4330. -*** Therefore, libtool is disabling shared libraries support.  If you
  4331. -*** really care for shared libraries, you may want to modify your PATH
  4332. -*** so that a non-GNU linker is found, and then restart.
  4333. -
  4334. -_LT_EOF
  4335. -      fi
  4336. -      ;;
  4337. -
  4338. -    amigaos*)
  4339. -      case $host_cpu in
  4340. -      powerpc)
  4341. -            # see comment about AmigaOS4 .so support
  4342. -            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4343. -            _LT_TAGVAR(archive_expsym_cmds, $1)=''
  4344. -        ;;
  4345. -      m68k)
  4346. -            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  4347. -            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4348. -            _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4349. -        ;;
  4350. -      esac
  4351. -      ;;
  4352. -
  4353. -    beos*)
  4354. -      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4355. -   _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4356. -   # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  4357. -   # support --undefined.  This deserves some investigation.  FIXME
  4358. -   _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4359. -      else
  4360. -   _LT_TAGVAR(ld_shlibs, $1)=no
  4361. -      fi
  4362. -      ;;
  4363. -
  4364. -    cygwin* | mingw* | pw32* | cegcc*)
  4365. -      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  4366. -      # as there is no search path for DLLs.
  4367. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4368. -      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4369. -      _LT_TAGVAR(always_export_symbols, $1)=no
  4370. -      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  4371. -      _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
  4372. -
  4373. -      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  4374. -        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  4375. -   # If the export-symbols file already is a .def file (1st line
  4376. -   # is EXPORTS), use it as is; otherwise, prepend...
  4377. -   _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  4378. -     cp $export_symbols $output_objdir/$soname.def;
  4379. -   else
  4380. -     echo EXPORTS > $output_objdir/$soname.def;
  4381. -     cat $export_symbols >> $output_objdir/$soname.def;
  4382. -   fi~
  4383. -   $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  4384. -      else
  4385. -   _LT_TAGVAR(ld_shlibs, $1)=no
  4386. -      fi
  4387. -      ;;
  4388. -
  4389. -    interix[[3-9]]*)
  4390. -      _LT_TAGVAR(hardcode_direct, $1)=no
  4391. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4392. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4393. -      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4394. -      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  4395. -      # Instead, shared libraries are loaded at an image base (0x10000000 by
  4396. -      # default) and relocated if they conflict, which is a slow very memory
  4397. -      # consuming and fragmenting process.  To avoid this, we pick a random,
  4398. -      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  4399. -      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  4400. -      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  4401. -      _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  4402. -      ;;
  4403. -
  4404. -    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  4405. -      tmp_diet=no
  4406. -      if test "$host_os" = linux-dietlibc; then
  4407. -   case $cc_basename in
  4408. -     diet\ *) tmp_diet=yes;;   # linux-dietlibc with static linking (!diet-dyn)
  4409. -   esac
  4410. -      fi
  4411. -      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  4412. -    && test "$tmp_diet" = no
  4413. -      then
  4414. -   tmp_addflag=
  4415. -   tmp_sharedflag='-shared'
  4416. -   case $cc_basename,$host_cpu in
  4417. -        pgcc*)             # Portland Group C compiler
  4418. -     _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  4419. -     tmp_addflag=' $pic_flag'
  4420. -     ;;
  4421. -   pgf77* | pgf90* | pgf95*)   # Portland Group f77 and f90 compilers
  4422. -     _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  4423. -     tmp_addflag=' $pic_flag -Mnomain' ;;
  4424. -   ecc*,ia64* | icc*,ia64*)    # Intel C compiler on ia64
  4425. -     tmp_addflag=' -i_dynamic' ;;
  4426. -   efc*,ia64* | ifort*,ia64*)  # Intel Fortran compiler on ia64
  4427. -     tmp_addflag=' -i_dynamic -nofor_main' ;;
  4428. -   ifc* | ifort*)          # Intel Fortran compiler
  4429. -     tmp_addflag=' -nofor_main' ;;
  4430. -   lf95*)              # Lahey Fortran 8.1
  4431. -     _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4432. -     tmp_sharedflag='--shared' ;;
  4433. -   xl[[cC]]*)          # IBM XL C 8.0 on PPC (deal with xlf below)
  4434. -     tmp_sharedflag='-qmkshrobj'
  4435. -     tmp_addflag= ;;
  4436. -   esac
  4437. -   case `$CC -V 2>&1 | sed 5q` in
  4438. -   *Sun\ C*)           # Sun C 5.9
  4439. -     _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  4440. -     _LT_TAGVAR(compiler_needs_object, $1)=yes
  4441. -     tmp_sharedflag='-G' ;;
  4442. -   *Sun\ F*)           # Sun Fortran 8.3
  4443. -     tmp_sharedflag='-G' ;;
  4444. -   esac
  4445. -   _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4446. -
  4447. -        if test "x$supports_anon_versioning" = xyes; then
  4448. -          _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  4449. -       cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  4450. -       echo "local: *; };" >> $output_objdir/$libname.ver~
  4451. -       $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  4452. -        fi
  4453. -
  4454. -   case $cc_basename in
  4455. -   xlf*)
  4456. -     # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  4457. -     _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
  4458. -     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  4459. -     _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
  4460. -     _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  4461. -     if test "x$supports_anon_versioning" = xyes; then
  4462. -       _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  4463. -         cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  4464. -         echo "local: *; };" >> $output_objdir/$libname.ver~
  4465. -         $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  4466. -     fi
  4467. -     ;;
  4468. -   esac
  4469. -      else
  4470. -        _LT_TAGVAR(ld_shlibs, $1)=no
  4471. -      fi
  4472. -      ;;
  4473. -
  4474. -    netbsd* | netbsdelf*-gnu)
  4475. -      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  4476. -   _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  4477. -   wlarc=
  4478. -      else
  4479. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4480. -   _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4481. -      fi
  4482. -      ;;
  4483. -
  4484. -    solaris*)
  4485. -      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  4486. -   _LT_TAGVAR(ld_shlibs, $1)=no
  4487. -   cat <<_LT_EOF 1>&2
  4488. -
  4489. -*** Warning: The releases 2.8.* of the GNU linker cannot reliably
  4490. -*** create shared libraries on Solaris systems.  Therefore, libtool
  4491. -*** is disabling shared libraries support.  We urge you to upgrade GNU
  4492. -*** binutils to release 2.9.1 or newer.  Another option is to modify
  4493. -*** your PATH or compiler configuration so that the native linker is
  4494. -*** used, and then restart.
  4495. -
  4496. -_LT_EOF
  4497. -      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4498. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4499. -   _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4500. -      else
  4501. -   _LT_TAGVAR(ld_shlibs, $1)=no
  4502. -      fi
  4503. -      ;;
  4504. -
  4505. -    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  4506. -      case `$LD -v 2>&1` in
  4507. -        *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
  4508. -   _LT_TAGVAR(ld_shlibs, $1)=no
  4509. -   cat <<_LT_EOF 1>&2
  4510. -
  4511. -*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  4512. -*** reliably create shared libraries on SCO systems.  Therefore, libtool
  4513. -*** is disabling shared libraries support.  We urge you to upgrade GNU
  4514. -*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  4515. -*** your PATH or compiler configuration so that the native linker is
  4516. -*** used, and then restart.
  4517. -
  4518. -_LT_EOF
  4519. -   ;;
  4520. -   *)
  4521. -     # For security reasons, it is highly recommended that you always
  4522. -     # use absolute paths for naming shared libraries, and exclude the
  4523. -     # DT_RUNPATH tag from executables and libraries.  But doing so
  4524. -     # requires that you compile everything twice, which is a pain.
  4525. -     if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4526. -       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4527. -       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4528. -       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4529. -     else
  4530. -       _LT_TAGVAR(ld_shlibs, $1)=no
  4531. -     fi
  4532. -   ;;
  4533. -      esac
  4534. -      ;;
  4535. -
  4536. -    sunos4*)
  4537. -      _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  4538. -      wlarc=
  4539. -      _LT_TAGVAR(hardcode_direct, $1)=yes
  4540. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4541. -      ;;
  4542. -
  4543. -    *)
  4544. -      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  4545. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4546. -   _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  4547. -      else
  4548. -   _LT_TAGVAR(ld_shlibs, $1)=no
  4549. -      fi
  4550. -      ;;
  4551. -    esac
  4552. -
  4553. -    if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then
  4554. -      runpath_var=
  4555. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  4556. -      _LT_TAGVAR(export_dynamic_flag_spec, $1)=
  4557. -      _LT_TAGVAR(whole_archive_flag_spec, $1)=
  4558. -    fi
  4559. -  else
  4560. -    # PORTME fill in a description of your system's linker (not GNU ld)
  4561. -    case $host_os in
  4562. -    aix3*)
  4563. -      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4564. -      _LT_TAGVAR(always_export_symbols, $1)=yes
  4565. -      _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  4566. -      # Note: this linker hardcodes the directories in LIBPATH if there
  4567. -      # are no directories specified by -L.
  4568. -      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4569. -      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  4570. -   # Neither direct hardcoding nor static linking is supported with a
  4571. -   # broken collect2.
  4572. -   _LT_TAGVAR(hardcode_direct, $1)=unsupported
  4573. -      fi
  4574. -      ;;
  4575. -
  4576. -    aix[[4-9]]*)
  4577. -      if test "$host_cpu" = ia64; then
  4578. -   # On IA64, the linker does run time linking by default, so we don't
  4579. -   # have to do anything special.
  4580. -   aix_use_runtimelinking=no
  4581. -   exp_sym_flag='-Bexport'
  4582. -   no_entry_flag=""
  4583. -      else
  4584. -   # If we're using GNU nm, then we don't want the "-C" option.
  4585. -   # -C means demangle to AIX nm, but means don't demangle with GNU nm
  4586. -   if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  4587. -     _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  4588. -   else
  4589. -     _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  4590. -   fi
  4591. -   aix_use_runtimelinking=no
  4592. -
  4593. -   # Test if we are trying to use run time linking or normal
  4594. -   # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  4595. -   # need to do runtime linking.
  4596. -   case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  4597. -     for ld_flag in $LDFLAGS; do
  4598. -     if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  4599. -       aix_use_runtimelinking=yes
  4600. -       break
  4601. -     fi
  4602. -     done
  4603. -     ;;
  4604. -   esac
  4605. -
  4606. -   exp_sym_flag='-bexport'
  4607. -   no_entry_flag='-bnoentry'
  4608. -      fi
  4609. -
  4610. -      # When large executables or shared objects are built, AIX ld can
  4611. -      # have problems creating the table of contents.  If linking a library
  4612. -      # or program results in "error TOC overflow" add -mminimal-toc to
  4613. -      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  4614. -      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  4615. -
  4616. -      _LT_TAGVAR(archive_cmds, $1)=''
  4617. -      _LT_TAGVAR(hardcode_direct, $1)=yes
  4618. -      _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4619. -      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  4620. -      _LT_TAGVAR(link_all_deplibs, $1)=yes
  4621. -      _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  4622. -
  4623. -      if test "$GCC" = yes; then
  4624. -   case $host_os in aix4.[[012]]|aix4.[[012]].*)
  4625. -   # We only want to do this on AIX 4.2 and lower, the check
  4626. -   # below for broken collect2 doesn't work under 4.3+
  4627. -     collect2name=`${CC} -print-prog-name=collect2`
  4628. -     if test -f "$collect2name" &&
  4629. -      strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  4630. -     then
  4631. -     # We have reworked collect2
  4632. -     :
  4633. -     else
  4634. -     # We have old collect2
  4635. -     _LT_TAGVAR(hardcode_direct, $1)=unsupported
  4636. -     # It fails to find uninstalled libraries when the uninstalled
  4637. -     # path is not listed in the libpath.  Setting hardcode_minus_L
  4638. -     # to unsupported forces relinking
  4639. -     _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4640. -     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4641. -     _LT_TAGVAR(hardcode_libdir_separator, $1)=
  4642. -     fi
  4643. -     ;;
  4644. -   esac
  4645. -   shared_flag='-shared'
  4646. -   if test "$aix_use_runtimelinking" = yes; then
  4647. -     shared_flag="$shared_flag "'${wl}-G'
  4648. -   fi
  4649. -   _LT_TAGVAR(link_all_deplibs, $1)=no
  4650. -      else
  4651. -   # not using gcc
  4652. -   if test "$host_cpu" = ia64; then
  4653. -   # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  4654. -   # chokes on -Wl,-G. The following line is correct:
  4655. -     shared_flag='-G'
  4656. -   else
  4657. -     if test "$aix_use_runtimelinking" = yes; then
  4658. -       shared_flag='${wl}-G'
  4659. -     else
  4660. -       shared_flag='${wl}-bM:SRE'
  4661. -     fi
  4662. -   fi
  4663. -      fi
  4664. -
  4665. -      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  4666. -      # It seems that -bexpall does not export symbols beginning with
  4667. -      # underscore (_), so it is better to generate a list of symbols to export.
  4668. -      _LT_TAGVAR(always_export_symbols, $1)=yes
  4669. -      if test "$aix_use_runtimelinking" = yes; then
  4670. -   # Warning - without using the other runtime loading flags (-brtl),
  4671. -   # -berok will link without error, but may produce a broken library.
  4672. -   _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  4673. -        # Determine the default libpath from the value encoded in an
  4674. -        # empty executable.
  4675. -        _LT_SYS_MODULE_PATH_AIX
  4676. -        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  4677. -        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  4678. -      else
  4679. -   if test "$host_cpu" = ia64; then
  4680. -     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  4681. -     _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  4682. -     _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  4683. -   else
  4684. -    # Determine the default libpath from the value encoded in an
  4685. -    # empty executable.
  4686. -    _LT_SYS_MODULE_PATH_AIX
  4687. -    _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  4688. -     # Warning - without using the other run time loading flags,
  4689. -     # -berok will link without error, but may produce a broken library.
  4690. -     _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  4691. -     _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  4692. -     # Exported symbols can be pulled into shared objects from archives
  4693. -     _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  4694. -     _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  4695. -     # This is similar to how AIX traditionally builds its shared libraries.
  4696. -     _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  4697. -   fi
  4698. -      fi
  4699. -      ;;
  4700. -
  4701. -    amigaos*)
  4702. -      case $host_cpu in
  4703. -      powerpc)
  4704. -            # see comment about AmigaOS4 .so support
  4705. -            _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  4706. -            _LT_TAGVAR(archive_expsym_cmds, $1)=''
  4707. -        ;;
  4708. -      m68k)
  4709. -            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  4710. -            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4711. -            _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4712. -        ;;
  4713. -      esac
  4714. -      ;;
  4715. -
  4716. -    bsdi[[45]]*)
  4717. -      _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic
  4718. -      ;;
  4719. -
  4720. -    cygwin* | mingw* | pw32* | cegcc*)
  4721. -      # When not using gcc, we currently assume that we are using
  4722. -      # Microsoft Visual C++.
  4723. -      # hardcode_libdir_flag_spec is actually meaningless, as there is
  4724. -      # no search path for DLLs.
  4725. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' '
  4726. -      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4727. -      # Tell ltmain to make .lib files, not .a files.
  4728. -      libext=lib
  4729. -      # Tell ltmain to make .dll files, not .so files.
  4730. -      shrext_cmds=".dll"
  4731. -      # FIXME: Setting linknames here is a bad hack.
  4732. -      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  4733. -      # The linker will automatically build a .lib file if we build a DLL.
  4734. -      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
  4735. -      # FIXME: Should let the user specify the lib program.
  4736. -      _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs'
  4737. -      _LT_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`'
  4738. -      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  4739. -      ;;
  4740. -
  4741. -    darwin* | rhapsody*)
  4742. -      _LT_DARWIN_LINKER_FEATURES($1)
  4743. -      ;;
  4744. -
  4745. -    dgux*)
  4746. -      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  4747. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4748. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4749. -      ;;
  4750. -
  4751. -    freebsd1*)
  4752. -      _LT_TAGVAR(ld_shlibs, $1)=no
  4753. -      ;;
  4754. -
  4755. -    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  4756. -    # support.  Future versions do this automatically, but an explicit c++rt0.o
  4757. -    # does not break anything, and helps significantly (at the cost of a little
  4758. -    # extra space).
  4759. -    freebsd2.2*)
  4760. -      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  4761. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4762. -      _LT_TAGVAR(hardcode_direct, $1)=yes
  4763. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4764. -      ;;
  4765. -
  4766. -    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  4767. -    freebsd2*)
  4768. -      _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  4769. -      _LT_TAGVAR(hardcode_direct, $1)=yes
  4770. -      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4771. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4772. -      ;;
  4773. -
  4774. -    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  4775. -    freebsd* | dragonfly*)
  4776. -      _LT_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  4777. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4778. -      _LT_TAGVAR(hardcode_direct, $1)=yes
  4779. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4780. -      ;;
  4781. -
  4782. -    hpux9*)
  4783. -      if test "$GCC" = yes; then
  4784. -   _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  4785. -      else
  4786. -   _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  4787. -      fi
  4788. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4789. -      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4790. -      _LT_TAGVAR(hardcode_direct, $1)=yes
  4791. -
  4792. -      # hardcode_minus_L: Not really in the search PATH,
  4793. -      # but as the default location of the library.
  4794. -      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4795. -      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4796. -      ;;
  4797. -
  4798. -    hpux10*)
  4799. -      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  4800. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  4801. -      else
  4802. -   _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  4803. -      fi
  4804. -      if test "$with_gnu_ld" = no; then
  4805. -   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4806. -   _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
  4807. -   _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4808. -   _LT_TAGVAR(hardcode_direct, $1)=yes
  4809. -   _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4810. -   _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4811. -   # hardcode_minus_L: Not really in the search PATH,
  4812. -   # but as the default location of the library.
  4813. -   _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4814. -      fi
  4815. -      ;;
  4816. -
  4817. -    hpux11*)
  4818. -      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  4819. -   case $host_cpu in
  4820. -   hppa*64*)
  4821. -     _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4822. -     ;;
  4823. -   ia64*)
  4824. -     _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  4825. -     ;;
  4826. -   *)
  4827. -     _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  4828. -     ;;
  4829. -   esac
  4830. -      else
  4831. -   case $host_cpu in
  4832. -   hppa*64*)
  4833. -     _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4834. -     ;;
  4835. -   ia64*)
  4836. -     _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  4837. -     ;;
  4838. -   *)
  4839. -     _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  4840. -     ;;
  4841. -   esac
  4842. -      fi
  4843. -      if test "$with_gnu_ld" = no; then
  4844. -   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  4845. -   _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4846. -
  4847. -   case $host_cpu in
  4848. -   hppa*64*|ia64*)
  4849. -     _LT_TAGVAR(hardcode_direct, $1)=no
  4850. -     _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4851. -     ;;
  4852. -   *)
  4853. -     _LT_TAGVAR(hardcode_direct, $1)=yes
  4854. -     _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4855. -     _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4856. -
  4857. -     # hardcode_minus_L: Not really in the search PATH,
  4858. -     # but as the default location of the library.
  4859. -     _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4860. -     ;;
  4861. -   esac
  4862. -      fi
  4863. -      ;;
  4864. -
  4865. -    irix5* | irix6* | nonstopux*)
  4866. -      if test "$GCC" = yes; then
  4867. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  4868. -   # Try to use the -exported_symbol ld option, if it does not
  4869. -   # work, assume that -exports_file does not work either and
  4870. -   # implicitly export all symbols.
  4871. -        save_LDFLAGS="$LDFLAGS"
  4872. -        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  4873. -        AC_LINK_IFELSE(int foo(void) {},
  4874. -          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  4875. -        )
  4876. -        LDFLAGS="$save_LDFLAGS"
  4877. -      else
  4878. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  4879. -   _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  4880. -      fi
  4881. -      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  4882. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4883. -      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4884. -      _LT_TAGVAR(inherit_rpath, $1)=yes
  4885. -      _LT_TAGVAR(link_all_deplibs, $1)=yes
  4886. -      ;;
  4887. -
  4888. -    netbsd* | netbsdelf*-gnu)
  4889. -      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  4890. -   _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  4891. -      else
  4892. -   _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  4893. -      fi
  4894. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4895. -      _LT_TAGVAR(hardcode_direct, $1)=yes
  4896. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4897. -      ;;
  4898. -
  4899. -    newsos6)
  4900. -      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  4901. -      _LT_TAGVAR(hardcode_direct, $1)=yes
  4902. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4903. -      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4904. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4905. -      ;;
  4906. -
  4907. -    *nto* | *qnx*)
  4908. -      ;;
  4909. -
  4910. -    openbsd*)
  4911. -      if test -f /usr/libexec/ld.so; then
  4912. -   _LT_TAGVAR(hardcode_direct, $1)=yes
  4913. -   _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  4914. -   _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  4915. -   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  4916. -     _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  4917. -     _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  4918. -     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4919. -     _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  4920. -   else
  4921. -     case $host_os in
  4922. -      openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*)
  4923. -        _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  4924. -        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  4925. -        ;;
  4926. -      *)
  4927. -        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  4928. -        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  4929. -        ;;
  4930. -     esac
  4931. -   fi
  4932. -      else
  4933. -   _LT_TAGVAR(ld_shlibs, $1)=no
  4934. -      fi
  4935. -      ;;
  4936. -
  4937. -    os2*)
  4938. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  4939. -      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  4940. -      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  4941. -      _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  4942. -      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  4943. -      ;;
  4944. -
  4945. -    osf3*)
  4946. -      if test "$GCC" = yes; then
  4947. -   _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4948. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  4949. -      else
  4950. -   _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  4951. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  4952. -      fi
  4953. -      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  4954. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4955. -      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4956. -      ;;
  4957. -
  4958. -    osf4* | osf5*) # as osf3* with the addition of -msym flag
  4959. -      if test "$GCC" = yes; then
  4960. -   _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  4961. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  4962. -   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  4963. -      else
  4964. -   _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  4965. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  4966. -   _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  4967. -   $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  4968. -
  4969. -   # Both c and cxx compiler support -rpath directly
  4970. -   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  4971. -      fi
  4972. -      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
  4973. -      _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  4974. -      ;;
  4975. -
  4976. -    solaris*)
  4977. -      _LT_TAGVAR(no_undefined_flag, $1)=' -z defs'
  4978. -      if test "$GCC" = yes; then
  4979. -   wlarc='${wl}'
  4980. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  4981. -   _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  4982. -     $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  4983. -      else
  4984. -   case `$CC -V 2>&1` in
  4985. -   *"Compilers 5.0"*)
  4986. -     wlarc=''
  4987. -     _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  4988. -     _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  4989. -     $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  4990. -     ;;
  4991. -   *)
  4992. -     wlarc='${wl}'
  4993. -     _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  4994. -     _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  4995. -     $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  4996. -     ;;
  4997. -   esac
  4998. -      fi
  4999. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  5000. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5001. -      case $host_os in
  5002. -      solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  5003. -      *)
  5004. -   # The compiler driver will combine and reorder linker options,
  5005. -   # but understands `-z linker_flag'.  GCC discards it without `$wl',
  5006. -   # but is careful enough not to reorder.
  5007. -   # Supported since Solaris 2.6 (maybe 2.5.1?)
  5008. -   if test "$GCC" = yes; then
  5009. -     _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  5010. -   else
  5011. -     _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  5012. -   fi
  5013. -   ;;
  5014. -      esac
  5015. -      _LT_TAGVAR(link_all_deplibs, $1)=yes
  5016. -      ;;
  5017. -
  5018. -    sunos4*)
  5019. -      if test "x$host_vendor" = xsequent; then
  5020. -   # Use $CC to link under sequent, because it throws in some extra .o
  5021. -   # files that make .init and .fini sections work.
  5022. -   _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  5023. -      else
  5024. -   _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  5025. -      fi
  5026. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5027. -      _LT_TAGVAR(hardcode_direct, $1)=yes
  5028. -      _LT_TAGVAR(hardcode_minus_L, $1)=yes
  5029. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5030. -      ;;
  5031. -
  5032. -    sysv4)
  5033. -      case $host_vendor in
  5034. -   sni)
  5035. -     _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5036. -     _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true???
  5037. -   ;;
  5038. -   siemens)
  5039. -     ## LD is ld it makes a PLAMLIB
  5040. -     ## CC just makes a GrossModule.
  5041. -     _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  5042. -     _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs'
  5043. -     _LT_TAGVAR(hardcode_direct, $1)=no
  5044. -        ;;
  5045. -   motorola)
  5046. -     _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5047. -     _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie
  5048. -   ;;
  5049. -      esac
  5050. -      runpath_var='LD_RUN_PATH'
  5051. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5052. -      ;;
  5053. -
  5054. -    sysv4.3*)
  5055. -      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5056. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5057. -      _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport'
  5058. -      ;;
  5059. -
  5060. -    sysv4*MP*)
  5061. -      if test -d /usr/nec; then
  5062. -   _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5063. -   _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5064. -   runpath_var=LD_RUN_PATH
  5065. -   hardcode_runpath_var=yes
  5066. -   _LT_TAGVAR(ld_shlibs, $1)=yes
  5067. -      fi
  5068. -      ;;
  5069. -
  5070. -    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  5071. -      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  5072. -      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5073. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5074. -      runpath_var='LD_RUN_PATH'
  5075. -
  5076. -      if test "$GCC" = yes; then
  5077. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5078. -   _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5079. -      else
  5080. -   _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5081. -   _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5082. -      fi
  5083. -      ;;
  5084. -
  5085. -    sysv5* | sco3.2v5* | sco5v6*)
  5086. -      # Note: We can NOT use -z defs as we might desire, because we do not
  5087. -      # link with -lc, and that would cause any symbols used from libc to
  5088. -      # always be unresolved, which means just about no library would
  5089. -      # ever link correctly.  If we're not using GNU ld we use -z text
  5090. -      # though, which does catch some bad symbols but isn't as heavy-handed
  5091. -      # as -z defs.
  5092. -      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  5093. -      _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  5094. -      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5095. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5096. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  5097. -      _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  5098. -      _LT_TAGVAR(link_all_deplibs, $1)=yes
  5099. -      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  5100. -      runpath_var='LD_RUN_PATH'
  5101. -
  5102. -      if test "$GCC" = yes; then
  5103. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5104. -   _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5105. -      else
  5106. -   _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5107. -   _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  5108. -      fi
  5109. -      ;;
  5110. -
  5111. -    uts4*)
  5112. -      _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  5113. -      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5114. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5115. -      ;;
  5116. -
  5117. -    *)
  5118. -      _LT_TAGVAR(ld_shlibs, $1)=no
  5119. -      ;;
  5120. -    esac
  5121. -
  5122. -    if test x$host_vendor = xsni; then
  5123. -      case $host in
  5124. -      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  5125. -   _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym'
  5126. -   ;;
  5127. -      esac
  5128. -    fi
  5129. -  fi
  5130. -])
  5131. -AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  5132. -test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  5133. -
  5134. -_LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld
  5135. -
  5136. -_LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl
  5137. -_LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl
  5138. -_LT_DECL([], [extract_expsyms_cmds], [2],
  5139. -    [The commands to extract the exported symbol list from a shared archive])
  5140. -
  5141. -#
  5142. -# Do we need to explicitly link libc?
  5143. -#
  5144. -case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in
  5145. -x|xyes)
  5146. -  # Assume -lc should be added
  5147. -  _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  5148. -
  5149. -  if test "$enable_shared" = yes && test "$GCC" = yes; then
  5150. -    case $_LT_TAGVAR(archive_cmds, $1) in
  5151. -    *'~'*)
  5152. -      # FIXME: we may have to deal with multi-command sequences.
  5153. -      ;;
  5154. -    '$CC '*)
  5155. -      # Test whether the compiler implicitly links with -lc since on some
  5156. -      # systems, -lgcc has to come before -lc. If gcc already passes -lc
  5157. -      # to ld, don't add -lc before -lgcc.
  5158. -      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
  5159. -      $RM conftest*
  5160. -      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  5161. -
  5162. -      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
  5163. -        soname=conftest
  5164. -        lib=conftest
  5165. -        libobjs=conftest.$ac_objext
  5166. -        deplibs=
  5167. -        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
  5168. -   pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
  5169. -        compiler_flags=-v
  5170. -        linker_flags=-v
  5171. -        verstring=
  5172. -        output_objdir=.
  5173. -        libname=conftest
  5174. -        lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
  5175. -        _LT_TAGVAR(allow_undefined_flag, $1)=
  5176. -        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
  5177. -        then
  5178. -     _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5179. -        else
  5180. -     _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  5181. -        fi
  5182. -        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
  5183. -      else
  5184. -        cat conftest.err 1>&5
  5185. -      fi
  5186. -      $RM conftest*
  5187. -      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
  5188. -      ;;
  5189. -    esac
  5190. -  fi
  5191. -  ;;
  5192. -esac
  5193. -
  5194. -_LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0],
  5195. -    [Whether or not to add -lc for building shared libraries])
  5196. -_LT_TAGDECL([allow_libtool_libs_with_static_runtimes],
  5197. -    [enable_shared_with_static_runtimes], [0],
  5198. -    [Whether or not to disallow shared libs when runtime libs are static])
  5199. -_LT_TAGDECL([], [export_dynamic_flag_spec], [1],
  5200. -    [Compiler flag to allow reflexive dlopens])
  5201. -_LT_TAGDECL([], [whole_archive_flag_spec], [1],
  5202. -    [Compiler flag to generate shared objects directly from archives])
  5203. -_LT_TAGDECL([], [compiler_needs_object], [1],
  5204. -    [Whether the compiler copes with passing no objects directly])
  5205. -_LT_TAGDECL([], [old_archive_from_new_cmds], [2],
  5206. -    [Create an old-style archive from a shared archive])
  5207. -_LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2],
  5208. -    [Create a temporary old-style archive to link instead of a shared archive])
  5209. -_LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive])
  5210. -_LT_TAGDECL([], [archive_expsym_cmds], [2])
  5211. -_LT_TAGDECL([], [module_cmds], [2],
  5212. -    [Commands used to build a loadable module if different from building
  5213. -    a shared archive.])
  5214. -_LT_TAGDECL([], [module_expsym_cmds], [2])
  5215. -_LT_TAGDECL([], [with_gnu_ld], [1],
  5216. -    [Whether we are building with GNU ld or not])
  5217. -_LT_TAGDECL([], [allow_undefined_flag], [1],
  5218. -    [Flag that allows shared libraries with undefined symbols to be built])
  5219. -_LT_TAGDECL([], [no_undefined_flag], [1],
  5220. -    [Flag that enforces no undefined symbols])
  5221. -_LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
  5222. -    [Flag to hardcode $libdir into a binary during linking.
  5223. -    This must work even if $libdir does not exist])
  5224. -_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
  5225. -    [[If ld is used when linking, flag to hardcode $libdir into a binary
  5226. -    during linking.  This must work even if $libdir does not exist]])
  5227. -_LT_TAGDECL([], [hardcode_libdir_separator], [1],
  5228. -    [Whether we need a single "-rpath" flag with a separated argument])
  5229. -_LT_TAGDECL([], [hardcode_direct], [0],
  5230. -    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  5231. -    DIR into the resulting binary])
  5232. -_LT_TAGDECL([], [hardcode_direct_absolute], [0],
  5233. -    [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes
  5234. -    DIR into the resulting binary and the resulting library dependency is
  5235. -    "absolute", i.e impossible to change by setting ${shlibpath_var} if the
  5236. -    library is relocated])
  5237. -_LT_TAGDECL([], [hardcode_minus_L], [0],
  5238. -    [Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  5239. -    into the resulting binary])
  5240. -_LT_TAGDECL([], [hardcode_shlibpath_var], [0],
  5241. -    [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  5242. -    into the resulting binary])
  5243. -_LT_TAGDECL([], [hardcode_automatic], [0],
  5244. -    [Set to "yes" if building a shared library automatically hardcodes DIR
  5245. -    into the library and all subsequent libraries and executables linked
  5246. -    against it])
  5247. -_LT_TAGDECL([], [inherit_rpath], [0],
  5248. -    [Set to yes if linker adds runtime paths of dependent libraries
  5249. -    to runtime path list])
  5250. -_LT_TAGDECL([], [link_all_deplibs], [0],
  5251. -    [Whether libtool must link a program against all its dependency libraries])
  5252. -_LT_TAGDECL([], [fix_srcfile_path], [1],
  5253. -    [Fix the shell variable $srcfile for the compiler])
  5254. -_LT_TAGDECL([], [always_export_symbols], [0],
  5255. -    [Set to "yes" if exported symbols are required])
  5256. -_LT_TAGDECL([], [export_symbols_cmds], [2],
  5257. -    [The commands to list exported symbols])
  5258. -_LT_TAGDECL([], [exclude_expsyms], [1],
  5259. -    [Symbols that should not be listed in the preloaded symbols])
  5260. -_LT_TAGDECL([], [include_expsyms], [1],
  5261. -    [Symbols that must always be exported])
  5262. -_LT_TAGDECL([], [prelink_cmds], [2],
  5263. -    [Commands necessary for linking programs (against libraries) with templates])
  5264. -_LT_TAGDECL([], [file_list_spec], [1],
  5265. -    [Specify filename containing input files])
  5266. -dnl FIXME: Not yet implemented
  5267. -dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1],
  5268. -dnl    [Compiler flag to generate thread safe objects])
  5269. -])# _LT_LINKER_SHLIBS
  5270. -
  5271. -
  5272. -# _LT_LANG_C_CONFIG([TAG])
  5273. -# ------------------------
  5274. -# Ensure that the configuration variables for a C compiler are suitably
  5275. -# defined.  These variables are subsequently used by _LT_CONFIG to write
  5276. -# the compiler configuration to `libtool'.
  5277. -m4_defun([_LT_LANG_C_CONFIG],
  5278. -[m4_require([_LT_DECL_EGREP])dnl
  5279. -lt_save_CC="$CC"
  5280. -AC_LANG_PUSH(C)
  5281. -
  5282. -# Source file extension for C test sources.
  5283. -ac_ext=c
  5284. -
  5285. -# Object file extension for compiled C test sources.
  5286. -objext=o
  5287. -_LT_TAGVAR(objext, $1)=$objext
  5288. -
  5289. -# Code to be used in simple compile tests
  5290. -lt_simple_compile_test_code="int some_variable = 0;"
  5291. -
  5292. -# Code to be used in simple link tests
  5293. -lt_simple_link_test_code='int main(){return(0);}'
  5294. -
  5295. -_LT_TAG_COMPILER
  5296. -# Save the default compiler, since it gets overwritten when the other
  5297. -# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  5298. -compiler_DEFAULT=$CC
  5299. -
  5300. -# save warnings/boilerplate of simple test code
  5301. -_LT_COMPILER_BOILERPLATE
  5302. -_LT_LINKER_BOILERPLATE
  5303. -
  5304. -if test -n "$compiler"; then
  5305. -  _LT_COMPILER_NO_RTTI($1)
  5306. -  _LT_COMPILER_PIC($1)
  5307. -  _LT_COMPILER_C_O($1)
  5308. -  _LT_COMPILER_FILE_LOCKS($1)
  5309. -  _LT_LINKER_SHLIBS($1)
  5310. -  _LT_SYS_DYNAMIC_LINKER($1)
  5311. -  _LT_LINKER_HARDCODE_LIBPATH($1)
  5312. -  LT_SYS_DLOPEN_SELF
  5313. -  _LT_CMD_STRIPLIB
  5314. -
  5315. -  # Report which library types will actually be built
  5316. -  AC_MSG_CHECKING([if libtool supports shared libraries])
  5317. -  AC_MSG_RESULT([$can_build_shared])
  5318. -
  5319. -  AC_MSG_CHECKING([whether to build shared libraries])
  5320. -  test "$can_build_shared" = "no" && enable_shared=no
  5321. -
  5322. -  # On AIX, shared libraries and static libraries use the same namespace, and
  5323. -  # are all built from PIC.
  5324. -  case $host_os in
  5325. -  aix3*)
  5326. -    test "$enable_shared" = yes && enable_static=no
  5327. -    if test -n "$RANLIB"; then
  5328. -      archive_cmds="$archive_cmds~\$RANLIB \$lib"
  5329. -      postinstall_cmds='$RANLIB $lib'
  5330. -    fi
  5331. -    ;;
  5332. -
  5333. -  aix[[4-9]]*)
  5334. -    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  5335. -      test "$enable_shared" = yes && enable_static=no
  5336. -    fi
  5337. -    ;;
  5338. -  esac
  5339. -  AC_MSG_RESULT([$enable_shared])
  5340. -
  5341. -  AC_MSG_CHECKING([whether to build static libraries])
  5342. -  # Make sure either enable_shared or enable_static is yes.
  5343. -  test "$enable_shared" = yes || enable_static=yes
  5344. -  AC_MSG_RESULT([$enable_static])
  5345. -
  5346. -  _LT_CONFIG($1)
  5347. -fi
  5348. -AC_LANG_POP
  5349. -CC="$lt_save_CC"
  5350. -])# _LT_LANG_C_CONFIG
  5351. -
  5352. -
  5353. -# _LT_PROG_CXX
  5354. -# ------------
  5355. -# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
  5356. -# compiler, we have our own version here.
  5357. -m4_defun([_LT_PROG_CXX],
  5358. -[
  5359. -pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
  5360. -AC_PROG_CXX
  5361. -if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  5362. -    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  5363. -    (test "X$CXX" != "Xg++"))) ; then
  5364. -  AC_PROG_CXXCPP
  5365. -else
  5366. -  _lt_caught_CXX_error=yes
  5367. -fi
  5368. -popdef([AC_MSG_ERROR])
  5369. -])# _LT_PROG_CXX
  5370. -
  5371. -dnl aclocal-1.4 backwards compatibility:
  5372. -dnl AC_DEFUN([_LT_PROG_CXX], [])
  5373. -
  5374. -
  5375. -# _LT_LANG_CXX_CONFIG([TAG])
  5376. -# --------------------------
  5377. -# Ensure that the configuration variables for a C++ compiler are suitably
  5378. -# defined.  These variables are subsequently used by _LT_CONFIG to write
  5379. -# the compiler configuration to `libtool'.
  5380. -m4_defun([_LT_LANG_CXX_CONFIG],
  5381. -[AC_REQUIRE([_LT_PROG_CXX])dnl
  5382. -m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  5383. -m4_require([_LT_DECL_EGREP])dnl
  5384. -
  5385. -AC_LANG_PUSH(C++)
  5386. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5387. -_LT_TAGVAR(allow_undefined_flag, $1)=
  5388. -_LT_TAGVAR(always_export_symbols, $1)=no
  5389. -_LT_TAGVAR(archive_expsym_cmds, $1)=
  5390. -_LT_TAGVAR(compiler_needs_object, $1)=no
  5391. -_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  5392. -_LT_TAGVAR(hardcode_direct, $1)=no
  5393. -_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  5394. -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  5395. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  5396. -_LT_TAGVAR(hardcode_libdir_separator, $1)=
  5397. -_LT_TAGVAR(hardcode_minus_L, $1)=no
  5398. -_LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
  5399. -_LT_TAGVAR(hardcode_automatic, $1)=no
  5400. -_LT_TAGVAR(inherit_rpath, $1)=no
  5401. -_LT_TAGVAR(module_cmds, $1)=
  5402. -_LT_TAGVAR(module_expsym_cmds, $1)=
  5403. -_LT_TAGVAR(link_all_deplibs, $1)=unknown
  5404. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  5405. -_LT_TAGVAR(no_undefined_flag, $1)=
  5406. -_LT_TAGVAR(whole_archive_flag_spec, $1)=
  5407. -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  5408. -
  5409. -# Source file extension for C++ test sources.
  5410. -ac_ext=cpp
  5411. -
  5412. -# Object file extension for compiled C++ test sources.
  5413. -objext=o
  5414. -_LT_TAGVAR(objext, $1)=$objext
  5415. -
  5416. -# No sense in running all these tests if we already determined that
  5417. -# the CXX compiler isn't working.  Some variables (like enable_shared)
  5418. -# are currently assumed to apply to all compilers on this platform,
  5419. -# and will be corrupted by setting them based on a non-working compiler.
  5420. -if test "$_lt_caught_CXX_error" != yes; then
  5421. -  # Code to be used in simple compile tests
  5422. -  lt_simple_compile_test_code="int some_variable = 0;"
  5423. -
  5424. -  # Code to be used in simple link tests
  5425. -  lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }'
  5426. -
  5427. -  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  5428. -  _LT_TAG_COMPILER
  5429. -
  5430. -  # save warnings/boilerplate of simple test code
  5431. -  _LT_COMPILER_BOILERPLATE
  5432. -  _LT_LINKER_BOILERPLATE
  5433. -
  5434. -  # Allow CC to be a program name with arguments.
  5435. -  lt_save_CC=$CC
  5436. -  lt_save_LD=$LD
  5437. -  lt_save_GCC=$GCC
  5438. -  GCC=$GXX
  5439. -  lt_save_with_gnu_ld=$with_gnu_ld
  5440. -  lt_save_path_LD=$lt_cv_path_LD
  5441. -  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
  5442. -    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
  5443. -  else
  5444. -    $as_unset lt_cv_prog_gnu_ld
  5445. -  fi
  5446. -  if test -n "${lt_cv_path_LDCXX+set}"; then
  5447. -    lt_cv_path_LD=$lt_cv_path_LDCXX
  5448. -  else
  5449. -    $as_unset lt_cv_path_LD
  5450. -  fi
  5451. -  test -z "${LDCXX+set}" || LD=$LDCXX
  5452. -  CC=${CXX-"c++"}
  5453. -  compiler=$CC
  5454. -  _LT_TAGVAR(compiler, $1)=$CC
  5455. -  _LT_CC_BASENAME([$compiler])
  5456. -
  5457. -  if test -n "$compiler"; then
  5458. -    # We don't want -fno-exception when compiling C++ code, so set the
  5459. -    # no_builtin_flag separately
  5460. -    if test "$GXX" = yes; then
  5461. -      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
  5462. -    else
  5463. -      _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
  5464. -    fi
  5465. -
  5466. -    if test "$GXX" = yes; then
  5467. -      # Set up default GNU C++ configuration
  5468. -
  5469. -      LT_PATH_LD
  5470. -
  5471. -      # Check if GNU C++ uses GNU ld as the underlying linker, since the
  5472. -      # archiving commands below assume that GNU ld is being used.
  5473. -      if test "$with_gnu_ld" = yes; then
  5474. -        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5475. -        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  5476. -
  5477. -        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5478. -        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5479. -
  5480. -        # If archive_cmds runs LD, not CC, wlarc should be empty
  5481. -        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
  5482. -        #     investigate it a little bit more. (MM)
  5483. -        wlarc='${wl}'
  5484. -
  5485. -        # ancient GNU ld didn't support --whole-archive et. al.
  5486. -        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
  5487. -     $GREP 'no-whole-archive' > /dev/null; then
  5488. -          _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  5489. -        else
  5490. -          _LT_TAGVAR(whole_archive_flag_spec, $1)=
  5491. -        fi
  5492. -      else
  5493. -        with_gnu_ld=no
  5494. -        wlarc=
  5495. -
  5496. -        # A generic and very simple default shared library creation
  5497. -        # command for GNU C++ for the case where it uses the native
  5498. -        # linker, instead of GNU ld.  If possible, this setting should
  5499. -        # overridden to take advantage of the native linker features on
  5500. -        # the platform it is being used on.
  5501. -        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  5502. -      fi
  5503. -
  5504. -      # Commands to make compiler produce verbose output that lists
  5505. -      # what "hidden" libraries, object files and flags are used when
  5506. -      # linking a shared library.
  5507. -      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  5508. -
  5509. -    else
  5510. -      GXX=no
  5511. -      with_gnu_ld=no
  5512. -      wlarc=
  5513. -    fi
  5514. -
  5515. -    # PORTME: fill in a description of your system's C++ link characteristics
  5516. -    AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries])
  5517. -    _LT_TAGVAR(ld_shlibs, $1)=yes
  5518. -    case $host_os in
  5519. -      aix3*)
  5520. -        # FIXME: insert proper C++ library support
  5521. -        _LT_TAGVAR(ld_shlibs, $1)=no
  5522. -        ;;
  5523. -      aix[[4-9]]*)
  5524. -        if test "$host_cpu" = ia64; then
  5525. -          # On IA64, the linker does run time linking by default, so we don't
  5526. -          # have to do anything special.
  5527. -          aix_use_runtimelinking=no
  5528. -          exp_sym_flag='-Bexport'
  5529. -          no_entry_flag=""
  5530. -        else
  5531. -          aix_use_runtimelinking=no
  5532. -
  5533. -          # Test if we are trying to use run time linking or normal
  5534. -          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  5535. -          # need to do runtime linking.
  5536. -          case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
  5537. -       for ld_flag in $LDFLAGS; do
  5538. -         case $ld_flag in
  5539. -         *-brtl*)
  5540. -           aix_use_runtimelinking=yes
  5541. -           break
  5542. -           ;;
  5543. -         esac
  5544. -       done
  5545. -       ;;
  5546. -          esac
  5547. -
  5548. -          exp_sym_flag='-bexport'
  5549. -          no_entry_flag='-bnoentry'
  5550. -        fi
  5551. -
  5552. -        # When large executables or shared objects are built, AIX ld can
  5553. -        # have problems creating the table of contents.  If linking a library
  5554. -        # or program results in "error TOC overflow" add -mminimal-toc to
  5555. -        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  5556. -        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  5557. -
  5558. -        _LT_TAGVAR(archive_cmds, $1)=''
  5559. -        _LT_TAGVAR(hardcode_direct, $1)=yes
  5560. -        _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  5561. -        _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  5562. -        _LT_TAGVAR(link_all_deplibs, $1)=yes
  5563. -        _LT_TAGVAR(file_list_spec, $1)='${wl}-f,'
  5564. -
  5565. -        if test "$GXX" = yes; then
  5566. -          case $host_os in aix4.[[012]]|aix4.[[012]].*)
  5567. -          # We only want to do this on AIX 4.2 and lower, the check
  5568. -          # below for broken collect2 doesn't work under 4.3+
  5569. -     collect2name=`${CC} -print-prog-name=collect2`
  5570. -     if test -f "$collect2name" &&
  5571. -        strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  5572. -     then
  5573. -       # We have reworked collect2
  5574. -       :
  5575. -     else
  5576. -       # We have old collect2
  5577. -       _LT_TAGVAR(hardcode_direct, $1)=unsupported
  5578. -       # It fails to find uninstalled libraries when the uninstalled
  5579. -       # path is not listed in the libpath.  Setting hardcode_minus_L
  5580. -       # to unsupported forces relinking
  5581. -       _LT_TAGVAR(hardcode_minus_L, $1)=yes
  5582. -       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5583. -       _LT_TAGVAR(hardcode_libdir_separator, $1)=
  5584. -     fi
  5585. -          esac
  5586. -          shared_flag='-shared'
  5587. -     if test "$aix_use_runtimelinking" = yes; then
  5588. -       shared_flag="$shared_flag "'${wl}-G'
  5589. -     fi
  5590. -        else
  5591. -          # not using gcc
  5592. -          if test "$host_cpu" = ia64; then
  5593. -     # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  5594. -     # chokes on -Wl,-G. The following line is correct:
  5595. -     shared_flag='-G'
  5596. -          else
  5597. -       if test "$aix_use_runtimelinking" = yes; then
  5598. -         shared_flag='${wl}-G'
  5599. -       else
  5600. -         shared_flag='${wl}-bM:SRE'
  5601. -       fi
  5602. -          fi
  5603. -        fi
  5604. -
  5605. -        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall'
  5606. -        # It seems that -bexpall does not export symbols beginning with
  5607. -        # underscore (_), so it is better to generate a list of symbols to
  5608. -   # export.
  5609. -        _LT_TAGVAR(always_export_symbols, $1)=yes
  5610. -        if test "$aix_use_runtimelinking" = yes; then
  5611. -          # Warning - without using the other runtime loading flags (-brtl),
  5612. -          # -berok will link without error, but may produce a broken library.
  5613. -          _LT_TAGVAR(allow_undefined_flag, $1)='-berok'
  5614. -          # Determine the default libpath from the value encoded in an empty
  5615. -          # executable.
  5616. -          _LT_SYS_MODULE_PATH_AIX
  5617. -          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  5618. -
  5619. -          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  5620. -        else
  5621. -          if test "$host_cpu" = ia64; then
  5622. -       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
  5623. -       _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs"
  5624. -       _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  5625. -          else
  5626. -       # Determine the default libpath from the value encoded in an
  5627. -       # empty executable.
  5628. -       _LT_SYS_MODULE_PATH_AIX
  5629. -       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
  5630. -       # Warning - without using the other run time loading flags,
  5631. -       # -berok will link without error, but may produce a broken library.
  5632. -       _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
  5633. -       _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
  5634. -       # Exported symbols can be pulled into shared objects from archives
  5635. -       _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
  5636. -       _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
  5637. -       # This is similar to how AIX traditionally builds its shared
  5638. -       # libraries.
  5639. -       _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  5640. -          fi
  5641. -        fi
  5642. -        ;;
  5643. -
  5644. -      beos*)
  5645. -   if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  5646. -     _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  5647. -     # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  5648. -     # support --undefined.  This deserves some investigation.  FIXME
  5649. -     _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5650. -   else
  5651. -     _LT_TAGVAR(ld_shlibs, $1)=no
  5652. -   fi
  5653. -   ;;
  5654. -
  5655. -      chorus*)
  5656. -        case $cc_basename in
  5657. -          *)
  5658. -     # FIXME: insert proper C++ library support
  5659. -     _LT_TAGVAR(ld_shlibs, $1)=no
  5660. -     ;;
  5661. -        esac
  5662. -        ;;
  5663. -
  5664. -      cygwin* | mingw* | pw32* | cegcc*)
  5665. -        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
  5666. -        # as there is no search path for DLLs.
  5667. -        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
  5668. -        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
  5669. -        _LT_TAGVAR(always_export_symbols, $1)=no
  5670. -        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
  5671. -
  5672. -        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  5673. -          _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  5674. -          # If the export-symbols file already is a .def file (1st line
  5675. -          # is EXPORTS), use it as is; otherwise, prepend...
  5676. -          _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  5677. -       cp $export_symbols $output_objdir/$soname.def;
  5678. -          else
  5679. -       echo EXPORTS > $output_objdir/$soname.def;
  5680. -       cat $export_symbols >> $output_objdir/$soname.def;
  5681. -          fi~
  5682. -          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  5683. -        else
  5684. -          _LT_TAGVAR(ld_shlibs, $1)=no
  5685. -        fi
  5686. -        ;;
  5687. -      darwin* | rhapsody*)
  5688. -        _LT_DARWIN_LINKER_FEATURES($1)
  5689. -   ;;
  5690. -
  5691. -      dgux*)
  5692. -        case $cc_basename in
  5693. -          ec++*)
  5694. -       # FIXME: insert proper C++ library support
  5695. -       _LT_TAGVAR(ld_shlibs, $1)=no
  5696. -       ;;
  5697. -          ghcx*)
  5698. -       # Green Hills C++ Compiler
  5699. -       # FIXME: insert proper C++ library support
  5700. -       _LT_TAGVAR(ld_shlibs, $1)=no
  5701. -       ;;
  5702. -          *)
  5703. -       # FIXME: insert proper C++ library support
  5704. -       _LT_TAGVAR(ld_shlibs, $1)=no
  5705. -       ;;
  5706. -        esac
  5707. -        ;;
  5708. -
  5709. -      freebsd[[12]]*)
  5710. -        # C++ shared libraries reported to be fairly broken before
  5711. -   # switch to ELF
  5712. -        _LT_TAGVAR(ld_shlibs, $1)=no
  5713. -        ;;
  5714. -
  5715. -      freebsd-elf*)
  5716. -        _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5717. -        ;;
  5718. -
  5719. -      freebsd* | dragonfly*)
  5720. -        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
  5721. -        # conventions
  5722. -        _LT_TAGVAR(ld_shlibs, $1)=yes
  5723. -        ;;
  5724. -
  5725. -      gnu*)
  5726. -        ;;
  5727. -
  5728. -      hpux9*)
  5729. -        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  5730. -        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5731. -        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5732. -        _LT_TAGVAR(hardcode_direct, $1)=yes
  5733. -        _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  5734. -                            # but as the default
  5735. -                            # location of the library.
  5736. -
  5737. -        case $cc_basename in
  5738. -          CC*)
  5739. -            # FIXME: insert proper C++ library support
  5740. -            _LT_TAGVAR(ld_shlibs, $1)=no
  5741. -            ;;
  5742. -          aCC*)
  5743. -            _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  5744. -            # Commands to make compiler produce verbose output that lists
  5745. -            # what "hidden" libraries, object files and flags are used when
  5746. -            # linking a shared library.
  5747. -            #
  5748. -            # There doesn't appear to be a way to prevent this compiler from
  5749. -            # explicitly linking system object files so we need to strip them
  5750. -            # from the output so that they don't get included in the library
  5751. -            # dependencies.
  5752. -            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  5753. -            ;;
  5754. -          *)
  5755. -            if test "$GXX" = yes; then
  5756. -              _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  5757. -            else
  5758. -              # FIXME: insert proper C++ library support
  5759. -              _LT_TAGVAR(ld_shlibs, $1)=no
  5760. -            fi
  5761. -            ;;
  5762. -        esac
  5763. -        ;;
  5764. -
  5765. -      hpux10*|hpux11*)
  5766. -        if test $with_gnu_ld = no; then
  5767. -     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
  5768. -     _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5769. -
  5770. -          case $host_cpu in
  5771. -            hppa*64*|ia64*)
  5772. -              ;;
  5773. -            *)
  5774. -         _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5775. -              ;;
  5776. -          esac
  5777. -        fi
  5778. -        case $host_cpu in
  5779. -          hppa*64*|ia64*)
  5780. -            _LT_TAGVAR(hardcode_direct, $1)=no
  5781. -            _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5782. -            ;;
  5783. -          *)
  5784. -            _LT_TAGVAR(hardcode_direct, $1)=yes
  5785. -            _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  5786. -            _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH,
  5787. -                            # but as the default
  5788. -                            # location of the library.
  5789. -            ;;
  5790. -        esac
  5791. -
  5792. -        case $cc_basename in
  5793. -          CC*)
  5794. -       # FIXME: insert proper C++ library support
  5795. -       _LT_TAGVAR(ld_shlibs, $1)=no
  5796. -       ;;
  5797. -          aCC*)
  5798. -       case $host_cpu in
  5799. -         hppa*64*)
  5800. -           _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5801. -           ;;
  5802. -         ia64*)
  5803. -           _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5804. -           ;;
  5805. -         *)
  5806. -           _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5807. -           ;;
  5808. -       esac
  5809. -       # Commands to make compiler produce verbose output that lists
  5810. -       # what "hidden" libraries, object files and flags are used when
  5811. -       # linking a shared library.
  5812. -       #
  5813. -       # There doesn't appear to be a way to prevent this compiler from
  5814. -       # explicitly linking system object files so we need to strip them
  5815. -       # from the output so that they don't get included in the library
  5816. -       # dependencies.
  5817. -       output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  5818. -       ;;
  5819. -          *)
  5820. -       if test "$GXX" = yes; then
  5821. -         if test $with_gnu_ld = no; then
  5822. -           case $host_cpu in
  5823. -             hppa*64*)
  5824. -               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5825. -               ;;
  5826. -             ia64*)
  5827. -               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5828. -               ;;
  5829. -             *)
  5830. -               _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  5831. -               ;;
  5832. -           esac
  5833. -         fi
  5834. -       else
  5835. -         # FIXME: insert proper C++ library support
  5836. -         _LT_TAGVAR(ld_shlibs, $1)=no
  5837. -       fi
  5838. -       ;;
  5839. -        esac
  5840. -        ;;
  5841. -
  5842. -      interix[[3-9]]*)
  5843. -   _LT_TAGVAR(hardcode_direct, $1)=no
  5844. -   _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  5845. -   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5846. -   _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  5847. -   # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  5848. -   # Instead, shared libraries are loaded at an image base (0x10000000 by
  5849. -   # default) and relocated if they conflict, which is a slow very memory
  5850. -   # consuming and fragmenting process.  To avoid this, we pick a random,
  5851. -   # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  5852. -   # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  5853. -   _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  5854. -   _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  5855. -   ;;
  5856. -      irix5* | irix6*)
  5857. -        case $cc_basename in
  5858. -          CC*)
  5859. -       # SGI C++
  5860. -       _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  5861. -
  5862. -       # Archives containing C++ object files must be created using
  5863. -       # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
  5864. -       # necessary to make sure instantiated templates are included
  5865. -       # in the archive.
  5866. -       _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs'
  5867. -       ;;
  5868. -          *)
  5869. -       if test "$GXX" = yes; then
  5870. -         if test "$with_gnu_ld" = no; then
  5871. -           _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  5872. -         else
  5873. -           _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
  5874. -         fi
  5875. -       fi
  5876. -       _LT_TAGVAR(link_all_deplibs, $1)=yes
  5877. -       ;;
  5878. -        esac
  5879. -        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5880. -        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5881. -        _LT_TAGVAR(inherit_rpath, $1)=yes
  5882. -        ;;
  5883. -
  5884. -      linux* | k*bsd*-gnu | kopensolaris*-gnu)
  5885. -        case $cc_basename in
  5886. -          KCC*)
  5887. -       # Kuck and Associates, Inc. (KAI) C++ Compiler
  5888. -
  5889. -       # KCC will only create a shared library if the output file
  5890. -       # ends with ".so" (or ".sl" for HP-UX), so rename the library
  5891. -       # to its proper name (with version) after linking.
  5892. -       _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  5893. -       _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
  5894. -       # Commands to make compiler produce verbose output that lists
  5895. -       # what "hidden" libraries, object files and flags are used when
  5896. -       # linking a shared library.
  5897. -       #
  5898. -       # There doesn't appear to be a way to prevent this compiler from
  5899. -       # explicitly linking system object files so we need to strip them
  5900. -       # from the output so that they don't get included in the library
  5901. -       # dependencies.
  5902. -       output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  5903. -
  5904. -       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5905. -       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5906. -
  5907. -       # Archives containing C++ object files must be created using
  5908. -       # "CC -Bstatic", where "CC" is the KAI C++ compiler.
  5909. -       _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs'
  5910. -       ;;
  5911. -     icpc* | ecpc* )
  5912. -       # Intel C++
  5913. -       with_gnu_ld=yes
  5914. -       # version 8.0 and above of icpc choke on multiply defined symbols
  5915. -       # if we add $predep_objects and $postdep_objects, however 7.1 and
  5916. -       # earlier do not add the objects themselves.
  5917. -       case `$CC -V 2>&1` in
  5918. -         *"Version 7."*)
  5919. -           _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5920. -       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  5921. -       ;;
  5922. -         *)  # Version 8.0 or newer
  5923. -           tmp_idyn=
  5924. -           case $host_cpu in
  5925. -         ia64*) tmp_idyn=' -i_dynamic';;
  5926. -       esac
  5927. -           _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5928. -       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  5929. -       ;;
  5930. -       esac
  5931. -       _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  5932. -       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  5933. -       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5934. -       _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  5935. -       ;;
  5936. -          pgCC* | pgcpp*)
  5937. -            # Portland Group C++ compiler
  5938. -       case `$CC -V` in
  5939. -       *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
  5940. -         _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
  5941. -       rm -rf $tpldir~
  5942. -       $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
  5943. -       compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
  5944. -         _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
  5945. -       rm -rf $tpldir~
  5946. -       $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
  5947. -       $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
  5948. -       $RANLIB $oldlib'
  5949. -         _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
  5950. -       rm -rf $tpldir~
  5951. -       $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  5952. -       $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  5953. -         _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
  5954. -       rm -rf $tpldir~
  5955. -       $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
  5956. -       $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  5957. -         ;;
  5958. -       *) # Version 6 will use weak symbols
  5959. -         _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
  5960. -         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
  5961. -         ;;
  5962. -       esac
  5963. -
  5964. -       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
  5965. -       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5966. -       _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  5967. -            ;;
  5968. -     cxx*)
  5969. -       # Compaq C++
  5970. -       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5971. -       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
  5972. -
  5973. -       runpath_var=LD_RUN_PATH
  5974. -       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  5975. -       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  5976. -
  5977. -       # Commands to make compiler produce verbose output that lists
  5978. -       # what "hidden" libraries, object files and flags are used when
  5979. -       # linking a shared library.
  5980. -       #
  5981. -       # There doesn't appear to be a way to prevent this compiler from
  5982. -       # explicitly linking system object files so we need to strip them
  5983. -       # from the output so that they don't get included in the library
  5984. -       # dependencies.
  5985. -       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  5986. -       ;;
  5987. -     xl*)
  5988. -       # IBM XL 8.0 on PPC, with GNU ld
  5989. -       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  5990. -       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
  5991. -       _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  5992. -       if test "x$supports_anon_versioning" = xyes; then
  5993. -         _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
  5994. -       cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  5995. -       echo "local: *; };" >> $output_objdir/$libname.ver~
  5996. -       $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  5997. -       fi
  5998. -       ;;
  5999. -     *)
  6000. -       case `$CC -V 2>&1 | sed 5q` in
  6001. -       *Sun\ C*)
  6002. -         # Sun C++ 5.9
  6003. -         _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  6004. -         _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  6005. -         _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
  6006. -         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6007. -         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  6008. -         _LT_TAGVAR(compiler_needs_object, $1)=yes
  6009. -
  6010. -         # Not sure whether something based on
  6011. -         # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
  6012. -         # would be better.
  6013. -         output_verbose_link_cmd='echo'
  6014. -
  6015. -         # Archives containing C++ object files must be created using
  6016. -         # "CC -xar", where "CC" is the Sun C++ compiler.  This is
  6017. -         # necessary to make sure instantiated templates are included
  6018. -         # in the archive.
  6019. -         _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  6020. -         ;;
  6021. -       esac
  6022. -       ;;
  6023. -   esac
  6024. -   ;;
  6025. -
  6026. -      lynxos*)
  6027. -        # FIXME: insert proper C++ library support
  6028. -   _LT_TAGVAR(ld_shlibs, $1)=no
  6029. -   ;;
  6030. -
  6031. -      m88k*)
  6032. -        # FIXME: insert proper C++ library support
  6033. -        _LT_TAGVAR(ld_shlibs, $1)=no
  6034. -   ;;
  6035. -
  6036. -      mvs*)
  6037. -        case $cc_basename in
  6038. -          cxx*)
  6039. -       # FIXME: insert proper C++ library support
  6040. -       _LT_TAGVAR(ld_shlibs, $1)=no
  6041. -       ;;
  6042. -     *)
  6043. -       # FIXME: insert proper C++ library support
  6044. -       _LT_TAGVAR(ld_shlibs, $1)=no
  6045. -       ;;
  6046. -   esac
  6047. -   ;;
  6048. -
  6049. -      netbsd*)
  6050. -        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  6051. -     _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
  6052. -     wlarc=
  6053. -     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6054. -     _LT_TAGVAR(hardcode_direct, $1)=yes
  6055. -     _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6056. -   fi
  6057. -   # Workaround some broken pre-1.5 toolchains
  6058. -   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
  6059. -   ;;
  6060. -
  6061. -      *nto* | *qnx*)
  6062. -        _LT_TAGVAR(ld_shlibs, $1)=yes
  6063. -   ;;
  6064. -
  6065. -      openbsd2*)
  6066. -        # C++ shared libraries are fairly broken
  6067. -   _LT_TAGVAR(ld_shlibs, $1)=no
  6068. -   ;;
  6069. -
  6070. -      openbsd*)
  6071. -   if test -f /usr/libexec/ld.so; then
  6072. -     _LT_TAGVAR(hardcode_direct, $1)=yes
  6073. -     _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6074. -     _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
  6075. -     _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
  6076. -     _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6077. -     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  6078. -       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
  6079. -       _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
  6080. -       _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  6081. -     fi
  6082. -     output_verbose_link_cmd=echo
  6083. -   else
  6084. -     _LT_TAGVAR(ld_shlibs, $1)=no
  6085. -   fi
  6086. -   ;;
  6087. -
  6088. -      osf3* | osf4* | osf5*)
  6089. -        case $cc_basename in
  6090. -          KCC*)
  6091. -       # Kuck and Associates, Inc. (KAI) C++ Compiler
  6092. -
  6093. -       # KCC will only create a shared library if the output file
  6094. -       # ends with ".so" (or ".sl" for HP-UX), so rename the library
  6095. -       # to its proper name (with version) after linking.
  6096. -       _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
  6097. -
  6098. -       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
  6099. -       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6100. -
  6101. -       # Archives containing C++ object files must be created using
  6102. -       # the KAI C++ compiler.
  6103. -       case $host in
  6104. -         osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;;
  6105. -         *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;;
  6106. -       esac
  6107. -       ;;
  6108. -          RCC*)
  6109. -       # Rational C++ 2.4.1
  6110. -       # FIXME: insert proper C++ library support
  6111. -       _LT_TAGVAR(ld_shlibs, $1)=no
  6112. -       ;;
  6113. -          cxx*)
  6114. -       case $host in
  6115. -         osf3*)
  6116. -           _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6117. -           _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  6118. -           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6119. -       ;;
  6120. -         *)
  6121. -           _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
  6122. -           _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  6123. -           _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
  6124. -             echo "-hidden">> $lib.exp~
  6125. -             $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
  6126. -             $RM $lib.exp'
  6127. -           _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
  6128. -       ;;
  6129. -       esac
  6130. -
  6131. -       _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6132. -
  6133. -       # Commands to make compiler produce verbose output that lists
  6134. -       # what "hidden" libraries, object files and flags are used when
  6135. -       # linking a shared library.
  6136. -       #
  6137. -       # There doesn't appear to be a way to prevent this compiler from
  6138. -       # explicitly linking system object files so we need to strip them
  6139. -       # from the output so that they don't get included in the library
  6140. -       # dependencies.
  6141. -       output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
  6142. -       ;;
  6143. -     *)
  6144. -       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  6145. -         _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
  6146. -         case $host in
  6147. -           osf3*)
  6148. -             _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  6149. -         ;;
  6150. -           *)
  6151. -             _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  6152. -         ;;
  6153. -         esac
  6154. -
  6155. -         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
  6156. -         _LT_TAGVAR(hardcode_libdir_separator, $1)=:
  6157. -
  6158. -         # Commands to make compiler produce verbose output that lists
  6159. -         # what "hidden" libraries, object files and flags are used when
  6160. -         # linking a shared library.
  6161. -         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  6162. -
  6163. -       else
  6164. -         # FIXME: insert proper C++ library support
  6165. -         _LT_TAGVAR(ld_shlibs, $1)=no
  6166. -       fi
  6167. -       ;;
  6168. -        esac
  6169. -        ;;
  6170. -
  6171. -      psos*)
  6172. -        # FIXME: insert proper C++ library support
  6173. -        _LT_TAGVAR(ld_shlibs, $1)=no
  6174. -        ;;
  6175. -
  6176. -      sunos4*)
  6177. -        case $cc_basename in
  6178. -          CC*)
  6179. -       # Sun C++ 4.x
  6180. -       # FIXME: insert proper C++ library support
  6181. -       _LT_TAGVAR(ld_shlibs, $1)=no
  6182. -       ;;
  6183. -          lcc*)
  6184. -       # Lucid
  6185. -       # FIXME: insert proper C++ library support
  6186. -       _LT_TAGVAR(ld_shlibs, $1)=no
  6187. -       ;;
  6188. -          *)
  6189. -       # FIXME: insert proper C++ library support
  6190. -       _LT_TAGVAR(ld_shlibs, $1)=no
  6191. -       ;;
  6192. -        esac
  6193. -        ;;
  6194. -
  6195. -      solaris*)
  6196. -        case $cc_basename in
  6197. -          CC*)
  6198. -       # Sun C++ 4.2, 5.x and Centerline C++
  6199. -            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
  6200. -       _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
  6201. -       _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
  6202. -       _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6203. -         $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  6204. -
  6205. -       _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
  6206. -       _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6207. -       case $host_os in
  6208. -         solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  6209. -         *)
  6210. -       # The compiler driver will combine and reorder linker options,
  6211. -       # but understands `-z linker_flag'.
  6212. -           # Supported since Solaris 2.6 (maybe 2.5.1?)
  6213. -       _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract'
  6214. -           ;;
  6215. -       esac
  6216. -       _LT_TAGVAR(link_all_deplibs, $1)=yes
  6217. -
  6218. -       output_verbose_link_cmd='echo'
  6219. -
  6220. -       # Archives containing C++ object files must be created using
  6221. -       # "CC -xar", where "CC" is the Sun C++ compiler.  This is
  6222. -       # necessary to make sure instantiated templates are included
  6223. -       # in the archive.
  6224. -       _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs'
  6225. -       ;;
  6226. -          gcx*)
  6227. -       # Green Hills C++ Compiler
  6228. -       _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  6229. -
  6230. -       # The C++ compiler must be used to create the archive.
  6231. -       _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
  6232. -       ;;
  6233. -          *)
  6234. -       # GNU C++ compiler with Solaris linker
  6235. -       if test "$GXX" = yes && test "$with_gnu_ld" = no; then
  6236. -         _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs'
  6237. -         if $CC --version | $GREP -v '^2\.7' > /dev/null; then
  6238. -           _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  6239. -           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6240. -         $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  6241. -
  6242. -           # Commands to make compiler produce verbose output that lists
  6243. -           # what "hidden" libraries, object files and flags are used when
  6244. -           # linking a shared library.
  6245. -           output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  6246. -         else
  6247. -           # g++ 2.7 appears to require `-G' NOT `-shared' on this
  6248. -           # platform.
  6249. -           _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
  6250. -           _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  6251. -         $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
  6252. -
  6253. -           # Commands to make compiler produce verbose output that lists
  6254. -           # what "hidden" libraries, object files and flags are used when
  6255. -           # linking a shared library.
  6256. -           output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
  6257. -         fi
  6258. -
  6259. -         _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
  6260. -         case $host_os in
  6261. -       solaris2.[[0-5]] | solaris2.[[0-5]].*) ;;
  6262. -       *)
  6263. -         _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  6264. -         ;;
  6265. -         esac
  6266. -       fi
  6267. -       ;;
  6268. -        esac
  6269. -        ;;
  6270. -
  6271. -    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
  6272. -      _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6273. -      _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6274. -      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6275. -      runpath_var='LD_RUN_PATH'
  6276. -
  6277. -      case $cc_basename in
  6278. -        CC*)
  6279. -     _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6280. -     _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6281. -     ;;
  6282. -   *)
  6283. -     _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6284. -     _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6285. -     ;;
  6286. -      esac
  6287. -      ;;
  6288. -
  6289. -      sysv5* | sco3.2v5* | sco5v6*)
  6290. -   # Note: We can NOT use -z defs as we might desire, because we do not
  6291. -   # link with -lc, and that would cause any symbols used from libc to
  6292. -   # always be unresolved, which means just about no library would
  6293. -   # ever link correctly.  If we're not using GNU ld we use -z text
  6294. -   # though, which does catch some bad symbols but isn't as heavy-handed
  6295. -   # as -z defs.
  6296. -   _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
  6297. -   _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs'
  6298. -   _LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6299. -   _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
  6300. -   _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir'
  6301. -   _LT_TAGVAR(hardcode_libdir_separator, $1)=':'
  6302. -   _LT_TAGVAR(link_all_deplibs, $1)=yes
  6303. -   _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport'
  6304. -   runpath_var='LD_RUN_PATH'
  6305. -
  6306. -   case $cc_basename in
  6307. -          CC*)
  6308. -       _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6309. -       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6310. -       ;;
  6311. -     *)
  6312. -       _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6313. -       _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  6314. -       ;;
  6315. -   esac
  6316. -      ;;
  6317. -
  6318. -      tandem*)
  6319. -        case $cc_basename in
  6320. -          NCC*)
  6321. -       # NonStop-UX NCC 3.20
  6322. -       # FIXME: insert proper C++ library support
  6323. -       _LT_TAGVAR(ld_shlibs, $1)=no
  6324. -       ;;
  6325. -          *)
  6326. -       # FIXME: insert proper C++ library support
  6327. -       _LT_TAGVAR(ld_shlibs, $1)=no
  6328. -       ;;
  6329. -        esac
  6330. -        ;;
  6331. -
  6332. -      vxworks*)
  6333. -        # FIXME: insert proper C++ library support
  6334. -        _LT_TAGVAR(ld_shlibs, $1)=no
  6335. -        ;;
  6336. -
  6337. -      *)
  6338. -        # FIXME: insert proper C++ library support
  6339. -        _LT_TAGVAR(ld_shlibs, $1)=no
  6340. -        ;;
  6341. -    esac
  6342. -
  6343. -    AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)])
  6344. -    test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no
  6345. -
  6346. -    _LT_TAGVAR(GCC, $1)="$GXX"
  6347. -    _LT_TAGVAR(LD, $1)="$LD"
  6348. -
  6349. -    ## CAVEAT EMPTOR:
  6350. -    ## There is no encapsulation within the following macros, do not change
  6351. -    ## the running order or otherwise move them around unless you know exactly
  6352. -    ## what you are doing...
  6353. -    _LT_SYS_HIDDEN_LIBDEPS($1)
  6354. -    _LT_COMPILER_PIC($1)
  6355. -    _LT_COMPILER_C_O($1)
  6356. -    _LT_COMPILER_FILE_LOCKS($1)
  6357. -    _LT_LINKER_SHLIBS($1)
  6358. -    _LT_SYS_DYNAMIC_LINKER($1)
  6359. -    _LT_LINKER_HARDCODE_LIBPATH($1)
  6360. -
  6361. -    _LT_CONFIG($1)
  6362. -  fi # test -n "$compiler"
  6363. -
  6364. -  CC=$lt_save_CC
  6365. -  LDCXX=$LD
  6366. -  LD=$lt_save_LD
  6367. -  GCC=$lt_save_GCC
  6368. -  with_gnu_ld=$lt_save_with_gnu_ld
  6369. -  lt_cv_path_LDCXX=$lt_cv_path_LD
  6370. -  lt_cv_path_LD=$lt_save_path_LD
  6371. -  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
  6372. -  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
  6373. -fi # test "$_lt_caught_CXX_error" != yes
  6374. -
  6375. -AC_LANG_POP
  6376. -])# _LT_LANG_CXX_CONFIG
  6377. -
  6378. -
  6379. -# _LT_SYS_HIDDEN_LIBDEPS([TAGNAME])
  6380. -# ---------------------------------
  6381. -# Figure out "hidden" library dependencies from verbose
  6382. -# compiler output when linking a shared library.
  6383. -# Parse the compiler output and extract the necessary
  6384. -# objects, libraries and library flags.
  6385. -m4_defun([_LT_SYS_HIDDEN_LIBDEPS],
  6386. -[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
  6387. -# Dependencies to place before and after the object being linked:
  6388. -_LT_TAGVAR(predep_objects, $1)=
  6389. -_LT_TAGVAR(postdep_objects, $1)=
  6390. -_LT_TAGVAR(predeps, $1)=
  6391. -_LT_TAGVAR(postdeps, $1)=
  6392. -_LT_TAGVAR(compiler_lib_search_path, $1)=
  6393. -
  6394. -dnl we can't use the lt_simple_compile_test_code here,
  6395. -dnl because it contains code intended for an executable,
  6396. -dnl not a library.  It's possible we should let each
  6397. -dnl tag define a new lt_????_link_test_code variable,
  6398. -dnl but it's only used here...
  6399. -m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF
  6400. -int a;
  6401. -void foo (void) { a = 0; }
  6402. -_LT_EOF
  6403. -], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF
  6404. -class Foo
  6405. -{
  6406. -public:
  6407. -  Foo (void) { a = 0; }
  6408. -private:
  6409. -  int a;
  6410. -};
  6411. -_LT_EOF
  6412. -], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF
  6413. -      subroutine foo
  6414. -      implicit none
  6415. -      integer*4 a
  6416. -      a=0
  6417. -      return
  6418. -      end
  6419. -_LT_EOF
  6420. -], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF
  6421. -      subroutine foo
  6422. -      implicit none
  6423. -      integer a
  6424. -      a=0
  6425. -      return
  6426. -      end
  6427. -_LT_EOF
  6428. -], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF
  6429. -public class foo {
  6430. -  private int a;
  6431. -  public void bar (void) {
  6432. -    a = 0;
  6433. -  }
  6434. -};
  6435. -_LT_EOF
  6436. -])
  6437. -dnl Parse the compiler output and extract the necessary
  6438. -dnl objects, libraries and library flags.
  6439. -if AC_TRY_EVAL(ac_compile); then
  6440. -  # Parse the compiler output and extract the necessary
  6441. -  # objects, libraries and library flags.
  6442. -
  6443. -  # Sentinel used to keep track of whether or not we are before
  6444. -  # the conftest object file.
  6445. -  pre_test_object_deps_done=no
  6446. -
  6447. -  for p in `eval "$output_verbose_link_cmd"`; do
  6448. -    case $p in
  6449. -
  6450. -    -L* | -R* | -l*)
  6451. -       # Some compilers place space between "-{L,R}" and the path.
  6452. -       # Remove the space.
  6453. -       if test $p = "-L" ||
  6454. -          test $p = "-R"; then
  6455. -    prev=$p
  6456. -    continue
  6457. -       else
  6458. -    prev=
  6459. -       fi
  6460. -
  6461. -       if test "$pre_test_object_deps_done" = no; then
  6462. -    case $p in
  6463. -    -L* | -R*)
  6464. -      # Internal compiler library paths should come after those
  6465. -      # provided the user.  The postdeps already come after the
  6466. -      # user supplied libs so there is no need to process them.
  6467. -      if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then
  6468. -        _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}"
  6469. -      else
  6470. -        _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}"
  6471. -      fi
  6472. -      ;;
  6473. -    # The "-l" case would never come before the object being
  6474. -    # linked, so don't bother handling this case.
  6475. -    esac
  6476. -       else
  6477. -    if test -z "$_LT_TAGVAR(postdeps, $1)"; then
  6478. -      _LT_TAGVAR(postdeps, $1)="${prev}${p}"
  6479. -    else
  6480. -      _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}"
  6481. -    fi
  6482. -       fi
  6483. -       ;;
  6484. -
  6485. -    *.$objext)
  6486. -       # This assumes that the test object file only shows up
  6487. -       # once in the compiler output.
  6488. -       if test "$p" = "conftest.$objext"; then
  6489. -    pre_test_object_deps_done=yes
  6490. -    continue
  6491. -       fi
  6492. -
  6493. -       if test "$pre_test_object_deps_done" = no; then
  6494. -    if test -z "$_LT_TAGVAR(predep_objects, $1)"; then
  6495. -      _LT_TAGVAR(predep_objects, $1)="$p"
  6496. -    else
  6497. -      _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p"
  6498. -    fi
  6499. -       else
  6500. -    if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then
  6501. -      _LT_TAGVAR(postdep_objects, $1)="$p"
  6502. -    else
  6503. -      _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p"
  6504. -    fi
  6505. -       fi
  6506. -       ;;
  6507. -
  6508. -    *) ;; # Ignore the rest.
  6509. -
  6510. -    esac
  6511. -  done
  6512. -
  6513. -  # Clean up.
  6514. -  rm -f a.out a.exe
  6515. -else
  6516. -  echo "libtool.m4: error: problem compiling $1 test program"
  6517. -fi
  6518. -
  6519. -$RM -f confest.$objext
  6520. -
  6521. -# PORTME: override above test on systems where it is broken
  6522. -m4_if([$1], [CXX],
  6523. -[case $host_os in
  6524. -interix[[3-9]]*)
  6525. -  # Interix 3.5 installs completely hosed .la files for C++, so rather than
  6526. -  # hack all around it, let's just trust "g++" to DTRT.
  6527. -  _LT_TAGVAR(predep_objects,$1)=
  6528. -  _LT_TAGVAR(postdep_objects,$1)=
  6529. -  _LT_TAGVAR(postdeps,$1)=
  6530. -  ;;
  6531. -
  6532. -linux*)
  6533. -  case `$CC -V 2>&1 | sed 5q` in
  6534. -  *Sun\ C*)
  6535. -    # Sun C++ 5.9
  6536. -
  6537. -    # The more standards-conforming stlport4 library is
  6538. -    # incompatible with the Cstd library. Avoid specifying
  6539. -    # it if it's in CXXFLAGS. Ignore libCrun as
  6540. -    # -library=stlport4 depends on it.
  6541. -    case " $CXX $CXXFLAGS " in
  6542. -    *" -library=stlport4 "*)
  6543. -      solaris_use_stlport4=yes
  6544. -      ;;
  6545. -    esac
  6546. -
  6547. -    if test "$solaris_use_stlport4" != yes; then
  6548. -      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  6549. -    fi
  6550. -    ;;
  6551. -  esac
  6552. -  ;;
  6553. -
  6554. -solaris*)
  6555. -  case $cc_basename in
  6556. -  CC*)
  6557. -    # The more standards-conforming stlport4 library is
  6558. -    # incompatible with the Cstd library. Avoid specifying
  6559. -    # it if it's in CXXFLAGS. Ignore libCrun as
  6560. -    # -library=stlport4 depends on it.
  6561. -    case " $CXX $CXXFLAGS " in
  6562. -    *" -library=stlport4 "*)
  6563. -      solaris_use_stlport4=yes
  6564. -      ;;
  6565. -    esac
  6566. -
  6567. -    # Adding this requires a known-good setup of shared libraries for
  6568. -    # Sun compiler versions before 5.6, else PIC objects from an old
  6569. -    # archive will be linked into the output, leading to subtle bugs.
  6570. -    if test "$solaris_use_stlport4" != yes; then
  6571. -      _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun'
  6572. -    fi
  6573. -    ;;
  6574. -  esac
  6575. -  ;;
  6576. -esac
  6577. -])
  6578. -
  6579. -case " $_LT_TAGVAR(postdeps, $1) " in
  6580. -*" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;;
  6581. -esac
  6582. - _LT_TAGVAR(compiler_lib_search_dirs, $1)=
  6583. -if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then
  6584. - _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
  6585. -fi
  6586. -_LT_TAGDECL([], [compiler_lib_search_dirs], [1],
  6587. -    [The directories searched by this compiler when creating a shared library])
  6588. -_LT_TAGDECL([], [predep_objects], [1],
  6589. -    [Dependencies to place before and after the objects being linked to
  6590. -    create a shared library])
  6591. -_LT_TAGDECL([], [postdep_objects], [1])
  6592. -_LT_TAGDECL([], [predeps], [1])
  6593. -_LT_TAGDECL([], [postdeps], [1])
  6594. -_LT_TAGDECL([], [compiler_lib_search_path], [1],
  6595. -    [The library search path used internally by the compiler when linking
  6596. -    a shared library])
  6597. -])# _LT_SYS_HIDDEN_LIBDEPS
  6598. -
  6599. -
  6600. -# _LT_PROG_F77
  6601. -# ------------
  6602. -# Since AC_PROG_F77 is broken, in that it returns the empty string
  6603. -# if there is no fortran compiler, we have our own version here.
  6604. -m4_defun([_LT_PROG_F77],
  6605. -[
  6606. -pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
  6607. -AC_PROG_F77
  6608. -if test -z "$F77" || test "X$F77" = "Xno"; then
  6609. -  _lt_disable_F77=yes
  6610. -fi
  6611. -popdef([AC_MSG_ERROR])
  6612. -])# _LT_PROG_F77
  6613. -
  6614. -dnl aclocal-1.4 backwards compatibility:
  6615. -dnl AC_DEFUN([_LT_PROG_F77], [])
  6616. -
  6617. -
  6618. -# _LT_LANG_F77_CONFIG([TAG])
  6619. -# --------------------------
  6620. -# Ensure that the configuration variables for a Fortran 77 compiler are
  6621. -# suitably defined.  These variables are subsequently used by _LT_CONFIG
  6622. -# to write the compiler configuration to `libtool'.
  6623. -m4_defun([_LT_LANG_F77_CONFIG],
  6624. -[AC_REQUIRE([_LT_PROG_F77])dnl
  6625. -AC_LANG_PUSH(Fortran 77)
  6626. -
  6627. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6628. -_LT_TAGVAR(allow_undefined_flag, $1)=
  6629. -_LT_TAGVAR(always_export_symbols, $1)=no
  6630. -_LT_TAGVAR(archive_expsym_cmds, $1)=
  6631. -_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  6632. -_LT_TAGVAR(hardcode_direct, $1)=no
  6633. -_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  6634. -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  6635. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  6636. -_LT_TAGVAR(hardcode_libdir_separator, $1)=
  6637. -_LT_TAGVAR(hardcode_minus_L, $1)=no
  6638. -_LT_TAGVAR(hardcode_automatic, $1)=no
  6639. -_LT_TAGVAR(inherit_rpath, $1)=no
  6640. -_LT_TAGVAR(module_cmds, $1)=
  6641. -_LT_TAGVAR(module_expsym_cmds, $1)=
  6642. -_LT_TAGVAR(link_all_deplibs, $1)=unknown
  6643. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  6644. -_LT_TAGVAR(no_undefined_flag, $1)=
  6645. -_LT_TAGVAR(whole_archive_flag_spec, $1)=
  6646. -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  6647. -
  6648. -# Source file extension for f77 test sources.
  6649. -ac_ext=f
  6650. -
  6651. -# Object file extension for compiled f77 test sources.
  6652. -objext=o
  6653. -_LT_TAGVAR(objext, $1)=$objext
  6654. -
  6655. -# No sense in running all these tests if we already determined that
  6656. -# the F77 compiler isn't working.  Some variables (like enable_shared)
  6657. -# are currently assumed to apply to all compilers on this platform,
  6658. -# and will be corrupted by setting them based on a non-working compiler.
  6659. -if test "$_lt_disable_F77" != yes; then
  6660. -  # Code to be used in simple compile tests
  6661. -  lt_simple_compile_test_code="\
  6662. -      subroutine t
  6663. -      return
  6664. -      end
  6665. -"
  6666. -
  6667. -  # Code to be used in simple link tests
  6668. -  lt_simple_link_test_code="\
  6669. -      program t
  6670. -      end
  6671. -"
  6672. -
  6673. -  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6674. -  _LT_TAG_COMPILER
  6675. -
  6676. -  # save warnings/boilerplate of simple test code
  6677. -  _LT_COMPILER_BOILERPLATE
  6678. -  _LT_LINKER_BOILERPLATE
  6679. -
  6680. -  # Allow CC to be a program name with arguments.
  6681. -  lt_save_CC="$CC"
  6682. -  lt_save_GCC=$GCC
  6683. -  CC=${F77-"f77"}
  6684. -  compiler=$CC
  6685. -  _LT_TAGVAR(compiler, $1)=$CC
  6686. -  _LT_CC_BASENAME([$compiler])
  6687. -  GCC=$G77
  6688. -  if test -n "$compiler"; then
  6689. -    AC_MSG_CHECKING([if libtool supports shared libraries])
  6690. -    AC_MSG_RESULT([$can_build_shared])
  6691. -
  6692. -    AC_MSG_CHECKING([whether to build shared libraries])
  6693. -    test "$can_build_shared" = "no" && enable_shared=no
  6694. -
  6695. -    # On AIX, shared libraries and static libraries use the same namespace, and
  6696. -    # are all built from PIC.
  6697. -    case $host_os in
  6698. -      aix3*)
  6699. -        test "$enable_shared" = yes && enable_static=no
  6700. -        if test -n "$RANLIB"; then
  6701. -          archive_cmds="$archive_cmds~\$RANLIB \$lib"
  6702. -          postinstall_cmds='$RANLIB $lib'
  6703. -        fi
  6704. -        ;;
  6705. -      aix[[4-9]]*)
  6706. -   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  6707. -     test "$enable_shared" = yes && enable_static=no
  6708. -   fi
  6709. -        ;;
  6710. -    esac
  6711. -    AC_MSG_RESULT([$enable_shared])
  6712. -
  6713. -    AC_MSG_CHECKING([whether to build static libraries])
  6714. -    # Make sure either enable_shared or enable_static is yes.
  6715. -    test "$enable_shared" = yes || enable_static=yes
  6716. -    AC_MSG_RESULT([$enable_static])
  6717. -
  6718. -    _LT_TAGVAR(GCC, $1)="$G77"
  6719. -    _LT_TAGVAR(LD, $1)="$LD"
  6720. -
  6721. -    ## CAVEAT EMPTOR:
  6722. -    ## There is no encapsulation within the following macros, do not change
  6723. -    ## the running order or otherwise move them around unless you know exactly
  6724. -    ## what you are doing...
  6725. -    _LT_COMPILER_PIC($1)
  6726. -    _LT_COMPILER_C_O($1)
  6727. -    _LT_COMPILER_FILE_LOCKS($1)
  6728. -    _LT_LINKER_SHLIBS($1)
  6729. -    _LT_SYS_DYNAMIC_LINKER($1)
  6730. -    _LT_LINKER_HARDCODE_LIBPATH($1)
  6731. -
  6732. -    _LT_CONFIG($1)
  6733. -  fi # test -n "$compiler"
  6734. -
  6735. -  GCC=$lt_save_GCC
  6736. -  CC="$lt_save_CC"
  6737. -fi # test "$_lt_disable_F77" != yes
  6738. -
  6739. -AC_LANG_POP
  6740. -])# _LT_LANG_F77_CONFIG
  6741. -
  6742. -
  6743. -# _LT_PROG_FC
  6744. -# -----------
  6745. -# Since AC_PROG_FC is broken, in that it returns the empty string
  6746. -# if there is no fortran compiler, we have our own version here.
  6747. -m4_defun([_LT_PROG_FC],
  6748. -[
  6749. -pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
  6750. -AC_PROG_FC
  6751. -if test -z "$FC" || test "X$FC" = "Xno"; then
  6752. -  _lt_disable_FC=yes
  6753. -fi
  6754. -popdef([AC_MSG_ERROR])
  6755. -])# _LT_PROG_FC
  6756. -
  6757. -dnl aclocal-1.4 backwards compatibility:
  6758. -dnl AC_DEFUN([_LT_PROG_FC], [])
  6759. -
  6760. -
  6761. -# _LT_LANG_FC_CONFIG([TAG])
  6762. -# -------------------------
  6763. -# Ensure that the configuration variables for a Fortran compiler are
  6764. -# suitably defined.  These variables are subsequently used by _LT_CONFIG
  6765. -# to write the compiler configuration to `libtool'.
  6766. -m4_defun([_LT_LANG_FC_CONFIG],
  6767. -[AC_REQUIRE([_LT_PROG_FC])dnl
  6768. -AC_LANG_PUSH(Fortran)
  6769. -
  6770. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6771. -_LT_TAGVAR(allow_undefined_flag, $1)=
  6772. -_LT_TAGVAR(always_export_symbols, $1)=no
  6773. -_LT_TAGVAR(archive_expsym_cmds, $1)=
  6774. -_LT_TAGVAR(export_dynamic_flag_spec, $1)=
  6775. -_LT_TAGVAR(hardcode_direct, $1)=no
  6776. -_LT_TAGVAR(hardcode_direct_absolute, $1)=no
  6777. -_LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
  6778. -_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
  6779. -_LT_TAGVAR(hardcode_libdir_separator, $1)=
  6780. -_LT_TAGVAR(hardcode_minus_L, $1)=no
  6781. -_LT_TAGVAR(hardcode_automatic, $1)=no
  6782. -_LT_TAGVAR(inherit_rpath, $1)=no
  6783. -_LT_TAGVAR(module_cmds, $1)=
  6784. -_LT_TAGVAR(module_expsym_cmds, $1)=
  6785. -_LT_TAGVAR(link_all_deplibs, $1)=unknown
  6786. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  6787. -_LT_TAGVAR(no_undefined_flag, $1)=
  6788. -_LT_TAGVAR(whole_archive_flag_spec, $1)=
  6789. -_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
  6790. -
  6791. -# Source file extension for fc test sources.
  6792. -ac_ext=${ac_fc_srcext-f}
  6793. -
  6794. -# Object file extension for compiled fc test sources.
  6795. -objext=o
  6796. -_LT_TAGVAR(objext, $1)=$objext
  6797. -
  6798. -# No sense in running all these tests if we already determined that
  6799. -# the FC compiler isn't working.  Some variables (like enable_shared)
  6800. -# are currently assumed to apply to all compilers on this platform,
  6801. -# and will be corrupted by setting them based on a non-working compiler.
  6802. -if test "$_lt_disable_FC" != yes; then
  6803. -  # Code to be used in simple compile tests
  6804. -  lt_simple_compile_test_code="\
  6805. -      subroutine t
  6806. -      return
  6807. -      end
  6808. -"
  6809. -
  6810. -  # Code to be used in simple link tests
  6811. -  lt_simple_link_test_code="\
  6812. -      program t
  6813. -      end
  6814. -"
  6815. -
  6816. -  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6817. -  _LT_TAG_COMPILER
  6818. -
  6819. -  # save warnings/boilerplate of simple test code
  6820. -  _LT_COMPILER_BOILERPLATE
  6821. -  _LT_LINKER_BOILERPLATE
  6822. -
  6823. -  # Allow CC to be a program name with arguments.
  6824. -  lt_save_CC="$CC"
  6825. -  lt_save_GCC=$GCC
  6826. -  CC=${FC-"f95"}
  6827. -  compiler=$CC
  6828. -  GCC=$ac_cv_fc_compiler_gnu
  6829. -
  6830. -  _LT_TAGVAR(compiler, $1)=$CC
  6831. -  _LT_CC_BASENAME([$compiler])
  6832. -
  6833. -  if test -n "$compiler"; then
  6834. -    AC_MSG_CHECKING([if libtool supports shared libraries])
  6835. -    AC_MSG_RESULT([$can_build_shared])
  6836. -
  6837. -    AC_MSG_CHECKING([whether to build shared libraries])
  6838. -    test "$can_build_shared" = "no" && enable_shared=no
  6839. -
  6840. -    # On AIX, shared libraries and static libraries use the same namespace, and
  6841. -    # are all built from PIC.
  6842. -    case $host_os in
  6843. -      aix3*)
  6844. -        test "$enable_shared" = yes && enable_static=no
  6845. -        if test -n "$RANLIB"; then
  6846. -          archive_cmds="$archive_cmds~\$RANLIB \$lib"
  6847. -          postinstall_cmds='$RANLIB $lib'
  6848. -        fi
  6849. -        ;;
  6850. -      aix[[4-9]]*)
  6851. -   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  6852. -     test "$enable_shared" = yes && enable_static=no
  6853. -   fi
  6854. -        ;;
  6855. -    esac
  6856. -    AC_MSG_RESULT([$enable_shared])
  6857. -
  6858. -    AC_MSG_CHECKING([whether to build static libraries])
  6859. -    # Make sure either enable_shared or enable_static is yes.
  6860. -    test "$enable_shared" = yes || enable_static=yes
  6861. -    AC_MSG_RESULT([$enable_static])
  6862. -
  6863. -    _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu"
  6864. -    _LT_TAGVAR(LD, $1)="$LD"
  6865. -
  6866. -    ## CAVEAT EMPTOR:
  6867. -    ## There is no encapsulation within the following macros, do not change
  6868. -    ## the running order or otherwise move them around unless you know exactly
  6869. -    ## what you are doing...
  6870. -    _LT_SYS_HIDDEN_LIBDEPS($1)
  6871. -    _LT_COMPILER_PIC($1)
  6872. -    _LT_COMPILER_C_O($1)
  6873. -    _LT_COMPILER_FILE_LOCKS($1)
  6874. -    _LT_LINKER_SHLIBS($1)
  6875. -    _LT_SYS_DYNAMIC_LINKER($1)
  6876. -    _LT_LINKER_HARDCODE_LIBPATH($1)
  6877. -
  6878. -    _LT_CONFIG($1)
  6879. -  fi # test -n "$compiler"
  6880. -
  6881. -  GCC=$lt_save_GCC
  6882. -  CC="$lt_save_CC"
  6883. -fi # test "$_lt_disable_FC" != yes
  6884. -
  6885. -AC_LANG_POP
  6886. -])# _LT_LANG_FC_CONFIG
  6887. -
  6888. -
  6889. -# _LT_LANG_GCJ_CONFIG([TAG])
  6890. -# --------------------------
  6891. -# Ensure that the configuration variables for the GNU Java Compiler compiler
  6892. -# are suitably defined.  These variables are subsequently used by _LT_CONFIG
  6893. -# to write the compiler configuration to `libtool'.
  6894. -m4_defun([_LT_LANG_GCJ_CONFIG],
  6895. -[AC_REQUIRE([LT_PROG_GCJ])dnl
  6896. -AC_LANG_SAVE
  6897. -
  6898. -# Source file extension for Java test sources.
  6899. -ac_ext=java
  6900. -
  6901. -# Object file extension for compiled Java test sources.
  6902. -objext=o
  6903. -_LT_TAGVAR(objext, $1)=$objext
  6904. -
  6905. -# Code to be used in simple compile tests
  6906. -lt_simple_compile_test_code="class foo {}"
  6907. -
  6908. -# Code to be used in simple link tests
  6909. -lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }'
  6910. -
  6911. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6912. -_LT_TAG_COMPILER
  6913. -
  6914. -# save warnings/boilerplate of simple test code
  6915. -_LT_COMPILER_BOILERPLATE
  6916. -_LT_LINKER_BOILERPLATE
  6917. -
  6918. -# Allow CC to be a program name with arguments.
  6919. -lt_save_CC="$CC"
  6920. -lt_save_GCC=$GCC
  6921. -GCC=yes
  6922. -CC=${GCJ-"gcj"}
  6923. -compiler=$CC
  6924. -_LT_TAGVAR(compiler, $1)=$CC
  6925. -_LT_TAGVAR(LD, $1)="$LD"
  6926. -_LT_CC_BASENAME([$compiler])
  6927. -
  6928. -# GCJ did not exist at the time GCC didn't implicitly link libc in.
  6929. -_LT_TAGVAR(archive_cmds_need_lc, $1)=no
  6930. -
  6931. -_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
  6932. -
  6933. -if test -n "$compiler"; then
  6934. -  _LT_COMPILER_NO_RTTI($1)
  6935. -  _LT_COMPILER_PIC($1)
  6936. -  _LT_COMPILER_C_O($1)
  6937. -  _LT_COMPILER_FILE_LOCKS($1)
  6938. -  _LT_LINKER_SHLIBS($1)
  6939. -  _LT_LINKER_HARDCODE_LIBPATH($1)
  6940. -
  6941. -  _LT_CONFIG($1)
  6942. -fi
  6943. -
  6944. -AC_LANG_RESTORE
  6945. -
  6946. -GCC=$lt_save_GCC
  6947. -CC="$lt_save_CC"
  6948. -])# _LT_LANG_GCJ_CONFIG
  6949. -
  6950. -
  6951. -# _LT_LANG_RC_CONFIG([TAG])
  6952. -# -------------------------
  6953. -# Ensure that the configuration variables for the Windows resource compiler
  6954. -# are suitably defined.  These variables are subsequently used by _LT_CONFIG
  6955. -# to write the compiler configuration to `libtool'.
  6956. -m4_defun([_LT_LANG_RC_CONFIG],
  6957. -[AC_REQUIRE([LT_PROG_RC])dnl
  6958. -AC_LANG_SAVE
  6959. -
  6960. -# Source file extension for RC test sources.
  6961. -ac_ext=rc
  6962. -
  6963. -# Object file extension for compiled RC test sources.
  6964. -objext=o
  6965. -_LT_TAGVAR(objext, $1)=$objext
  6966. -
  6967. -# Code to be used in simple compile tests
  6968. -lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
  6969. -
  6970. -# Code to be used in simple link tests
  6971. -lt_simple_link_test_code="$lt_simple_compile_test_code"
  6972. -
  6973. -# ltmain only uses $CC for tagged configurations so make sure $CC is set.
  6974. -_LT_TAG_COMPILER
  6975. -
  6976. -# save warnings/boilerplate of simple test code
  6977. -_LT_COMPILER_BOILERPLATE
  6978. -_LT_LINKER_BOILERPLATE
  6979. -
  6980. -# Allow CC to be a program name with arguments.
  6981. -lt_save_CC="$CC"
  6982. -lt_save_GCC=$GCC
  6983. -GCC=
  6984. -CC=${RC-"windres"}
  6985. -compiler=$CC
  6986. -_LT_TAGVAR(compiler, $1)=$CC
  6987. -_LT_CC_BASENAME([$compiler])
  6988. -_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
  6989. -
  6990. -if test -n "$compiler"; then
  6991. -  :
  6992. -  _LT_CONFIG($1)
  6993. -fi
  6994. -
  6995. -GCC=$lt_save_GCC
  6996. -AC_LANG_RESTORE
  6997. -CC="$lt_save_CC"
  6998. -])# _LT_LANG_RC_CONFIG
  6999. -
  7000. -
  7001. -# LT_PROG_GCJ
  7002. -# -----------
  7003. -AC_DEFUN([LT_PROG_GCJ],
  7004. -[m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ],
  7005. -  [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ],
  7006. -    [AC_CHECK_TOOL(GCJ, gcj,)
  7007. -      test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
  7008. -      AC_SUBST(GCJFLAGS)])])[]dnl
  7009. -])
  7010. -
  7011. -# Old name:
  7012. -AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ])
  7013. -dnl aclocal-1.4 backwards compatibility:
  7014. -dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
  7015. -
  7016. -
  7017. -# LT_PROG_RC
  7018. -# ----------
  7019. -AC_DEFUN([LT_PROG_RC],
  7020. -[AC_CHECK_TOOL(RC, windres,)
  7021. -])
  7022. -
  7023. -# Old name:
  7024. -AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC])
  7025. -dnl aclocal-1.4 backwards compatibility:
  7026. -dnl AC_DEFUN([LT_AC_PROG_RC], [])
  7027. -
  7028. -
  7029. -# _LT_DECL_EGREP
  7030. -# --------------
  7031. -# If we don't have a new enough Autoconf to choose the best grep
  7032. -# available, choose the one first in the user's PATH.
  7033. -m4_defun([_LT_DECL_EGREP],
  7034. -[AC_REQUIRE([AC_PROG_EGREP])dnl
  7035. -AC_REQUIRE([AC_PROG_FGREP])dnl
  7036. -test -z "$GREP" && GREP=grep
  7037. -_LT_DECL([], [GREP], [1], [A grep program that handles long lines])
  7038. -_LT_DECL([], [EGREP], [1], [An ERE matcher])
  7039. -_LT_DECL([], [FGREP], [1], [A literal string matcher])
  7040. -dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too
  7041. -AC_SUBST([GREP])
  7042. -])
  7043. -
  7044. -
  7045. -# _LT_DECL_OBJDUMP
  7046. -# --------------
  7047. -# If we don't have a new enough Autoconf to choose the best objdump
  7048. -# available, choose the one first in the user's PATH.
  7049. -m4_defun([_LT_DECL_OBJDUMP],
  7050. -[AC_CHECK_TOOL(OBJDUMP, objdump, false)
  7051. -test -z "$OBJDUMP" && OBJDUMP=objdump
  7052. -_LT_DECL([], [OBJDUMP], [1], [An object symbol dumper])
  7053. -AC_SUBST([OBJDUMP])
  7054. -])
  7055. -
  7056. -
  7057. -# _LT_DECL_SED
  7058. -# ------------
  7059. -# Check for a fully-functional sed program, that truncates
  7060. -# as few characters as possible.  Prefer GNU sed if found.
  7061. -m4_defun([_LT_DECL_SED],
  7062. -[AC_PROG_SED
  7063. -test -z "$SED" && SED=sed
  7064. -Xsed="$SED -e 1s/^X//"
  7065. -_LT_DECL([], [SED], [1], [A sed program that does not truncate output])
  7066. -_LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"],
  7067. -    [Sed that helps us avoid accidentally triggering echo(1) options like -n])
  7068. -])# _LT_DECL_SED
  7069. -
  7070. -m4_ifndef([AC_PROG_SED], [
  7071. -# NOTE: This macro has been submitted for inclusion into   #
  7072. -#  GNU Autoconf as AC_PROG_SED.  When it is available in   #
  7073. -#  a released version of Autoconf we should remove this    #
  7074. -#  macro and use it instead.                               #
  7075. -
  7076. -m4_defun([AC_PROG_SED],
  7077. -[AC_MSG_CHECKING([for a sed that does not truncate output])
  7078. -AC_CACHE_VAL(lt_cv_path_SED,
  7079. -[# Loop through the user's path and test for sed and gsed.
  7080. -# Then use that list of sed's as ones to test for truncation.
  7081. -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7082. -for as_dir in $PATH
  7083. -do
  7084. -  IFS=$as_save_IFS
  7085. -  test -z "$as_dir" && as_dir=.
  7086. -  for lt_ac_prog in sed gsed; do
  7087. -    for ac_exec_ext in '' $ac_executable_extensions; do
  7088. -      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
  7089. -        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  7090. -      fi
  7091. -    done
  7092. -  done
  7093. -done
  7094. -IFS=$as_save_IFS
  7095. -lt_ac_max=0
  7096. -lt_ac_count=0
  7097. -# Add /usr/xpg4/bin/sed as it is typically found on Solaris
  7098. -# along with /bin/sed that truncates output.
  7099. -for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  7100. -  test ! -f $lt_ac_sed && continue
  7101. -  cat /dev/null > conftest.in
  7102. -  lt_ac_count=0
  7103. -  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  7104. -  # Check for GNU sed and select it if it is found.
  7105. -  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  7106. -    lt_cv_path_SED=$lt_ac_sed
  7107. -    break
  7108. -  fi
  7109. -  while true; do
  7110. -    cat conftest.in conftest.in >conftest.tmp
  7111. -    mv conftest.tmp conftest.in
  7112. -    cp conftest.in conftest.nl
  7113. -    echo >>conftest.nl
  7114. -    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  7115. -    cmp -s conftest.out conftest.nl || break
  7116. -    # 10000 chars as input seems more than enough
  7117. -    test $lt_ac_count -gt 10 && break
  7118. -    lt_ac_count=`expr $lt_ac_count + 1`
  7119. -    if test $lt_ac_count -gt $lt_ac_max; then
  7120. -      lt_ac_max=$lt_ac_count
  7121. -      lt_cv_path_SED=$lt_ac_sed
  7122. -    fi
  7123. -  done
  7124. -done
  7125. -])
  7126. -SED=$lt_cv_path_SED
  7127. -AC_SUBST([SED])
  7128. -AC_MSG_RESULT([$SED])
  7129. -])#AC_PROG_SED
  7130. -])#m4_ifndef
  7131. -
  7132. -# Old name:
  7133. -AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED])
  7134. -dnl aclocal-1.4 backwards compatibility:
  7135. -dnl AC_DEFUN([LT_AC_PROG_SED], [])
  7136. -
  7137. -
  7138. -# _LT_CHECK_SHELL_FEATURES
  7139. -# ------------------------
  7140. -# Find out whether the shell is Bourne or XSI compatible,
  7141. -# or has some other useful features.
  7142. -m4_defun([_LT_CHECK_SHELL_FEATURES],
  7143. -[AC_MSG_CHECKING([whether the shell understands some XSI constructs])
  7144. -# Try some XSI features
  7145. -xsi_shell=no
  7146. -( _lt_dummy="a/b/c"
  7147. -  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  7148. -      = c,a/b,, \
  7149. -    && eval 'test $(( 1 + 1 )) -eq 2 \
  7150. -    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  7151. -  && xsi_shell=yes
  7152. -AC_MSG_RESULT([$xsi_shell])
  7153. -_LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell'])
  7154. -
  7155. -AC_MSG_CHECKING([whether the shell understands "+="])
  7156. -lt_shell_append=no
  7157. -( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \
  7158. -    >/dev/null 2>&1 \
  7159. -  && lt_shell_append=yes
  7160. -AC_MSG_RESULT([$lt_shell_append])
  7161. -_LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append'])
  7162. -
  7163. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  7164. -  lt_unset=unset
  7165. -else
  7166. -  lt_unset=false
  7167. -fi
  7168. -_LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl
  7169. -
  7170. -# test EBCDIC or ASCII
  7171. -case `echo X|tr X '\101'` in
  7172. - A) # ASCII based system
  7173. -    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  7174. -  lt_SP2NL='tr \040 \012'
  7175. -  lt_NL2SP='tr \015\012 \040\040'
  7176. -  ;;
  7177. - *) # EBCDIC based system
  7178. -  lt_SP2NL='tr \100 \n'
  7179. -  lt_NL2SP='tr \r\n \100\100'
  7180. -  ;;
  7181. -esac
  7182. -_LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl
  7183. -_LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl
  7184. -])# _LT_CHECK_SHELL_FEATURES
  7185. -
  7186. -
  7187. -# _LT_PROG_XSI_SHELLFNS
  7188. -# ---------------------
  7189. -# Bourne and XSI compatible variants of some useful shell functions.
  7190. -m4_defun([_LT_PROG_XSI_SHELLFNS],
  7191. -[case $xsi_shell in
  7192. -  yes)
  7193. -    cat << \_LT_EOF >> "$cfgfile"
  7194. -
  7195. -# func_dirname file append nondir_replacement
  7196. -# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
  7197. -# otherwise set result to NONDIR_REPLACEMENT.
  7198. -func_dirname ()
  7199. -{
  7200. -  case ${1} in
  7201. -    */*) func_dirname_result="${1%/*}${2}" ;;
  7202. -    *  ) func_dirname_result="${3}" ;;
  7203. -  esac
  7204. -}
  7205. -
  7206. -# func_basename file
  7207. -func_basename ()
  7208. -{
  7209. -  func_basename_result="${1##*/}"
  7210. -}
  7211. -
  7212. -# func_dirname_and_basename file append nondir_replacement
  7213. -# perform func_basename and func_dirname in a single function
  7214. -# call:
  7215. -#   dirname:  Compute the dirname of FILE.  If nonempty,
  7216. -#             add APPEND to the result, otherwise set result
  7217. -#             to NONDIR_REPLACEMENT.
  7218. -#             value returned in "$func_dirname_result"
  7219. -#   basename: Compute filename of FILE.
  7220. -#             value retuned in "$func_basename_result"
  7221. -# Implementation must be kept synchronized with func_dirname
  7222. -# and func_basename. For efficiency, we do not delegate to
  7223. -# those functions but instead duplicate the functionality here.
  7224. -func_dirname_and_basename ()
  7225. -{
  7226. -  case ${1} in
  7227. -    */*) func_dirname_result="${1%/*}${2}" ;;
  7228. -    *  ) func_dirname_result="${3}" ;;
  7229. -  esac
  7230. -  func_basename_result="${1##*/}"
  7231. -}
  7232. -
  7233. -# func_stripname prefix suffix name
  7234. -# strip PREFIX and SUFFIX off of NAME.
  7235. -# PREFIX and SUFFIX must not contain globbing or regex special
  7236. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  7237. -# dot (in which case that matches only a dot).
  7238. -func_stripname ()
  7239. -{
  7240. -  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  7241. -  # positional parameters, so assign one to ordinary parameter first.
  7242. -  func_stripname_result=${3}
  7243. -  func_stripname_result=${func_stripname_result#"${1}"}
  7244. -  func_stripname_result=${func_stripname_result%"${2}"}
  7245. -}
  7246. -
  7247. -# func_opt_split
  7248. -func_opt_split ()
  7249. -{
  7250. -  func_opt_split_opt=${1%%=*}
  7251. -  func_opt_split_arg=${1#*=}
  7252. -}
  7253. -
  7254. -# func_lo2o object
  7255. -func_lo2o ()
  7256. -{
  7257. -  case ${1} in
  7258. -    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  7259. -    *)    func_lo2o_result=${1} ;;
  7260. -  esac
  7261. -}
  7262. -
  7263. -# func_xform libobj-or-source
  7264. -func_xform ()
  7265. -{
  7266. -  func_xform_result=${1%.*}.lo
  7267. -}
  7268. -
  7269. -# func_arith arithmetic-term...
  7270. -func_arith ()
  7271. -{
  7272. -  func_arith_result=$(( $[*] ))
  7273. -}
  7274. -
  7275. -# func_len string
  7276. -# STRING may not start with a hyphen.
  7277. -func_len ()
  7278. -{
  7279. -  func_len_result=${#1}
  7280. -}
  7281. -
  7282. -_LT_EOF
  7283. -    ;;
  7284. -  *) # Bourne compatible functions.
  7285. -    cat << \_LT_EOF >> "$cfgfile"
  7286. -
  7287. -# func_dirname file append nondir_replacement
  7288. -# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
  7289. -# otherwise set result to NONDIR_REPLACEMENT.
  7290. -func_dirname ()
  7291. -{
  7292. -  # Extract subdirectory from the argument.
  7293. -  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  7294. -  if test "X$func_dirname_result" = "X${1}"; then
  7295. -    func_dirname_result="${3}"
  7296. -  else
  7297. -    func_dirname_result="$func_dirname_result${2}"
  7298. -  fi
  7299. -}
  7300. -
  7301. -# func_basename file
  7302. -func_basename ()
  7303. -{
  7304. -  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  7305. -}
  7306. -
  7307. -dnl func_dirname_and_basename
  7308. -dnl A portable version of this function is already defined in general.m4sh
  7309. -dnl so there is no need for it here.
  7310. -
  7311. -# func_stripname prefix suffix name
  7312. -# strip PREFIX and SUFFIX off of NAME.
  7313. -# PREFIX and SUFFIX must not contain globbing or regex special
  7314. -# characters, hashes, percent signs, but SUFFIX may contain a leading
  7315. -# dot (in which case that matches only a dot).
  7316. -# func_strip_suffix prefix name
  7317. -func_stripname ()
  7318. -{
  7319. -  case ${2} in
  7320. -    .*) func_stripname_result=`$ECHO "X${3}" \
  7321. -           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  7322. -    *)  func_stripname_result=`$ECHO "X${3}" \
  7323. -           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  7324. -  esac
  7325. -}
  7326. -
  7327. -# sed scripts:
  7328. -my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
  7329. -my_sed_long_arg='1s/^-[[^=]]*=//'
  7330. -
  7331. -# func_opt_split
  7332. -func_opt_split ()
  7333. -{
  7334. -  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  7335. -  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  7336. -}
  7337. -
  7338. -# func_lo2o object
  7339. -func_lo2o ()
  7340. -{
  7341. -  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  7342. -}
  7343. -
  7344. -# func_xform libobj-or-source
  7345. -func_xform ()
  7346. -{
  7347. -  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
  7348. -}
  7349. -
  7350. -# func_arith arithmetic-term...
  7351. -func_arith ()
  7352. -{
  7353. -  func_arith_result=`expr "$[@]"`
  7354. -}
  7355. -
  7356. -# func_len string
  7357. -# STRING may not start with a hyphen.
  7358. -func_len ()
  7359. -{
  7360. -  func_len_result=`expr "$[1]" : ".*" 2>/dev/null || echo $max_cmd_len`
  7361. -}
  7362. -
  7363. -_LT_EOF
  7364. -esac
  7365. -
  7366. -case $lt_shell_append in
  7367. -  yes)
  7368. -    cat << \_LT_EOF >> "$cfgfile"
  7369. -
  7370. -# func_append var value
  7371. -# Append VALUE to the end of shell variable VAR.
  7372. -func_append ()
  7373. -{
  7374. -  eval "$[1]+=\$[2]"
  7375. -}
  7376. -_LT_EOF
  7377. -    ;;
  7378. -  *)
  7379. -    cat << \_LT_EOF >> "$cfgfile"
  7380. -
  7381. -# func_append var value
  7382. -# Append VALUE to the end of shell variable VAR.
  7383. -func_append ()
  7384. -{
  7385. -  eval "$[1]=\$$[1]\$[2]"
  7386. -}
  7387. -
  7388. -_LT_EOF
  7389. -    ;;
  7390. -  esac
  7391. -])
  7392. -
  7393. -# Helper functions for option handling.                    -*- Autoconf -*-
  7394. -#
  7395. -#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  7396. -#   Written by Gary V. Vaughan, 2004
  7397. -#
  7398. -# This file is free software; the Free Software Foundation gives
  7399. -# unlimited permission to copy and/or distribute it, with or without
  7400. -# modifications, as long as this notice is preserved.
  7401. -
  7402. -# serial 6 ltoptions.m4
  7403. -
  7404. -# This is to help aclocal find these macros, as it can't see m4_define.
  7405. -AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
  7406. -
  7407. -
  7408. -# _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME)
  7409. -# ------------------------------------------
  7410. -m4_define([_LT_MANGLE_OPTION],
  7411. -[[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])])
  7412. -
  7413. -
  7414. -# _LT_SET_OPTION(MACRO-NAME, OPTION-NAME)
  7415. -# ---------------------------------------
  7416. -# Set option OPTION-NAME for macro MACRO-NAME, and if there is a
  7417. -# matching handler defined, dispatch to it.  Other OPTION-NAMEs are
  7418. -# saved as a flag.
  7419. -m4_define([_LT_SET_OPTION],
  7420. -[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
  7421. -m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
  7422. -        _LT_MANGLE_DEFUN([$1], [$2]),
  7423. -    [m4_warning([Unknown $1 option `$2'])])[]dnl
  7424. -])
  7425. -
  7426. -
  7427. -# _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET])
  7428. -# ------------------------------------------------------------
  7429. -# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
  7430. -m4_define([_LT_IF_OPTION],
  7431. -[m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])])
  7432. -
  7433. -
  7434. -# _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET)
  7435. -# -------------------------------------------------------
  7436. -# Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME
  7437. -# are set.
  7438. -m4_define([_LT_UNLESS_OPTIONS],
  7439. -[m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  7440. -       [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option),
  7441. -             [m4_define([$0_found])])])[]dnl
  7442. -m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3
  7443. -])[]dnl
  7444. -])
  7445. -
  7446. -
  7447. -# _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST)
  7448. -# ----------------------------------------
  7449. -# OPTION-LIST is a space-separated list of Libtool options associated
  7450. -# with MACRO-NAME.  If any OPTION has a matching handler declared with
  7451. -# LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about
  7452. -# the unknown option and exit.
  7453. -m4_defun([_LT_SET_OPTIONS],
  7454. -[# Set options
  7455. -m4_foreach([_LT_Option], m4_split(m4_normalize([$2])),
  7456. -    [_LT_SET_OPTION([$1], _LT_Option)])
  7457. -
  7458. -m4_if([$1],[LT_INIT],[
  7459. -  dnl
  7460. -  dnl Simply set some default values (i.e off) if boolean options were not
  7461. -  dnl specified:
  7462. -  _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no
  7463. -  ])
  7464. -  _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no
  7465. -  ])
  7466. -  dnl
  7467. -  dnl If no reference was made to various pairs of opposing options, then
  7468. -  dnl we run the default mode handler for the pair.  For example, if neither
  7469. -  dnl `shared' nor `disable-shared' was passed, we enable building of shared
  7470. -  dnl archives by default:
  7471. -  _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
  7472. -  _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
  7473. -  _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
  7474. -  _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
  7475. -          [_LT_ENABLE_FAST_INSTALL])
  7476. -  ])
  7477. -])# _LT_SET_OPTIONS
  7478. -
  7479. -
  7480. -
  7481. -# _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME)
  7482. -# -----------------------------------------
  7483. -m4_define([_LT_MANGLE_DEFUN],
  7484. -[[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])])
  7485. -
  7486. -
  7487. -# LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE)
  7488. -# -----------------------------------------------
  7489. -m4_define([LT_OPTION_DEFINE],
  7490. -[m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl
  7491. -])# LT_OPTION_DEFINE
  7492. -
  7493. -
  7494. -# dlopen
  7495. -# ------
  7496. -LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes
  7497. -])
  7498. -
  7499. -AU_DEFUN([AC_LIBTOOL_DLOPEN],
  7500. -[_LT_SET_OPTION([LT_INIT], [dlopen])
  7501. -AC_DIAGNOSE([obsolete],
  7502. -[$0: Remove this warning and the call to _LT_SET_OPTION when you
  7503. -put the `dlopen' option into LT_INIT's first parameter.])
  7504. -])
  7505. -
  7506. -dnl aclocal-1.4 backwards compatibility:
  7507. -dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], [])
  7508. -
  7509. -
  7510. -# win32-dll
  7511. -# ---------
  7512. -# Declare package support for building win32 dll's.
  7513. -LT_OPTION_DEFINE([LT_INIT], [win32-dll],
  7514. -[enable_win32_dll=yes
  7515. -
  7516. -case $host in
  7517. -*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  7518. -  AC_CHECK_TOOL(AS, as, false)
  7519. -  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
  7520. -  AC_CHECK_TOOL(OBJDUMP, objdump, false)
  7521. -  ;;
  7522. -esac
  7523. -
  7524. -test -z "$AS" && AS=as
  7525. -_LT_DECL([], [AS],      [0], [Assembler program])dnl
  7526. -
  7527. -test -z "$DLLTOOL" && DLLTOOL=dlltool
  7528. -_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
  7529. -
  7530. -test -z "$OBJDUMP" && OBJDUMP=objdump
  7531. -_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
  7532. -])# win32-dll
  7533. -
  7534. -AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
  7535. -[AC_REQUIRE([AC_CANONICAL_HOST])dnl
  7536. -_LT_SET_OPTION([LT_INIT], [win32-dll])
  7537. -AC_DIAGNOSE([obsolete],
  7538. -[$0: Remove this warning and the call to _LT_SET_OPTION when you
  7539. -put the `win32-dll' option into LT_INIT's first parameter.])
  7540. -])
  7541. -
  7542. -dnl aclocal-1.4 backwards compatibility:
  7543. -dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
  7544. -
  7545. -
  7546. -# _LT_ENABLE_SHARED([DEFAULT])
  7547. -# ----------------------------
  7548. -# implement the --enable-shared flag, and supports the `shared' and
  7549. -# `disable-shared' LT_INIT options.
  7550. -# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
  7551. -m4_define([_LT_ENABLE_SHARED],
  7552. -[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
  7553. -AC_ARG_ENABLE([shared],
  7554. -    [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@],
  7555. -   [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])],
  7556. -    [p=${PACKAGE-default}
  7557. -    case $enableval in
  7558. -    yes) enable_shared=yes ;;
  7559. -    no) enable_shared=no ;;
  7560. -    *)
  7561. -      enable_shared=no
  7562. -      # Look at the argument we got.  We use all the common list separators.
  7563. -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7564. -      for pkg in $enableval; do
  7565. -   IFS="$lt_save_ifs"
  7566. -   if test "X$pkg" = "X$p"; then
  7567. -     enable_shared=yes
  7568. -   fi
  7569. -      done
  7570. -      IFS="$lt_save_ifs"
  7571. -      ;;
  7572. -    esac],
  7573. -    [enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
  7574. -
  7575. -    _LT_DECL([build_libtool_libs], [enable_shared], [0],
  7576. -   [Whether or not to build shared libraries])
  7577. -])# _LT_ENABLE_SHARED
  7578. -
  7579. -LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])])
  7580. -LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])])
  7581. -
  7582. -# Old names:
  7583. -AC_DEFUN([AC_ENABLE_SHARED],
  7584. -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared])
  7585. -])
  7586. -
  7587. -AC_DEFUN([AC_DISABLE_SHARED],
  7588. -[_LT_SET_OPTION([LT_INIT], [disable-shared])
  7589. -])
  7590. -
  7591. -AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)])
  7592. -AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)])
  7593. -
  7594. -dnl aclocal-1.4 backwards compatibility:
  7595. -dnl AC_DEFUN([AM_ENABLE_SHARED], [])
  7596. -dnl AC_DEFUN([AM_DISABLE_SHARED], [])
  7597. -
  7598. -
  7599. -
  7600. -# _LT_ENABLE_STATIC([DEFAULT])
  7601. -# ----------------------------
  7602. -# implement the --enable-static flag, and support the `static' and
  7603. -# `disable-static' LT_INIT options.
  7604. -# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
  7605. -m4_define([_LT_ENABLE_STATIC],
  7606. -[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
  7607. -AC_ARG_ENABLE([static],
  7608. -    [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
  7609. -   [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
  7610. -    [p=${PACKAGE-default}
  7611. -    case $enableval in
  7612. -    yes) enable_static=yes ;;
  7613. -    no) enable_static=no ;;
  7614. -    *)
  7615. -     enable_static=no
  7616. -      # Look at the argument we got.  We use all the common list separators.
  7617. -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7618. -      for pkg in $enableval; do
  7619. -   IFS="$lt_save_ifs"
  7620. -   if test "X$pkg" = "X$p"; then
  7621. -     enable_static=yes
  7622. -   fi
  7623. -      done
  7624. -      IFS="$lt_save_ifs"
  7625. -      ;;
  7626. -    esac],
  7627. -    [enable_static=]_LT_ENABLE_STATIC_DEFAULT)
  7628. -
  7629. -    _LT_DECL([build_old_libs], [enable_static], [0],
  7630. -   [Whether or not to build static libraries])
  7631. -])# _LT_ENABLE_STATIC
  7632. -
  7633. -LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])])
  7634. -LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])])
  7635. -
  7636. -# Old names:
  7637. -AC_DEFUN([AC_ENABLE_STATIC],
  7638. -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static])
  7639. -])
  7640. -
  7641. -AC_DEFUN([AC_DISABLE_STATIC],
  7642. -[_LT_SET_OPTION([LT_INIT], [disable-static])
  7643. -])
  7644. -
  7645. -AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)])
  7646. -AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)])
  7647. -
  7648. -dnl aclocal-1.4 backwards compatibility:
  7649. -dnl AC_DEFUN([AM_ENABLE_STATIC], [])
  7650. -dnl AC_DEFUN([AM_DISABLE_STATIC], [])
  7651. -
  7652. -
  7653. -
  7654. -# _LT_ENABLE_FAST_INSTALL([DEFAULT])
  7655. -# ----------------------------------
  7656. -# implement the --enable-fast-install flag, and support the `fast-install'
  7657. -# and `disable-fast-install' LT_INIT options.
  7658. -# DEFAULT is either `yes' or `no'.  If omitted, it defaults to `yes'.
  7659. -m4_define([_LT_ENABLE_FAST_INSTALL],
  7660. -[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
  7661. -AC_ARG_ENABLE([fast-install],
  7662. -    [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@],
  7663. -    [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])],
  7664. -    [p=${PACKAGE-default}
  7665. -    case $enableval in
  7666. -    yes) enable_fast_install=yes ;;
  7667. -    no) enable_fast_install=no ;;
  7668. -    *)
  7669. -      enable_fast_install=no
  7670. -      # Look at the argument we got.  We use all the common list separators.
  7671. -      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7672. -      for pkg in $enableval; do
  7673. -   IFS="$lt_save_ifs"
  7674. -   if test "X$pkg" = "X$p"; then
  7675. -     enable_fast_install=yes
  7676. -   fi
  7677. -      done
  7678. -      IFS="$lt_save_ifs"
  7679. -      ;;
  7680. -    esac],
  7681. -    [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
  7682. -
  7683. -_LT_DECL([fast_install], [enable_fast_install], [0],
  7684. -    [Whether or not to optimize for fast installation])dnl
  7685. -])# _LT_ENABLE_FAST_INSTALL
  7686. -
  7687. -LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])])
  7688. -LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])])
  7689. -
  7690. -# Old names:
  7691. -AU_DEFUN([AC_ENABLE_FAST_INSTALL],
  7692. -[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
  7693. -AC_DIAGNOSE([obsolete],
  7694. -[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  7695. -the `fast-install' option into LT_INIT's first parameter.])
  7696. -])
  7697. -
  7698. -AU_DEFUN([AC_DISABLE_FAST_INSTALL],
  7699. -[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
  7700. -AC_DIAGNOSE([obsolete],
  7701. -[$0: Remove this warning and the call to _LT_SET_OPTION when you put
  7702. -the `disable-fast-install' option into LT_INIT's first parameter.])
  7703. -])
  7704. -
  7705. -dnl aclocal-1.4 backwards compatibility:
  7706. -dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
  7707. -dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
  7708. -
  7709. -
  7710. -# _LT_WITH_PIC([MODE])
  7711. -# --------------------
  7712. -# implement the --with-pic flag, and support the `pic-only' and `no-pic'
  7713. -# LT_INIT options.
  7714. -# MODE is either `yes' or `no'.  If omitted, it defaults to `both'.
  7715. -m4_define([_LT_WITH_PIC],
  7716. -[AC_ARG_WITH([pic],
  7717. -    [AS_HELP_STRING([--with-pic],
  7718. -   [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
  7719. -    [pic_mode="$withval"],
  7720. -    [pic_mode=default])
  7721. -
  7722. -test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
  7723. -
  7724. -_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
  7725. -])# _LT_WITH_PIC
  7726. -
  7727. -LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])])
  7728. -LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])])
  7729. -
  7730. -# Old name:
  7731. -AU_DEFUN([AC_LIBTOOL_PICMODE],
  7732. -[_LT_SET_OPTION([LT_INIT], [pic-only])
  7733. -AC_DIAGNOSE([obsolete],
  7734. -[$0: Remove this warning and the call to _LT_SET_OPTION when you
  7735. -put the `pic-only' option into LT_INIT's first parameter.])
  7736. -])
  7737. -
  7738. -dnl aclocal-1.4 backwards compatibility:
  7739. -dnl AC_DEFUN([AC_LIBTOOL_PICMODE], [])
  7740. -
  7741. -
  7742. -m4_define([_LTDL_MODE], [])
  7743. -LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive],
  7744. -        [m4_define([_LTDL_MODE], [nonrecursive])])
  7745. -LT_OPTION_DEFINE([LTDL_INIT], [recursive],
  7746. -        [m4_define([_LTDL_MODE], [recursive])])
  7747. -LT_OPTION_DEFINE([LTDL_INIT], [subproject],
  7748. -        [m4_define([_LTDL_MODE], [subproject])])
  7749. -
  7750. -m4_define([_LTDL_TYPE], [])
  7751. -LT_OPTION_DEFINE([LTDL_INIT], [installable],
  7752. -        [m4_define([_LTDL_TYPE], [installable])])
  7753. -LT_OPTION_DEFINE([LTDL_INIT], [convenience],
  7754. -        [m4_define([_LTDL_TYPE], [convenience])])
  7755. -
  7756. -# ltsugar.m4 -- libtool m4 base layer.                         -*-Autoconf-*-
  7757. -#
  7758. -# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
  7759. -# Written by Gary V. Vaughan, 2004
  7760. -#
  7761. -# This file is free software; the Free Software Foundation gives
  7762. -# unlimited permission to copy and/or distribute it, with or without
  7763. -# modifications, as long as this notice is preserved.
  7764. -
  7765. -# serial 6 ltsugar.m4
  7766. -
  7767. -# This is to help aclocal find these macros, as it can't see m4_define.
  7768. -AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])])
  7769. -
  7770. -
  7771. -# lt_join(SEP, ARG1, [ARG2...])
  7772. -# -----------------------------
  7773. -# Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their
  7774. -# associated separator.
  7775. -# Needed until we can rely on m4_join from Autoconf 2.62, since all earlier
  7776. -# versions in m4sugar had bugs.
  7777. -m4_define([lt_join],
  7778. -[m4_if([$#], [1], [],
  7779. -       [$#], [2], [[$2]],
  7780. -       [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])])
  7781. -m4_define([_lt_join],
  7782. -[m4_if([$#$2], [2], [],
  7783. -       [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])])
  7784. -
  7785. -
  7786. -# lt_car(LIST)
  7787. -# lt_cdr(LIST)
  7788. -# ------------
  7789. -# Manipulate m4 lists.
  7790. -# These macros are necessary as long as will still need to support
  7791. -# Autoconf-2.59 which quotes differently.
  7792. -m4_define([lt_car], [[$1]])
  7793. -m4_define([lt_cdr],
  7794. -[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
  7795. -       [$#], 1, [],
  7796. -       [m4_dquote(m4_shift($@))])])
  7797. -m4_define([lt_unquote], $1)
  7798. -
  7799. -
  7800. -# lt_append(MACRO-NAME, STRING, [SEPARATOR])
  7801. -# ------------------------------------------
  7802. -# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
  7803. -# Note that neither SEPARATOR nor STRING are expanded; they are appended
  7804. -# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
  7805. -# No SEPARATOR is output if MACRO-NAME was previously undefined (different
  7806. -# than defined and empty).
  7807. -#
  7808. -# This macro is needed until we can rely on Autoconf 2.62, since earlier
  7809. -# versions of m4sugar mistakenly expanded SEPARATOR but not STRING.
  7810. -m4_define([lt_append],
  7811. -[m4_define([$1],
  7812. -      m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])])
  7813. -
  7814. -
  7815. -
  7816. -# lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...])
  7817. -# ----------------------------------------------------------
  7818. -# Produce a SEP delimited list of all paired combinations of elements of
  7819. -# PREFIX-LIST with SUFFIX1 through SUFFIXn.  Each element of the list
  7820. -# has the form PREFIXmINFIXSUFFIXn.
  7821. -# Needed until we can rely on m4_combine added in Autoconf 2.62.
  7822. -m4_define([lt_combine],
  7823. -[m4_if(m4_eval([$# > 3]), [1],
  7824. -       [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl
  7825. -[[m4_foreach([_Lt_prefix], [$2],
  7826. -        [m4_foreach([_Lt_suffix],
  7827. -       ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[,
  7828. -   [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])])
  7829. -
  7830. -
  7831. -# lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ])
  7832. -# -----------------------------------------------------------------------
  7833. -# Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited
  7834. -# by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ.
  7835. -m4_define([lt_if_append_uniq],
  7836. -[m4_ifdef([$1],
  7837. -     [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1],
  7838. -        [lt_append([$1], [$2], [$3])$4],
  7839. -        [$5])],
  7840. -     [lt_append([$1], [$2], [$3])$4])])
  7841. -
  7842. -
  7843. -# lt_dict_add(DICT, KEY, VALUE)
  7844. -# -----------------------------
  7845. -m4_define([lt_dict_add],
  7846. -[m4_define([$1($2)], [$3])])
  7847. -
  7848. -
  7849. -# lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE)
  7850. -# --------------------------------------------
  7851. -m4_define([lt_dict_add_subkey],
  7852. -[m4_define([$1($2:$3)], [$4])])
  7853. -
  7854. -
  7855. -# lt_dict_fetch(DICT, KEY, [SUBKEY])
  7856. -# ----------------------------------
  7857. -m4_define([lt_dict_fetch],
  7858. -[m4_ifval([$3],
  7859. -   m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]),
  7860. -    m4_ifdef([$1($2)], [m4_defn([$1($2)])]))])
  7861. -
  7862. -
  7863. -# lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE])
  7864. -# -----------------------------------------------------------------
  7865. -m4_define([lt_if_dict_fetch],
  7866. -[m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4],
  7867. -   [$5],
  7868. -    [$6])])
  7869. -
  7870. -
  7871. -# lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...])
  7872. -# --------------------------------------------------------------
  7873. -m4_define([lt_dict_filter],
  7874. -[m4_if([$5], [], [],
  7875. -  [lt_join(m4_quote(m4_default([$4], [[, ]])),
  7876. -           lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]),
  7877. -             [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl
  7878. -])
  7879. -
  7880. -# ltversion.m4 -- version numbers          -*- Autoconf -*-
  7881. -#
  7882. -#   Copyright (C) 2004 Free Software Foundation, Inc.
  7883. -#   Written by Scott James Remnant, 2004
  7884. -#
  7885. -# This file is free software; the Free Software Foundation gives
  7886. -# unlimited permission to copy and/or distribute it, with or without
  7887. -# modifications, as long as this notice is preserved.
  7888. -
  7889. -# Generated from ltversion.in.
  7890. -
  7891. -# serial 3017 ltversion.m4
  7892. -# This file is part of GNU Libtool
  7893. -
  7894. -m4_define([LT_PACKAGE_VERSION], [2.2.6b])
  7895. -m4_define([LT_PACKAGE_REVISION], [1.3017])
  7896. -
  7897. -AC_DEFUN([LTVERSION_VERSION],
  7898. -[macro_version='2.2.6b'
  7899. -macro_revision='1.3017'
  7900. -_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
  7901. -_LT_DECL(, macro_revision, 0)
  7902. -])
  7903. -
  7904. -# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
  7905. -#
  7906. -#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
  7907. -#   Written by Scott James Remnant, 2004.
  7908. -#
  7909. -# This file is free software; the Free Software Foundation gives
  7910. -# unlimited permission to copy and/or distribute it, with or without
  7911. -# modifications, as long as this notice is preserved.
  7912. -
  7913. -# serial 4 lt~obsolete.m4
  7914. -
  7915. -# These exist entirely to fool aclocal when bootstrapping libtool.
  7916. -#
  7917. -# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
  7918. -# which have later been changed to m4_define as they aren't part of the
  7919. -# exported API, or moved to Autoconf or Automake where they belong.
  7920. -#
  7921. -# The trouble is, aclocal is a bit thick.  It'll see the old AC_DEFUN
  7922. -# in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us
  7923. -# using a macro with the same name in our local m4/libtool.m4 it'll
  7924. -# pull the old libtool.m4 in (it doesn't see our shiny new m4_define
  7925. -# and doesn't know about Autoconf macros at all.)
  7926. -#
  7927. -# So we provide this file, which has a silly filename so it's always
  7928. -# included after everything else.  This provides aclocal with the
  7929. -# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
  7930. -# because those macros already exist, or will be overwritten later.
  7931. -# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
  7932. -#
  7933. -# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
  7934. -# Yes, that means every name once taken will need to remain here until
  7935. -# we give up compatibility with versions before 1.7, at which point
  7936. -# we need to keep only those names which we still refer to.
  7937. -
  7938. -# This is to help aclocal find these macros, as it can't see m4_define.
  7939. -AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])])
  7940. -
  7941. -m4_ifndef([AC_LIBTOOL_LINKER_OPTION],  [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])])
  7942. -m4_ifndef([AC_PROG_EGREP],     [AC_DEFUN([AC_PROG_EGREP])])
  7943. -m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH],    [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])])
  7944. -m4_ifndef([_LT_AC_SHELL_INIT],     [AC_DEFUN([_LT_AC_SHELL_INIT])])
  7945. -m4_ifndef([_LT_AC_SYS_LIBPATH_AIX],    [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])])
  7946. -m4_ifndef([_LT_PROG_LTMAIN],       [AC_DEFUN([_LT_PROG_LTMAIN])])
  7947. -m4_ifndef([_LT_AC_TAGVAR],     [AC_DEFUN([_LT_AC_TAGVAR])])
  7948. -m4_ifndef([AC_LTDL_ENABLE_INSTALL],    [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])])
  7949. -m4_ifndef([AC_LTDL_PREOPEN],       [AC_DEFUN([AC_LTDL_PREOPEN])])
  7950. -m4_ifndef([_LT_AC_SYS_COMPILER],   [AC_DEFUN([_LT_AC_SYS_COMPILER])])
  7951. -m4_ifndef([_LT_AC_LOCK],       [AC_DEFUN([_LT_AC_LOCK])])
  7952. -m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE],    [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])])
  7953. -m4_ifndef([_LT_AC_TRY_DLOPEN_SELF],    [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])])
  7954. -m4_ifndef([AC_LIBTOOL_PROG_CC_C_O],    [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])])
  7955. -m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])])
  7956. -m4_ifndef([AC_LIBTOOL_OBJDIR],     [AC_DEFUN([AC_LIBTOOL_OBJDIR])])
  7957. -m4_ifndef([AC_LTDL_OBJDIR],        [AC_DEFUN([AC_LTDL_OBJDIR])])
  7958. -m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])])
  7959. -m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP],  [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])])
  7960. -m4_ifndef([AC_PATH_MAGIC],     [AC_DEFUN([AC_PATH_MAGIC])])
  7961. -m4_ifndef([AC_PROG_LD_GNU],        [AC_DEFUN([AC_PROG_LD_GNU])])
  7962. -m4_ifndef([AC_PROG_LD_RELOAD_FLAG],    [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])])
  7963. -m4_ifndef([AC_DEPLIBS_CHECK_METHOD],   [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])])
  7964. -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])])
  7965. -m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])])
  7966. -m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])])
  7967. -m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])])
  7968. -m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])])
  7969. -m4_ifndef([LT_AC_PROG_EGREP],      [AC_DEFUN([LT_AC_PROG_EGREP])])
  7970. -m4_ifndef([LT_AC_PROG_SED],        [AC_DEFUN([LT_AC_PROG_SED])])
  7971. -m4_ifndef([_LT_CC_BASENAME],       [AC_DEFUN([_LT_CC_BASENAME])])
  7972. -m4_ifndef([_LT_COMPILER_BOILERPLATE],  [AC_DEFUN([_LT_COMPILER_BOILERPLATE])])
  7973. -m4_ifndef([_LT_LINKER_BOILERPLATE],    [AC_DEFUN([_LT_LINKER_BOILERPLATE])])
  7974. -m4_ifndef([_AC_PROG_LIBTOOL],      [AC_DEFUN([_AC_PROG_LIBTOOL])])
  7975. -m4_ifndef([AC_LIBTOOL_SETUP],      [AC_DEFUN([AC_LIBTOOL_SETUP])])
  7976. -m4_ifndef([_LT_AC_CHECK_DLFCN],        [AC_DEFUN([_LT_AC_CHECK_DLFCN])])
  7977. -m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])])
  7978. -m4_ifndef([_LT_AC_TAGCONFIG],      [AC_DEFUN([_LT_AC_TAGCONFIG])])
  7979. -m4_ifndef([AC_DISABLE_FAST_INSTALL],   [AC_DEFUN([AC_DISABLE_FAST_INSTALL])])
  7980. -m4_ifndef([_LT_AC_LANG_CXX],       [AC_DEFUN([_LT_AC_LANG_CXX])])
  7981. -m4_ifndef([_LT_AC_LANG_F77],       [AC_DEFUN([_LT_AC_LANG_F77])])
  7982. -m4_ifndef([_LT_AC_LANG_GCJ],       [AC_DEFUN([_LT_AC_LANG_GCJ])])
  7983. -m4_ifndef([AC_LIBTOOL_RC],     [AC_DEFUN([AC_LIBTOOL_RC])])
  7984. -m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],  [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
  7985. -m4_ifndef([_LT_AC_LANG_C_CONFIG],  [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
  7986. -m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG],    [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
  7987. -m4_ifndef([_LT_AC_LANG_CXX_CONFIG],    [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])])
  7988. -m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG],    [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])])
  7989. -m4_ifndef([_LT_AC_LANG_F77_CONFIG],    [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])])
  7990. -m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG],    [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])])
  7991. -m4_ifndef([_LT_AC_LANG_GCJ_CONFIG],    [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])])
  7992. -m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])])
  7993. -m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
  7994. -m4_ifndef([AC_LIBTOOL_CONFIG],     [AC_DEFUN([AC_LIBTOOL_CONFIG])])
  7995. -m4_ifndef([_LT_AC_FILE_LTDLL_C],   [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
  7996. -
  7997. -# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
  7998. +# Copyright (C) 2002-2018 Free Software Foundation, Inc.
  7999.  #
  8000.  # This file is free software; the Free Software Foundation
  8001.  # gives unlimited permission to copy and/or distribute it,
  8002. @@ -7997,10 +32,10 @@
  8003.  # generated from the m4 files accompanying Automake X.Y.
  8004.  # (This private macro should not be called outside this file.)
  8005.  AC_DEFUN([AM_AUTOMAKE_VERSION],
  8006. -[am__api_version='1.11'
  8007. +[am__api_version='1.16'
  8008.  dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
  8009.  dnl require some minimum version.  Point them to the right macro.
  8010. -m4_if([$1], [1.11.1], [],
  8011. +m4_if([$1], [1.16.1], [],
  8012.        [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
  8013.  ])
  8014.  
  8015. @@ -8016,22 +51,22 @@
  8016.  # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
  8017.  # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
  8018.  AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
  8019. -[AM_AUTOMAKE_VERSION([1.11.1])dnl
  8020. +[AM_AUTOMAKE_VERSION([1.16.1])dnl
  8021.  m4_ifndef([AC_AUTOCONF_VERSION],
  8022.    [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
  8023.  _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
  8024.  
  8025.  # AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
  8026.  
  8027. -# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
  8028. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8029.  #
  8030.  # This file is free software; the Free Software Foundation
  8031.  # gives unlimited permission to copy and/or distribute it,
  8032.  # with or without modifications, as long as this notice is preserved.
  8033.  
  8034.  # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
  8035. -# $ac_aux_dir to `$srcdir/foo'.  In other projects, it is set to
  8036. -# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
  8037. +# $ac_aux_dir to '$srcdir/foo'.  In other projects, it is set to
  8038. +# '$srcdir', '$srcdir/..', or '$srcdir/../..'.
  8039.  #
  8040.  # Of course, Automake must honor this variable whenever it calls a
  8041.  # tool from the auxiliary directory.  The problem is that $srcdir (and
  8042. @@ -8050,7 +85,7 @@
  8043.  #
  8044.  # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
  8045.  # are both prefixed by $srcdir.  In an in-source build this is usually
  8046. -# harmless because $srcdir is `.', but things will broke when you
  8047. +# harmless because $srcdir is '.', but things will broke when you
  8048.  # start a VPATH build or use an absolute $srcdir.
  8049.  #
  8050.  # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
  8051. @@ -8068,30 +103,26 @@
  8052.  # configured tree to be moved without reconfiguration.
  8053.  
  8054.  AC_DEFUN([AM_AUX_DIR_EXPAND],
  8055. -[dnl Rely on autoconf to set up CDPATH properly.
  8056. -AC_PREREQ([2.50])dnl
  8057. -# expand $ac_aux_dir to an absolute path
  8058. -am_aux_dir=`cd $ac_aux_dir && pwd`
  8059. +[AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
  8060. +# Expand $ac_aux_dir to an absolute path.
  8061. +am_aux_dir=`cd "$ac_aux_dir" && pwd`
  8062.  ])
  8063.  
  8064.  # AM_CONDITIONAL                                            -*- Autoconf -*-
  8065.  
  8066. -# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
  8067. -# Free Software Foundation, Inc.
  8068. +# Copyright (C) 1997-2018 Free Software Foundation, Inc.
  8069.  #
  8070.  # This file is free software; the Free Software Foundation
  8071.  # gives unlimited permission to copy and/or distribute it,
  8072.  # with or without modifications, as long as this notice is preserved.
  8073.  
  8074. -# serial 9
  8075. -
  8076.  # AM_CONDITIONAL(NAME, SHELL-CONDITION)
  8077.  # -------------------------------------
  8078.  # Define a conditional.
  8079.  AC_DEFUN([AM_CONDITIONAL],
  8080. -[AC_PREREQ(2.52)dnl
  8081. - ifelse([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
  8082. -   [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  8083. +[AC_PREREQ([2.52])dnl
  8084. + m4_if([$1], [TRUE],  [AC_FATAL([$0: invalid condition: $1])],
  8085. +       [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
  8086.  AC_SUBST([$1_TRUE])dnl
  8087.  AC_SUBST([$1_FALSE])dnl
  8088.  _AM_SUBST_NOTMAKE([$1_TRUE])dnl
  8089. @@ -8110,16 +141,14 @@
  8090.  Usually this means the macro was only invoked conditionally.]])
  8091.  fi])])
  8092.  
  8093. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
  8094. -# Free Software Foundation, Inc.
  8095. +# Copyright (C) 1999-2018 Free Software Foundation, Inc.
  8096.  #
  8097.  # This file is free software; the Free Software Foundation
  8098.  # gives unlimited permission to copy and/or distribute it,
  8099.  # with or without modifications, as long as this notice is preserved.
  8100.  
  8101. -# serial 10
  8102.  
  8103. -# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
  8104. +# There are a few dirty hacks below to avoid letting 'AC_PROG_CC' be
  8105.  # written in clear, in which case automake, when reading aclocal.m4,
  8106.  # will think it sees a *use*, and therefore will trigger all it's
  8107.  # C support machinery.  Also note that it means that autoscan, seeing
  8108. @@ -8129,7 +158,7 @@
  8109.  # _AM_DEPENDENCIES(NAME)
  8110.  # ----------------------
  8111.  # See how the compiler implements dependency checking.
  8112. -# NAME is "CC", "CXX", "GCJ", or "OBJC".
  8113. +# NAME is "CC", "CXX", "OBJC", "OBJCXX", "UPC", or "GJC".
  8114.  # We try a few techniques and use that to set a single cache variable.
  8115.  #
  8116.  # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
  8117. @@ -8142,12 +171,13 @@
  8118.  AC_REQUIRE([AM_MAKE_INCLUDE])dnl
  8119.  AC_REQUIRE([AM_DEP_TRACK])dnl
  8120.  
  8121. -ifelse([$1], CC,   [depcc="$CC"   am_compiler_list=],
  8122. -       [$1], CXX,  [depcc="$CXX"  am_compiler_list=],
  8123. -       [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  8124. -       [$1], UPC,  [depcc="$UPC"  am_compiler_list=],
  8125. -       [$1], GCJ,  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
  8126. -                   [depcc="$$1"   am_compiler_list=])
  8127. +m4_if([$1], [CC],   [depcc="$CC"   am_compiler_list=],
  8128. +      [$1], [CXX],  [depcc="$CXX"  am_compiler_list=],
  8129. +      [$1], [OBJC], [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
  8130. +      [$1], [OBJCXX], [depcc="$OBJCXX" am_compiler_list='gcc3 gcc'],
  8131. +      [$1], [UPC],  [depcc="$UPC"  am_compiler_list=],
  8132. +      [$1], [GCJ],  [depcc="$GCJ"  am_compiler_list='gcc3 gcc'],
  8133. +                    [depcc="$$1"   am_compiler_list=])
  8134.  
  8135.  AC_CACHE_CHECK([dependency style of $depcc],
  8136.                 [am_cv_$1_dependencies_compiler_type],
  8137. @@ -8155,8 +185,9 @@
  8138.    # We make a subdir and do the tests there.  Otherwise we can end up
  8139.    # making bogus files that we don't know about and never remove.  For
  8140.    # instance it was reported that on HP-UX the gcc test will end up
  8141. -  # making a dummy file named `D' -- because `-MD' means `put the output
  8142. -  # in D'.
  8143. +  # making a dummy file named 'D' -- because '-MD' means "put the output
  8144. +  # in D".
  8145. +  rm -rf conftest.dir
  8146.    mkdir conftest.dir
  8147.    # Copy depcomp to subdir because otherwise we won't find it if we're
  8148.    # using a relative directory.
  8149. @@ -8195,16 +226,16 @@
  8150.      : > sub/conftest.c
  8151.      for i in 1 2 3 4 5 6; do
  8152.        echo '#include "conftst'$i'.h"' >> sub/conftest.c
  8153. -      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  8154. -      # Solaris 8's {/usr,}/bin/sh.
  8155. -      touch sub/conftst$i.h
  8156. +      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  8157. +      # Solaris 10 /bin/sh.
  8158. +      echo '/* dummy */' > sub/conftst$i.h
  8159.      done
  8160.      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  8161.  
  8162. -    # We check with `-c' and `-o' for the sake of the "dashmstdout"
  8163. +    # We check with '-c' and '-o' for the sake of the "dashmstdout"
  8164.      # mode.  It turns out that the SunPro C++ compiler does not properly
  8165. -    # handle `-M -o', and we need to detect this.  Also, some Intel
  8166. -    # versions had trouble with output in subdirs
  8167. +    # handle '-M -o', and we need to detect this.  Also, some Intel
  8168. +    # versions had trouble with output in subdirs.
  8169.      am__obj=sub/conftest.${OBJEXT-o}
  8170.      am__minus_obj="-o $am__obj"
  8171.      case $depmode in
  8172. @@ -8213,16 +244,16 @@
  8173.        test "$am__universal" = false || continue
  8174.        ;;
  8175.      nosideeffect)
  8176. -      # after this tag, mechanisms are not by side-effect, so they'll
  8177. -      # only be used when explicitly requested
  8178. +      # After this tag, mechanisms are not by side-effect, so they'll
  8179. +      # only be used when explicitly requested.
  8180.        if test "x$enable_dependency_tracking" = xyes; then
  8181.     continue
  8182.        else
  8183.     break
  8184.        fi
  8185.        ;;
  8186. -    msvisualcpp | msvcmsys)
  8187. -      # This compiler won't grok `-c -o', but also, the minuso test has
  8188. +    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  8189. +      # This compiler won't grok '-c -o', but also, the minuso test has
  8190.        # not run yet.  These depmodes are late enough in the game, and
  8191.        # so weak that their functioning should not be impacted.
  8192.        am__obj=conftest.${OBJEXT-o}
  8193. @@ -8270,7 +301,7 @@
  8194.  # AM_SET_DEPDIR
  8195.  # -------------
  8196.  # Choose a directory name for dependency files.
  8197. -# This macro is AC_REQUIREd in _AM_DEPENDENCIES
  8198. +# This macro is AC_REQUIREd in _AM_DEPENDENCIES.
  8199.  AC_DEFUN([AM_SET_DEPDIR],
  8200.  [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  8201.  AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
  8202. @@ -8280,81 +311,75 @@
  8203.  # AM_DEP_TRACK
  8204.  # ------------
  8205.  AC_DEFUN([AM_DEP_TRACK],
  8206. -[AC_ARG_ENABLE(dependency-tracking,
  8207. -[  --disable-dependency-tracking  speeds up one-time build
  8208. -  --enable-dependency-tracking   do not reject slow dependency extractors])
  8209. +[AC_ARG_ENABLE([dependency-tracking], [dnl
  8210. +AS_HELP_STRING(
  8211. +  [--enable-dependency-tracking],
  8212. +  [do not reject slow dependency extractors])
  8213. +AS_HELP_STRING(
  8214. +  [--disable-dependency-tracking],
  8215. +  [speeds up one-time build])])
  8216.  if test "x$enable_dependency_tracking" != xno; then
  8217.    am_depcomp="$ac_aux_dir/depcomp"
  8218.    AMDEPBACKSLASH='\'
  8219. +  am__nodep='_no'
  8220.  fi
  8221.  AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
  8222.  AC_SUBST([AMDEPBACKSLASH])dnl
  8223.  _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
  8224. +AC_SUBST([am__nodep])dnl
  8225. +_AM_SUBST_NOTMAKE([am__nodep])dnl
  8226.  ])
  8227.  
  8228.  # Generate code to set up dependency tracking.              -*- Autoconf -*-
  8229.  
  8230. -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
  8231. -# Free Software Foundation, Inc.
  8232. +# Copyright (C) 1999-2018 Free Software Foundation, Inc.
  8233.  #
  8234.  # This file is free software; the Free Software Foundation
  8235.  # gives unlimited permission to copy and/or distribute it,
  8236.  # with or without modifications, as long as this notice is preserved.
  8237.  
  8238. -#serial 5
  8239. -
  8240.  # _AM_OUTPUT_DEPENDENCY_COMMANDS
  8241.  # ------------------------------
  8242.  AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
  8243.  [{
  8244. -  # Autoconf 2.62 quotes --file arguments for eval, but not when files
  8245. +  # Older Autoconf quotes --file arguments for eval, but not when files
  8246.    # are listed without --file.  Let's play safe and only enable the eval
  8247.    # if we detect the quoting.
  8248. -  case $CONFIG_FILES in
  8249. -  *\'*) eval set x "$CONFIG_FILES" ;;
  8250. -  *)   set x $CONFIG_FILES ;;
  8251. -  esac
  8252. +  # TODO: see whether this extra hack can be removed once we start
  8253. +  # requiring Autoconf 2.70 or later.
  8254. +  AS_CASE([$CONFIG_FILES],
  8255. +          [*\'*], [eval set x "$CONFIG_FILES"],
  8256. +          [*], [set x $CONFIG_FILES])
  8257.    shift
  8258. -  for mf
  8259. +  # Used to flag and report bootstrapping failures.
  8260. +  am_rc=0
  8261. +  for am_mf
  8262.    do
  8263.      # Strip MF so we end up with the name of the file.
  8264. -    mf=`echo "$mf" | sed -e 's/:.*$//'`
  8265. -    # Check whether this is an Automake generated Makefile or not.
  8266. -    # We used to match only the files named `Makefile.in', but
  8267. -    # some people rename them; so instead we look at the file content.
  8268. -    # Grep'ing the first line is not enough: some people post-process
  8269. -    # each Makefile.in and add a new line on top of each file to say so.
  8270. -    # Grep'ing the whole file is not good either: AIX grep has a line
  8271. +    am_mf=`AS_ECHO(["$am_mf"]) | sed -e 's/:.*$//'`
  8272. +    # Check whether this is an Automake generated Makefile which includes
  8273. +    # dependency-tracking related rules and includes.
  8274. +    # Grep'ing the whole file directly is not great: AIX grep has a line
  8275.      # limit of 2048, but all sed's we know have understand at least 4000.
  8276. -    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  8277. -      dirpart=`AS_DIRNAME("$mf")`
  8278. -    else
  8279. -      continue
  8280. -    fi
  8281. -    # Extract the definition of DEPDIR, am__include, and am__quote
  8282. -    # from the Makefile without running `make'.
  8283. -    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  8284. -    test -z "$DEPDIR" && continue
  8285. -    am__include=`sed -n 's/^am__include = //p' < "$mf"`
  8286. -    test -z "am__include" && continue
  8287. -    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  8288. -    # When using ansi2knr, U may be empty or an underscore; expand it
  8289. -    U=`sed -n 's/^U = //p' < "$mf"`
  8290. -    # Find all dependency output files, they are included files with
  8291. -    # $(DEPDIR) in their names.  We invoke sed twice because it is the
  8292. -    # simplest approach to changing $(DEPDIR) to its actual value in the
  8293. -    # expansion.
  8294. -    for file in `sed -n "
  8295. -      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  8296. -    sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  8297. -      # Make sure the directory exists.
  8298. -      test -f "$dirpart/$file" && continue
  8299. -      fdir=`AS_DIRNAME(["$file"])`
  8300. -      AS_MKDIR_P([$dirpart/$fdir])
  8301. -      # echo "creating $dirpart/$file"
  8302. -      echo '# dummy' > "$dirpart/$file"
  8303. -    done
  8304. +    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
  8305. +      || continue
  8306. +    am_dirpart=`AS_DIRNAME(["$am_mf"])`
  8307. +    am_filepart=`AS_BASENAME(["$am_mf"])`
  8308. +    AM_RUN_LOG([cd "$am_dirpart" \
  8309. +      && sed -e '/# am--include-marker/d' "$am_filepart" \
  8310. +        | $MAKE -f - am--depfiles]) || am_rc=$?
  8311.    done
  8312. +  if test $am_rc -ne 0; then
  8313. +    AC_MSG_FAILURE([Something went wrong bootstrapping makefile fragments
  8314. +    for automatic dependency tracking.  Try re-running configure with the
  8315. +    '--disable-dependency-tracking' option to at least be able to build
  8316. +    the package (albeit without support for automatic dependency tracking).])
  8317. +  fi
  8318. +  AS_UNSET([am_dirpart])
  8319. +  AS_UNSET([am_filepart])
  8320. +  AS_UNSET([am_mf])
  8321. +  AS_UNSET([am_rc])
  8322. +  rm -f conftest-deps.mk
  8323.  }
  8324.  ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
  8325.  
  8326. @@ -8363,41 +388,31 @@
  8327.  # -----------------------------
  8328.  # This macro should only be invoked once -- use via AC_REQUIRE.
  8329.  #
  8330. -# This code is only required when automatic dependency tracking
  8331. -# is enabled.  FIXME.  This creates each `.P' file that we will
  8332. -# need in order to bootstrap the dependency handling code.
  8333. +# This code is only required when automatic dependency tracking is enabled.
  8334. +# This creates each '.Po' and '.Plo' makefile fragment that we'll need in
  8335. +# order to bootstrap the dependency handling code.
  8336.  AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
  8337.  [AC_CONFIG_COMMANDS([depfiles],
  8338.       [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
  8339. -     [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
  8340. -])
  8341. -
  8342. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
  8343. -# Free Software Foundation, Inc.
  8344. -#
  8345. -# This file is free software; the Free Software Foundation
  8346. -# gives unlimited permission to copy and/or distribute it,
  8347. -# with or without modifications, as long as this notice is preserved.
  8348. -
  8349. -# serial 8
  8350. -
  8351. -# AM_CONFIG_HEADER is obsolete.  It has been replaced by AC_CONFIG_HEADERS.
  8352. -AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
  8353. +     [AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"])])
  8354.  
  8355.  # Do all the work for Automake.                             -*- Autoconf -*-
  8356.  
  8357. -# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
  8358. -# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
  8359. +# Copyright (C) 1996-2018 Free Software Foundation, Inc.
  8360.  #
  8361.  # This file is free software; the Free Software Foundation
  8362.  # gives unlimited permission to copy and/or distribute it,
  8363.  # with or without modifications, as long as this notice is preserved.
  8364.  
  8365. -# serial 16
  8366. -
  8367.  # This macro actually does too much.  Some checks are only needed if
  8368.  # your package does certain things.  But this isn't really a big deal.
  8369.  
  8370. +dnl Redefine AC_PROG_CC to automatically invoke _AM_PROG_CC_C_O.
  8371. +m4_define([AC_PROG_CC],
  8372. +m4_defn([AC_PROG_CC])
  8373. +[_AM_PROG_CC_C_O
  8374. +])
  8375. +
  8376.  # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
  8377.  # AM_INIT_AUTOMAKE([OPTIONS])
  8378.  # -----------------------------------------------
  8379. @@ -8410,7 +425,7 @@
  8380.  # arguments mandatory, and then we can depend on a new Autoconf
  8381.  # release and drop the old call support.
  8382.  AC_DEFUN([AM_INIT_AUTOMAKE],
  8383. -[AC_PREREQ([2.62])dnl
  8384. +[AC_PREREQ([2.65])dnl
  8385.  dnl Autoconf wants to disallow AM_ names.  We explicitly allow
  8386.  dnl the ones we care about.
  8387.  m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
  8388. @@ -8439,33 +454,42 @@
  8389.  # Define the identity of the package.
  8390.  dnl Distinguish between old-style and new-style calls.
  8391.  m4_ifval([$2],
  8392. -[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  8393. +[AC_DIAGNOSE([obsolete],
  8394. +             [$0: two- and three-arguments forms are deprecated.])
  8395. +m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
  8396.   AC_SUBST([PACKAGE], [$1])dnl
  8397.   AC_SUBST([VERSION], [$2])],
  8398.  [_AM_SET_OPTIONS([$1])dnl
  8399.  dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
  8400. -m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
  8401. +m4_if(
  8402. +  m4_ifdef([AC_PACKAGE_NAME], [ok]):m4_ifdef([AC_PACKAGE_VERSION], [ok]),
  8403. +  [ok:ok],,
  8404.    [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
  8405.   AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
  8406.   AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
  8407.  
  8408.  _AM_IF_OPTION([no-define],,
  8409. -[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
  8410. - AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
  8411. +[AC_DEFINE_UNQUOTED([PACKAGE], ["$PACKAGE"], [Name of package])
  8412. + AC_DEFINE_UNQUOTED([VERSION], ["$VERSION"], [Version number of package])])dnl
  8413.  
  8414.  # Some tools Automake needs.
  8415.  AC_REQUIRE([AM_SANITY_CHECK])dnl
  8416.  AC_REQUIRE([AC_ARG_PROGRAM])dnl
  8417. -AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
  8418. -AM_MISSING_PROG(AUTOCONF, autoconf)
  8419. -AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
  8420. -AM_MISSING_PROG(AUTOHEADER, autoheader)
  8421. -AM_MISSING_PROG(MAKEINFO, makeinfo)
  8422. +AM_MISSING_PROG([ACLOCAL], [aclocal-${am__api_version}])
  8423. +AM_MISSING_PROG([AUTOCONF], [autoconf])
  8424. +AM_MISSING_PROG([AUTOMAKE], [automake-${am__api_version}])
  8425. +AM_MISSING_PROG([AUTOHEADER], [autoheader])
  8426. +AM_MISSING_PROG([MAKEINFO], [makeinfo])
  8427.  AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  8428.  AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
  8429. -AC_REQUIRE([AM_PROG_MKDIR_P])dnl
  8430. -# We need awk for the "check" target.  The system "awk" is bad on
  8431. -# some platforms.
  8432. +AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  8433. +# For better backward compatibility.  To be removed once Automake 1.9.x
  8434. +# dies out for good.  For more background, see:
  8435. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  8436. +# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  8437. +AC_SUBST([mkdir_p], ['$(MKDIR_P)'])
  8438. +# We need awk for the "check" target (and possibly the TAP driver).  The
  8439. +# system "awk" is bad on some platforms.
  8440.  AC_REQUIRE([AC_PROG_AWK])dnl
  8441.  AC_REQUIRE([AC_PROG_MAKE_SET])dnl
  8442.  AC_REQUIRE([AM_SET_LEADING_DOT])dnl
  8443. @@ -8474,34 +498,82 @@
  8444.                  [_AM_PROG_TAR([v7])])])
  8445.  _AM_IF_OPTION([no-dependencies],,
  8446.  [AC_PROVIDE_IFELSE([AC_PROG_CC],
  8447. -         [_AM_DEPENDENCIES(CC)],
  8448. -         [define([AC_PROG_CC],
  8449. -             defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
  8450. +         [_AM_DEPENDENCIES([CC])],
  8451. +         [m4_define([AC_PROG_CC],
  8452. +                m4_defn([AC_PROG_CC])[_AM_DEPENDENCIES([CC])])])dnl
  8453.  AC_PROVIDE_IFELSE([AC_PROG_CXX],
  8454. -         [_AM_DEPENDENCIES(CXX)],
  8455. -         [define([AC_PROG_CXX],
  8456. -             defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
  8457. +         [_AM_DEPENDENCIES([CXX])],
  8458. +         [m4_define([AC_PROG_CXX],
  8459. +                m4_defn([AC_PROG_CXX])[_AM_DEPENDENCIES([CXX])])])dnl
  8460.  AC_PROVIDE_IFELSE([AC_PROG_OBJC],
  8461. -         [_AM_DEPENDENCIES(OBJC)],
  8462. -         [define([AC_PROG_OBJC],
  8463. -             defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
  8464. -])
  8465. -_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
  8466. -dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
  8467. -dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This macro
  8468. -dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
  8469. +         [_AM_DEPENDENCIES([OBJC])],
  8470. +         [m4_define([AC_PROG_OBJC],
  8471. +                m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
  8472. +AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
  8473. +         [_AM_DEPENDENCIES([OBJCXX])],
  8474. +         [m4_define([AC_PROG_OBJCXX],
  8475. +                m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
  8476. +])
  8477. +AC_REQUIRE([AM_SILENT_RULES])dnl
  8478. +dnl The testsuite driver may need to know about EXEEXT, so add the
  8479. +dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen.  This
  8480. +dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
  8481.  AC_CONFIG_COMMANDS_PRE(dnl
  8482.  [m4_provide_if([_AM_COMPILER_EXEEXT],
  8483.    [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
  8484. +
  8485. +# POSIX will say in a future version that running "rm -f" with no argument
  8486. +# is OK; and we want to be able to make that assumption in our Makefile
  8487. +# recipes.  So use an aggressive probe to check that the usage we want is
  8488. +# actually supported "in the wild" to an acceptable degree.
  8489. +# See automake bug#10828.
  8490. +# To make any issue more visible, cause the running configure to be aborted
  8491. +# by default if the 'rm' program in use doesn't match our expectations; the
  8492. +# user can still override this though.
  8493. +if rm -f && rm -fr && rm -rf; then : OK; else
  8494. +  cat >&2 <<'END'
  8495. +Oops!
  8496. +
  8497. +Your 'rm' program seems unable to run without file operands specified
  8498. +on the command line, even when the '-f' option is present.  This is contrary
  8499. +to the behaviour of most rm programs out there, and not conforming with
  8500. +the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  8501. +
  8502. +Please tell bug-automake@gnu.org about your system, including the value
  8503. +of your $PATH and any error possibly output before this message.  This
  8504. +can help us improve future automake versions.
  8505. +
  8506. +END
  8507. +  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  8508. +    echo 'Configuration will proceed anyway, since you have set the' >&2
  8509. +    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  8510. +    echo >&2
  8511. +  else
  8512. +    cat >&2 <<'END'
  8513. +Aborting the configuration process, to ensure you take notice of the issue.
  8514. +
  8515. +You can download and install GNU coreutils to get an 'rm' implementation
  8516. +that behaves properly: <https://www.gnu.org/software/coreutils/>.
  8517. +
  8518. +If you want to complete the configuration process using your problematic
  8519. +'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  8520. +to "yes", and re-run configure.
  8521. +
  8522. +END
  8523. +    AC_MSG_ERROR([Your 'rm' program is bad, sorry.])
  8524. +  fi
  8525. +fi
  8526. +dnl The trailing newline in this macro's definition is deliberate, for
  8527. +dnl backward compatibility and to allow trailing 'dnl'-style comments
  8528. +dnl after the AM_INIT_AUTOMAKE invocation. See automake bug#16841.
  8529.  ])
  8530.  
  8531. -dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
  8532. +dnl Hook into '_AC_COMPILER_EXEEXT' early to learn its expansion.  Do not
  8533.  dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
  8534.  dnl mangled by Autoconf and run in a shell conditional statement.
  8535.  m4_define([_AC_COMPILER_EXEEXT],
  8536.  m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
  8537.  
  8538. -
  8539.  # When config.status generates a header, we must update the stamp-h file.
  8540.  # This file resides in the same directory as the config header
  8541.  # that is generated.  The stamp files are numbered to have different names.
  8542. @@ -8523,7 +595,7 @@
  8543.  done
  8544.  echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
  8545.  
  8546. -# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
  8547. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8548.  #
  8549.  # This file is free software; the Free Software Foundation
  8550.  # gives unlimited permission to copy and/or distribute it,
  8551. @@ -8534,7 +606,7 @@
  8552.  # Define $install_sh.
  8553.  AC_DEFUN([AM_PROG_INSTALL_SH],
  8554.  [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  8555. -if test x"${install_sh}" != xset; then
  8556. +if test x"${install_sh+set}" != xset; then
  8557.    case $am_aux_dir in
  8558.    *\ * | *\    *)
  8559.      install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  8560. @@ -8542,16 +614,14 @@
  8561.      install_sh="\${SHELL} $am_aux_dir/install-sh"
  8562.    esac
  8563.  fi
  8564. -AC_SUBST(install_sh)])
  8565. +AC_SUBST([install_sh])])
  8566.  
  8567. -# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
  8568. +# Copyright (C) 2003-2018 Free Software Foundation, Inc.
  8569.  #
  8570.  # This file is free software; the Free Software Foundation
  8571.  # gives unlimited permission to copy and/or distribute it,
  8572.  # with or without modifications, as long as this notice is preserved.
  8573.  
  8574. -# serial 2
  8575. -
  8576.  # Check whether the underlying file-system supports filenames
  8577.  # with a leading dot.  For instance MS-DOS doesn't.
  8578.  AC_DEFUN([AM_SET_LEADING_DOT],
  8579. @@ -8567,67 +637,55 @@
  8580.  
  8581.  # Check to see how 'make' treats includes.             -*- Autoconf -*-
  8582.  
  8583. -# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
  8584. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8585.  #
  8586.  # This file is free software; the Free Software Foundation
  8587.  # gives unlimited permission to copy and/or distribute it,
  8588.  # with or without modifications, as long as this notice is preserved.
  8589.  
  8590. -# serial 4
  8591. -
  8592.  # AM_MAKE_INCLUDE()
  8593.  # -----------------
  8594. -# Check to see how make treats includes.
  8595. +# Check whether make has an 'include' directive that can support all
  8596. +# the idioms we need for our automatic dependency tracking code.
  8597.  AC_DEFUN([AM_MAKE_INCLUDE],
  8598. -[am_make=${MAKE-make}
  8599. -cat > confinc << 'END'
  8600. +[AC_MSG_CHECKING([whether ${MAKE-make} supports the include directive])
  8601. +cat > confinc.mk << 'END'
  8602.  am__doit:
  8603. -   @echo this is the am__doit target
  8604. +   @echo this is the am__doit target >confinc.out
  8605.  .PHONY: am__doit
  8606.  END
  8607. -# If we don't find an include directive, just comment out the code.
  8608. -AC_MSG_CHECKING([for style of include used by $am_make])
  8609.  am__include="#"
  8610.  am__quote=
  8611. -_am_result=none
  8612. -# First try GNU make style include.
  8613. -echo "include confinc" > confmf
  8614. -# Ignore all kinds of additional output from `make'.
  8615. -case `$am_make -s -f confmf 2> /dev/null` in #(
  8616. -*the\ am__doit\ target*)
  8617. -  am__include=include
  8618. -  am__quote=
  8619. -  _am_result=GNU
  8620. -  ;;
  8621. -esac
  8622. -# Now try BSD make style include.
  8623. -if test "$am__include" = "#"; then
  8624. -   echo '.include "confinc"' > confmf
  8625. -   case `$am_make -s -f confmf 2> /dev/null` in #(
  8626. -   *the\ am__doit\ target*)
  8627. -     am__include=.include
  8628. -     am__quote="\""
  8629. -     _am_result=BSD
  8630. -     ;;
  8631. -   esac
  8632. -fi
  8633. -AC_SUBST([am__include])
  8634. -AC_SUBST([am__quote])
  8635. -AC_MSG_RESULT([$_am_result])
  8636. -rm -f confinc confmf
  8637. -])
  8638. +# BSD make does it like this.
  8639. +echo '.include "confinc.mk" # ignored' > confmf.BSD
  8640. +# Other make implementations (GNU, Solaris 10, AIX) do it like this.
  8641. +echo 'include confinc.mk # ignored' > confmf.GNU
  8642. +_am_result=no
  8643. +for s in GNU BSD; do
  8644. +  AM_RUN_LOG([${MAKE-make} -f confmf.$s && cat confinc.out])
  8645. +  AS_CASE([$?:`cat confinc.out 2>/dev/null`],
  8646. +      ['0:this is the am__doit target'],
  8647. +      [AS_CASE([$s],
  8648. +          [BSD], [am__include='.include' am__quote='"'],
  8649. +          [am__include='include' am__quote=''])])
  8650. +  if test "$am__include" != "#"; then
  8651. +    _am_result="yes ($s style)"
  8652. +    break
  8653. +  fi
  8654. +done
  8655. +rm -f confinc.* confmf.*
  8656. +AC_MSG_RESULT([${_am_result}])
  8657. +AC_SUBST([am__include])])
  8658. +AC_SUBST([am__quote])])
  8659.  
  8660.  # Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
  8661.  
  8662. -# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
  8663. -# Free Software Foundation, Inc.
  8664. +# Copyright (C) 1997-2018 Free Software Foundation, Inc.
  8665.  #
  8666.  # This file is free software; the Free Software Foundation
  8667.  # gives unlimited permission to copy and/or distribute it,
  8668.  # with or without modifications, as long as this notice is preserved.
  8669.  
  8670. -# serial 6
  8671. -
  8672.  # AM_MISSING_PROG(NAME, PROGRAM)
  8673.  # ------------------------------
  8674.  AC_DEFUN([AM_MISSING_PROG],
  8675. @@ -8635,11 +693,10 @@
  8676.  $1=${$1-"${am_missing_run}$2"}
  8677.  AC_SUBST($1)])
  8678.  
  8679. -
  8680.  # AM_MISSING_HAS_RUN
  8681.  # ------------------
  8682. -# Define MISSING if not defined so far and test if it supports --run.
  8683. -# If it does, set am_missing_run to use it, otherwise, to nothing.
  8684. +# Define MISSING if not defined so far and test if it is modern enough.
  8685. +# If it is, set am_missing_run to use it, otherwise, to nothing.
  8686.  AC_DEFUN([AM_MISSING_HAS_RUN],
  8687.  [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  8688.  AC_REQUIRE_AUX_FILE([missing])dnl
  8689. @@ -8652,63 +709,64 @@
  8690.    esac
  8691.  fi
  8692.  # Use eval to expand $SHELL
  8693. -if eval "$MISSING --run true"; then
  8694. -  am_missing_run="$MISSING --run "
  8695. +if eval "$MISSING --is-lightweight"; then
  8696. +  am_missing_run="$MISSING "
  8697.  else
  8698.    am_missing_run=
  8699. -  AC_MSG_WARN([`missing' script is too old or missing])
  8700. +  AC_MSG_WARN(['missing' script is too old or missing])
  8701.  fi
  8702.  ])
  8703.  
  8704. -# Copyright (C) 2003, 2004, 2005, 2006  Free Software Foundation, Inc.
  8705. +#  -*- Autoconf -*-
  8706. +# Obsolete and "removed" macros, that must however still report explicit
  8707. +# error messages when used, to smooth transition.
  8708. +#
  8709. +# Copyright (C) 1996-2018 Free Software Foundation, Inc.
  8710.  #
  8711.  # This file is free software; the Free Software Foundation
  8712.  # gives unlimited permission to copy and/or distribute it,
  8713.  # with or without modifications, as long as this notice is preserved.
  8714.  
  8715. -# AM_PROG_MKDIR_P
  8716. -# ---------------
  8717. -# Check for `mkdir -p'.
  8718. -AC_DEFUN([AM_PROG_MKDIR_P],
  8719. -[AC_PREREQ([2.60])dnl
  8720. -AC_REQUIRE([AC_PROG_MKDIR_P])dnl
  8721. -dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
  8722. -dnl while keeping a definition of mkdir_p for backward compatibility.
  8723. -dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
  8724. -dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
  8725. -dnl Makefile.ins that do not define MKDIR_P, so we do our own
  8726. -dnl adjustment using top_builddir (which is defined more often than
  8727. -dnl MKDIR_P).
  8728. -AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
  8729. -case $mkdir_p in
  8730. -  [[\\/$]]* | ?:[[\\/]]*) ;;
  8731. -  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  8732. -esac
  8733. -])
  8734. +AC_DEFUN([AM_CONFIG_HEADER],
  8735. +[AC_DIAGNOSE([obsolete],
  8736. +['$0': this macro is obsolete.
  8737. +You should use the 'AC][_CONFIG_HEADERS' macro instead.])dnl
  8738. +AC_CONFIG_HEADERS($@)])
  8739. +
  8740. +AC_DEFUN([AM_PROG_CC_STDC],
  8741. +[AC_PROG_CC
  8742. +am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  8743. +AC_DIAGNOSE([obsolete],
  8744. +['$0': this macro is obsolete.
  8745. +You should simply use the 'AC][_PROG_CC' macro instead.
  8746. +Also, your code should no longer depend upon 'am_cv_prog_cc_stdc',
  8747. +but upon 'ac_cv_prog_cc_stdc'.])])
  8748. +
  8749. +AC_DEFUN([AM_C_PROTOTYPES],
  8750. +         [AC_FATAL([automatic de-ANSI-fication support has been removed])])
  8751. +AU_DEFUN([fp_C_PROTOTYPES], [AM_C_PROTOTYPES])
  8752.  
  8753.  # Helper functions for option handling.                     -*- Autoconf -*-
  8754.  
  8755. -# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
  8756. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8757.  #
  8758.  # This file is free software; the Free Software Foundation
  8759.  # gives unlimited permission to copy and/or distribute it,
  8760.  # with or without modifications, as long as this notice is preserved.
  8761.  
  8762. -# serial 4
  8763. -
  8764.  # _AM_MANGLE_OPTION(NAME)
  8765.  # -----------------------
  8766.  AC_DEFUN([_AM_MANGLE_OPTION],
  8767.  [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
  8768.  
  8769.  # _AM_SET_OPTION(NAME)
  8770. -# ------------------------------
  8771. +# --------------------
  8772.  # Set option NAME.  Presently that only means defining a flag for this option.
  8773.  AC_DEFUN([_AM_SET_OPTION],
  8774. -[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
  8775. +[m4_define(_AM_MANGLE_OPTION([$1]), [1])])
  8776.  
  8777.  # _AM_SET_OPTIONS(OPTIONS)
  8778. -# ----------------------------------
  8779. +# ------------------------
  8780.  # OPTIONS is a space-separated list of Automake options.
  8781.  AC_DEFUN([_AM_SET_OPTIONS],
  8782.  [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
  8783. @@ -8719,24 +777,82 @@
  8784.  AC_DEFUN([_AM_IF_OPTION],
  8785.  [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
  8786.  
  8787. -# Check to make sure that the build environment is sane.    -*- Autoconf -*-
  8788. +# Copyright (C) 1999-2018 Free Software Foundation, Inc.
  8789. +#
  8790. +# This file is free software; the Free Software Foundation
  8791. +# gives unlimited permission to copy and/or distribute it,
  8792. +# with or without modifications, as long as this notice is preserved.
  8793.  
  8794. -# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
  8795. -# Free Software Foundation, Inc.
  8796. +# _AM_PROG_CC_C_O
  8797. +# ---------------
  8798. +# Like AC_PROG_CC_C_O, but changed for automake.  We rewrite AC_PROG_CC
  8799. +# to automatically call this.
  8800. +AC_DEFUN([_AM_PROG_CC_C_O],
  8801. +[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
  8802. +AC_REQUIRE_AUX_FILE([compile])dnl
  8803. +AC_LANG_PUSH([C])dnl
  8804. +AC_CACHE_CHECK(
  8805. +  [whether $CC understands -c and -o together],
  8806. +  [am_cv_prog_cc_c_o],
  8807. +  [AC_LANG_CONFTEST([AC_LANG_PROGRAM([])])
  8808. +  # Make sure it works both with $CC and with simple cc.
  8809. +  # Following AC_PROG_CC_C_O, we do the test twice because some
  8810. +  # compilers refuse to overwrite an existing .o file with -o,
  8811. +  # though they will create one.
  8812. +  am_cv_prog_cc_c_o=yes
  8813. +  for am_i in 1 2; do
  8814. +    if AM_RUN_LOG([$CC -c conftest.$ac_ext -o conftest2.$ac_objext]) \
  8815. +         && test -f conftest2.$ac_objext; then
  8816. +      : OK
  8817. +    else
  8818. +      am_cv_prog_cc_c_o=no
  8819. +      break
  8820. +    fi
  8821. +  done
  8822. +  rm -f core conftest*
  8823. +  unset am_i])
  8824. +if test "$am_cv_prog_cc_c_o" != yes; then
  8825. +   # Losing compiler, so override with the script.
  8826. +   # FIXME: It is wrong to rewrite CC.
  8827. +   # But if we don't then we get into trouble of one sort or another.
  8828. +   # A longer-term fix would be to have automake use am__CC in this case,
  8829. +   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  8830. +   CC="$am_aux_dir/compile $CC"
  8831. +fi
  8832. +AC_LANG_POP([C])])
  8833. +
  8834. +# For backward compatibility.
  8835. +AC_DEFUN_ONCE([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC])])
  8836. +
  8837. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  8838.  #
  8839.  # This file is free software; the Free Software Foundation
  8840.  # gives unlimited permission to copy and/or distribute it,
  8841.  # with or without modifications, as long as this notice is preserved.
  8842.  
  8843. -# serial 5
  8844. +# AM_RUN_LOG(COMMAND)
  8845. +# -------------------
  8846. +# Run COMMAND, save the exit status in ac_status, and log it.
  8847. +# (This has been adapted from Autoconf's _AC_RUN_LOG macro.)
  8848. +AC_DEFUN([AM_RUN_LOG],
  8849. +[{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD
  8850. +   ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD
  8851. +   ac_status=$?
  8852. +   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
  8853. +   (exit $ac_status); }])
  8854. +
  8855. +# Check to make sure that the build environment is sane.    -*- Autoconf -*-
  8856. +
  8857. +# Copyright (C) 1996-2018 Free Software Foundation, Inc.
  8858. +#
  8859. +# This file is free software; the Free Software Foundation
  8860. +# gives unlimited permission to copy and/or distribute it,
  8861. +# with or without modifications, as long as this notice is preserved.
  8862.  
  8863.  # AM_SANITY_CHECK
  8864.  # ---------------
  8865.  AC_DEFUN([AM_SANITY_CHECK],
  8866.  [AC_MSG_CHECKING([whether build environment is sane])
  8867. -# Just in case
  8868. -sleep 1
  8869. -echo timestamp > conftest.file
  8870.  # Reject unsafe characters in $srcdir or the absolute working directory
  8871.  # name.  Accept space and tab only in the latter.
  8872.  am_lf='
  8873. @@ -8747,32 +863,40 @@
  8874.  esac
  8875.  case $srcdir in
  8876.    *[[\\\"\#\$\&\'\`$am_lf\ \   ]]*)
  8877. -    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
  8878. +    AC_MSG_ERROR([unsafe srcdir value: '$srcdir']);;
  8879.  esac
  8880.  
  8881. -# Do `set' in a subshell so we don't clobber the current shell's
  8882. +# Do 'set' in a subshell so we don't clobber the current shell's
  8883.  # arguments.  Must try -L first in case configure is actually a
  8884.  # symlink; some systems play weird games with the mod time of symlinks
  8885.  # (eg FreeBSD returns the mod time of the symlink's containing
  8886.  # directory).
  8887.  if (
  8888. -   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  8889. -   if test "$[*]" = "X"; then
  8890. -      # -L didn't work.
  8891. -      set X `ls -t "$srcdir/configure" conftest.file`
  8892. -   fi
  8893. -   rm -f conftest.file
  8894. -   if test "$[*]" != "X $srcdir/configure conftest.file" \
  8895. -      && test "$[*]" != "X conftest.file $srcdir/configure"; then
  8896. -
  8897. -      # If neither matched, then we have a broken ls.  This can happen
  8898. -      # if, for instance, CONFIG_SHELL is bash and it inherits a
  8899. -      # broken ls alias from the environment.  This has actually
  8900. -      # happened.  Such a system could not be considered "sane".
  8901. -      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
  8902. -alias in your environment])
  8903. -   fi
  8904. +   am_has_slept=no
  8905. +   for am_try in 1 2; do
  8906. +     echo "timestamp, slept: $am_has_slept" > conftest.file
  8907. +     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  8908. +     if test "$[*]" = "X"; then
  8909. +   # -L didn't work.
  8910. +   set X `ls -t "$srcdir/configure" conftest.file`
  8911. +     fi
  8912. +     if test "$[*]" != "X $srcdir/configure conftest.file" \
  8913. +   && test "$[*]" != "X conftest.file $srcdir/configure"; then
  8914.  
  8915. +   # If neither matched, then we have a broken ls.  This can happen
  8916. +   # if, for instance, CONFIG_SHELL is bash and it inherits a
  8917. +   # broken ls alias from the environment.  This has actually
  8918. +   # happened.  Such a system could not be considered "sane".
  8919. +   AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
  8920. +  alias in your environment])
  8921. +     fi
  8922. +     if test "$[2]" = conftest.file || test $am_try -eq 2; then
  8923. +       break
  8924. +     fi
  8925. +     # Just in case.
  8926. +     sleep 1
  8927. +     am_has_slept=yes
  8928. +   done
  8929.     test "$[2]" = conftest.file
  8930.     )
  8931.  then
  8932. @@ -8782,9 +906,85 @@
  8933.     AC_MSG_ERROR([newly created file is older than distributed files!
  8934.  Check your system clock])
  8935.  fi
  8936. -AC_MSG_RESULT(yes)])
  8937. +AC_MSG_RESULT([yes])
  8938. +# If we didn't sleep, we still need to ensure time stamps of config.status and
  8939. +# generated files are strictly newer.
  8940. +am_sleep_pid=
  8941. +if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  8942. +  ( sleep 1 ) &
  8943. +  am_sleep_pid=$!
  8944. +fi
  8945. +AC_CONFIG_COMMANDS_PRE(
  8946. +  [AC_MSG_CHECKING([that generated files are newer than configure])
  8947. +   if test -n "$am_sleep_pid"; then
  8948. +     # Hide warnings about reused PIDs.
  8949. +     wait $am_sleep_pid 2>/dev/null
  8950. +   fi
  8951. +   AC_MSG_RESULT([done])])
  8952. +rm -f conftest.file
  8953. +])
  8954. +
  8955. +# Copyright (C) 2009-2018 Free Software Foundation, Inc.
  8956. +#
  8957. +# This file is free software; the Free Software Foundation
  8958. +# gives unlimited permission to copy and/or distribute it,
  8959. +# with or without modifications, as long as this notice is preserved.
  8960. +
  8961. +# AM_SILENT_RULES([DEFAULT])
  8962. +# --------------------------
  8963. +# Enable less verbose build rules; with the default set to DEFAULT
  8964. +# ("yes" being less verbose, "no" or empty being verbose).
  8965. +AC_DEFUN([AM_SILENT_RULES],
  8966. +[AC_ARG_ENABLE([silent-rules], [dnl
  8967. +AS_HELP_STRING(
  8968. +  [--enable-silent-rules],
  8969. +  [less verbose build output (undo: "make V=1")])
  8970. +AS_HELP_STRING(
  8971. +  [--disable-silent-rules],
  8972. +  [verbose build output (undo: "make V=0")])dnl
  8973. +])
  8974. +case $enable_silent_rules in @%:@ (((
  8975. +  yes) AM_DEFAULT_VERBOSITY=0;;
  8976. +   no) AM_DEFAULT_VERBOSITY=1;;
  8977. +    *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
  8978. +esac
  8979. +dnl
  8980. +dnl A few 'make' implementations (e.g., NonStop OS and NextStep)
  8981. +dnl do not support nested variable expansions.
  8982. +dnl See automake bug#9928 and bug#10237.
  8983. +am_make=${MAKE-make}
  8984. +AC_CACHE_CHECK([whether $am_make supports nested variables],
  8985. +   [am_cv_make_support_nested_variables],
  8986. +   [if AS_ECHO([['TRUE=$(BAR$(V))
  8987. +BAR0=false
  8988. +BAR1=true
  8989. +V=1
  8990. +am__doit:
  8991. +   @$(TRUE)
  8992. +.PHONY: am__doit']]) | $am_make -f - >/dev/null 2>&1; then
  8993. +  am_cv_make_support_nested_variables=yes
  8994. +else
  8995. +  am_cv_make_support_nested_variables=no
  8996. +fi])
  8997. +if test $am_cv_make_support_nested_variables = yes; then
  8998. +  dnl Using '$V' instead of '$(V)' breaks IRIX make.
  8999. +  AM_V='$(V)'
  9000. +  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  9001. +else
  9002. +  AM_V=$AM_DEFAULT_VERBOSITY
  9003. +  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  9004. +fi
  9005. +AC_SUBST([AM_V])dnl
  9006. +AM_SUBST_NOTMAKE([AM_V])dnl
  9007. +AC_SUBST([AM_DEFAULT_V])dnl
  9008. +AM_SUBST_NOTMAKE([AM_DEFAULT_V])dnl
  9009. +AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
  9010. +AM_BACKSLASH='\'
  9011. +AC_SUBST([AM_BACKSLASH])dnl
  9012. +_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
  9013. +])
  9014.  
  9015. -# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
  9016. +# Copyright (C) 2001-2018 Free Software Foundation, Inc.
  9017.  #
  9018.  # This file is free software; the Free Software Foundation
  9019.  # gives unlimited permission to copy and/or distribute it,
  9020. @@ -8792,34 +992,32 @@
  9021.  
  9022.  # AM_PROG_INSTALL_STRIP
  9023.  # ---------------------
  9024. -# One issue with vendor `install' (even GNU) is that you can't
  9025. +# One issue with vendor 'install' (even GNU) is that you can't
  9026.  # specify the program used to strip binaries.  This is especially
  9027.  # annoying in cross-compiling environments, where the build's strip
  9028.  # is unlikely to handle the host's binaries.
  9029.  # Fortunately install-sh will honor a STRIPPROG variable, so we
  9030. -# always use install-sh in `make install-strip', and initialize
  9031. +# always use install-sh in "make install-strip", and initialize
  9032.  # STRIPPROG with the value of the STRIP variable (set by the user).
  9033.  AC_DEFUN([AM_PROG_INSTALL_STRIP],
  9034.  [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
  9035. -# Installed binaries are usually stripped using `strip' when the user
  9036. -# run `make install-strip'.  However `strip' might not be the right
  9037. +# Installed binaries are usually stripped using 'strip' when the user
  9038. +# run "make install-strip".  However 'strip' might not be the right
  9039.  # tool to use in cross-compilation environments, therefore Automake
  9040. -# will honor the `STRIP' environment variable to overrule this program.
  9041. -dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
  9042. +# will honor the 'STRIP' environment variable to overrule this program.
  9043. +dnl Don't test for $cross_compiling = yes, because it might be 'maybe'.
  9044.  if test "$cross_compiling" != no; then
  9045.    AC_CHECK_TOOL([STRIP], [strip], :)
  9046.  fi
  9047.  INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  9048.  AC_SUBST([INSTALL_STRIP_PROGRAM])])
  9049.  
  9050. -# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
  9051. +# Copyright (C) 2006-2018 Free Software Foundation, Inc.
  9052.  #
  9053.  # This file is free software; the Free Software Foundation
  9054.  # gives unlimited permission to copy and/or distribute it,
  9055.  # with or without modifications, as long as this notice is preserved.
  9056.  
  9057. -# serial 2
  9058. -
  9059.  # _AM_SUBST_NOTMAKE(VARIABLE)
  9060.  # ---------------------------
  9061.  # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
  9062. @@ -8827,24 +1025,22 @@
  9063.  AC_DEFUN([_AM_SUBST_NOTMAKE])
  9064.  
  9065.  # AM_SUBST_NOTMAKE(VARIABLE)
  9066. -# ---------------------------
  9067. +# --------------------------
  9068.  # Public sister of _AM_SUBST_NOTMAKE.
  9069.  AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
  9070.  
  9071.  # Check how to create a tarball.                            -*- Autoconf -*-
  9072.  
  9073. -# Copyright (C) 2004, 2005  Free Software Foundation, Inc.
  9074. +# Copyright (C) 2004-2018 Free Software Foundation, Inc.
  9075.  #
  9076.  # This file is free software; the Free Software Foundation
  9077.  # gives unlimited permission to copy and/or distribute it,
  9078.  # with or without modifications, as long as this notice is preserved.
  9079.  
  9080. -# serial 2
  9081. -
  9082.  # _AM_PROG_TAR(FORMAT)
  9083.  # --------------------
  9084.  # Check how to create a tarball in format FORMAT.
  9085. -# FORMAT should be one of `v7', `ustar', or `pax'.
  9086. +# FORMAT should be one of 'v7', 'ustar', or 'pax'.
  9087.  #
  9088.  # Substitute a variable $(am__tar) that is a command
  9089.  # writing to stdout a FORMAT-tarball containing the directory
  9090. @@ -8854,76 +1050,120 @@
  9091.  # Substitute a variable $(am__untar) that extract such
  9092.  # a tarball read from stdin.
  9093.  #     $(am__untar) < result.tar
  9094. +#
  9095.  AC_DEFUN([_AM_PROG_TAR],
  9096. -[# Always define AMTAR for backward compatibility.
  9097. -AM_MISSING_PROG([AMTAR], [tar])
  9098. -m4_if([$1], [v7],
  9099. -     [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
  9100. -     [m4_case([$1], [ustar],, [pax],,
  9101. -              [m4_fatal([Unknown tar format])])
  9102. -AC_MSG_CHECKING([how to create a $1 tar archive])
  9103. -# Loop over all known methods to create a tar archive until one works.
  9104. +[# Always define AMTAR for backward compatibility.  Yes, it's still used
  9105. +# in the wild :-(  We should find a proper way to deprecate it ...
  9106. +AC_SUBST([AMTAR], ['$${TAR-tar}'])
  9107. +
  9108. +# We'll loop over all known methods to create a tar archive until one works.
  9109.  _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
  9110. -_am_tools=${am_cv_prog_tar_$1-$_am_tools}
  9111. -# Do not fold the above two line into one, because Tru64 sh and
  9112. -# Solaris sh will not grok spaces in the rhs of `-'.
  9113. -for _am_tool in $_am_tools
  9114. -do
  9115. -  case $_am_tool in
  9116. -  gnutar)
  9117. -    for _am_tar in tar gnutar gtar;
  9118. -    do
  9119. -      AM_RUN_LOG([$_am_tar --version]) && break
  9120. -    done
  9121. -    am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  9122. -    am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  9123. -    am__untar="$_am_tar -xf -"
  9124. -    ;;
  9125. -  plaintar)
  9126. -    # Must skip GNU tar: if it does not support --format= it doesn't create
  9127. -    # ustar tarball either.
  9128. -    (tar --version) >/dev/null 2>&1 && continue
  9129. -    am__tar='tar chf - "$$tardir"'
  9130. -    am__tar_='tar chf - "$tardir"'
  9131. -    am__untar='tar xf -'
  9132. -    ;;
  9133. -  pax)
  9134. -    am__tar='pax -L -x $1 -w "$$tardir"'
  9135. -    am__tar_='pax -L -x $1 -w "$tardir"'
  9136. -    am__untar='pax -r'
  9137. -    ;;
  9138. -  cpio)
  9139. -    am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  9140. -    am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  9141. -    am__untar='cpio -i -H $1 -d'
  9142. -    ;;
  9143. -  none)
  9144. -    am__tar=false
  9145. -    am__tar_=false
  9146. -    am__untar=false
  9147. -    ;;
  9148. -  esac
  9149.  
  9150. -  # If the value was cached, stop now.  We just wanted to have am__tar
  9151. -  # and am__untar set.
  9152. -  test -n "${am_cv_prog_tar_$1}" && break
  9153. +m4_if([$1], [v7],
  9154. +  [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'],
  9155.  
  9156. -  # tar/untar a dummy directory, and stop if the command works
  9157. -  rm -rf conftest.dir
  9158. -  mkdir conftest.dir
  9159. -  echo GrepMe > conftest.dir/file
  9160. -  AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  9161. +  [m4_case([$1],
  9162. +    [ustar],
  9163. +     [# The POSIX 1988 'ustar' format is defined with fixed-size fields.
  9164. +      # There is notably a 21 bits limit for the UID and the GID.  In fact,
  9165. +      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
  9166. +      # and bug#13588).
  9167. +      am_max_uid=2097151 # 2^21 - 1
  9168. +      am_max_gid=$am_max_uid
  9169. +      # The $UID and $GID variables are not portable, so we need to resort
  9170. +      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
  9171. +      # below are definitely unexpected, so allow the users to see them
  9172. +      # (that is, avoid stderr redirection).
  9173. +      am_uid=`id -u || echo unknown`
  9174. +      am_gid=`id -g || echo unknown`
  9175. +      AC_MSG_CHECKING([whether UID '$am_uid' is supported by ustar format])
  9176. +      if test $am_uid -le $am_max_uid; then
  9177. +         AC_MSG_RESULT([yes])
  9178. +      else
  9179. +         AC_MSG_RESULT([no])
  9180. +         _am_tools=none
  9181. +      fi
  9182. +      AC_MSG_CHECKING([whether GID '$am_gid' is supported by ustar format])
  9183. +      if test $am_gid -le $am_max_gid; then
  9184. +         AC_MSG_RESULT([yes])
  9185. +      else
  9186. +        AC_MSG_RESULT([no])
  9187. +        _am_tools=none
  9188. +      fi],
  9189. +
  9190. +  [pax],
  9191. +    [],
  9192. +
  9193. +  [m4_fatal([Unknown tar format])])
  9194. +
  9195. +  AC_MSG_CHECKING([how to create a $1 tar archive])
  9196. +
  9197. +  # Go ahead even if we have the value already cached.  We do so because we
  9198. +  # need to set the values for the 'am__tar' and 'am__untar' variables.
  9199. +  _am_tools=${am_cv_prog_tar_$1-$_am_tools}
  9200. +
  9201. +  for _am_tool in $_am_tools; do
  9202. +    case $_am_tool in
  9203. +    gnutar)
  9204. +      for _am_tar in tar gnutar gtar; do
  9205. +        AM_RUN_LOG([$_am_tar --version]) && break
  9206. +      done
  9207. +      am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
  9208. +      am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
  9209. +      am__untar="$_am_tar -xf -"
  9210. +      ;;
  9211. +    plaintar)
  9212. +      # Must skip GNU tar: if it does not support --format= it doesn't create
  9213. +      # ustar tarball either.
  9214. +      (tar --version) >/dev/null 2>&1 && continue
  9215. +      am__tar='tar chf - "$$tardir"'
  9216. +      am__tar_='tar chf - "$tardir"'
  9217. +      am__untar='tar xf -'
  9218. +      ;;
  9219. +    pax)
  9220. +      am__tar='pax -L -x $1 -w "$$tardir"'
  9221. +      am__tar_='pax -L -x $1 -w "$tardir"'
  9222. +      am__untar='pax -r'
  9223. +      ;;
  9224. +    cpio)
  9225. +      am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
  9226. +      am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
  9227. +      am__untar='cpio -i -H $1 -d'
  9228. +      ;;
  9229. +    none)
  9230. +      am__tar=false
  9231. +      am__tar_=false
  9232. +      am__untar=false
  9233. +      ;;
  9234. +    esac
  9235. +
  9236. +    # If the value was cached, stop now.  We just wanted to have am__tar
  9237. +    # and am__untar set.
  9238. +    test -n "${am_cv_prog_tar_$1}" && break
  9239. +
  9240. +    # tar/untar a dummy directory, and stop if the command works.
  9241. +    rm -rf conftest.dir
  9242. +    mkdir conftest.dir
  9243. +    echo GrepMe > conftest.dir/file
  9244. +    AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
  9245. +    rm -rf conftest.dir
  9246. +    if test -s conftest.tar; then
  9247. +      AM_RUN_LOG([$am__untar <conftest.tar])
  9248. +      AM_RUN_LOG([cat conftest.dir/file])
  9249. +      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  9250. +    fi
  9251. +  done
  9252.    rm -rf conftest.dir
  9253. -  if test -s conftest.tar; then
  9254. -    AM_RUN_LOG([$am__untar <conftest.tar])
  9255. -    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
  9256. -  fi
  9257. -done
  9258. -rm -rf conftest.dir
  9259.  
  9260. -AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  9261. -AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  9262. +  AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
  9263. +  AC_MSG_RESULT([$am_cv_prog_tar_$1])])
  9264. +
  9265.  AC_SUBST([am__tar])
  9266.  AC_SUBST([am__untar])
  9267.  ]) # _AM_PROG_TAR
  9268.  
  9269. +m4_include([m4/libtool.m4])
  9270. +m4_include([m4/ltoptions.m4])
  9271. +m4_include([m4/ltsugar.m4])
  9272. +m4_include([m4/ltversion.m4])
  9273. +m4_include([m4/lt~obsolete.m4])
  9274. diff -Nru Fiasco-master/autom4te.cache/output.0 Fiasco-master-pfiasco/autom4te.cache/output.0
  9275. --- Fiasco-master/autom4te.cache/output.0   1969-12-31 19:00:00.000000000 -0500
  9276. +++ Fiasco-master-pfiasco/autom4te.cache/output.0   2019-06-17 20:58:41.120215281 -0400
  9277. @@ -0,0 +1,14757 @@
  9278. +@%:@! /bin/sh
  9279. +@%:@ Guess values for system-dependent variables and create Makefiles.
  9280. +@%:@ Generated by GNU Autoconf 2.69.
  9281. +@%:@
  9282. +@%:@
  9283. +@%:@ Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  9284. +@%:@
  9285. +@%:@
  9286. +@%:@ This configure script is free software; the Free Software Foundation
  9287. +@%:@ gives unlimited permission to copy, distribute and modify it.
  9288. +## -------------------- ##
  9289. +## M4sh Initialization. ##
  9290. +## -------------------- ##
  9291. +
  9292. +# Be more Bourne compatible
  9293. +DUALCASE=1; export DUALCASE # for MKS sh
  9294. +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  9295. +  emulate sh
  9296. +  NULLCMD=:
  9297. +  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  9298. +  # is contrary to our usage.  Disable this feature.
  9299. +  alias -g '${1+"$@"}'='"$@"'
  9300. +  setopt NO_GLOB_SUBST
  9301. +else
  9302. +  case `(set -o) 2>/dev/null` in @%:@(
  9303. +  *posix*) :
  9304. +    set -o posix ;; @%:@(
  9305. +  *) :
  9306. +     ;;
  9307. +esac
  9308. +fi
  9309. +
  9310. +
  9311. +as_nl='
  9312. +'
  9313. +export as_nl
  9314. +# Printing a long string crashes Solaris 7 /usr/bin/printf.
  9315. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  9316. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  9317. +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  9318. +# Prefer a ksh shell builtin over an external printf program on Solaris,
  9319. +# but without wasting forks for bash or zsh.
  9320. +if test -z "$BASH_VERSION$ZSH_VERSION" \
  9321. +    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  9322. +  as_echo='print -r --'
  9323. +  as_echo_n='print -rn --'
  9324. +elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  9325. +  as_echo='printf %s\n'
  9326. +  as_echo_n='printf %s'
  9327. +else
  9328. +  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  9329. +    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  9330. +    as_echo_n='/usr/ucb/echo -n'
  9331. +  else
  9332. +    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  9333. +    as_echo_n_body='eval
  9334. +      arg=$1;
  9335. +      case $arg in @%:@(
  9336. +      *"$as_nl"*)
  9337. +   expr "X$arg" : "X\\(.*\\)$as_nl";
  9338. +   arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  9339. +      esac;
  9340. +      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  9341. +    '
  9342. +    export as_echo_n_body
  9343. +    as_echo_n='sh -c $as_echo_n_body as_echo'
  9344. +  fi
  9345. +  export as_echo_body
  9346. +  as_echo='sh -c $as_echo_body as_echo'
  9347. +fi
  9348. +
  9349. +# The user is always right.
  9350. +if test "${PATH_SEPARATOR+set}" != set; then
  9351. +  PATH_SEPARATOR=:
  9352. +  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  9353. +    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  9354. +      PATH_SEPARATOR=';'
  9355. +  }
  9356. +fi
  9357. +
  9358. +
  9359. +# IFS
  9360. +# We need space, tab and new line, in precisely that order.  Quoting is
  9361. +# there to prevent editors from complaining about space-tab.
  9362. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word
  9363. +# splitting by setting IFS to empty value.)
  9364. +IFS=" ""   $as_nl"
  9365. +
  9366. +# Find who we are.  Look in the path if we contain no directory separator.
  9367. +as_myself=
  9368. +case $0 in @%:@((
  9369. +  *[\\/]* ) as_myself=$0 ;;
  9370. +  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9371. +for as_dir in $PATH
  9372. +do
  9373. +  IFS=$as_save_IFS
  9374. +  test -z "$as_dir" && as_dir=.
  9375. +    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  9376. +  done
  9377. +IFS=$as_save_IFS
  9378. +
  9379. +     ;;
  9380. +esac
  9381. +# We did not find ourselves, most probably we were run as `sh COMMAND'
  9382. +# in which case we are not to be found in the path.
  9383. +if test "x$as_myself" = x; then
  9384. +  as_myself=$0
  9385. +fi
  9386. +if test ! -f "$as_myself"; then
  9387. +  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  9388. +  exit 1
  9389. +fi
  9390. +
  9391. +# Unset variables that we do not need and which cause bugs (e.g. in
  9392. +# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
  9393. +# suppresses any "Segmentation fault" message there.  '((' could
  9394. +# trigger a bug in pdksh 5.2.14.
  9395. +for as_var in BASH_ENV ENV MAIL MAILPATH
  9396. +do eval test x\${$as_var+set} = xset \
  9397. +  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  9398. +done
  9399. +PS1='$ '
  9400. +PS2='> '
  9401. +PS4='+ '
  9402. +
  9403. +# NLS nuisances.
  9404. +LC_ALL=C
  9405. +export LC_ALL
  9406. +LANGUAGE=C
  9407. +export LANGUAGE
  9408. +
  9409. +# CDPATH.
  9410. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9411. +
  9412. +# Use a proper internal environment variable to ensure we don't fall
  9413. +  # into an infinite loop, continuously re-executing ourselves.
  9414. +  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  9415. +    _as_can_reexec=no; export _as_can_reexec;
  9416. +    # We cannot yet assume a decent shell, so we have to provide a
  9417. +# neutralization value for shells without unset; and this also
  9418. +# works around shells that cannot unset nonexistent variables.
  9419. +# Preserve -v and -x to the replacement shell.
  9420. +BASH_ENV=/dev/null
  9421. +ENV=/dev/null
  9422. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  9423. +case $- in @%:@ ((((
  9424. +  *v*x* | *x*v* ) as_opts=-vx ;;
  9425. +  *v* ) as_opts=-v ;;
  9426. +  *x* ) as_opts=-x ;;
  9427. +  * ) as_opts= ;;
  9428. +esac
  9429. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  9430. +# Admittedly, this is quite paranoid, since all the known shells bail
  9431. +# out after a failed `exec'.
  9432. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  9433. +as_fn_exit 255
  9434. +  fi
  9435. +  # We don't want this to propagate to other subprocesses.
  9436. +          { _as_can_reexec=; unset _as_can_reexec;}
  9437. +if test "x$CONFIG_SHELL" = x; then
  9438. +  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  9439. +  emulate sh
  9440. +  NULLCMD=:
  9441. +  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  9442. +  # is contrary to our usage.  Disable this feature.
  9443. +  alias -g '\${1+\"\$@\"}'='\"\$@\"'
  9444. +  setopt NO_GLOB_SUBST
  9445. +else
  9446. +  case \`(set -o) 2>/dev/null\` in @%:@(
  9447. +  *posix*) :
  9448. +    set -o posix ;; @%:@(
  9449. +  *) :
  9450. +     ;;
  9451. +esac
  9452. +fi
  9453. +"
  9454. +  as_required="as_fn_return () { (exit \$1); }
  9455. +as_fn_success () { as_fn_return 0; }
  9456. +as_fn_failure () { as_fn_return 1; }
  9457. +as_fn_ret_success () { return 0; }
  9458. +as_fn_ret_failure () { return 1; }
  9459. +
  9460. +exitcode=0
  9461. +as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  9462. +as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  9463. +as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  9464. +as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  9465. +if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  9466. +  
  9467. +else
  9468. +  exitcode=1; echo positional parameters were not saved.
  9469. +fi
  9470. +test x\$exitcode = x0 || exit 1
  9471. +test -x / || exit 1"
  9472. +  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  9473. +  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  9474. +  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  9475. +  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  9476. +test \$(( 1 + 1 )) = 2 || exit 1"
  9477. +  if (eval "$as_required") 2>/dev/null; then :
  9478. +  as_have_required=yes
  9479. +else
  9480. +  as_have_required=no
  9481. +fi
  9482. +  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  9483. +  
  9484. +else
  9485. +  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9486. +as_found=false
  9487. +for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  9488. +do
  9489. +  IFS=$as_save_IFS
  9490. +  test -z "$as_dir" && as_dir=.
  9491. +  as_found=:
  9492. +  case $as_dir in @%:@(
  9493. +    /*)
  9494. +      for as_base in sh bash ksh sh5; do
  9495. +        # Try only shells that exist, to save several forks.
  9496. +        as_shell=$as_dir/$as_base
  9497. +        if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  9498. +           { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  9499. +  CONFIG_SHELL=$as_shell as_have_required=yes
  9500. +          if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  9501. +  break 2
  9502. +fi
  9503. +fi
  9504. +      done;;
  9505. +       esac
  9506. +  as_found=false
  9507. +done
  9508. +$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  9509. +         { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  9510. +  CONFIG_SHELL=$SHELL as_have_required=yes
  9511. +fi; }
  9512. +IFS=$as_save_IFS
  9513. +
  9514. +
  9515. +      if test "x$CONFIG_SHELL" != x; then :
  9516. +  export CONFIG_SHELL
  9517. +             # We cannot yet assume a decent shell, so we have to provide a
  9518. +# neutralization value for shells without unset; and this also
  9519. +# works around shells that cannot unset nonexistent variables.
  9520. +# Preserve -v and -x to the replacement shell.
  9521. +BASH_ENV=/dev/null
  9522. +ENV=/dev/null
  9523. +(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  9524. +case $- in @%:@ ((((
  9525. +  *v*x* | *x*v* ) as_opts=-vx ;;
  9526. +  *v* ) as_opts=-v ;;
  9527. +  *x* ) as_opts=-x ;;
  9528. +  * ) as_opts= ;;
  9529. +esac
  9530. +exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  9531. +# Admittedly, this is quite paranoid, since all the known shells bail
  9532. +# out after a failed `exec'.
  9533. +$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  9534. +exit 255
  9535. +fi
  9536. +
  9537. +    if test x$as_have_required = xno; then :
  9538. +  $as_echo "$0: This script requires a shell more modern than all"
  9539. +  $as_echo "$0: the shells that I found on your system."
  9540. +  if test x${ZSH_VERSION+set} = xset ; then
  9541. +    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  9542. +    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  9543. +  else
  9544. +    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
  9545. +$0: including any error possibly output before this
  9546. +$0: message. Then install a modern shell, or manually run
  9547. +$0: the script under such a shell if you do have one."
  9548. +  fi
  9549. +  exit 1
  9550. +fi
  9551. +fi
  9552. +fi
  9553. +SHELL=${CONFIG_SHELL-/bin/sh}
  9554. +export SHELL
  9555. +# Unset more variables known to interfere with behavior of common tools.
  9556. +CLICOLOR_FORCE= GREP_OPTIONS=
  9557. +unset CLICOLOR_FORCE GREP_OPTIONS
  9558. +
  9559. +## --------------------- ##
  9560. +## M4sh Shell Functions. ##
  9561. +## --------------------- ##
  9562. +@%:@ as_fn_unset VAR
  9563. +@%:@ ---------------
  9564. +@%:@ Portably unset VAR.
  9565. +as_fn_unset ()
  9566. +{
  9567. +  { eval $1=; unset $1;}
  9568. +}
  9569. +as_unset=as_fn_unset
  9570. +
  9571. +@%:@ as_fn_set_status STATUS
  9572. +@%:@ -----------------------
  9573. +@%:@ Set @S|@? to STATUS, without forking.
  9574. +as_fn_set_status ()
  9575. +{
  9576. +  return $1
  9577. +} @%:@ as_fn_set_status
  9578. +
  9579. +@%:@ as_fn_exit STATUS
  9580. +@%:@ -----------------
  9581. +@%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  9582. +as_fn_exit ()
  9583. +{
  9584. +  set +e
  9585. +  as_fn_set_status $1
  9586. +  exit $1
  9587. +} @%:@ as_fn_exit
  9588. +
  9589. +@%:@ as_fn_mkdir_p
  9590. +@%:@ -------------
  9591. +@%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
  9592. +as_fn_mkdir_p ()
  9593. +{
  9594. +
  9595. +  case $as_dir in #(
  9596. +  -*) as_dir=./$as_dir;;
  9597. +  esac
  9598. +  test -d "$as_dir" || eval $as_mkdir_p || {
  9599. +    as_dirs=
  9600. +    while :; do
  9601. +      case $as_dir in #(
  9602. +      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  9603. +      *) as_qdir=$as_dir;;
  9604. +      esac
  9605. +      as_dirs="'$as_qdir' $as_dirs"
  9606. +      as_dir=`$as_dirname -- "$as_dir" ||
  9607. +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  9608. +    X"$as_dir" : 'X\(//\)[^/]' \| \
  9609. +    X"$as_dir" : 'X\(//\)$' \| \
  9610. +    X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  9611. +$as_echo X"$as_dir" |
  9612. +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  9613. +       s//\1/
  9614. +       q
  9615. +     }
  9616. +     /^X\(\/\/\)[^/].*/{
  9617. +       s//\1/
  9618. +       q
  9619. +     }
  9620. +     /^X\(\/\/\)$/{
  9621. +       s//\1/
  9622. +       q
  9623. +     }
  9624. +     /^X\(\/\).*/{
  9625. +       s//\1/
  9626. +       q
  9627. +     }
  9628. +     s/.*/./; q'`
  9629. +      test -d "$as_dir" && break
  9630. +    done
  9631. +    test -z "$as_dirs" || eval "mkdir $as_dirs"
  9632. +  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  9633. +
  9634. +
  9635. +} @%:@ as_fn_mkdir_p
  9636. +
  9637. +@%:@ as_fn_executable_p FILE
  9638. +@%:@ -----------------------
  9639. +@%:@ Test if FILE is an executable regular file.
  9640. +as_fn_executable_p ()
  9641. +{
  9642. +  test -f "$1" && test -x "$1"
  9643. +} @%:@ as_fn_executable_p
  9644. +@%:@ as_fn_append VAR VALUE
  9645. +@%:@ ----------------------
  9646. +@%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
  9647. +@%:@ advantage of any shell optimizations that allow amortized linear growth over
  9648. +@%:@ repeated appends, instead of the typical quadratic growth present in naive
  9649. +@%:@ implementations.
  9650. +if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  9651. +  eval 'as_fn_append ()
  9652. +  {
  9653. +    eval $1+=\$2
  9654. +  }'
  9655. +else
  9656. +  as_fn_append ()
  9657. +  {
  9658. +    eval $1=\$$1\$2
  9659. +  }
  9660. +fi # as_fn_append
  9661. +
  9662. +@%:@ as_fn_arith ARG...
  9663. +@%:@ ------------------
  9664. +@%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
  9665. +@%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
  9666. +@%:@ must be portable across @S|@(()) and expr.
  9667. +if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  9668. +  eval 'as_fn_arith ()
  9669. +  {
  9670. +    as_val=$(( $* ))
  9671. +  }'
  9672. +else
  9673. +  as_fn_arith ()
  9674. +  {
  9675. +    as_val=`expr "$@" || test $? -eq 1`
  9676. +  }
  9677. +fi # as_fn_arith
  9678. +
  9679. +
  9680. +@%:@ as_fn_error STATUS ERROR [LINENO LOG_FD]
  9681. +@%:@ ----------------------------------------
  9682. +@%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  9683. +@%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  9684. +@%:@ script with STATUS, using 1 if that was 0.
  9685. +as_fn_error ()
  9686. +{
  9687. +  as_status=$1; test $as_status -eq 0 && as_status=1
  9688. +  if test "$4"; then
  9689. +    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  9690. +    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  9691. +  fi
  9692. +  $as_echo "$as_me: error: $2" >&2
  9693. +  as_fn_exit $as_status
  9694. +} @%:@ as_fn_error
  9695. +
  9696. +if expr a : '\(a\)' >/dev/null 2>&1 &&
  9697. +   test "X`expr 00001 : '.*\(...\)'`" = X001; then
  9698. +  as_expr=expr
  9699. +else
  9700. +  as_expr=false
  9701. +fi
  9702. +
  9703. +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  9704. +  as_basename=basename
  9705. +else
  9706. +  as_basename=false
  9707. +fi
  9708. +
  9709. +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  9710. +  as_dirname=dirname
  9711. +else
  9712. +  as_dirname=false
  9713. +fi
  9714. +
  9715. +as_me=`$as_basename -- "$0" ||
  9716. +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  9717. +    X"$0" : 'X\(//\)$' \| \
  9718. +    X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  9719. +$as_echo X/"$0" |
  9720. +    sed '/^.*\/\([^/][^/]*\)\/*$/{
  9721. +       s//\1/
  9722. +       q
  9723. +     }
  9724. +     /^X\/\(\/\/\)$/{
  9725. +       s//\1/
  9726. +       q
  9727. +     }
  9728. +     /^X\/\(\/\).*/{
  9729. +       s//\1/
  9730. +       q
  9731. +     }
  9732. +     s/.*/./; q'`
  9733. +
  9734. +# Avoid depending upon Character Ranges.
  9735. +as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  9736. +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  9737. +as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  9738. +as_cr_digits='0123456789'
  9739. +as_cr_alnum=$as_cr_Letters$as_cr_digits
  9740. +
  9741. +
  9742. +  as_lineno_1=$LINENO as_lineno_1a=$LINENO
  9743. +  as_lineno_2=$LINENO as_lineno_2a=$LINENO
  9744. +  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  9745. +  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  9746. +  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
  9747. +  sed -n '
  9748. +    p
  9749. +    /[$]LINENO/=
  9750. +  ' <$as_myself |
  9751. +    sed '
  9752. +      s/[$]LINENO.*/&-/
  9753. +      t lineno
  9754. +      b
  9755. +      :lineno
  9756. +      N
  9757. +      :loop
  9758. +      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  9759. +      t loop
  9760. +      s/-\n.*//
  9761. +    ' >$as_me.lineno &&
  9762. +  chmod +x "$as_me.lineno" ||
  9763. +    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  9764. +
  9765. +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  9766. +  # already done that, so ensure we don't try to do so again and fall
  9767. +  # in an infinite loop.  This has already happened in practice.
  9768. +  _as_can_reexec=no; export _as_can_reexec
  9769. +  # Don't try to exec as it changes $[0], causing all sort of problems
  9770. +  # (the dirname of $[0] is not the place where we might find the
  9771. +  # original and so on.  Autoconf is especially sensitive to this).
  9772. +  . "./$as_me.lineno"
  9773. +  # Exit status is that of the last command.
  9774. +  exit
  9775. +}
  9776. +
  9777. +ECHO_C= ECHO_N= ECHO_T=
  9778. +case `echo -n x` in @%:@(((((
  9779. +-n*)
  9780. +  case `echo 'xy\c'` in
  9781. +  *c*) ECHO_T='    ';; # ECHO_T is single tab character.
  9782. +  xy)  ECHO_C='\c';;
  9783. +  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
  9784. +       ECHO_T='    ';;
  9785. +  esac;;
  9786. +*)
  9787. +  ECHO_N='-n';;
  9788. +esac
  9789. +
  9790. +rm -f conf$$ conf$$.exe conf$$.file
  9791. +if test -d conf$$.dir; then
  9792. +  rm -f conf$$.dir/conf$$.file
  9793. +else
  9794. +  rm -f conf$$.dir
  9795. +  mkdir conf$$.dir 2>/dev/null
  9796. +fi
  9797. +if (echo >conf$$.file) 2>/dev/null; then
  9798. +  if ln -s conf$$.file conf$$ 2>/dev/null; then
  9799. +    as_ln_s='ln -s'
  9800. +    # ... but there are two gotchas:
  9801. +    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  9802. +    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  9803. +    # In both cases, we have to default to `cp -pR'.
  9804. +    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  9805. +      as_ln_s='cp -pR'
  9806. +  elif ln conf$$.file conf$$ 2>/dev/null; then
  9807. +    as_ln_s=ln
  9808. +  else
  9809. +    as_ln_s='cp -pR'
  9810. +  fi
  9811. +else
  9812. +  as_ln_s='cp -pR'
  9813. +fi
  9814. +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  9815. +rmdir conf$$.dir 2>/dev/null
  9816. +
  9817. +if mkdir -p . 2>/dev/null; then
  9818. +  as_mkdir_p='mkdir -p "$as_dir"'
  9819. +else
  9820. +  test -d ./-p && rmdir ./-p
  9821. +  as_mkdir_p=false
  9822. +fi
  9823. +
  9824. +as_test_x='test -x'
  9825. +as_executable_p=as_fn_executable_p
  9826. +
  9827. +# Sed expression to map a string onto a valid CPP name.
  9828. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  9829. +
  9830. +# Sed expression to map a string onto a valid variable name.
  9831. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  9832. +
  9833. +
  9834. +
  9835. +# Check that we are running under the correct shell.
  9836. +SHELL=${CONFIG_SHELL-/bin/sh}
  9837. +
  9838. +case X$lt_ECHO in
  9839. +X*--fallback-echo)
  9840. +  # Remove one level of quotation (which was required for Make).
  9841. +  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  9842. +  ;;
  9843. +esac
  9844. +
  9845. +ECHO=${lt_ECHO-echo}
  9846. +if test "X$1" = X--no-reexec; then
  9847. +  # Discard the --no-reexec flag, and continue.
  9848. +  shift
  9849. +elif test "X$1" = X--fallback-echo; then
  9850. +  # Avoid inline document here, it may be left over
  9851. +  :
  9852. +elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  9853. +  # Yippee, $ECHO works!
  9854. +  :
  9855. +else
  9856. +  # Restart under the correct shell.
  9857. +  exec $SHELL "$0" --no-reexec ${1+"$@"}
  9858. +fi
  9859. +
  9860. +if test "X$1" = X--fallback-echo; then
  9861. +  # used as fallback echo
  9862. +  shift
  9863. +  cat <<_LT_EOF
  9864. +$*
  9865. +_LT_EOF
  9866. +  exit 0
  9867. +fi
  9868. +
  9869. +# The HP-UX ksh and POSIX shell print the target directory to stdout
  9870. +# if CDPATH is set.
  9871. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  9872. +
  9873. +if test -z "$lt_ECHO"; then
  9874. +  if test "X${echo_test_string+set}" != Xset; then
  9875. +    # find a string as large as possible, as long as the shell can cope with it
  9876. +    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  9877. +      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  9878. +      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  9879. +    { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  9880. +      then
  9881. +        break
  9882. +      fi
  9883. +    done
  9884. +  fi
  9885. +
  9886. +  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  9887. +     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  9888. +     test "X$echo_testing_string" = "X$echo_test_string"; then
  9889. +    :
  9890. +  else
  9891. +    # The Solaris, AIX, and Digital Unix default echo programs unquote
  9892. +    # backslashes.  This makes it impossible to quote backslashes using
  9893. +    #   echo "$something" | sed 's/\\/\\\\/g'
  9894. +    #
  9895. +    # So, first we look for a working echo in the user's PATH.
  9896. +
  9897. +    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  9898. +    for dir in $PATH /usr/ucb; do
  9899. +      IFS="$lt_save_ifs"
  9900. +      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  9901. +         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  9902. +         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  9903. +         test "X$echo_testing_string" = "X$echo_test_string"; then
  9904. +        ECHO="$dir/echo"
  9905. +        break
  9906. +      fi
  9907. +    done
  9908. +    IFS="$lt_save_ifs"
  9909. +
  9910. +    if test "X$ECHO" = Xecho; then
  9911. +      # We didn't find a better echo, so look for alternatives.
  9912. +      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  9913. +         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  9914. +         test "X$echo_testing_string" = "X$echo_test_string"; then
  9915. +        # This shell has a builtin print -r that does the trick.
  9916. +        ECHO='print -r'
  9917. +      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  9918. +      test "X$CONFIG_SHELL" != X/bin/ksh; then
  9919. +        # If we have ksh, try running configure again with it.
  9920. +        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  9921. +        export ORIGINAL_CONFIG_SHELL
  9922. +        CONFIG_SHELL=/bin/ksh
  9923. +        export CONFIG_SHELL
  9924. +        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  9925. +      else
  9926. +        # Try using printf.
  9927. +        ECHO='printf %s\n'
  9928. +        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  9929. +      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  9930. +      test "X$echo_testing_string" = "X$echo_test_string"; then
  9931. +     # Cool, printf works
  9932. +     :
  9933. +        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  9934. +        test "X$echo_testing_string" = 'X\t' &&
  9935. +        echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  9936. +        test "X$echo_testing_string" = "X$echo_test_string"; then
  9937. +     CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  9938. +     export CONFIG_SHELL
  9939. +     SHELL="$CONFIG_SHELL"
  9940. +     export SHELL
  9941. +     ECHO="$CONFIG_SHELL $0 --fallback-echo"
  9942. +        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  9943. +        test "X$echo_testing_string" = 'X\t' &&
  9944. +        echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  9945. +        test "X$echo_testing_string" = "X$echo_test_string"; then
  9946. +     ECHO="$CONFIG_SHELL $0 --fallback-echo"
  9947. +        else
  9948. +     # maybe with a smaller string...
  9949. +     prev=:
  9950. +
  9951. +     for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  9952. +       if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  9953. +       then
  9954. +         break
  9955. +       fi
  9956. +       prev="$cmd"
  9957. +     done
  9958. +
  9959. +     if test "$prev" != 'sed 50q "$0"'; then
  9960. +       echo_test_string=`eval $prev`
  9961. +       export echo_test_string
  9962. +       exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  9963. +     else
  9964. +       # Oops.  We lost completely, so just stick with echo.
  9965. +       ECHO=echo
  9966. +     fi
  9967. +        fi
  9968. +      fi
  9969. +    fi
  9970. +  fi
  9971. +fi
  9972. +
  9973. +# Copy echo and quote the copy suitably for passing to libtool from
  9974. +# the Makefile, instead of quoting the original, which is used later.
  9975. +lt_ECHO=$ECHO
  9976. +if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  9977. +   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  9978. +fi
  9979. +
  9980. +
  9981. +
  9982. +
  9983. +test -n "$DJDIR" || exec 7<&0 </dev/null
  9984. +exec 6>&1
  9985. +
  9986. +# Name of the host.
  9987. +# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  9988. +# so uname gets run too.
  9989. +ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  9990. +
  9991. +#
  9992. +# Initializations.
  9993. +#
  9994. +ac_default_prefix=/usr/local
  9995. +ac_clean_files=
  9996. +ac_config_libobj_dir=.
  9997. +LIB@&t@OBJS=
  9998. +cross_compiling=no
  9999. +subdirs=
  10000. +MFLAGS=
  10001. +MAKEFLAGS=
  10002. +
  10003. +# Identity of this package.
  10004. +PACKAGE_NAME=
  10005. +PACKAGE_TARNAME=
  10006. +PACKAGE_VERSION=
  10007. +PACKAGE_STRING=
  10008. +PACKAGE_BUGREPORT=
  10009. +PACKAGE_URL=
  10010. +
  10011. +ac_unique_file="system.fiascorc"
  10012. +# Factoring default headers for most tests.
  10013. +ac_includes_default="\
  10014. +#include <stdio.h>
  10015. +#ifdef HAVE_SYS_TYPES_H
  10016. +# include <sys/types.h>
  10017. +#endif
  10018. +#ifdef HAVE_SYS_STAT_H
  10019. +# include <sys/stat.h>
  10020. +#endif
  10021. +#ifdef STDC_HEADERS
  10022. +# include <stdlib.h>
  10023. +# include <stddef.h>
  10024. +#else
  10025. +# ifdef HAVE_STDLIB_H
  10026. +#  include <stdlib.h>
  10027. +# endif
  10028. +#endif
  10029. +#ifdef HAVE_STRING_H
  10030. +# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  10031. +#  include <memory.h>
  10032. +# endif
  10033. +# include <string.h>
  10034. +#endif
  10035. +#ifdef HAVE_STRINGS_H
  10036. +# include <strings.h>
  10037. +#endif
  10038. +#ifdef HAVE_INTTYPES_H
  10039. +# include <inttypes.h>
  10040. +#endif
  10041. +#ifdef HAVE_STDINT_H
  10042. +# include <stdint.h>
  10043. +#endif
  10044. +#ifdef HAVE_UNISTD_H
  10045. +# include <unistd.h>
  10046. +#endif"
  10047. +
  10048. +ac_subst_vars='am__EXEEXT_FALSE
  10049. +am__EXEEXT_TRUE
  10050. +LTLIBOBJS
  10051. +LIB@&t@OBJS
  10052. +xmag
  10053. +xfig
  10054. +INCLUDES
  10055. +LIBTOOL_DEPS
  10056. +CPP
  10057. +OTOOL64
  10058. +OTOOL
  10059. +LIPO
  10060. +NMEDIT
  10061. +DSYMUTIL
  10062. +lt_ECHO
  10063. +RANLIB
  10064. +AR
  10065. +OBJDUMP
  10066. +LN_S
  10067. +NM
  10068. +ac_ct_DUMPBIN
  10069. +DUMPBIN
  10070. +LD
  10071. +FGREP
  10072. +EGREP
  10073. +GREP
  10074. +SED
  10075. +am__fastdepCC_FALSE
  10076. +am__fastdepCC_TRUE
  10077. +CCDEPMODE
  10078. +am__nodep
  10079. +AMDEPBACKSLASH
  10080. +AMDEP_FALSE
  10081. +AMDEP_TRUE
  10082. +am__include
  10083. +DEPDIR
  10084. +OBJEXT
  10085. +EXEEXT
  10086. +ac_ct_CC
  10087. +CPPFLAGS
  10088. +LDFLAGS
  10089. +CFLAGS
  10090. +CC
  10091. +host_os
  10092. +host_vendor
  10093. +host_cpu
  10094. +host
  10095. +build_os
  10096. +build_vendor
  10097. +build_cpu
  10098. +build
  10099. +LIBTOOL
  10100. +AM_BACKSLASH
  10101. +AM_DEFAULT_VERBOSITY
  10102. +AM_DEFAULT_V
  10103. +AM_V
  10104. +am__untar
  10105. +am__tar
  10106. +AMTAR
  10107. +am__leading_dot
  10108. +SET_MAKE
  10109. +AWK
  10110. +mkdir_p
  10111. +MKDIR_P
  10112. +INSTALL_STRIP_PROGRAM
  10113. +STRIP
  10114. +install_sh
  10115. +MAKEINFO
  10116. +AUTOHEADER
  10117. +AUTOMAKE
  10118. +AUTOCONF
  10119. +ACLOCAL
  10120. +VERSION
  10121. +PACKAGE
  10122. +CYGPATH_W
  10123. +am__isrc
  10124. +INSTALL_DATA
  10125. +INSTALL_SCRIPT
  10126. +INSTALL_PROGRAM
  10127. +target_alias
  10128. +host_alias
  10129. +build_alias
  10130. +LIBS
  10131. +ECHO_T
  10132. +ECHO_N
  10133. +ECHO_C
  10134. +DEFS
  10135. +mandir
  10136. +localedir
  10137. +libdir
  10138. +psdir
  10139. +pdfdir
  10140. +dvidir
  10141. +htmldir
  10142. +infodir
  10143. +docdir
  10144. +oldincludedir
  10145. +includedir
  10146. +localstatedir
  10147. +sharedstatedir
  10148. +sysconfdir
  10149. +datadir
  10150. +datarootdir
  10151. +libexecdir
  10152. +sbindir
  10153. +bindir
  10154. +program_transform_name
  10155. +prefix
  10156. +exec_prefix
  10157. +PACKAGE_URL
  10158. +PACKAGE_BUGREPORT
  10159. +PACKAGE_STRING
  10160. +PACKAGE_VERSION
  10161. +PACKAGE_TARNAME
  10162. +PACKAGE_NAME
  10163. +PATH_SEPARATOR
  10164. +SHELL
  10165. +am__quote'
  10166. +ac_subst_files=''
  10167. +ac_user_opts='
  10168. +enable_option_checking
  10169. +enable_silent_rules
  10170. +enable_shared
  10171. +enable_static
  10172. +with_pic
  10173. +enable_fast_install
  10174. +enable_dependency_tracking
  10175. +with_gnu_ld
  10176. +enable_libtool_lock
  10177. +'
  10178. +      ac_precious_vars='build_alias
  10179. +host_alias
  10180. +target_alias
  10181. +CC
  10182. +CFLAGS
  10183. +LDFLAGS
  10184. +LIBS
  10185. +CPPFLAGS
  10186. +CPP'
  10187. +
  10188. +
  10189. +# Initialize some variables set by options.
  10190. +ac_init_help=
  10191. +ac_init_version=false
  10192. +ac_unrecognized_opts=
  10193. +ac_unrecognized_sep=
  10194. +# The variables have the same names as the options, with
  10195. +# dashes changed to underlines.
  10196. +cache_file=/dev/null
  10197. +exec_prefix=NONE
  10198. +no_create=
  10199. +no_recursion=
  10200. +prefix=NONE
  10201. +program_prefix=NONE
  10202. +program_suffix=NONE
  10203. +program_transform_name=s,x,x,
  10204. +silent=
  10205. +site=
  10206. +srcdir=
  10207. +verbose=
  10208. +x_includes=NONE
  10209. +x_libraries=NONE
  10210. +
  10211. +# Installation directory options.
  10212. +# These are left unexpanded so users can "make install exec_prefix=/foo"
  10213. +# and all the variables that are supposed to be based on exec_prefix
  10214. +# by default will actually change.
  10215. +# Use braces instead of parens because sh, perl, etc. also accept them.
  10216. +# (The list follows the same order as the GNU Coding Standards.)
  10217. +bindir='${exec_prefix}/bin'
  10218. +sbindir='${exec_prefix}/sbin'
  10219. +libexecdir='${exec_prefix}/libexec'
  10220. +datarootdir='${prefix}/share'
  10221. +datadir='${datarootdir}'
  10222. +sysconfdir='${prefix}/etc'
  10223. +sharedstatedir='${prefix}/com'
  10224. +localstatedir='${prefix}/var'
  10225. +includedir='${prefix}/include'
  10226. +oldincludedir='/usr/include'
  10227. +docdir='${datarootdir}/doc/${PACKAGE}'
  10228. +infodir='${datarootdir}/info'
  10229. +htmldir='${docdir}'
  10230. +dvidir='${docdir}'
  10231. +pdfdir='${docdir}'
  10232. +psdir='${docdir}'
  10233. +libdir='${exec_prefix}/lib'
  10234. +localedir='${datarootdir}/locale'
  10235. +mandir='${datarootdir}/man'
  10236. +
  10237. +ac_prev=
  10238. +ac_dashdash=
  10239. +for ac_option
  10240. +do
  10241. +  # If the previous option needs an argument, assign it.
  10242. +  if test -n "$ac_prev"; then
  10243. +    eval $ac_prev=\$ac_option
  10244. +    ac_prev=
  10245. +    continue
  10246. +  fi
  10247. +
  10248. +  case $ac_option in
  10249. +  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  10250. +  *=)   ac_optarg= ;;
  10251. +  *)    ac_optarg=yes ;;
  10252. +  esac
  10253. +
  10254. +  # Accept the important Cygnus configure options, so we can diagnose typos.
  10255. +
  10256. +  case $ac_dashdash$ac_option in
  10257. +  --)
  10258. +    ac_dashdash=yes ;;
  10259. +
  10260. +  -bindir | --bindir | --bindi | --bind | --bin | --bi)
  10261. +    ac_prev=bindir ;;
  10262. +  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  10263. +    bindir=$ac_optarg ;;
  10264. +
  10265. +  -build | --build | --buil | --bui | --bu)
  10266. +    ac_prev=build_alias ;;
  10267. +  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  10268. +    build_alias=$ac_optarg ;;
  10269. +
  10270. +  -cache-file | --cache-file | --cache-fil | --cache-fi \
  10271. +  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  10272. +    ac_prev=cache_file ;;
  10273. +  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  10274. +  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  10275. +    cache_file=$ac_optarg ;;
  10276. +
  10277. +  --config-cache | -C)
  10278. +    cache_file=config.cache ;;
  10279. +
  10280. +  -datadir | --datadir | --datadi | --datad)
  10281. +    ac_prev=datadir ;;
  10282. +  -datadir=* | --datadir=* | --datadi=* | --datad=*)
  10283. +    datadir=$ac_optarg ;;
  10284. +
  10285. +  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  10286. +  | --dataroo | --dataro | --datar)
  10287. +    ac_prev=datarootdir ;;
  10288. +  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  10289. +  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  10290. +    datarootdir=$ac_optarg ;;
  10291. +
  10292. +  -disable-* | --disable-*)
  10293. +    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  10294. +    # Reject names that are not valid shell variable names.
  10295. +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10296. +      as_fn_error $? "invalid feature name: $ac_useropt"
  10297. +    ac_useropt_orig=$ac_useropt
  10298. +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10299. +    case $ac_user_opts in
  10300. +      *"
  10301. +"enable_$ac_useropt"
  10302. +"*) ;;
  10303. +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  10304. +    ac_unrecognized_sep=', ';;
  10305. +    esac
  10306. +    eval enable_$ac_useropt=no ;;
  10307. +
  10308. +  -docdir | --docdir | --docdi | --doc | --do)
  10309. +    ac_prev=docdir ;;
  10310. +  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  10311. +    docdir=$ac_optarg ;;
  10312. +
  10313. +  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  10314. +    ac_prev=dvidir ;;
  10315. +  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  10316. +    dvidir=$ac_optarg ;;
  10317. +
  10318. +  -enable-* | --enable-*)
  10319. +    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  10320. +    # Reject names that are not valid shell variable names.
  10321. +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10322. +      as_fn_error $? "invalid feature name: $ac_useropt"
  10323. +    ac_useropt_orig=$ac_useropt
  10324. +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10325. +    case $ac_user_opts in
  10326. +      *"
  10327. +"enable_$ac_useropt"
  10328. +"*) ;;
  10329. +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  10330. +    ac_unrecognized_sep=', ';;
  10331. +    esac
  10332. +    eval enable_$ac_useropt=\$ac_optarg ;;
  10333. +
  10334. +  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  10335. +  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  10336. +  | --exec | --exe | --ex)
  10337. +    ac_prev=exec_prefix ;;
  10338. +  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  10339. +  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  10340. +  | --exec=* | --exe=* | --ex=*)
  10341. +    exec_prefix=$ac_optarg ;;
  10342. +
  10343. +  -gas | --gas | --ga | --g)
  10344. +    # Obsolete; use --with-gas.
  10345. +    with_gas=yes ;;
  10346. +
  10347. +  -help | --help | --hel | --he | -h)
  10348. +    ac_init_help=long ;;
  10349. +  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  10350. +    ac_init_help=recursive ;;
  10351. +  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  10352. +    ac_init_help=short ;;
  10353. +
  10354. +  -host | --host | --hos | --ho)
  10355. +    ac_prev=host_alias ;;
  10356. +  -host=* | --host=* | --hos=* | --ho=*)
  10357. +    host_alias=$ac_optarg ;;
  10358. +
  10359. +  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  10360. +    ac_prev=htmldir ;;
  10361. +  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  10362. +  | --ht=*)
  10363. +    htmldir=$ac_optarg ;;
  10364. +
  10365. +  -includedir | --includedir | --includedi | --included | --include \
  10366. +  | --includ | --inclu | --incl | --inc)
  10367. +    ac_prev=includedir ;;
  10368. +  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  10369. +  | --includ=* | --inclu=* | --incl=* | --inc=*)
  10370. +    includedir=$ac_optarg ;;
  10371. +
  10372. +  -infodir | --infodir | --infodi | --infod | --info | --inf)
  10373. +    ac_prev=infodir ;;
  10374. +  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  10375. +    infodir=$ac_optarg ;;
  10376. +
  10377. +  -libdir | --libdir | --libdi | --libd)
  10378. +    ac_prev=libdir ;;
  10379. +  -libdir=* | --libdir=* | --libdi=* | --libd=*)
  10380. +    libdir=$ac_optarg ;;
  10381. +
  10382. +  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  10383. +  | --libexe | --libex | --libe)
  10384. +    ac_prev=libexecdir ;;
  10385. +  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  10386. +  | --libexe=* | --libex=* | --libe=*)
  10387. +    libexecdir=$ac_optarg ;;
  10388. +
  10389. +  -localedir | --localedir | --localedi | --localed | --locale)
  10390. +    ac_prev=localedir ;;
  10391. +  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  10392. +    localedir=$ac_optarg ;;
  10393. +
  10394. +  -localstatedir | --localstatedir | --localstatedi | --localstated \
  10395. +  | --localstate | --localstat | --localsta | --localst | --locals)
  10396. +    ac_prev=localstatedir ;;
  10397. +  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  10398. +  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  10399. +    localstatedir=$ac_optarg ;;
  10400. +
  10401. +  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  10402. +    ac_prev=mandir ;;
  10403. +  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  10404. +    mandir=$ac_optarg ;;
  10405. +
  10406. +  -nfp | --nfp | --nf)
  10407. +    # Obsolete; use --without-fp.
  10408. +    with_fp=no ;;
  10409. +
  10410. +  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  10411. +  | --no-cr | --no-c | -n)
  10412. +    no_create=yes ;;
  10413. +
  10414. +  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  10415. +  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  10416. +    no_recursion=yes ;;
  10417. +
  10418. +  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  10419. +  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  10420. +  | --oldin | --oldi | --old | --ol | --o)
  10421. +    ac_prev=oldincludedir ;;
  10422. +  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  10423. +  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  10424. +  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  10425. +    oldincludedir=$ac_optarg ;;
  10426. +
  10427. +  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  10428. +    ac_prev=prefix ;;
  10429. +  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  10430. +    prefix=$ac_optarg ;;
  10431. +
  10432. +  -program-prefix | --program-prefix | --program-prefi | --program-pref \
  10433. +  | --program-pre | --program-pr | --program-p)
  10434. +    ac_prev=program_prefix ;;
  10435. +  -program-prefix=* | --program-prefix=* | --program-prefi=* \
  10436. +  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  10437. +    program_prefix=$ac_optarg ;;
  10438. +
  10439. +  -program-suffix | --program-suffix | --program-suffi | --program-suff \
  10440. +  | --program-suf | --program-su | --program-s)
  10441. +    ac_prev=program_suffix ;;
  10442. +  -program-suffix=* | --program-suffix=* | --program-suffi=* \
  10443. +  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  10444. +    program_suffix=$ac_optarg ;;
  10445. +
  10446. +  -program-transform-name | --program-transform-name \
  10447. +  | --program-transform-nam | --program-transform-na \
  10448. +  | --program-transform-n | --program-transform- \
  10449. +  | --program-transform | --program-transfor \
  10450. +  | --program-transfo | --program-transf \
  10451. +  | --program-trans | --program-tran \
  10452. +  | --progr-tra | --program-tr | --program-t)
  10453. +    ac_prev=program_transform_name ;;
  10454. +  -program-transform-name=* | --program-transform-name=* \
  10455. +  | --program-transform-nam=* | --program-transform-na=* \
  10456. +  | --program-transform-n=* | --program-transform-=* \
  10457. +  | --program-transform=* | --program-transfor=* \
  10458. +  | --program-transfo=* | --program-transf=* \
  10459. +  | --program-trans=* | --program-tran=* \
  10460. +  | --progr-tra=* | --program-tr=* | --program-t=*)
  10461. +    program_transform_name=$ac_optarg ;;
  10462. +
  10463. +  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  10464. +    ac_prev=pdfdir ;;
  10465. +  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  10466. +    pdfdir=$ac_optarg ;;
  10467. +
  10468. +  -psdir | --psdir | --psdi | --psd | --ps)
  10469. +    ac_prev=psdir ;;
  10470. +  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  10471. +    psdir=$ac_optarg ;;
  10472. +
  10473. +  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  10474. +  | -silent | --silent | --silen | --sile | --sil)
  10475. +    silent=yes ;;
  10476. +
  10477. +  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  10478. +    ac_prev=sbindir ;;
  10479. +  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  10480. +  | --sbi=* | --sb=*)
  10481. +    sbindir=$ac_optarg ;;
  10482. +
  10483. +  -sharedstatedir | --sharedstatedir | --sharedstatedi \
  10484. +  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  10485. +  | --sharedst | --shareds | --shared | --share | --shar \
  10486. +  | --sha | --sh)
  10487. +    ac_prev=sharedstatedir ;;
  10488. +  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  10489. +  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  10490. +  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  10491. +  | --sha=* | --sh=*)
  10492. +    sharedstatedir=$ac_optarg ;;
  10493. +
  10494. +  -site | --site | --sit)
  10495. +    ac_prev=site ;;
  10496. +  -site=* | --site=* | --sit=*)
  10497. +    site=$ac_optarg ;;
  10498. +
  10499. +  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  10500. +    ac_prev=srcdir ;;
  10501. +  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  10502. +    srcdir=$ac_optarg ;;
  10503. +
  10504. +  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  10505. +  | --syscon | --sysco | --sysc | --sys | --sy)
  10506. +    ac_prev=sysconfdir ;;
  10507. +  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  10508. +  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  10509. +    sysconfdir=$ac_optarg ;;
  10510. +
  10511. +  -target | --target | --targe | --targ | --tar | --ta | --t)
  10512. +    ac_prev=target_alias ;;
  10513. +  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  10514. +    target_alias=$ac_optarg ;;
  10515. +
  10516. +  -v | -verbose | --verbose | --verbos | --verbo | --verb)
  10517. +    verbose=yes ;;
  10518. +
  10519. +  -version | --version | --versio | --versi | --vers | -V)
  10520. +    ac_init_version=: ;;
  10521. +
  10522. +  -with-* | --with-*)
  10523. +    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  10524. +    # Reject names that are not valid shell variable names.
  10525. +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10526. +      as_fn_error $? "invalid package name: $ac_useropt"
  10527. +    ac_useropt_orig=$ac_useropt
  10528. +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10529. +    case $ac_user_opts in
  10530. +      *"
  10531. +"with_$ac_useropt"
  10532. +"*) ;;
  10533. +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  10534. +    ac_unrecognized_sep=', ';;
  10535. +    esac
  10536. +    eval with_$ac_useropt=\$ac_optarg ;;
  10537. +
  10538. +  -without-* | --without-*)
  10539. +    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  10540. +    # Reject names that are not valid shell variable names.
  10541. +    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  10542. +      as_fn_error $? "invalid package name: $ac_useropt"
  10543. +    ac_useropt_orig=$ac_useropt
  10544. +    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  10545. +    case $ac_user_opts in
  10546. +      *"
  10547. +"with_$ac_useropt"
  10548. +"*) ;;
  10549. +      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  10550. +    ac_unrecognized_sep=', ';;
  10551. +    esac
  10552. +    eval with_$ac_useropt=no ;;
  10553. +
  10554. +  --x)
  10555. +    # Obsolete; use --with-x.
  10556. +    with_x=yes ;;
  10557. +
  10558. +  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  10559. +  | --x-incl | --x-inc | --x-in | --x-i)
  10560. +    ac_prev=x_includes ;;
  10561. +  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  10562. +  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  10563. +    x_includes=$ac_optarg ;;
  10564. +
  10565. +  -x-libraries | --x-libraries | --x-librarie | --x-librari \
  10566. +  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  10567. +    ac_prev=x_libraries ;;
  10568. +  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  10569. +  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  10570. +    x_libraries=$ac_optarg ;;
  10571. +
  10572. +  -*) as_fn_error $? "unrecognized option: \`$ac_option'
  10573. +Try \`$0 --help' for more information"
  10574. +    ;;
  10575. +
  10576. +  *=*)
  10577. +    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  10578. +    # Reject names that are not valid shell variable names.
  10579. +    case $ac_envvar in #(
  10580. +      '' | [0-9]* | *[!_$as_cr_alnum]* )
  10581. +      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  10582. +    esac
  10583. +    eval $ac_envvar=\$ac_optarg
  10584. +    export $ac_envvar ;;
  10585. +
  10586. +  *)
  10587. +    # FIXME: should be removed in autoconf 3.0.
  10588. +    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  10589. +    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  10590. +      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  10591. +    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  10592. +    ;;
  10593. +
  10594. +  esac
  10595. +done
  10596. +
  10597. +if test -n "$ac_prev"; then
  10598. +  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  10599. +  as_fn_error $? "missing argument to $ac_option"
  10600. +fi
  10601. +
  10602. +if test -n "$ac_unrecognized_opts"; then
  10603. +  case $enable_option_checking in
  10604. +    no) ;;
  10605. +    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  10606. +    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  10607. +  esac
  10608. +fi
  10609. +
  10610. +# Check all directory arguments for consistency.
  10611. +for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
  10612. +       datadir sysconfdir sharedstatedir localstatedir includedir \
  10613. +       oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  10614. +       libdir localedir mandir
  10615. +do
  10616. +  eval ac_val=\$$ac_var
  10617. +  # Remove trailing slashes.
  10618. +  case $ac_val in
  10619. +    */ )
  10620. +      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  10621. +      eval $ac_var=\$ac_val;;
  10622. +  esac
  10623. +  # Be sure to have absolute directory names.
  10624. +  case $ac_val in
  10625. +    [\\/$]* | ?:[\\/]* )  continue;;
  10626. +    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  10627. +  esac
  10628. +  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  10629. +done
  10630. +
  10631. +# There might be people who depend on the old broken behavior: `$host'
  10632. +# used to hold the argument of --host etc.
  10633. +# FIXME: To remove some day.
  10634. +build=$build_alias
  10635. +host=$host_alias
  10636. +target=$target_alias
  10637. +
  10638. +# FIXME: To remove some day.
  10639. +if test "x$host_alias" != x; then
  10640. +  if test "x$build_alias" = x; then
  10641. +    cross_compiling=maybe
  10642. +  elif test "x$build_alias" != "x$host_alias"; then
  10643. +    cross_compiling=yes
  10644. +  fi
  10645. +fi
  10646. +
  10647. +ac_tool_prefix=
  10648. +test -n "$host_alias" && ac_tool_prefix=$host_alias-
  10649. +
  10650. +test "$silent" = yes && exec 6>/dev/null
  10651. +
  10652. +
  10653. +ac_pwd=`pwd` && test -n "$ac_pwd" &&
  10654. +ac_ls_di=`ls -di .` &&
  10655. +ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  10656. +  as_fn_error $? "working directory cannot be determined"
  10657. +test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  10658. +  as_fn_error $? "pwd does not report name of working directory"
  10659. +
  10660. +
  10661. +# Find the source files, if location was not specified.
  10662. +if test -z "$srcdir"; then
  10663. +  ac_srcdir_defaulted=yes
  10664. +  # Try the directory containing this script, then the parent directory.
  10665. +  ac_confdir=`$as_dirname -- "$as_myself" ||
  10666. +$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  10667. +    X"$as_myself" : 'X\(//\)[^/]' \| \
  10668. +    X"$as_myself" : 'X\(//\)$' \| \
  10669. +    X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  10670. +$as_echo X"$as_myself" |
  10671. +    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  10672. +       s//\1/
  10673. +       q
  10674. +     }
  10675. +     /^X\(\/\/\)[^/].*/{
  10676. +       s//\1/
  10677. +       q
  10678. +     }
  10679. +     /^X\(\/\/\)$/{
  10680. +       s//\1/
  10681. +       q
  10682. +     }
  10683. +     /^X\(\/\).*/{
  10684. +       s//\1/
  10685. +       q
  10686. +     }
  10687. +     s/.*/./; q'`
  10688. +  srcdir=$ac_confdir
  10689. +  if test ! -r "$srcdir/$ac_unique_file"; then
  10690. +    srcdir=..
  10691. +  fi
  10692. +else
  10693. +  ac_srcdir_defaulted=no
  10694. +fi
  10695. +if test ! -r "$srcdir/$ac_unique_file"; then
  10696. +  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  10697. +  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  10698. +fi
  10699. +ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  10700. +ac_abs_confdir=`(
  10701. +   cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  10702. +   pwd)`
  10703. +# When building in place, set srcdir=.
  10704. +if test "$ac_abs_confdir" = "$ac_pwd"; then
  10705. +  srcdir=.
  10706. +fi
  10707. +# Remove unnecessary trailing slashes from srcdir.
  10708. +# Double slashes in file names in object file debugging info
  10709. +# mess up M-x gdb in Emacs.
  10710. +case $srcdir in
  10711. +*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  10712. +esac
  10713. +for ac_var in $ac_precious_vars; do
  10714. +  eval ac_env_${ac_var}_set=\${${ac_var}+set}
  10715. +  eval ac_env_${ac_var}_value=\$${ac_var}
  10716. +  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  10717. +  eval ac_cv_env_${ac_var}_value=\$${ac_var}
  10718. +done
  10719. +
  10720. +#
  10721. +# Report the --help message.
  10722. +#
  10723. +if test "$ac_init_help" = "long"; then
  10724. +  # Omit some internal or obsolete options to make the list less imposing.
  10725. +  # This message is too long to be a string in the A/UX 3.1 sh.
  10726. +  cat <<_ACEOF
  10727. +\`configure' configures this package to adapt to many kinds of systems.
  10728. +
  10729. +Usage: $0 [OPTION]... [VAR=VALUE]...
  10730. +
  10731. +To assign environment variables (e.g., CC, CFLAGS...), specify them as
  10732. +VAR=VALUE.  See below for descriptions of some of the useful variables.
  10733. +
  10734. +Defaults for the options are specified in brackets.
  10735. +
  10736. +Configuration:
  10737. +  -h, --help              display this help and exit
  10738. +      --help=short        display options specific to this package
  10739. +      --help=recursive    display the short help of all the included packages
  10740. +  -V, --version           display version information and exit
  10741. +  -q, --quiet, --silent   do not print \`checking ...' messages
  10742. +      --cache-file=FILE   cache test results in FILE [disabled]
  10743. +  -C, --config-cache      alias for \`--cache-file=config.cache'
  10744. +  -n, --no-create         do not create output files
  10745. +      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  10746. +
  10747. +Installation directories:
  10748. +  --prefix=PREFIX         install architecture-independent files in PREFIX
  10749. +                          @<:@@S|@ac_default_prefix@:>@
  10750. +  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  10751. +                          @<:@PREFIX@:>@
  10752. +
  10753. +By default, \`make install' will install all the files in
  10754. +\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  10755. +an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  10756. +for instance \`--prefix=\$HOME'.
  10757. +
  10758. +For better control, use the options below.
  10759. +
  10760. +Fine tuning of the installation directories:
  10761. +  --bindir=DIR            user executables [EPREFIX/bin]
  10762. +  --sbindir=DIR           system admin executables [EPREFIX/sbin]
  10763. +  --libexecdir=DIR        program executables [EPREFIX/libexec]
  10764. +  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  10765. +  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  10766. +  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  10767. +  --libdir=DIR            object code libraries [EPREFIX/lib]
  10768. +  --includedir=DIR        C header files [PREFIX/include]
  10769. +  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  10770. +  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  10771. +  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  10772. +  --infodir=DIR           info documentation [DATAROOTDIR/info]
  10773. +  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  10774. +  --mandir=DIR            man documentation [DATAROOTDIR/man]
  10775. +  --docdir=DIR            documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
  10776. +  --htmldir=DIR           html documentation [DOCDIR]
  10777. +  --dvidir=DIR            dvi documentation [DOCDIR]
  10778. +  --pdfdir=DIR            pdf documentation [DOCDIR]
  10779. +  --psdir=DIR             ps documentation [DOCDIR]
  10780. +_ACEOF
  10781. +
  10782. +  cat <<\_ACEOF
  10783. +
  10784. +Program names:
  10785. +  --program-prefix=PREFIX            prepend PREFIX to installed program names
  10786. +  --program-suffix=SUFFIX            append SUFFIX to installed program names
  10787. +  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  10788. +
  10789. +System types:
  10790. +  --build=BUILD     configure for building on BUILD [guessed]
  10791. +  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  10792. +_ACEOF
  10793. +fi
  10794. +
  10795. +if test -n "$ac_init_help"; then
  10796. +
  10797. +  cat <<\_ACEOF
  10798. +
  10799. +Optional Features:
  10800. +  --disable-option-checking  ignore unrecognized --enable/--with options
  10801. +  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  10802. +  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  10803. +  --enable-silent-rules   less verbose build output (undo: "make V=1")
  10804. +  --disable-silent-rules  verbose build output (undo: "make V=0")
  10805. +  --enable-shared@<:@=PKGS@:>@  build shared libraries @<:@default=yes@:>@
  10806. +  --enable-static@<:@=PKGS@:>@  build static libraries @<:@default=yes@:>@
  10807. +  --enable-fast-install@<:@=PKGS@:>@
  10808. +                          optimize for fast installation @<:@default=yes@:>@
  10809. +  --enable-dependency-tracking
  10810. +                          do not reject slow dependency extractors
  10811. +  --disable-dependency-tracking
  10812. +                          speeds up one-time build
  10813. +  --disable-libtool-lock  avoid locking (might break parallel builds)
  10814. +
  10815. +Optional Packages:
  10816. +  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  10817. +  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  10818. +  --with-pic              try to use only PIC/non-PIC objects @<:@default=use
  10819. +                          both@:>@
  10820. +  --with-gnu-ld           assume the C compiler uses GNU ld @<:@default=no@:>@
  10821. +
  10822. +Some influential environment variables:
  10823. +  CC          C compiler command
  10824. +  CFLAGS      C compiler flags
  10825. +  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  10826. +              nonstandard directory <lib dir>
  10827. +  LIBS        libraries to pass to the linker, e.g. -l<library>
  10828. +  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  10829. +              you have headers in a nonstandard directory <include dir>
  10830. +  CPP         C preprocessor
  10831. +
  10832. +Use these variables to override the choices made by `configure' or to help
  10833. +it to find libraries and programs with nonstandard names/locations.
  10834. +
  10835. +Report bugs to the package provider.
  10836. +_ACEOF
  10837. +ac_status=$?
  10838. +fi
  10839. +
  10840. +if test "$ac_init_help" = "recursive"; then
  10841. +  # If there are subdirs, report their specific --help.
  10842. +  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  10843. +    test -d "$ac_dir" ||
  10844. +      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  10845. +      continue
  10846. +    ac_builddir=.
  10847. +
  10848. +case "$ac_dir" in
  10849. +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  10850. +*)
  10851. +  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  10852. +  # A ".." for each directory in $ac_dir_suffix.
  10853. +  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  10854. +  case $ac_top_builddir_sub in
  10855. +  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  10856. +  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  10857. +  esac ;;
  10858. +esac
  10859. +ac_abs_top_builddir=$ac_pwd
  10860. +ac_abs_builddir=$ac_pwd$ac_dir_suffix
  10861. +# for backward compatibility:
  10862. +ac_top_builddir=$ac_top_build_prefix
  10863. +
  10864. +case $srcdir in
  10865. +  .)  # We are building in place.
  10866. +    ac_srcdir=.
  10867. +    ac_top_srcdir=$ac_top_builddir_sub
  10868. +    ac_abs_top_srcdir=$ac_pwd ;;
  10869. +  [\\/]* | ?:[\\/]* )  # Absolute name.
  10870. +    ac_srcdir=$srcdir$ac_dir_suffix;
  10871. +    ac_top_srcdir=$srcdir
  10872. +    ac_abs_top_srcdir=$srcdir ;;
  10873. +  *) # Relative name.
  10874. +    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  10875. +    ac_top_srcdir=$ac_top_build_prefix$srcdir
  10876. +    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  10877. +esac
  10878. +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  10879. +
  10880. +    cd "$ac_dir" || { ac_status=$?; continue; }
  10881. +    # Check for guested configure.
  10882. +    if test -f "$ac_srcdir/configure.gnu"; then
  10883. +      echo &&
  10884. +      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  10885. +    elif test -f "$ac_srcdir/configure"; then
  10886. +      echo &&
  10887. +      $SHELL "$ac_srcdir/configure" --help=recursive
  10888. +    else
  10889. +      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  10890. +    fi || ac_status=$?
  10891. +    cd "$ac_pwd" || { ac_status=$?; break; }
  10892. +  done
  10893. +fi
  10894. +
  10895. +test -n "$ac_init_help" && exit $ac_status
  10896. +if $ac_init_version; then
  10897. +  cat <<\_ACEOF
  10898. +configure
  10899. +generated by GNU Autoconf 2.69
  10900. +
  10901. +Copyright (C) 2012 Free Software Foundation, Inc.
  10902. +This configure script is free software; the Free Software Foundation
  10903. +gives unlimited permission to copy, distribute and modify it.
  10904. +_ACEOF
  10905. +  exit
  10906. +fi
  10907. +
  10908. +## ------------------------ ##
  10909. +## Autoconf initialization. ##
  10910. +## ------------------------ ##
  10911. +
  10912. +@%:@ ac_fn_c_try_compile LINENO
  10913. +@%:@ --------------------------
  10914. +@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
  10915. +ac_fn_c_try_compile ()
  10916. +{
  10917. +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  10918. +  rm -f conftest.$ac_objext
  10919. +  if { { ac_try="$ac_compile"
  10920. +case "(($ac_try" in
  10921. +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10922. +  *) ac_try_echo=$ac_try;;
  10923. +esac
  10924. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  10925. +$as_echo "$ac_try_echo"; } >&5
  10926. +  (eval "$ac_compile") 2>conftest.err
  10927. +  ac_status=$?
  10928. +  if test -s conftest.err; then
  10929. +    grep -v '^ *+' conftest.err >conftest.er1
  10930. +    cat conftest.er1 >&5
  10931. +    mv -f conftest.er1 conftest.err
  10932. +  fi
  10933. +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10934. +  test $ac_status = 0; } && {
  10935. +    test -z "$ac_c_werror_flag" ||
  10936. +    test ! -s conftest.err
  10937. +       } && test -s conftest.$ac_objext; then :
  10938. +  ac_retval=0
  10939. +else
  10940. +  $as_echo "$as_me: failed program was:" >&5
  10941. +sed 's/^/| /' conftest.$ac_ext >&5
  10942. +
  10943. +   ac_retval=1
  10944. +fi
  10945. +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  10946. +  as_fn_set_status $ac_retval
  10947. +
  10948. +} @%:@ ac_fn_c_try_compile
  10949. +
  10950. +@%:@ ac_fn_c_try_link LINENO
  10951. +@%:@ -----------------------
  10952. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded.
  10953. +ac_fn_c_try_link ()
  10954. +{
  10955. +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  10956. +  rm -f conftest.$ac_objext conftest$ac_exeext
  10957. +  if { { ac_try="$ac_link"
  10958. +case "(($ac_try" in
  10959. +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10960. +  *) ac_try_echo=$ac_try;;
  10961. +esac
  10962. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  10963. +$as_echo "$ac_try_echo"; } >&5
  10964. +  (eval "$ac_link") 2>conftest.err
  10965. +  ac_status=$?
  10966. +  if test -s conftest.err; then
  10967. +    grep -v '^ *+' conftest.err >conftest.er1
  10968. +    cat conftest.er1 >&5
  10969. +    mv -f conftest.er1 conftest.err
  10970. +  fi
  10971. +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  10972. +  test $ac_status = 0; } && {
  10973. +    test -z "$ac_c_werror_flag" ||
  10974. +    test ! -s conftest.err
  10975. +       } && test -s conftest$ac_exeext && {
  10976. +    test "$cross_compiling" = yes ||
  10977. +    test -x conftest$ac_exeext
  10978. +       }; then :
  10979. +  ac_retval=0
  10980. +else
  10981. +  $as_echo "$as_me: failed program was:" >&5
  10982. +sed 's/^/| /' conftest.$ac_ext >&5
  10983. +
  10984. +   ac_retval=1
  10985. +fi
  10986. +  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  10987. +  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  10988. +  # interfere with the next link command; also delete a directory that is
  10989. +  # left behind by Apple's compiler.  We do this before executing the actions.
  10990. +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  10991. +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  10992. +  as_fn_set_status $ac_retval
  10993. +
  10994. +} @%:@ ac_fn_c_try_link
  10995. +
  10996. +@%:@ ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  10997. +@%:@ -------------------------------------------------------
  10998. +@%:@ Tests whether HEADER exists and can be compiled using the include files in
  10999. +@%:@ INCLUDES, setting the cache variable VAR accordingly.
  11000. +ac_fn_c_check_header_compile ()
  11001. +{
  11002. +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11003. +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11004. +$as_echo_n "checking for $2... " >&6; }
  11005. +if eval \${$3+:} false; then :
  11006. +  $as_echo_n "(cached) " >&6
  11007. +else
  11008. +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11009. +/* end confdefs.h.  */
  11010. +$4
  11011. +@%:@include <$2>
  11012. +_ACEOF
  11013. +if ac_fn_c_try_compile "$LINENO"; then :
  11014. +  eval "$3=yes"
  11015. +else
  11016. +  eval "$3=no"
  11017. +fi
  11018. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11019. +fi
  11020. +eval ac_res=\$$3
  11021. +          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11022. +$as_echo "$ac_res" >&6; }
  11023. +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11024. +
  11025. +} @%:@ ac_fn_c_check_header_compile
  11026. +
  11027. +@%:@ ac_fn_c_try_cpp LINENO
  11028. +@%:@ ----------------------
  11029. +@%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
  11030. +ac_fn_c_try_cpp ()
  11031. +{
  11032. +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11033. +  if { { ac_try="$ac_cpp conftest.$ac_ext"
  11034. +case "(($ac_try" in
  11035. +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11036. +  *) ac_try_echo=$ac_try;;
  11037. +esac
  11038. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11039. +$as_echo "$ac_try_echo"; } >&5
  11040. +  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  11041. +  ac_status=$?
  11042. +  if test -s conftest.err; then
  11043. +    grep -v '^ *+' conftest.err >conftest.er1
  11044. +    cat conftest.er1 >&5
  11045. +    mv -f conftest.er1 conftest.err
  11046. +  fi
  11047. +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11048. +  test $ac_status = 0; } > conftest.i && {
  11049. +    test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11050. +    test ! -s conftest.err
  11051. +       }; then :
  11052. +  ac_retval=0
  11053. +else
  11054. +  $as_echo "$as_me: failed program was:" >&5
  11055. +sed 's/^/| /' conftest.$ac_ext >&5
  11056. +
  11057. +    ac_retval=1
  11058. +fi
  11059. +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11060. +  as_fn_set_status $ac_retval
  11061. +
  11062. +} @%:@ ac_fn_c_try_cpp
  11063. +
  11064. +@%:@ ac_fn_c_try_run LINENO
  11065. +@%:@ ----------------------
  11066. +@%:@ Try to link conftest.@S|@ac_ext, and return whether this succeeded. Assumes
  11067. +@%:@ that executables *can* be run.
  11068. +ac_fn_c_try_run ()
  11069. +{
  11070. +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11071. +  if { { ac_try="$ac_link"
  11072. +case "(($ac_try" in
  11073. +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11074. +  *) ac_try_echo=$ac_try;;
  11075. +esac
  11076. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11077. +$as_echo "$ac_try_echo"; } >&5
  11078. +  (eval "$ac_link") 2>&5
  11079. +  ac_status=$?
  11080. +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11081. +  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  11082. +  { { case "(($ac_try" in
  11083. +  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11084. +  *) ac_try_echo=$ac_try;;
  11085. +esac
  11086. +eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  11087. +$as_echo "$ac_try_echo"; } >&5
  11088. +  (eval "$ac_try") 2>&5
  11089. +  ac_status=$?
  11090. +  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  11091. +  test $ac_status = 0; }; }; then :
  11092. +  ac_retval=0
  11093. +else
  11094. +  $as_echo "$as_me: program exited with status $ac_status" >&5
  11095. +       $as_echo "$as_me: failed program was:" >&5
  11096. +sed 's/^/| /' conftest.$ac_ext >&5
  11097. +
  11098. +       ac_retval=$ac_status
  11099. +fi
  11100. +  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  11101. +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11102. +  as_fn_set_status $ac_retval
  11103. +
  11104. +} @%:@ ac_fn_c_try_run
  11105. +
  11106. +@%:@ ac_fn_c_check_func LINENO FUNC VAR
  11107. +@%:@ ----------------------------------
  11108. +@%:@ Tests whether FUNC exists, setting the cache variable VAR accordingly
  11109. +ac_fn_c_check_func ()
  11110. +{
  11111. +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11112. +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11113. +$as_echo_n "checking for $2... " >&6; }
  11114. +if eval \${$3+:} false; then :
  11115. +  $as_echo_n "(cached) " >&6
  11116. +else
  11117. +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11118. +/* end confdefs.h.  */
  11119. +/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  11120. +   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  11121. +#define $2 innocuous_$2
  11122. +
  11123. +/* System header to define __stub macros and hopefully few prototypes,
  11124. +    which can conflict with char $2 (); below.
  11125. +    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  11126. +    <limits.h> exists even on freestanding compilers.  */
  11127. +
  11128. +#ifdef __STDC__
  11129. +# include <limits.h>
  11130. +#else
  11131. +# include <assert.h>
  11132. +#endif
  11133. +
  11134. +#undef $2
  11135. +
  11136. +/* Override any GCC internal prototype to avoid an error.
  11137. +   Use char because int might match the return type of a GCC
  11138. +   builtin and then its argument prototype would still apply.  */
  11139. +#ifdef __cplusplus
  11140. +extern "C"
  11141. +#endif
  11142. +char $2 ();
  11143. +/* The GNU C library defines this for functions which it implements
  11144. +    to always fail with ENOSYS.  Some functions are actually named
  11145. +    something starting with __ and the normal name is an alias.  */
  11146. +#if defined __stub_$2 || defined __stub___$2
  11147. +choke me
  11148. +#endif
  11149. +
  11150. +int
  11151. +main ()
  11152. +{
  11153. +return $2 ();
  11154. +  ;
  11155. +  return 0;
  11156. +}
  11157. +_ACEOF
  11158. +if ac_fn_c_try_link "$LINENO"; then :
  11159. +  eval "$3=yes"
  11160. +else
  11161. +  eval "$3=no"
  11162. +fi
  11163. +rm -f core conftest.err conftest.$ac_objext \
  11164. +    conftest$ac_exeext conftest.$ac_ext
  11165. +fi
  11166. +eval ac_res=\$$3
  11167. +          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11168. +$as_echo "$ac_res" >&6; }
  11169. +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11170. +
  11171. +} @%:@ ac_fn_c_check_func
  11172. +
  11173. +@%:@ ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  11174. +@%:@ --------------------------------------------
  11175. +@%:@ Tries to find the compile-time value of EXPR in a program that includes
  11176. +@%:@ INCLUDES, setting VAR accordingly. Returns whether the value could be
  11177. +@%:@ computed
  11178. +ac_fn_c_compute_int ()
  11179. +{
  11180. +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11181. +  if test "$cross_compiling" = yes; then
  11182. +    # Depending upon the size, compute the lo and hi bounds.
  11183. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11184. +/* end confdefs.h.  */
  11185. +$4
  11186. +int
  11187. +main ()
  11188. +{
  11189. +static int test_array @<:@1 - 2 * !(($2) >= 0)@:>@;
  11190. +test_array @<:@0@:>@ = 0;
  11191. +return test_array @<:@0@:>@;
  11192. +
  11193. +  ;
  11194. +  return 0;
  11195. +}
  11196. +_ACEOF
  11197. +if ac_fn_c_try_compile "$LINENO"; then :
  11198. +  ac_lo=0 ac_mid=0
  11199. +  while :; do
  11200. +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11201. +/* end confdefs.h.  */
  11202. +$4
  11203. +int
  11204. +main ()
  11205. +{
  11206. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  11207. +test_array @<:@0@:>@ = 0;
  11208. +return test_array @<:@0@:>@;
  11209. +
  11210. +  ;
  11211. +  return 0;
  11212. +}
  11213. +_ACEOF
  11214. +if ac_fn_c_try_compile "$LINENO"; then :
  11215. +  ac_hi=$ac_mid; break
  11216. +else
  11217. +  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  11218. +           if test $ac_lo -le $ac_mid; then
  11219. +             ac_lo= ac_hi=
  11220. +             break
  11221. +           fi
  11222. +           as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  11223. +fi
  11224. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11225. +  done
  11226. +else
  11227. +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11228. +/* end confdefs.h.  */
  11229. +$4
  11230. +int
  11231. +main ()
  11232. +{
  11233. +static int test_array @<:@1 - 2 * !(($2) < 0)@:>@;
  11234. +test_array @<:@0@:>@ = 0;
  11235. +return test_array @<:@0@:>@;
  11236. +
  11237. +  ;
  11238. +  return 0;
  11239. +}
  11240. +_ACEOF
  11241. +if ac_fn_c_try_compile "$LINENO"; then :
  11242. +  ac_hi=-1 ac_mid=-1
  11243. +  while :; do
  11244. +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11245. +/* end confdefs.h.  */
  11246. +$4
  11247. +int
  11248. +main ()
  11249. +{
  11250. +static int test_array @<:@1 - 2 * !(($2) >= $ac_mid)@:>@;
  11251. +test_array @<:@0@:>@ = 0;
  11252. +return test_array @<:@0@:>@;
  11253. +
  11254. +  ;
  11255. +  return 0;
  11256. +}
  11257. +_ACEOF
  11258. +if ac_fn_c_try_compile "$LINENO"; then :
  11259. +  ac_lo=$ac_mid; break
  11260. +else
  11261. +  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  11262. +           if test $ac_mid -le $ac_hi; then
  11263. +             ac_lo= ac_hi=
  11264. +             break
  11265. +           fi
  11266. +           as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  11267. +fi
  11268. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11269. +  done
  11270. +else
  11271. +  ac_lo= ac_hi=
  11272. +fi
  11273. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11274. +fi
  11275. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11276. +# Binary search between lo and hi bounds.
  11277. +while test "x$ac_lo" != "x$ac_hi"; do
  11278. +  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  11279. +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11280. +/* end confdefs.h.  */
  11281. +$4
  11282. +int
  11283. +main ()
  11284. +{
  11285. +static int test_array @<:@1 - 2 * !(($2) <= $ac_mid)@:>@;
  11286. +test_array @<:@0@:>@ = 0;
  11287. +return test_array @<:@0@:>@;
  11288. +
  11289. +  ;
  11290. +  return 0;
  11291. +}
  11292. +_ACEOF
  11293. +if ac_fn_c_try_compile "$LINENO"; then :
  11294. +  ac_hi=$ac_mid
  11295. +else
  11296. +  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  11297. +fi
  11298. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11299. +done
  11300. +case $ac_lo in @%:@((
  11301. +?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  11302. +'') ac_retval=1 ;;
  11303. +esac
  11304. +  else
  11305. +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11306. +/* end confdefs.h.  */
  11307. +$4
  11308. +static long int longval () { return $2; }
  11309. +static unsigned long int ulongval () { return $2; }
  11310. +@%:@include <stdio.h>
  11311. +@%:@include <stdlib.h>
  11312. +int
  11313. +main ()
  11314. +{
  11315. +
  11316. +  FILE *f = fopen ("conftest.val", "w");
  11317. +  if (! f)
  11318. +    return 1;
  11319. +  if (($2) < 0)
  11320. +    {
  11321. +      long int i = longval ();
  11322. +      if (i != ($2))
  11323. +   return 1;
  11324. +      fprintf (f, "%ld", i);
  11325. +    }
  11326. +  else
  11327. +    {
  11328. +      unsigned long int i = ulongval ();
  11329. +      if (i != ($2))
  11330. +   return 1;
  11331. +      fprintf (f, "%lu", i);
  11332. +    }
  11333. +  /* Do not output a trailing newline, as this causes \r\n confusion
  11334. +     on some platforms.  */
  11335. +  return ferror (f) || fclose (f) != 0;
  11336. +
  11337. +  ;
  11338. +  return 0;
  11339. +}
  11340. +_ACEOF
  11341. +if ac_fn_c_try_run "$LINENO"; then :
  11342. +  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  11343. +else
  11344. +  ac_retval=1
  11345. +fi
  11346. +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  11347. +  conftest.$ac_objext conftest.beam conftest.$ac_ext
  11348. +rm -f conftest.val
  11349. +
  11350. +  fi
  11351. +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11352. +  as_fn_set_status $ac_retval
  11353. +
  11354. +} @%:@ ac_fn_c_compute_int
  11355. +
  11356. +@%:@ ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  11357. +@%:@ -------------------------------------------------------
  11358. +@%:@ Tests whether HEADER exists, giving a warning if it cannot be compiled using
  11359. +@%:@ the include files in INCLUDES and setting the cache variable VAR
  11360. +@%:@ accordingly.
  11361. +ac_fn_c_check_header_mongrel ()
  11362. +{
  11363. +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11364. +  if eval \${$3+:} false; then :
  11365. +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11366. +$as_echo_n "checking for $2... " >&6; }
  11367. +if eval \${$3+:} false; then :
  11368. +  $as_echo_n "(cached) " >&6
  11369. +fi
  11370. +eval ac_res=\$$3
  11371. +          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11372. +$as_echo "$ac_res" >&6; }
  11373. +else
  11374. +  # Is the header compilable?
  11375. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  11376. +$as_echo_n "checking $2 usability... " >&6; }
  11377. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11378. +/* end confdefs.h.  */
  11379. +$4
  11380. +@%:@include <$2>
  11381. +_ACEOF
  11382. +if ac_fn_c_try_compile "$LINENO"; then :
  11383. +  ac_header_compiler=yes
  11384. +else
  11385. +  ac_header_compiler=no
  11386. +fi
  11387. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11388. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  11389. +$as_echo "$ac_header_compiler" >&6; }
  11390. +
  11391. +# Is the header present?
  11392. +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  11393. +$as_echo_n "checking $2 presence... " >&6; }
  11394. +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11395. +/* end confdefs.h.  */
  11396. +@%:@include <$2>
  11397. +_ACEOF
  11398. +if ac_fn_c_try_cpp "$LINENO"; then :
  11399. +  ac_header_preproc=yes
  11400. +else
  11401. +  ac_header_preproc=no
  11402. +fi
  11403. +rm -f conftest.err conftest.i conftest.$ac_ext
  11404. +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  11405. +$as_echo "$ac_header_preproc" >&6; }
  11406. +
  11407. +# So?  What about this header?
  11408. +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  11409. +  yes:no: )
  11410. +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  11411. +$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  11412. +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  11413. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  11414. +    ;;
  11415. +  no:yes:* )
  11416. +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  11417. +$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  11418. +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  11419. +$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  11420. +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  11421. +$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  11422. +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  11423. +$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  11424. +    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  11425. +$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  11426. +    ;;
  11427. +esac
  11428. +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11429. +$as_echo_n "checking for $2... " >&6; }
  11430. +if eval \${$3+:} false; then :
  11431. +  $as_echo_n "(cached) " >&6
  11432. +else
  11433. +  eval "$3=\$ac_header_compiler"
  11434. +fi
  11435. +eval ac_res=\$$3
  11436. +          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11437. +$as_echo "$ac_res" >&6; }
  11438. +fi
  11439. +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11440. +
  11441. +} @%:@ ac_fn_c_check_header_mongrel
  11442. +
  11443. +@%:@ ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  11444. +@%:@ -------------------------------------------
  11445. +@%:@ Tests whether TYPE exists after having included INCLUDES, setting cache
  11446. +@%:@ variable VAR accordingly.
  11447. +ac_fn_c_check_type ()
  11448. +{
  11449. +  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  11450. +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  11451. +$as_echo_n "checking for $2... " >&6; }
  11452. +if eval \${$3+:} false; then :
  11453. +  $as_echo_n "(cached) " >&6
  11454. +else
  11455. +  eval "$3=no"
  11456. +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11457. +/* end confdefs.h.  */
  11458. +$4
  11459. +int
  11460. +main ()
  11461. +{
  11462. +if (sizeof ($2))
  11463. +    return 0;
  11464. +  ;
  11465. +  return 0;
  11466. +}
  11467. +_ACEOF
  11468. +if ac_fn_c_try_compile "$LINENO"; then :
  11469. +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11470. +/* end confdefs.h.  */
  11471. +$4
  11472. +int
  11473. +main ()
  11474. +{
  11475. +if (sizeof (($2)))
  11476. +       return 0;
  11477. +  ;
  11478. +  return 0;
  11479. +}
  11480. +_ACEOF
  11481. +if ac_fn_c_try_compile "$LINENO"; then :
  11482. +  
  11483. +else
  11484. +  eval "$3=yes"
  11485. +fi
  11486. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11487. +fi
  11488. +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11489. +fi
  11490. +eval ac_res=\$$3
  11491. +          { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  11492. +$as_echo "$ac_res" >&6; }
  11493. +  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  11494. +
  11495. +} @%:@ ac_fn_c_check_type
  11496. +cat >config.log <<_ACEOF
  11497. +This file contains any messages produced by compilers while
  11498. +running configure, to aid debugging if configure makes a mistake.
  11499. +
  11500. +It was created by $as_me, which was
  11501. +generated by GNU Autoconf 2.69.  Invocation command line was
  11502. +
  11503. +  $ $0 $@
  11504. +
  11505. +_ACEOF
  11506. +exec 5>>config.log
  11507. +{
  11508. +cat <<_ASUNAME
  11509. +## --------- ##
  11510. +## Platform. ##
  11511. +## --------- ##
  11512. +
  11513. +hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  11514. +uname -m = `(uname -m) 2>/dev/null || echo unknown`
  11515. +uname -r = `(uname -r) 2>/dev/null || echo unknown`
  11516. +uname -s = `(uname -s) 2>/dev/null || echo unknown`
  11517. +uname -v = `(uname -v) 2>/dev/null || echo unknown`
  11518. +
  11519. +/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  11520. +/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  11521. +
  11522. +/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  11523. +/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  11524. +/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  11525. +/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  11526. +/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  11527. +/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  11528. +/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  11529. +
  11530. +_ASUNAME
  11531. +
  11532. +as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  11533. +for as_dir in $PATH
  11534. +do
  11535. +  IFS=$as_save_IFS
  11536. +  test -z "$as_dir" && as_dir=.
  11537. +    $as_echo "PATH: $as_dir"
  11538. +  done
  11539. +IFS=$as_save_IFS
  11540. +
  11541. +} >&5
  11542. +
  11543. +cat >&5 <<_ACEOF
  11544. +
  11545. +
  11546. +## ----------- ##
  11547. +## Core tests. ##
  11548. +## ----------- ##
  11549. +
  11550. +_ACEOF
  11551. +
  11552. +
  11553. +# Keep a trace of the command line.
  11554. +# Strip out --no-create and --no-recursion so they do not pile up.
  11555. +# Strip out --silent because we don't want to record it for future runs.
  11556. +# Also quote any args containing shell meta-characters.
  11557. +# Make two passes to allow for proper duplicate-argument suppression.
  11558. +ac_configure_args=
  11559. +ac_configure_args0=
  11560. +ac_configure_args1=
  11561. +ac_must_keep_next=false
  11562. +for ac_pass in 1 2
  11563. +do
  11564. +  for ac_arg
  11565. +  do
  11566. +    case $ac_arg in
  11567. +    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  11568. +    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  11569. +    | -silent | --silent | --silen | --sile | --sil)
  11570. +      continue ;;
  11571. +    *\'*)
  11572. +      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  11573. +    esac
  11574. +    case $ac_pass in
  11575. +    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  11576. +    2)
  11577. +      as_fn_append ac_configure_args1 " '$ac_arg'"
  11578. +      if test $ac_must_keep_next = true; then
  11579. +   ac_must_keep_next=false # Got value, back to normal.
  11580. +      else
  11581. +   case $ac_arg in
  11582. +     *=* | --config-cache | -C | -disable-* | --disable-* \
  11583. +     | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  11584. +     | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  11585. +     | -with-* | --with-* | -without-* | --without-* | --x)
  11586. +       case "$ac_configure_args0 " in
  11587. +         "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  11588. +       esac
  11589. +       ;;
  11590. +     -* ) ac_must_keep_next=true ;;
  11591. +   esac
  11592. +      fi
  11593. +      as_fn_append ac_configure_args " '$ac_arg'"
  11594. +      ;;
  11595. +    esac
  11596. +  done
  11597. +done
  11598. +{ ac_configure_args0=; unset ac_configure_args0;}
  11599. +{ ac_configure_args1=; unset ac_configure_args1;}
  11600. +
  11601. +# When interrupted or exit'd, cleanup temporary files, and complete
  11602. +# config.log.  We remove comments because anyway the quotes in there
  11603. +# would cause problems or look ugly.
  11604. +# WARNING: Use '\'' to represent an apostrophe within the trap.
  11605. +# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  11606. +trap 'exit_status=$?
  11607. +  # Save into config.log some information that might help in debugging.
  11608. +  {
  11609. +    echo
  11610. +
  11611. +    $as_echo "## ---------------- ##
  11612. +## Cache variables. ##
  11613. +## ---------------- ##"
  11614. +    echo
  11615. +    # The following way of writing the cache mishandles newlines in values,
  11616. +(
  11617. +  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  11618. +    eval ac_val=\$$ac_var
  11619. +    case $ac_val in #(
  11620. +    *${as_nl}*)
  11621. +      case $ac_var in #(
  11622. +      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  11623. +$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  11624. +      esac
  11625. +      case $ac_var in #(
  11626. +      _ | IFS | as_nl) ;; #(
  11627. +      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  11628. +      *) { eval $ac_var=; unset $ac_var;} ;;
  11629. +      esac ;;
  11630. +    esac
  11631. +  done
  11632. +  (set) 2>&1 |
  11633. +    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  11634. +    *${as_nl}ac_space=\ *)
  11635. +      sed -n \
  11636. +   "s/'\''/'\''\\\\'\'''\''/g;
  11637. +     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  11638. +      ;; #(
  11639. +    *)
  11640. +      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  11641. +      ;;
  11642. +    esac |
  11643. +    sort
  11644. +)
  11645. +    echo
  11646. +
  11647. +    $as_echo "## ----------------- ##
  11648. +## Output variables. ##
  11649. +## ----------------- ##"
  11650. +    echo
  11651. +    for ac_var in $ac_subst_vars
  11652. +    do
  11653. +      eval ac_val=\$$ac_var
  11654. +      case $ac_val in
  11655. +      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  11656. +      esac
  11657. +      $as_echo "$ac_var='\''$ac_val'\''"
  11658. +    done | sort
  11659. +    echo
  11660. +
  11661. +    if test -n "$ac_subst_files"; then
  11662. +      $as_echo "## ------------------- ##
  11663. +## File substitutions. ##
  11664. +## ------------------- ##"
  11665. +      echo
  11666. +      for ac_var in $ac_subst_files
  11667. +      do
  11668. +   eval ac_val=\$$ac_var
  11669. +   case $ac_val in
  11670. +   *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  11671. +   esac
  11672. +   $as_echo "$ac_var='\''$ac_val'\''"
  11673. +      done | sort
  11674. +      echo
  11675. +    fi
  11676. +
  11677. +    if test -s confdefs.h; then
  11678. +      $as_echo "## ----------- ##
  11679. +## confdefs.h. ##
  11680. +## ----------- ##"
  11681. +      echo
  11682. +      cat confdefs.h
  11683. +      echo
  11684. +    fi
  11685. +    test "$ac_signal" != 0 &&
  11686. +      $as_echo "$as_me: caught signal $ac_signal"
  11687. +    $as_echo "$as_me: exit $exit_status"
  11688. +  } >&5
  11689. +  rm -f core *.core core.conftest.* &&
  11690. +    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  11691. +    exit $exit_status
  11692. +' 0
  11693. +for ac_signal in 1 2 13 15; do
  11694. +  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  11695. +done
  11696. +ac_signal=0
  11697. +
  11698. +# confdefs.h avoids OS command line length limits that DEFS can exceed.
  11699. +rm -f -r conftest* confdefs.h
  11700. +
  11701. +$as_echo "/* confdefs.h */" > confdefs.h
  11702. +
  11703. +# Predefined preprocessor variables.
  11704. +
  11705. +cat >>confdefs.h <<_ACEOF
  11706. +@%:@define PACKAGE_NAME "$PACKAGE_NAME"
  11707. +_ACEOF
  11708. +
  11709. +cat >>confdefs.h <<_ACEOF
  11710. +@%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  11711. +_ACEOF
  11712. +
  11713. +cat >>confdefs.h <<_ACEOF
  11714. +@%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
  11715. +_ACEOF
  11716. +
  11717. +cat >>confdefs.h <<_ACEOF
  11718. +@%:@define PACKAGE_STRING "$PACKAGE_STRING"
  11719. +_ACEOF
  11720. +
  11721. +cat >>confdefs.h <<_ACEOF
  11722. +@%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  11723. +_ACEOF
  11724. +
  11725. +cat >>confdefs.h <<_ACEOF
  11726. +@%:@define PACKAGE_URL "$PACKAGE_URL"
  11727. +_ACEOF
  11728. +
  11729. +
  11730. +# Let the site file select an alternate cache file if it wants to.
  11731. +# Prefer an explicitly selected file to automatically selected ones.
  11732. +ac_site_file1=NONE
  11733. +ac_site_file2=NONE
  11734. +if test -n "$CONFIG_SITE"; then
  11735. +  # We do not want a PATH search for config.site.
  11736. +  case $CONFIG_SITE in @%:@((
  11737. +    -*)  ac_site_file1=./$CONFIG_SITE;;
  11738. +    */*) ac_site_file1=$CONFIG_SITE;;
  11739. +    *)   ac_site_file1=./$CONFIG_SITE;;
  11740. +  esac
  11741. +elif test "x$prefix" != xNONE; then
  11742. +  ac_site_file1=$prefix/share/config.site
  11743. +  ac_site_file2=$prefix/etc/config.site
  11744. +else
  11745. +  ac_site_file1=$ac_default_prefix/share/config.site
  11746. +  ac_site_file2=$ac_default_prefix/etc/config.site
  11747. +fi
  11748. +for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  11749. +do
  11750. +  test "x$ac_site_file" = xNONE && continue
  11751. +  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  11752. +    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  11753. +$as_echo "$as_me: loading site script $ac_site_file" >&6;}
  11754. +    sed 's/^/| /' "$ac_site_file" >&5
  11755. +    . "$ac_site_file" \
  11756. +      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  11757. +$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  11758. +as_fn_error $? "failed to load site script $ac_site_file
  11759. +See \`config.log' for more details" "$LINENO" 5; }
  11760. +  fi
  11761. +done
  11762. +
  11763. +if test -r "$cache_file"; then
  11764. +  # Some versions of bash will fail to source /dev/null (special files
  11765. +  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.